Online Experiments and Production Evaluation › Drift: when the experiment's assumptions stop holding
Language AI HandbookAll chapters Compare a recent window to a reference on recorded features such as request length, topic or locale. Input drift changes . A policy update can change what counts as a correct answer, and a logging change can move a rate by changing its denominator. The same trend across two windows can have several explanations. Log serving version, metric definition and eligibility alongside the measurements.
For an ordered feature, a histogram on fixed reference-derived bin edges shows the distribution shift. The fixture also calculates a PSI-style score from the bin proportions and the two-sample KS statistic, the maximum absolute gap between the empirical cumulative distributions. Treat them as diagnostics. Calibration depends on window size, bin choices and details such as tied observations. Compare score and traffic changes by a common, adequately represented slice before attributing an overall movement to the model.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!