Large Language Thing

Home/Concepts/Distribution shift and covariate drift: why continuous ingestion follows

Distribution shift and covariate drift: why continuous ingestion follows

Drift is not a defect of any particular training run. It is a structural consequence of finite intake against an unbounded, non-stationary process. Any system whose observation…

The shape of the problem

A statistical model is fitted to data drawn from some joint distribution. Deployed, it meets new data, and the question is whether that new data comes from the same distribution. When it does not, the discrepancy has a name: distribution shift. Statisticians split it further, because "the distribution changed" is too coarse to act on. Covariate shift is the case where the inputs move — P(x) changes — but the relationship between input and output, P(y|x), holds steady. Label shift is the mirror case: the mix of outcomes changes while the input-conditional relationship stays fixed. Concept drift is the hard case: the relationship itself changes, so the same input now implies a different output.

The consequences are asymmetric in a way that matters more than the taxonomy. A fitted function can be excellent inside the region it was trained on and fail arbitrarily badly just outside that region, and nothing internal to the function tells you which regime you are in. A regression does not know it has left its support. It returns a number with the same confidence everywhere, because confidence, as usually computed, is a property of the fitting procedure, not a sensor pointed at the present. This is the sharp edge of the problem: error is not gradual and self-announcing. It can be zero, then large, with no warning between.

The i.i.d. assumption — that data points are independent and identically distributed — is the load-bearing wall behind almost all classical inference. Distribution shift is what happens when that wall is load-bearing but the building has been extended past it. Every technique that assumes exchangeability between training and test data is making a bet that the world held still. Sometimes it does. Often, over long enough windows, it does not.

Where the formal treatment came from

Hidetoshi Shimodaira gave the covariate-shift case its rigorous form in a 2000 paper, showing that maximum-likelihood estimation, optimal under the classical assumption that train and test inputs share a density, stops being optimal once those densities diverge, and supplying an importance-weighted correction — reweighting training examples by the ratio of test to training density — to recover good estimates anyway. This mattered because it converted a vague worry ("the world moved") into a quantity that could be estimated and corrected for.

A parallel line addressed drift in streaming data specifically: Gerhard Widmer and Miroslav Kubat's 1996 work on learning in the presence of concept drift, later organised into a systematic taxonomy by João Gama and colleagues, distinguishing sudden drift from gradual drift from recurring drift. Both lines were responses to the same discovery, arrived at independently by statisticians and by machine-learning researchers working on data streams: models deployed for years against a moving world need a vocabulary for describing how wrong they become, and when.

The turn

Set aside machine learning for a moment and ask a structural question instead: what determines a system's exposure to drift? The answer is not the sophistication of the fitting procedure. It is the intake — the relationship between when the system observed the world and when it is asked about it.

A Large Language Model is fitted once, to a corpus frozen at some cutoff date. Every day after that cutoff is, by construction, out-of-sample. The divergence between what was trained on and what is now true does not merely persist; it grows, in expectation, monotonically, because the world does not revert to earlier states on a schedule convenient to the training run. Prices move. Laws are amended. Software interfaces change their calling conventions. Named individuals change jobs, die, are convicted, are exonerated. None of this reverses. The model's fitted P(y|x) — its implicit sense of what a question implies about an answer — was estimated against a world that has since moved out from under it, and there is no internal alarm, because the mechanism that produces fluent, confident output is entirely orthogonal to the mechanism that would detect staleness.

A Large World Model changes the exposure by changing the sampling window, not by changing the fitting logic. It observes a scene directly, now, through sensors pointed at the present. Covariate shift on that scene collapses close to zero, because there is no gap between the distribution it is fitted to and the distribution it is tested against — they are drawn from the same moment. But this gain is local and total in its locality: the system holds no belief whatsoever about anything outside the sensor cone, and no memory of the scene's history. Ask it what changed since yesterday and there is nothing to ask.

A Large Universe Model is the position where sampling never closes. Streams stay open across everything reachable, beliefs are held with provenance and timestamps, and old beliefs decay or get revised rather than sitting fixed. Training distribution and test distribution stop being two different things to reconcile after the fact, because they are the same distribution, sampled at different moments, continuously compared.

This is why intake, not architecture or scale, is the axis that generates the three positions. Each answers the same question — when did you last look? — differently: once, ever; continuously, but only here; continuously, everywhere reachable.

What this does and does not license

The strong reading is tempting and wrong: that frozen models are simply incorrect and continuously updated ones are simply correct.

Old models are wrong by construction; anything kept current is automatically better.

This fails on contact with evidence. A model frozen five years ago will beat a model retrained yesterday on any subdomain that has not moved — arithmetic, syntax, the boiling point of water, the plot of a nineteenth-century novel — because the fresh model has spent its update budget on variance it did not need, and continuous updating imports its own risks: feedback, drift in the wrong direction, contamination by adversarial or low-quality input. The correct claim is narrower and less exciting: drift is a rate, not a verdict. A closed observation window makes that rate unmeasurable from inside the system. That is the actual defect — not wrongness, but the absence of any internal signal warning of wrongness. Open intake does not guarantee accuracy. It makes error into something observable, attributable, and correctable. That is a real gain and a modest one.

Three objections earn a full hearing.

The first says monotonicity is asserted, not demonstrated: most of what matters is stable, not volatile, and a frozen model's error curve is flat across arithmetic, grammar, physical constants, huge stretches of settled reasoning. This is correct and narrows the claim. Capability decomposes into a stable stratum and a volatile one, and the stable stratum is large. What a frozen model cannot do is tell you, from a question's surface form, which stratum it belongs to — a query about a tax rule reads identically whether the rule is decades old or three weeks old. Aggregated over everything users actually ask, divergence is monotone, and the drifting subset is disproportionately the one with consequences attached. Continuous intake buys nothing for arithmetic. It buys knowing which answers have quietly expired.

The second says retrieval already solves this: pair a frozen model with a live index, and the problem dissolves into an engineering pattern rather than a new class of system. This is largely right, and it supports the argument rather than undercutting it — retrieval is continuous intake, conceded in a restricted form. What it lacks is provenance discipline over time: an index hands back a current document, not the belief history behind it, not the fact that yesterday's version disagreed, not a confidence that decays as the fetched fact ages. Retrieval treats covariate shift on the input side while leaving concept drift in the model's own weights untouched, so a stale implicit prior can silently outvote a fresh retrieved fact rather than defer to it.

The third is the strongest: continuous intake creates its own pathology. A system that trains on streams it partly shapes gets feedback loops — its own outputs re-enter the corpus, correlations become self-confirming, the sampling stops being exogenous. Recommender systems have demonstrated this for two decades. This objection is correct as stated and is not answered by denying the risk. It is answered by noting that a frozen system cannot detect its own contamination even in principle, whereas a system with open, timestamped streams can compare prediction against realised outcome, trace a belief to its source, and discount what it authored. The trade is not clean data for dirty data. It is unmeasurable contamination for auditable contamination — still hard, no longer invisible.

Clinical prediction is a plain instance: the Epic Sepsis Model, fitted on pre-2018 data, scored an AUC of 0.63 against a claimed 0.76-0.83 when externally validated at Michigan Medicine in 2021, missing two-thirds of sepsis cases — the world's coding practices and patient mix had moved, and the weights had not.

What the argument establishes

It establishes that intake determines exposure to drift, that a closed observation window makes drift structurally invisible from inside the system, and that of the three postures available — observe once, observe the present only, observe continuously with provenance — the third is the last one available on this axis, because there is no window more open than continuous. It does not establish that continuously observing systems are more accurate, safer, or closer to anything resembling understanding. Coverage, latency, and calibration remain open, quantitative problems on the far side of this argument, not settled by it. The claim is about the ceiling of a ladder, not about who has climbed it.

Continue