Data Science in the Wild artwork

Data Science in the Wild · Peter Liu

Independent research — Should You Recalibrate CTR Models on Fresh Data?

Should you recalibrate CTR models on fresh data? Rui Liu's Avazu study: a 6-hour Platt/isotonic refit made calibration worse in about a third of applications. Key takeaways: Random splits flatter calibration. On Avazu (40.4M impressions; LR, DeepFM, DCN-v2), a random split reported LR's ECE at 55–62% of its value on the nearest future day in every seed. For the deep models the ratio was seed-unstable, and no model's ECE grew steadily with distance from training. Recalibration can backfire. Platt or isotonic refits on the preceding 6 hours removed up to 61% of ECE in badly miscalibrated cells, but increased it in 14–17 of 48 applications. Worst case: LR under Platt, 0.0054 to 0.0112 (+107%). Span beats volume. A 12-hour slice cut harm from 13–17 to 3–5 of 36 applications; 24 hours raised it again. A 93K-impression subsample spread over those 12 hours (5% of the volume, 20–25× faster to fit) recovered 88% of the gain. Why span helps (hour mix, age, distinct hours) isn't separated yet. No easy gate, small profit effects. Gating on the slice's ECE showed no benefit out-of-origin. In a simulated second-price auction, recalibration moved profit by −0.21% to +0.26%. Our caveats. One 2014 dataset, two overlapping origins, and a fixed value per click of 1.0. Chapters: 00:00 Cold open: bidding on miscalibrated probabilities 01:42 Why calibration is what ad systems consume 04:38 Setup: Avazu, three models, random vs. temporal 08:11 RQ1: random splits flatter calibration 09:46 RQ2: no steady drift with distance 10:26 RQ3: recalibration harms a third of the time 11:49 Slice-length sweep: span beats volume 13:17 Can a pre-serving gate prevent harm? 14:07 RQ4: profit in a simulated auction 15:26 Novelty and related work 17:40 Our take and caveats 19:19 Recap and closing question Sources: How Much Fresh Data Should CTR Recalibration Use? A Temporal Evaluation of Post-hoc Calibration (Rui Liu (independent researcher); arXiv, Oct 23, 2026) Code and per-cell results (GitHub) Field-aware Calibration (Pan et al., WWW 2020) (arXiv) Enjoyed it? Follow Data Science in the Wild (one real production ML/AI system or paper per episode, hosted by Peter Liu) and rate it on Apple Podcasts or Spotify. Also from Peter: The GenAI Evolution Atlas, Wednesday AI deep dives and Friday news roundups. Made with AI-generated voices; curated by Peter Liu from the sources above.

Nov 32026
20 minlength
430transcript lines
Publishertranscript source

Transcript first 15 of 430 lines

0:00This is Data Science in the Wild. Deep dives

0:03into how teams like Netflix, Airbnb, and MetaBuild

0:07machine learning and AI in production. Hosted

0:10by Peter Liu. Produced with AI Voices. Imagine

0:14an automated bidding system just spending millions

0:18of dollars a day across the internet. Yeah, huge

0:20amount of money. Right. And now imagine it's

0:21doing all of that based on, well, a fundamental

0:24mathematical lie. Like an algorithm that is secretly

0:27much more overconfident than its engineers think

0:30it is. Which is a pretty terrifying thought,

0:32honestly. Oh, absolutely. So today we are looking

0:35at why standard industry testing might be hiding

0:38serious errors in these predictive systems and

0:40why the automated fix that most engineers blindly

More Data Science in the Wild episodes →