Measuring Diversity Alongside Relevance in Reels Recommendations

Last updated: November 29, 2026

Quick Overview

A new Reels ranker raises offline relevance metrics but users report seeing the same kind of video repeatedly. Define offline metrics for diversity and explain how you would trade it off against relevance.

Meta
Machine Learning
Machine Learning Engineer
Meta
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Medium

0

0

0 solved


A new Reels ranker raises offline relevance metrics but users report seeing the same kind of video repeatedly. Define offline metrics for diversity and explain how you would trade it off against relevance.

Meta recommendation surfaces optimize engagement, but repetitive feeds hurt long-term satisfaction. The interviewer wants concrete diversity metrics, an understanding of how they interact with relevance, and a plan to validate them online.

What the Interviewer Expects
  • Define intra-list diversity using embedding or topic distance
  • Measure coverage and concentration, for example creator share in top K
  • Explain the relevance versus diversity trade-off and a re-ranking method like MMR
  • Validate with long-term online metrics, not only session engagement
  • Consider per-user tolerance for diversity
Key Topics to Cover
Intra-list diversity
Coverage
Maximal marginal relevance
Long-term engagement
Recommendation metrics
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you choose the lambda in MMR?
  • Which online metric would show the benefit of diversity?
  • How do you measure diversity for a new user with no history?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

I would ask what a session looks like (how many Reels per session), what content representations exist (topic labels, creator IDs, video embeddings), and which complaint we are fixing: same creator, s...

Approach

Relevance metrics like NDCG score each item independently, so a list of ten nearly identical cooking videos can score highly. Diversity is a property of the list. I would add list-level metrics, then ...


Submit Your Answer
Markdown supported