MSR Internship

Manav is a final year undergraduate student at NITK pursuing his Bachelors in Electrical and Electronics Engineering, primarily interested in research in Machine Learning.

Share
MSR Internship
Photo by Tadas Sar / Unsplash

The Reinforcement Learning Open Source Fest (RLOSF) is a unique research
programming-based program organized by Microsoft Research (MSR), New York City. In the program, a student collaborates with the Real World RL Team in their summer break to solve open-source RL problems using their library Vowpal Wabbit (VW). I applied for RLOSF in its second year of infancy due to my interest in the field of RL. The application procedure involved three components:

  • A resume encompassing classes and projects completed.
  • A project proposal that detailed the work I aimed to do on one of the projects from the list of projects given. I chose project number 21, titled Federated Residual Learning Prototype. My proposal highlighted a timeline, why I believed the project was important and why I would be the best fit for it.
  • A pre-screening exercise to implement a basic task in VW using Python or C++, depending on the project I aimed to do.

I submitted my application on 1st March and heard back from them on 6th April that I was one of the ten students selected globally. I was ecstatic and eagerly looking forward to the program. I was paired with my mentors Pavithra Srinath (Senior Data Scientist) and Olga Vrousgou (Software Development Engineer - II). We began working on the project in May.

After a few iterations, we finalized the project idea and decided to work on the Empirical Analysis of Privacy-Preserving Learning. Initially, they explained to me the problem we were looking to solve and the methodology we would adopt to solve it. The motivation of our problem was that in many real-world scenarios, the recommender cannot use the feature preferences of a user directly for learning/personalization due to privacy constraints. However, the recommender can learn from aggregated data to uphold the user's privacy. Hence our feature implements aggregated learning by saving only those features that have seen a minimum threshold of users.

I was going to work on the base reduction stack (gradient descent) so I had to understand the crux of the working of the library. As this was my first experience with a large open-source codebase, I played around with their code to understand how the weights worked in their library. After devising our implementation method, I implemented our patch locally and presented that at the first monthly progress presentation in June to the team. By our second presentation due in July, I had implemented a command-line argument for the same. I had also compared our public model without access to user feature mapping and the private model, which had access to user feature mapping on contextual bandit simulations for content personalization. Then, we switched our focus on the real-world OpenML Click Prediction Dataset and obtained competitive performance between the two models, which I showcased in my final presentation in August to the entire Real World RL Team. In the following week, I presented my work to the lab’s principal research manager Dr. John Langford (Founder of VW), and to the MSR Cambridge team, who were interested in leveraging my work to improve their products. This experience was invaluable for me. Despite the encouraging results, the code needed a lot of elements before being merged into the main repository. Therefore, we worked on adding unit tests and benchmarks for our method. We also implemented another approach and compared the benchmark performance of the two approaches. Having ticked all the boxes, my Pull Request was finally merged into the main VW repository on 1st December, becoming my first contribution to open source! My contribution was also part of the VW 9.0.0 release on 28th January 2022.

I believe this program has the perfect blend of research and programming. I got exposed to the process of starting with the theory, identifying challenges, and scaling it to practical scenarios while working with Pavithra. On the other hand, I learned all the best coding practices followed in the open-source community while working with Olga. I want to thank my mentors at MSR and Prof. Mohit Tahiliani at NITK, without whom this would not have been possible! I would also like to thank my seniors, Moksh Jain and Praveen Gupta, who took out their valuable time to review my application.