TRANSMISSION // 2611.29113v1
A Spectral Fingerprint of How Language Models Process Topics
Source published
A study uses Koopman theory to map how transformer hidden states change across layers, finding reproducible topic signatures in seven base models—with important limits on what those signatures show.

Do language models process different subjects in measurably different ways as information moves through their layers? A new preprint treats those hidden-state changes as a dynamical system and uses their dominant patterns to build topic-specific fingerprints.
A new way to compare topics inside a language model
A transformer sends every prompt through the same sequence of layers. But a prompt about chemistry may be transformed differently from one about history. To investigate those differences, Subhradeep Kayal and Ali Dashti analyze how a model’s hidden states—the internal numerical representations it passes from layer to layer—change with depth.
Their approach borrows from Koopman operator theory, a mathematical framework for describing evolving systems, and dynamic mode decomposition (DMD), a method that estimates patterns of change from observed data. The authors fit a linear map to layer-to-layer transitions. They then use the map’s dominant modes—directions that capture important patterns in those transitions—to create a “spectral fingerprint” for each topic. Fingerprints are compared as subspaces, rather than as single vectors.
In plain terms, the study asks two related questions: can one linear transformation approximate how a model’s internal state changes across layers, and do the resulting patterns distinguish the subjects the model is processing?
What the researchers tested
The main analysis used Qwen2.5-3B and the 57 subject areas in the MMLU benchmark. The researchers collected 100 test prompts per subject and followed each prompt’s hidden state across the model’s layers. They evaluated whether a fitted linear operator could predict the next layer’s state, and whether fingerprints grouped subjects in ways that matched MMLU’s categories or a separate embedding-based measure of label similarity.
They also tested reproducibility by splitting each subject’s prompts into two groups and checking whether fingerprints from one group matched the same subject’s fingerprint from the other. Finally, they repeated key analyses across seven base models from the Qwen and Llama families, ranging from 0.5 billion to 8 billion parameters.
The main findings
The fitted linear map predicted an average layer-to-layer transition with about 18% relative error on Qwen2.5-3B. That result varied substantially by position in the network: the middle layers were much more closely approximated by a linear map than the transitions at the input and output ends. The paper reports variance explained near 0.99 for the interior layers, but lower values for embedding ingestion and the final transition. This is evidence for near-linearity in the network’s middle, not a claim that the whole transformer is linear.
The topic fingerprints also contained recognizable structure. For Qwen2.5-3B, a subject’s nearest fingerprint neighbour belonged to the same broad MMLU category 72% of the time. Fingerprint neighbours overlapped with the nearest neighbours from the study’s label-embedding reference at an any-hit@3 rate of 0.75: for three closest fingerprint neighbours, at least one was also among the three closest semantic neighbours for 75% of subjects.
The match was not perfect, and some differences were informative. Quantitative and algorithmic subjects, including computer science and econometrics, clustered near machine learning in fingerprint space even when their labels were not closest in semantic space. The authors suggest that this may reflect shared computation, but the analysis does not establish what computation is occurring or prove that the model relies causally on those directions.
Fingerprints were reproducible under the prompt-splitting test: the same subject was retrieved as the nearest match 97% of the time in the main model. Across all seven models, the reported rate ranged from 93% to 100%. The authors also found that fingerprint alignment measures tended to rise with MMLU accuracy across the tested models. They explicitly describe this relationship as suggestive, not conclusive: seven models are a small sample, and the correlations are strongly influenced by the lowest-scoring model.
What remains uncertain
These fingerprints describe patterns in hidden-state transitions; they do not by themselves explain a model’s reasoning or show that a particular direction causes a particular answer. The study is correlational, and it does not test interventions on the identified modes. It also does not compare the fingerprints against simpler static representations, such as average hidden states, which might capture some of the same topic structure.
The evidence is limited to English-language prompts, MMLU subjects, and seven dense, decoder-only base models from two families. Instruction-tuned models, mixture-of-experts systems, other languages, and larger or differently designed models remain untested. The choice of fingerprint size was selected through a sweep on one model and then used for the others.
This work is an arXiv preprint, not evidence of peer review. Its results offer a potential tool for studying how representations evolve across depth, but broader testing and causal experiments would be needed before drawing stronger conclusions about model cognition or capability.
- transformers
- large language models
- Koopman theory
- dynamic mode decomposition
- model interpretability
- hidden states
- MMLU
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
A Safety Check for Video World Models at Walls
Supporting evidence: Both papers report that transformer hidden states encode information useful to distinguish inputs: Kayal and Dashti derive topic-discriminative mode subspaces from language-model layer trajectories, while Dai et al. train a readout on diffusion-transformer states to predict obstacle collisions. This supports the bounded point that internal states can expose task-relevant information, not that the representations or methods are equivalent; the studies use different model types and tasks.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2611.29113v1 — Original paper
Excerpt reference:
static/papers/2611.29113v1.md:85-169
Basis: Paper text
Source SHA-256:5e6b20c38745562f621e1dcc98c462328a2fa7afa81efb65437311110db4c7502611.27963v1 — Original paper
Excerpt reference:
static/papers/2611.27963v1.md:112-176
Basis: Paper text
Source SHA-256:3a0fecbd9708dabdc0ab803ebd3de20119ba64cdcb13ed02d25f13b550dcb643
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
The words that quietly steer AI reasoning
Source published
Shared keywords: large language models, model interpretability
How pretraining makes transformer layers work together
Source published
Shared keywords: model interpretability
What the Jacobian Lens Selects in Language Models
Source published
Shared keywords: hidden states
SteerGR shifts game recommendations by editing a model’s internal features
Source published
Shared keywords: model interpretability
When LLMs Choose Their Own Bets, Risky Patterns Grow
Source published
Shared keywords: large language models, model interpretability