Debias Play Store Star Ratings That Are Missing Not at Random

Last updated: November 29, 2026

Quick Overview

A rating prediction model for Google Play is trained on observed star ratings, but users mostly rate apps they love or hate. Explain why the observed ratings are biased, how that distorts training and evaluation, and how to correct for it.

Google
Machine Learning
Data Scientist
Google
November 29, 2026
Data Scientist
Onsite
Machine Learning
Hard

0

0

0 solved


A rating prediction model for Google Play is trained on observed star ratings, but users mostly rate apps they love or hate. Explain why the observed ratings are biased, how that distorts training and evaluation, and how to correct for it.

Recommendation and quality signals at Google often come from explicit feedback that users choose to give, so selection bias is everywhere. The interviewer checks that you can name the missingness mechanism, explain its effect on both the model and the metric, and propose estimators that fix it.

What the Interviewer Expects
  • Distinguish missing completely at random, at random, and not at random
  • Explain how self-selection inflates extreme ratings and skews the average
  • Show that error measured only on observed ratings is biased for the full population
  • Propose propensity-weighted training and evaluation, with a way to estimate propensities
  • Mention a small randomized prompt sample as a gold-standard unbiased set
Key Topics to Cover
Selection bias
Missing not at random
Propensity weighting
Explicit feedback
Recommender evaluation
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 estimate the probability that a user rates an app?
  • Why does propensity weighting often need clipping here?
  • Could you jointly model whether a user rates and what they rate?
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

Ask how ratings are collected (spontaneous versus prompted after N days of use), what the model is used for (ranking, quality signals, predicting a user's rating), and whether any ratings were collect...

Approach

Name the mechanism, show the bias in both the training loss and the evaluation metric, then reweight with propensities and validate on an unbiased slice....


Submit Your Answer
Markdown supported