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
Machine Learning
Machine Learning Engineer
Meta
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Medium

0

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
Calibration
Negative sampling
Log loss
Ad auctions
Isotonic regression
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
  • 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 Prep
Sample Answer
Clarify

The auction ranks by eCPM=bid×p(click)\text{eCPM} = \text{bid} \times p(\text{click}) (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...


Submit Your Answer
Markdown supported