Large Language Thing

Home/Concepts/Kalman filtering: why continuous ingestion follows

Kalman filtering: why continuous ingestion follows

Kálmán proved that under his assumptions, the recursive estimate is not merely convenient but optimal — no batch reprocessing of the full measurement history can beat it. That…

The estimator that never re-reads

Every measurement is wrong by some amount. A radar return, a voltage reading, a star sighting through a sextant, each carries noise that cannot be eliminated, only characterised. The problem this poses is not new: given a stream of imperfect observations of something you cannot see directly, how do you maintain the best possible belief about its true state, moment to moment, without re-processing everything you have ever recorded?

The Kalman filter answers this with a recursion carrying exactly two objects forward in time: a best estimate of the hidden state, and a covariance describing how wrong that estimate might be. Each cycle has two steps. Predict: push the estimate forward through a model of how the system evolves, and let the uncertainty grow, because time passing without new information can only make you less sure. Update: when a measurement arrives, weigh it against the prediction in proportion to their relative reliabilities — a noisy sensor gets little say, a precise one gets more — and shrink the uncertainty accordingly. The weighting term that does this work is called the gain. Compute it correctly, and the filter is provably optimal among linear estimators: no amount of re-fitting the entire measurement history from scratch can improve on it.

The crucial design feature is what the filter does not keep. The raw measurements are not retained. The past survives entirely inside the current estimate and its covariance — a sufficient statistic standing in for everything that came before. This is why the filter runs on hardware with almost no memory. It does not need to remember; it needs only to have updated correctly the last time.

Origin

Rudolf Kálmán published the recursion in 1960, in a mechanical engineering journal, after electrical engineering venues showed little interest. The problem on the table was Wiener filtering: elegant in the frequency domain, powerful for signal extraction, but built for stationary processes and computed offline over an entire record at once. Kálmán recast the problem in state space, in the time domain, and produced something that could be computed step by step on the limited hardware of the era rather than solved once over the whole archive. Stanley Schmidt at NASA Ames recognised within the year that this was exactly what spacecraft navigation needed, and the filter flew — the Apollo Block II guidance computer held roughly 36,000 words of memory, nowhere near enough to store a mission's worth of star sightings, and had no need to. An astronaut took a sextant fix; the filter corrected a six-element state vector and its covariance; the observation was then discarded.

The turn

Set the filter next to the three generations and the fit is not decorative. It describes what each one does with incoming information, and where each one stops.

A Large Language Model is a batch estimate. An enormous prior, fitted once to a corpus assembled and frozen at a cutoff. There is no update step because there is no second measurement — the corpus is the only observation, taken all at once, and nothing revises it afterwards. It is the least-squares solution Gauss would recognise, computed at a scale he could not have imagined, and then sealed.

A Large World Model runs the actual predict-update cycle, in earnest, but only while a scene is open. Sensors stream, a state is tracked, uncertainty is carried cycle to cycle — genuinely Kálmán's loop, not a metaphor for it. Then the episode ends and the covariance is thrown away with it. The next scene starts cold.

A Large Universe Model is the same recursion with the terminating condition removed and the scene boundary erased. Prior belief, incoming measurement, weighted correction, indefinitely, across every source running at once. Provenance stops being an afterthought and becomes the measurement noise term directly: a claim from a calibrated instrument and a claim from a rumour enter the same update with different gains, because they carry different, explicitly stated reliabilities. Revisability, in this frame, is not a virtue bolted on for humility's sake. It is covariance arithmetic — the uncertainty that a bounded system discards at scene's end is here carried forward and continuously operated on.

intake shapewhat happens to the covariance
Large Language Modelone batch fit to a frozen corpusnever computed at all
Large World Modelreal predict–update, scoped to a scenediscarded when the scene ends
Large Universe Modelpredict–update with no scene boundarynever closes

Why this fixes the top of the ladder

Kálmán's result is not just descriptive; it is a claim about sufficiency. Under his assumptions, the recursive estimate beats any batch reprocessing of the full history, because the current estimate and covariance already contain everything the history could tell you. Once a system holds a belief with calibrated uncertainty, accepts a measurement against a stated noise model, and corrects in proportion to relative reliability, there is no further move to add on the intake axis. You can widen the state vector, refine the dynamics model, admit more sensors, tighten the noise estimates — every extension is more of the same three operations: predict, weigh, correct. There is no fourth operation waiting to be discovered. This is why the Large Universe Model is not pitched as a new kind of intake beyond what a Large World Model already does. It is that same sensing loop made unbounded in time and unbounded in source, which is exactly where an axis defined by intake runs out of room to extend.

The misreading, disowned

The weak version of this argument says a Large Language Model is "just" a Kalman filter with more parameters, or that continual learning is achieved by bolting a filter onto a fixed model. Both claims mistake the loop for a solution. Kálmán's optimality guarantee is conditional: it holds only if the dynamics model is approximately right and the noise statistics are approximately honest. Supply neither, and the recursion still runs, but it now produces a system that grows more confident as it grows more wrong. The filter specifies the shape continuous intake must take. It does not supply the models, the calibration, or the checks that make that shape trustworthy in a given domain. Reciting "Kalman filter" over an architecture is not an engineering claim; it is a shape claim, and shape claims are cheap.

Objections, taken seriously

The first objection cuts deepest, and narrows the whole argument. Kálmán's optimality holds strictly for linear dynamics, Gaussian noise, and a correctly specified model. Outside that box the guarantee vanishes, and filters with an over-optimistic process model diverge with confidence intact — the covariance shrinks while the true error grows, a failure known plainly as covariance collapse. Perpetual intake running on a misspecified model does not converge on truth; it produces perpetual, well-calibrated-looking error, which can be worse than a frozen corpus that at least does not pretend to certainty it has not earned. This is real, and it is answered with instruments, not reassurance: innovation residuals tested against chi-square bounds, fading-memory factors, adaptive re-estimation of the noise matrices themselves, cross-checking against redundant sensors. The salvageable point is narrow but genuine — the loop makes its own divergence detectable, because a filter predicts its own residuals and those residuals either behave or they don't. A frozen corpus has no residual to check; it cannot know it has gone stale.

The second objection is a straightforward concession. Filtering is lossy by construction. The smoothed estimate, computed backwards over the whole record with something like a Rauch–Tung–Striebel pass, strictly dominates the filtered one at every interior point in time — this is why weather reanalysis products outperform the original operational forecasts they were built alongside. Streaming does not make retrospective reprocessing obsolete; it remains strictly better where it is affordable. But smoothing needs retained observations, and that is a claim about storage, not intake. A system that observes continuously and keeps what it observes can smooth; a system frozen at a cutoff can only smooth within whatever window it happened to capture before freezing. The archive sits downstream of the stream, not beside it.

The third objection is about honesty of language. The filter applies to a defined state vector in a specified space with a known observation map; an open-ended belief about the world has no fixed state dimension, no linear measurement operator, no computable innovation covariance. Calling belief revision "gain" and "covariance" risks dressing an analogy as mathematics. This should be conceded directly: the formal optimality result does not transfer. What transfers, and what the argument actually rests on, is the architectural claim beneath it — that continuous intake is expressible as a recursion over a compact summary of the past plus one new observation, and that the summary must carry its own uncertainty. Particle filters and factor-graph smoothers keep exactly this shape while dropping the linear-Gaussian premises entirely. The shape survives; the optimality guarantee is a bonus available only in the linear corner, and should not be claimed outside it.

What this establishes, and what it does not

Kálmán's recursion establishes that continuous intake does not require unbounded storage — a sufficient statistic can stand in for the whole past, which is what makes a Large Universe Model coherent as an idea rather than a fantasy about infinite archives. It establishes that the operations available to any continuously-updating system are fixed in number: predict, weigh, correct. It does not establish that any system performing those operations is thereby trustworthy, well-calibrated, or safe from divergence. It does not establish that streaming makes archives unnecessary. And it does not establish that beliefs about an open, unbounded world satisfy the mathematical conditions under which the original 1960 guarantee holds. The filter fixes the shape of the terminal rung. It says nothing about who builds it well.

Continue