← Questions

Design a model that predicts posts a user will dislike

0
MetaAI/ML designLast asked Sep 2025

An AI/ML design interview question asked in Meta's AI/ML design round, last asked Sep 2025. It tests ranking, feeds and classification.

Design a model for a news feed that predicts how likely a user is to dislike a post: hide it, mark it "not interested", report it or give other negative feedback. The feed ranking uses the prediction to show fewer such posts while keeping the feed engaging.

Requirements

  • Functional: predict, for each candidate post and user, the probability of negative feedback if the post is shown.
  • Functional: use the prediction inside feed ranking, together with the existing engagement predictions.
  • Functional: take in new negative signals as the product adds them.
  • Non-functional: scores for thousands of candidates per feed request within the ranking latency budget, retrained often enough to follow trends.

Clarifying questions

  • Which actions count as "dislike": hide, "not interested", unfollow, report, a fast scroll past?
  • How rare are they? Explicit negative feedback is usually a small fraction of impressions.
  • Is the goal fewer dislikes, better long-term retention, or both, and which metric decides launches?
  • Are some content types or users already known to drive negative feedback?

What a strong answer covers

  • Labels: one binary "any negative feedback" label or several per action, a time window after the impression, and how to treat impressions the user never saw properly (position and dwell).
  • Training data: impressions with labels, negative downsampling with calibration correction, and splits by time to avoid leakage.
  • Features: user history of negative feedback, author and content features, user and author affinity, content embeddings, context (time, device, surface).
  • The model: a multi-task network sharing layers with the engagement heads, or a separate model, and why. Calibrated outputs, because ranking combines probabilities.
  • Ranking: a penalty term such as score = engagement_value - w * p_dislike, with w tuned online, or a filter above a threshold.
  • Evaluation: offline AUC, PR-AUC and calibration per segment. Online A/B tests on dislike rate, engagement and retention. Guardrails for creators.
  • Why offline gains may not show up online: feedback loops (shown content shapes the labels) and the gap between explicit feedback and real dissatisfaction.

Follow-ups

  • A new feedback button ships. How do you add it without months of data?
  • The offline AUC goes up but the online dislike rate does not move. What do you check?
  • How do you avoid hiding whole topics or creators unfairly?

Where it's asked

What it tests

ranking · feeds · classification

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing