
Machine Learning atMetaNew York, NY
Hi, I’m Mihir.
I help decide what shows up in your feed. (You’re welcome, or I’m sorry?)
I’m a machine learning engineer at Meta, working on the ranking models that decide which Threads posts land in your Instagram and Facebook feeds.
Before that I spent nearly seven years at Tripadvisor, where I built their generative AI travel assistant, led computer vision efforts, and built a lot of recommenders along the way. My favorite part of the job is taking an idea from a research paper all the way to something people actually use.
Experience
Turning research-grade ideas into products people use.
Meta
2026 – PresentNew York, NY
- Machine Learning Engineer
I’m on the Threads Content Relevance team, working on the late-stage ranking models that decide which Threads posts show up in Instagram and Facebook feeds. My work spans modeling, content quality, and new ranking signals.
- PyTorch
- C++
- Hack
- Lua
Tripadvisor
2019 – 2026New York, NY
- Principal Machine Learning Engineer
I built the Tripadvisor AI assistant, an agentic LLM travel companion that uses first-party tools for recommendations, itinerary planning, and Q&A. I also built the trip itinerary builder, which pairs a 20B-parameter LLM with in-house recommenders, geo-spatial entity resolution, and more than a billion user reviews.
Before that, I led computer vision at the company: models for image attractiveness, quality, sorting, moderation, and scene understanding across more than 600 million images.
I also worked on LLM-based recommendation modeling that combined semantic search and BM25 over reviews, forums, and location metadata, personalized models for Experiences, and recommenders for SEO/SEM landing pages.
- PyTorch
- LangChain
- FastAPI
- Qdrant
- Ray
- Kubeflow
- Snowflake
- Spark
Education
NYU
2017 – 2019New York, NY
M.S. in Data Science
Some of my research from there is just below ↓IIT Roorkee
2013 – 2017Roorkee, India
B.Tech, Mechanical Engineering · Minor in Computer Science
Selected Projects (04)
Research from my time at NYU.
2019Visual Embeddings for Reinforcement Learning
Taught an RL agent to solve sparse-reward mazes by first watching a handful of expert demonstration videos: self-supervised embeddings (trained to predict the time gap between frames) made the rewards denser and initialized the agent’s memory. Advised by Rob Fergus and Ilya Kostrikov.
Sparse → dense · rewards, learned from a handful of expert videos
- PyTorch
- Reinforcement Learning
- Self-Supervised Learning
- MiniGrid

The trained agent working through randomly generated mazes. 2018Neural Machine Translation
Built Vietnamese→English (BLEU 24) and Chinese→English (BLEU 19) translation systems on IWSLT, with a Bi-LSTM / ConvNet encoder-decoder, Luong attention, and beam search.
Vietnamese → English · 24 BLEU on IWSLT
- PyTorch
- Bi-LSTM
- Attention
- NLP
2018Generatively Removing Photobombers
A pipeline to detect and remove photobombers from images and inpaint the background, using Mask R-CNN (Detectron) for instance segmentation and Deep Image Prior for inpainting.
Mask R-CNN + Deep Image Prior · Me 1, Photobombers 0
- PyTorch
- Mask R-CNN
- Detectron
- Computer Vision
2018Toxic Comment Classification
Multi-class, multi-label models classifying Wikipedia comments by toxicity, reaching macro-AUC 0.98 with fastText and 0.97 with a self-implemented XGBoost + Naive-Bayes SVM ensemble.
fastText · 0.98 macro-AUC
- scikit-learn
- fastText
- XGBoost
- NLP
Toolkit
Terminal
Prefer the command line?
Everything on this page, as a tiny shell. Type help to get started, or tap a command below.
mihir.sh v1.0: an interactive about-me
Type help to see available commands.
Playground
Train your own feed.
Every time you open a feed, models predict a dozen things about each post: will you like it, share it, linger on it, hide it? A value model weighs those predictions into one score, and the score sets the order. Choosing the weights is really choosing what the feed is for: if you reward only taps, it will likely fill up with pure clickbait; reward lasting interest and it’ll be worth coming back to.
At Meta, I work on both: building the models that make those predictions and the value models, for the Threads posts in your Instagram and Facebook feeds. To give you a taste, here’s a tiny version: swipe through a few dishes and watch it learn!

Ready to train your feed?
10 short clips. The model learns from everything you do.
Opens full screen. Press Esc or ✕ to exit.Tap ✕ to exit.
Runs entirely in your browser. Nothing is saved or sent anywhere. Clips from Pixabay.
How it works
Each dish has nine tags (meat, seafood, spicy, sweet, and so on). Three tiny models learn from you: one guesses whether you’ll like it, one whether you’ll keep watching (twice as long as your quick skips), and one whether you’ll open it. Each clip you swipe past nudges all three, one step of gradient descent, like the ball at the top of this page.
The value model scores each dish as a weighted sum of the three guesses, plus a small bonus for flavors you haven’t seen yet so it doesn’t get stuck on your first ❤️. The highest score plays next.
A ❤️ counts the most (1.5×), since it’s something you chose to do. Watching counts 1×, and a tap only 0.5×, because clickbait gets tapped but rarely enjoyed. Reward taps and the feed fills up with bait. New posts still get a trial view, so one bait clip will show up, and then a quality filter steps in. Real feeds use thousands of features and billions of examples, but the idea is the same.