“Generalized belief states in transformers” by Artemy Kolchinsky
“Generalized belief states in transformers” by Artemy Kolchinsky  
Podcast: LessWrong (30+ Karma)
Published On: Sat Oct 31 2026
Description: Audio note: this post contains a lot of mathematical notation. We narrate the simpler formulas and flag the complex ones, so you may want the original text to hand. Many thanks to Xavier Poncini, Paul Riechers, Fernando Rosas, and Matt Smith for useful conversations. 1. Introduction Despite the recent successes of transformers and other sequence models, there are still many open questions about their basic principles of operation. For example, what internal representations do these models use for prediction and generation? Can we decode, interpret, and manipulate such representations? Is it even possible to consider a notion of representation without reference to an external world model? To make progress on these questions, I propose a general way to define, decode and manipulate representations in sequence models. The approach is centered on the concept of "generalized belief states", statistics of past observations that satisfy a few criteria: (1) they are sufficient for predicting future data, (2) they can be recursively updated as new observations come in, and (3) they are low-dimensional, allowing for visualization and interpretation. I show that such generalized belief states can be mapped to the internal activations and dynamics of a sequence [...] ---Outline:(00:31) 1. Introduction(02:19) 2. Belief states(03:21) 2.1. Hidden Markov models(06:58) 2.2. Example(09:34) 2.3. Next-token prediction versus long-term future prediction(12:32) 3. Beyond belief(14:42) 3.1. Generalized belief states(18:25) 3.2. Identifying GBSs(20:32) 3.3. Example(23:07) 4. From prediction to mechanism(23:55) 4.1. Autoregressive recurrent models(28:00) 4.2. GBS abstraction(32:59) 4.3. Example(36:41) 5. Comparison with "Transformers Represent Belief State Geometry in their Residual Stream"(39:25) 6. Summary The original text contained 19 footnotes which were omitted from this narration. --- First published: October 31st, 2026 Source: https://www.lesswrong.com/posts/4f9p7brLdnTMFuwfB/generalized-belief-states-in-transformers-1 --- Narrated by TYPE III AUDIO. ---Images from the article:Apple Podcasts and Spotify do not show images in the episode description. Try Pocket Casts, or another podcast app.