Choose Negative Examples for a Play Store Install Prediction Model
Last updated: November 29, 2026
Quick Overview
You are training a model to predict whether a user installs an app shown on the Play Store home page. Compare using impressed-but-not-installed apps, random unshown apps, and hard negatives as negative examples, and explain how each choice shapes what the model learns.
0
0
0 solved
You are training a model to predict whether a user installs an app shown on the Play Store home page. Compare using impressed-but-not-installed apps, random unshown apps, and hard negatives as negative examples, and explain how each choice shapes what the model learns.
In Google recommendation stacks the choice of negatives differs by stage: retrieval models must separate the whole catalog, while rankers score only candidates that will be shown. The interviewer checks that you match the negative distribution to the serving distribution and understand false negatives.
What the Interviewer Expects
- Explain that negatives should resemble what the model will score at serving time
- Describe impression negatives: realistic, but biased by the current ranker and by position
- Describe random negatives: easy, cover the catalog, suit retrieval, but are too easy for ranking
- Describe hard negatives and the false-negative risk
- Discuss downsampling negatives and recalibrating probabilities
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How would you correct probabilities after keeping only 10% of negatives?
- Which impressions count as real negatives if the user scrolled past quickly?
- How would negatives differ for the candidate retrieval stage?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Confirm this is the ranking stage, scoring perhaps a few hundred candidates per request that retrieval already produced, and that the label is install within some window after impression....
Approach
Match the training negatives to the candidates the ranker will actually see, then handle the biases of that choice....