Why Ad Click Predictions Must Be Calibrated For Auction Ranking
Last updated: November 29, 2026
Quick Overview
Explain why a CTR model used to rank merchant ads by predicted click rate times bid needs calibrated probabilities rather than just good ranking, how you would measure miscalibration, and how you would fix it.
Pinduoduo
November 29, 20260
0
0 solved
Explain why a CTR model used to rank merchant ads by predicted click rate times bid needs calibrated probabilities rather than just good ranking, how you would measure miscalibration, and how you would fix it.
Advertising from merchants is PDD's main revenue source, and ads are ranked and priced with predicted click and conversion rates multiplied by bids. The interviewer checks that you see the difference between discrimination (AUC) and calibration, and know practical calibration techniques used in large ads systems.
What the Interviewer Expects
- Explains that eCPM = pCTR times bid mixes the prediction across ads, so scale errors change winners and prices
- Distinguishes AUC from calibration
- Measures calibration with reliability diagrams, ECE, and predicted over observed ratio by segment
- Names causes: negative downsampling, distribution shift, position bias
- Fixes with Platt scaling, isotonic regression or downsampling correction, applied per segment where needed
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
- You downsample negatives at rate 10 percent. What is the exact correction?
- Calibration is good overall but poor for new advertisers. What do you do?
- How does calibration interact with second-price or GSP pricing?
- How would you monitor calibration in production hourly?
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
Ads are ranked by (or for conversion bidding), and the price charged also depends on the runner-up's score. So the absolute value of pCTR matters, n...
Approach
Show with an example why ranking quality is not enough, then define measurement, list causes, and describe fixes....
Submit Your Answer
Pinduoduo Machine Learning Engineer Interview Guide
Interview process, tips, and preparation timeline