← News

Models & toolsSources: arXiv · 17 Nov 2026

Researchers report linearly decodable belief states in six open-source LLMs

An arXiv study says language models prompted with hidden Markov model data develop internal representations matching Bayesian belief states, with probes reaching high accuracy across model and task combinations.

In plain words

The authors studied what happens inside large language models when they predict the next token in sequences generated by hidden Markov models, which are simple statistical systems with hidden states. They found the model's internal activations contain a readable summary of what those hidden states probably are. In their tests, this summary behaved like an optimal Bayesian prediction, meaning the model appears to track probabilities much as ideal statistical reasoning would.

What was announced

The study, posted as an arXiv abstract, describes prompting six open-source LLMs with data from 40 hidden Markov models chosen for non-trivial belief structure. Using probes on residual stream activations, the authors report that the posterior distribution over hidden states is linearly decodable, with peak probe R-squared values of 0.83 to 0.99 across HMM and LLM combinations, spanning early to late layers.

To test whether these representations matter functionally, the researchers intervened on the probe-identified subspace through patching and steering. They report downstream prediction quality on the order of the untampered model, while control conditions degraded performance substantially. The authors interpret this as representation-level evidence that in-context learning in the tested open-source models approximates optimal Bayesian prediction over a context-inferred generative model, extending earlier work that linked input-distribution structure to activation geometry in toy networks trained explicitly on HMM data.

What it does not show

  • The evidence is an arXiv abstract only; full methods, figures and peer review are not available in the supplied passages.
  • The experiments cover six open-source LLMs and 40 HMMs in a controlled setting, so the findings may not extend to other models or naturalistic data.
  • The reported R-squared values and intervention results are the authors' own measurements and have not been independently confirmed.

Sources

Source-support review completed 28 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 28 Nov 2026

New to the subject? AI from the Ground Up starts from the beginning.