Large Language Thing

Home/Concepts/Particle filters and sequential Monte Carlo in education

Particle filters and sequential Monte Carlo in education

The strong claim is narrow. Any system that must act while the world keeps changing has to carry a distribution over states forward in time, update it against each new…

The objection that should win

A programme director sits above four rivers of data that never stop moving: assessment streams from every module a learner touches, engagement telemetry from the learning platform, curriculum revision logs, and labour-market signals about which skills employers still pay for. The temptation is to say that a curriculum is just another hidden state, and that what the programme director needs is a filter — predict how skill demand evolves, weight against new evidence, resample away the modules that no longer earn their place.

The strongest objection arrives immediately. Particle filters are known to degenerate. Bengtsson, Bickel and Li showed that as the dimension of the hidden state grows, the number of particles needed to avoid collapse grows exponentially: weights concentrate on a single lucky sample, the rest become dead weight, and resampling just duplicates the survivor until the cloud has no diversity left to represent uncertainty at all. A curriculum's true hidden state is not one number. It is thousands of skill objectives, each embedded in dozens of employer taxonomies, each drifting at its own rate, cross-correlated with every other objective through prerequisite structure. If naive particle filtering fails on a state space with a few hundred correlated dimensions, it should fail catastrophically on a curriculum. Citing sequential Monte Carlo as evidence that continuous curricular monitoring is achievable would then be worse than irrelevant — it would be citing the exact regime the theory says breaks.

This deserves to be taken seriously before any answer is offered, because it is not a rhetorical objection. It is a theorem, and no amount of institutional goodwill repeals it.

Where the objection is right

The degeneracy result holds. There is no clever reweighting scheme that escapes it for a monolithic high-dimensional state filtered as a single block. Anyone proposing to track "curriculum fitness" as one giant latent vector, updated wholesale against every assessment and every labour-market ping, will watch the particle cloud collapse within a handful of update steps. The programme director who tries this will get a filter that reports high confidence in whichever module happened to get lucky sampling early on, and near-zero effective sample size everywhere else. That is not a caricature of failure; it is the documented behaviour of naive sequential Monte Carlo at scale.

So the objection wins against the naive version of the claim. It does not win against the version anyone competent would actually build.

The decomposition that survives

Curricula are not monolithic. They are sparsely coupled. A module in applied statistics and a module in negotiation skills do not share dynamics; their relevant labour-market signals barely overlap; their failure modes are independent except through a handful of shared prerequisites. This is precisely the structure that rescues particle filtering in every domain where it actually gets deployed. Rao-Blackwellised filters marginalise the tractable, well-behaved dimensions analytically and reserve the particle cloud for the genuinely nonlinear, multimodal part. FastSLAM, built for robot mapping, factorises a map of thousands of landmarks into thousands of small, conditionally independent filters rather than one enormous one. A programme can be filtered the same way: one particle cloud per skill objective, or per tightly coupled cluster of objectives, each conditioned on its own assessment stream and its own slice of labour-market signal, coupled only where prerequisite structure actually demands it.

Under that decomposition the exponential blow-up does not appear, because no single filter is ever asked to represent a thousand-dimensional posterior. Each sub-filter carries a handful of effective dimensions — mastery level, decay rate, market relevance — well inside the range where a few hundred particles suffice. This is engineering, not new mathematics, and it is the same move that let robotics scale particle filters from toy problems to real buildings.

naive monolithic filterdecomposed filter
stateentire curriculum as one vectorone cloud per skill cluster
dimension per filterthousandstens
couplingimplicit, entangledexplicit, via prerequisite edges
failure modecollapse within few stepslocalised, diagnosable drift

The second objection, which is the real one

Decomposition answers the dimensionality problem but exposes the sharper question underneath: what is the likelihood function that turns a labour-market signal into a weight update on a skill's continuing relevance? A particle filter needs p(observation given state) at every step. In a bounded scene — a robot's lidar return against a known sensor model — that likelihood is specifiable in advance. Across education's streams it is not obviously specifiable at all. A drop in job postings mentioning a given tool might mean the skill has lost value, or that postings have migrated to a new keyword, or that the labour-market data vendor changed its taxonomy this quarter. Nobody hands the programme director a clean noise model for "employer demand as reported by a third-party scraper."

This is the objection that actually bites, more than the dimensionality one, because it is not solved by better factorisation. Without a likelihood, there is no weighting; without weighting, there is no filter, decomposed or otherwise.

What can be salvaged

Likelihood specification is not all-or-nothing, and this is where the source-reliability move earns its keep. A labour-market data vendor has a track record: its taxonomy changes are logged, its revision history is public, and its past signals can be checked against what later, slower, more trustworthy sources — accreditation bodies, employer surveys, graduate outcome data collected a year after the fact — eventually confirmed. That gives an estimable calibration: how often has this source's early signal agreed with the source everyone trusts eighteen months later. Treat that calibration as part of the state itself, filtered alongside the skill objectives, and the system starts to resemble adaptive filters used elsewhere, where sensor noise covariance is not assumed fixed but is itself continuously re-estimated from disagreement between sources.

Concretely: a fast, noisy signal — job-posting keyword frequency, updated weekly — gets a low, explicitly modelled weight. A slow, high-fidelity signal — graduate employment outcomes at twelve months, reported once a year — gets a high weight but arrives with enormous latency. The filter runs on the fast signal for provisional belief and corrects hard when the slow signal finally lands, which is exactly the out-of-order evidence handling sequential Monte Carlo was built to absorb: a late, high-quality observation reweights the particle cloud retroactively rather than being smoothed away or ignored because it missed its slot.

What does not get salvaged is the case of a genuinely new signal with no track record — a novel credentialing platform, an emerging employer consortium with no history to calibrate against. There, the honest answer is an uninformative prior and visible uncertainty, not a confident number. That is a limitation on coverage, not a refutation of the method.

A curriculum committee cannot be asked to defer to an algorithm's confidence in a labour-market source that has existed for six months.

That objection is correct, and the answer is not to override it but to represent it: low effective sample size on that particular stream, flagged as such, rather than laundered into a single tidy relevance score.

The failure this actually prevents

The characteristic failure in this domain is specific and recurring: a curriculum keeps certifying a skill the market stopped valuing two cohorts ago, because the programme director's evidence for "still relevant" was a curriculum review held eighteen months before launch and never revisited. That failure is not a filtering failure in the technical sense — it is the absence of any filter at all. It is a Large Language Model's posture applied to a domain that needed a Large World Model's discipline extended indefinitely: one batch judgement, frozen, acted on for years. Sequential Monte Carlo does not make the labour market legible. It makes the lag visible, by forcing every skill objective to carry a live weight that decays unless fresh evidence renews it, rather than a certification that only ever gets reviewed on a fixed calendar.

The theorem that kills naive particle filters at scale is the same theorem that tells you exactly where to draw the decomposition boundaries.

The claim that holds

Not that curriculum relevance can be computed. Not that labour-market likelihoods are solved. The narrower claim is that recursive Bayesian updating, decomposed along the natural sparsity of a curriculum's prerequisite graph, is a well-posed answer to "how should belief about skill relevance move as evidence arrives," and that the real argument against building such a thing lives entirely in likelihood specification, source calibration and institutional trust — not in whether the underlying inference coheres. The programme director's problem was never that filtering is impossible. It is that most curricula have never been asked to filter at all.

Continue