arXiv:2610.33168cs.LGOct 2026

Manuscript Offprint

arXiv:2610.33168

How Much Fresh Data Should CTR Recalibration Use? A Temporal Evaluation of Post-hoc Calibration

Rui Liu

Rui Liu

Independent Researcher

RL2987@columbia.edu

Abstract—Offline evaluation of click-through rate (CTR) models still defaults to random splits, although deployed models score future traffic and downstream systems consume calibrated probabilities. On Avazu (40.4M impressions) we train logistic regression (LR), DeepFM, and DCN-v2 under two rolling temporal origins and a random split, three seeds per arm, and recalibrate each test day with Platt scaling and isotonic regression fitted on the preceding hours. At origin 1's nearest test day, random splits report LR's expected calibration error (ECE) at 55–62% of the temporal value in every seed (the deep models' ratio is seed-unstable), and no model's ECE is monotone in temporal distance. With a 6-hour fitting slice, recalibration removes up to 61% of ECE in badly miscalibrated cells but increases it in about a third of applications (14–17 of 48 across seeds). On fixed evaluation sets, a 12-hour slice cuts harm from 13–17 to 3–5 of 36 applications, and 24 hours raises it again. The 12-hour slice subsampled to the 1-hour slice's size (5% of the impressions; 20–25× faster to fit) recovers 88% of the full slice's gain, so impression count alone does not explain it. A slice-ECE gate shows no benefit out-of-origin, and in a simulated auction recalibration moves profit by only about −0.21% to +0.26%. Offline protocols should measure calibration temporally, over multiple origins and seeds; in this data, recalibration fitted on a wide time span beat the freshest few hours, which other logs must confirm.

Index Terms—click-through rate prediction, model calibration, temporal evaluation, post-hoc recalibration, evaluation protocols

I. INTRODUCTION

A CTR model in an advertising system outputs not a ranking but a number that other components treat as a probability. Expected-value bidding multiplies it by a value per click; pacing controllers compare predicted against realized click rates to throttle or release budget. In each use the absolute value carries the meaning: a model that ranks well but systematically over- or under-predicts misprices traffic despite a healthy AUC. Calibration—the agreement between predicted probabilities and empirical frequencies—is therefore not a secondary diagnostic for CTR models; it is the property the serving stack consumes.

The offline evaluation practice of the CTR literature is, however, built almost entirely around random train/test splits, with AUC and log loss as headline metrics. Random splits score impressions from the training days, past and future interleaved; a deployed model is trained on the past and applied to the future, under whatever distribution change the intervening days bring. That random splits flatter ranking metrics is partly documented; calibration has received far less attention—yet if a random split reports acceptable calibration while the same model, evaluated temporally, is miscalibrated, the standard protocol certifies the very property it fails to measure.

A second default deserves the same scrutiny. Post-hoc recalibration—fitting a monotone correction (Platt scaling, isotonic regression) on the freshest labeled data and applying it to future predictions—is a widely used recipe. Run unconditionally—on every refresh cycle, for every model, whatever the model's current calibration state—it treats recalibration as harmless. It is not: Pan et al. [11] already found Platt scaling and isotonic regression worsening calibration on a date-split Avazu. A correction fitted on a finite slice carries its own error, added to the model's predictions when there is little systematic miscalibration to remove—or when the slice's miscalibration points the other way. Whether unconditional recalibration earns its risk is a quality question (its compute, measured in Section IV-C, is 1–2 s per cycle at a 12-hour slice), answerable only under a protocol that measures calibration as production experiences it: on future days, one day at a time.

We frame these questions as a measurement study of a recalibration policy's efficiency–quality–cost trade-off, in the sense of benchmarks and protocols for such trade-offs. A recalibration step consumes three resources: fresh labeled data (the fitting slice), compute (one fit–check–apply cycle), and quality risk (the chance the correction makes served probabilities worse); we measure all three in one pipeline on the same data. The slice-length sweep and a size-matched control trace the data axis in two dimensions—how many hours the slice spans and how many labeled impressions it holds—and show that volume alone does not buy quality: a sparse sample spread over 12 hours does nearly as well as the full 1.9M-impression slice, and which hours the slice covers may matter as well. The cycle timings price the compute axis, and the harm counts the risk axis.

Three claims are therefore on the table: that miscalibration grows as the test period moves away from training, as drift accumulates; that recalibration on a recent slice is a safe default remedy; and that, if it is not, a simple gate on a preserving measurement can make it safe. This paper measures all three on Avazu with LR, DeepFM, and DCN-v2, under two rolling temporal origins (five-day training windows offset by one day, each evaluated on the next four days, gaps 0 to +3) and a random-split arm under the same training cap. For every temporal test bucket we fit Platt scaling and isotonic regression, leak-free, on the six hours immediately preceding it, and carry raw and recalibrated probabilities into a simulated second-price auction. Our research questions:

• RQ1. How much do random splits inflate discrimination and calibration metrics relative to a temporal split?

• RQ2. As the test day moves farther from the training window, how does calibration error actually behave?

• RQ3. Does recalibration on the immediately preceding slice recover calibration at each distance—when does it harm instead, how much fresh labeled data should it use, and can a pre-serving gate prevent the harm?

• RQ4. Do the calibration differences observed in RQ2–RQ3 change realized profit in a simulated auction?

In brief: random splits flatter calibration by a day- and seed-dependent amount (RQ1); no model's ECE is monotone in distance (RQ2); recalibration on a 6-hour slice harms about a third of the time, a 12-hour span largely removes the harm, a sparse sample over that span does nearly as well, and slice-ECE gating does not help (RQ3); profit effects range from about -0.21% to +0.26% (RQ4). The practical consequence is a change in measurement practice rather than a new method: measure calibration temporally, over more than one origin and seed, and do not recalibrate on short slices by default.