Why Ad Click Predictions Must Be Calibrated for the Auction
Last updated: November 29, 2026
Quick Overview
Explain why predicted click-through rates for ads need to be calibrated, how you would measure miscalibration, and how you would fix it after downsampling negatives during training.
Meta
November 29, 20260
0
0 solved
Explain why predicted click-through rates for ads need to be calibrated, how you would measure miscalibration, and how you would fix it after downsampling negatives during training.
In Meta's ad auction, an ad's bid is multiplied by predicted action rates, so a model that ranks well but is miscalibrated misprices every auction. Interviewers check that you know AUC is not enough, can correct for negative sampling, and can monitor calibration by segment.
What the Interviewer Expects
- Explain why ranking quality (AUC) does not imply correct probabilities
- Tie calibration to expected value bidding: $\text{bid} \times pCTR$
- Derive the correction for negative downsampling
- Name calibration metrics: predicted over observed ratio, reliability curves, ECE, log loss
- Propose post-hoc calibration (Platt, isotonic) and segment-level checks
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
- Why can a model be calibrated overall but miscalibrated for small advertisers?
- How does calibration interact with pacing and budget spend?
- What happens to calibration when you launch a new feature mid-week?
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
The auction ranks by (plus quality terms) and the advertiser is charged based on these values. Ask: are we predicting click or conversion, and is trai...
Approach
If predictions are 2x too high for some ads, those ads win auctions they should not and advertisers pay for value that does not materialize. Since AUC only depends on ordering, a monotone distortion o...