Smitali Bhandari

What are books? — A Chain of Thoughts?

Last updated: 2026-11-21

Can LLMs decode their latent space from their CoT? Well, can humans do that?

A large part of what a book is — is a chain of thoughts.

Imagine the author’s mind to be a high dimensional space. It contains memories, beliefs, intuitions, emotions, contradictions, associations, experiences, and countless things the author cannot consciously articulate.

Writing takes this immensely complicated structure and turns it into a linear sequence of words. Two things happen here. One is a reduction in dimension: a huge inner state gets squeezed into a few words, and some of it has to be lost. The other is a change of basis: whatever does survive is expressed in words, not in the mind’s own terms.

But a question arises – If some thoughts never become language, can they nevertheless influence the language that gets written?

Maybe yes. When we write, do we always know what we are writing? Probably not. Every word is chosen from the writer’s full inner state, not just from the thought they are consciously trying to express. So the unwritten thoughts get a chance to leak in, word after word.

Consider two authors, both writing about the same scene: a person sitting alone beside a window. One of them is at peace; the other is lonely. Neither ever writes the word “peace” or “loneliness”. And yet, reading them, you can tell which is which. The difference emerges through sentence rhythm, which details are noticed, what is omitted, the relationships between images, and the expectations created by earlier passages.

That feeling was never written down. It is one of those thoughts that never got down to language, leaking into the text anyway, through choices the author may not have even noticed making. It isn’t lost; it’s in a different basis. It lives on an “entirely different level”: not in the words themselves, but spread across rhythm, detail and omission. That is how the “text feels”.

So possibly much less is lost than it seems. The change of basis is not a loss at all: a reader who reads on that entirely different level can decode it. The reduction in dimension is the real loss: whatever never touched any word is gone.

Which raises the next question: Can a reader infer something about an author that the author doesn’t consciously know about themselves?

Say an author keeps returning to the same image — doors closing or trains leaving — across stories that have nothing to do with each other. A reader might see a preoccupation with endings that the author never noticed in themselves.

Side track: the reader can’t be sure. That recurring image could equally be an artistic convention, or a deliberate stylistic choice. The trace might be there, but telling it apart from style is the hard part of decoding.


Now ask the same question of LLMs: Can we infer something about a model from its chain of thought, something in its hidden states that the CoT’s words never state outright?

“Never state outright” could mean two things: the information is there in a different basis, or it is truly lost. The first case is alright; a good enough reader can decode it. The second one is more interesting.

Look at how a model writes. The unembedding layer projects each hidden state onto a single token, so it looks like a lot is lost per token. But there’s a twist. Every hidden state is computed from the tokens before it, and through attention (stored in what’s called the KV cache), each new step can look back at all those earlier internal states. So the same model, fed the same tokens, returns to the exact same states. (Assuming greedy decoding at temperature 0, so the model always picks its most likely token.) Of course, opening the model up and reading those states directly would be like opening the author’s brain, not reading their book. The fair question is still: from the words alone, what can be recovered?

So the real question changes. Can the hidden states be recovered by someone who isn’t the model, from the words alone, or by predicting the residual stream from the text? And can the model itself put into words what its states were doing: the “thoughts” it did not actually express in language?

For a reader with only the words, the reduction in dimension comes back. Maybe one way around it is simply to write more. If the model produced a very long chain of thought, consecutive hidden states would be closer together — almost the same state decoded into many tokens — and so more bits of it get through. Though every token also shifts the next state, so it’s never quite the same state twice.

Side track: a pattern in the CoT might be a trace of the model’s hidden state, or just a convention it picked up from its training data: the model’s version of an artistic convention.


Bringing back the earlier question, but with the author in place of the reader:

“Can an author infer something about themselves from their own writing that they don’t consciously know?”

Why replace? Why not have a different reader? Because language doesn’t simply record thought. Language changes the trajectory of thought. For the writer, the process might look like:

T₁ → W₁ → T₂ → W₂ → T₃

where Tᵢ represents a thought and Wᵢ represents the words used to express it. Writing becomes a feedback loop. And reading does the same thing to the reader:

Thoughts + text → new thought
New thought + reader’s state → another thought

A different reader adds their own state on top of what they read, and only ever had the words. The author reads with the same decoder the text was written with. So we kind of need a neutral state, which might be easier to obtain if the reader and author are the same. The change of basis might be easier for the same reader too.

For an LLM, that would be the same model reading back its own CoT. And here LLMs differ from us: given the same tokens, the model recomputes exactly the same internal states. It has the same decoder and the same state. So if anyone can decode the unwritten thoughts, the model itself has the best chance — far better than any other reader.

Could we look at a model’s attention patterns over its own CoT and the drift in its hidden states, try to identify neurons or features for such mechanisms, and check this?


Coming back to books — maybe that’s what makes a good one: a book that flows well, where the author’s state changes slowly enough to be written out across many words, but still surprises the reader often enough to carry something new.


Papers with some work along these lines


Related: Studyin’ the 3AM Thoughts?