Researchers propose reading LLM residual trajectories to discover latent text structure
A new arXiv paper argues that prompting language models to emit discrete labels wastes geometric information, and proposes measuring documents by the model's internal residual stream instead.
In plain words
Researchers often ask large language models to sort texts into fixed categories set by the analyst. The paper's authors say this discards richer information inside the model. Their alternative, PIRT, instead tracks how the model's internal activity moves while it answers a fixed prompt, using that path as the measurement.
What was announced
The authors, writing in an arXiv abstract, describe two common approaches they see as flawed. Prompting an instruction-tuned model to assign researcher-authored labels compresses high-dimensional geometric information at the unembedding bottleneck, imposes categories chosen in advance, and can mix structural variation with instruction compliance and surface register artifacts, they write. Static contrastive embeddings, meanwhile, are largely shaped by surface nouns, domain vocabulary, and native language.
Their proposed framework, Prompt-Induced Residual Trajectory (PIRT) measurement, gives every document the same constrained qualification prompt and treats the generated output tokens as the primary measurement object. Each document's latent coordinates come from the geometric trajectory traced in the model's residual stream during generation. The authors report formal information-theoretic identification conditions, asymptotic equivalence results for downstream two-way cluster-robust dyadic regressions and unsupervised diffusion maps, and a demonstration on 5,672 multilingual parliamentary speeches spanning 16,082,956 dyads.
What it does not show
- The source is only the paper's abstract, so the formal proofs, implementation details, and empirical results are not independently verified here.
Sources
Source-support review completed 4 Dec 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 4 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.