Ads Click-Through Rate Prediction
Goal: predict p(click | user, ad, context) accurately and calibrated, because it feeds the auction: rank score = bid × pCTR (× quality).
- Massive sparse categorical features (user id, ad id, publisher, hashed crosses) → embeddings + feature interactions: logistic regression with hashed crosses (classic), Factorization Machines, Wide & Deep, DeepFM, DCN, DLRM.
- Training: billions of examples, online/continual learning (hourly or streaming) because ads and trends change fast; negative downsampling → re-calibrate (
p' = p / (p + (1 − p)/w)). - Metrics: log loss and calibration (expected/observed CTR ≈ 1) offline; revenue, CTR, advertiser ROI online.
- Latency: score hundreds of ads in ~10 ms → model distillation, caching embeddings, feature store lookups.