Calibrating Install Probability Predictions for Ad Bidding

Last updated: November 29, 2026

Quick Overview

Your model predicts the probability that an ad impression leads to an app install, and the bidder uses that probability to set bids. Offline AUC looks great but campaigns overspend. Explain why calibration matters here, how you would measure it and how you would fix it.

Unity
Machine Learning
Machine Learning Engineer
Unity
November 29, 2026
Machine Learning Engineer
Technical Screen
Machine Learning
Medium

0

0

0 solved


Your model predicts the probability that an ad impression leads to an app install, and the bidder uses that probability to set bids. Offline AUC looks great but campaigns overspend. Explain why calibration matters here, how you would measure it and how you would fix it.

Unity's ad network bids on behalf of advertisers using predicted install rates, so a well-ranked but miscalibrated model costs real money. The interviewer checks whether you know that bids depend on absolute probabilities, can measure calibration, and understand causes such as negative downsampling and delayed labels.

What the Interviewer Expects
  • Explain why bid = value times predicted probability needs calibrated outputs
  • Distinguish ranking quality (AUC) from calibration
  • Measure with reliability curves, expected calibration error and predicted-over-actual ratio by slice
  • Correct for negative downsampling analytically
  • Choose and validate a post-hoc calibrator (Platt, isotonic) on fresh data
Key Topics to Cover
calibration
AUC
negative sampling
isotonic regression
ad bidding
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 do delayed install attributions bias the labels of recent impressions?
  • Why can a model be calibrated overall but not per country or per app?
  • How does a second-price or first-price auction change the cost of miscalibration?
  • How often would you refit the calibrator and why?
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

For a cost-per-install campaign the expected value of an impression is bid=CPI target×p^(install)\text{bid} = \text{CPI target} \times \hat p(\text{install}). Install rates are tiny, often around 0.1% to 1%. If p^\hat p is 2...

Approach

Measure calibration separately from discrimination: bucket predictions by score decile, compare mean predicted to observed rate (reliability curve), compute expected calibration error, and track the r...


Submit Your Answer
Markdown supported

Related Questions