Research map / Architectures and efficiency / RNNs and normalization
How Language Models Compress and Compare: Understanding Selection with Token Covariance Maps
Moshe Eliasof
Ben-Gurion University of the Negev
Read the paperPlace an idea next to itCheck your own paper ↗
Introduces token covariance maps, a prompt-level geometric view of how token positions co-vary in hidden-state space across layers, to analyze how decoder-only transformers handle selection prompts.
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Problem
Many language-model tasks reduce to selecting among structured alternatives, but there is no simple picture of how a decoder-only transformer organizes an entire selection prompt across depth.
Approach
Track how token positions co-vary in hidden-state space at each layer, producing a depth-indexed sequence of covariance maps whose spectral properties summarize how the prompt is compressed and compared.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| change only the instruction from selection to neutral inspection (ablation) | structured-selection prompts · PIQA, BoolQ, HellaSwag, ARC-Challenge | compressed-region IoU: IoU 0.996; minimizing-layer shift 0.000 layers | No clear effect |
| replace candidates with length-matched placeholders (ablation) | selection prompts · PIQA, BoolQ, HellaSwag, ARC-Challenge | late block rises (cross/self): cross/self rise -0.073 | Hurt |
| replace a wrong option with an irrelevant distractor (ablation) | selection prompts · PIQA, HellaSwag, ARC-Challenge | final cross/self: about -0.11 | Hurt |
| reorder candidates, rewrite templates or permute labels (ablation) | selection prompts · PIQA, BoolQ, HellaSwag, ARC-Challenge | bottleneck location: trajectory correlations above 0.999 | No clear effect |
| reformulate as pairwise reranking (ablation) | multiple-choice prompts · HellaSwag, COPA, ARC-Challenge, OpenBookQA | bottleneck depth and minimum rank | No clear effect |
| duplicate a wrong option (ablation) | selection prompts · PIQA, HellaSwag, ARC-Challenge | accuracy vs pooled geometry | Mixed |
| low-rank truncation at the bottleneck vs control layers at offsets -3 and +3 (ablation) | Pythia-2.8B, Qwen2.5-7B · PIQA, HellaSwag, ARC-Challenge | disruption of final cross/self | Improved |
| patch only the replacement candidate's states at the bottleneck (ablation) | Pythia-2.8B, Qwen2.5-7B · PIQA, HellaSwag, ARC-Challenge | donor candidate preference: top prediction on about one in ten examples; positive CI in 70 of 72 comparisons | Improved |
| train Pythia (checkpoints 0 to 143K steps) (ablation) | Pythia-410M · effective-rank profile | bottleneck | Improved |
| use centered cosine or uncentered Gram instead of token covariance (ablation) | bottleneck detection · canonical benchmark | interior bottleneck rate: 99.970% -> 91.318% and 85.714% | Hurt |
Open problems this paper states
- “Covariance measures only symmetric association, so causal direction and a complete semantic account are not established.” → Probing results are correlational and do not show a causal mechanism. (an open problem in layer-wise analysis of language models)
Open problems in layer-wise analysis of language models
Do layer-wise findings about language models hold at scale, on natural text, and as causal explanations?
- Experiments stop at small models, and large ones are untested. · 12 papers state it
- Key results come from synthetic or toy tasks, not natural language. · 11 papers state it
- Probing results are correlational and do not show a causal mechanism. · 9 papers state it
Closest papers by meaning
- Scaling Prompt Synthesis for Large Language Model Reasoning (ICML 2026 · similarity 0.89)
- Geometry of Decision Making in Language Models (NeurIPS 2025 · similarity 0.88)
- Unveiling and Manipulating Prompt Influence in Large Language Models (ICLR 2024 · similarity 0.88)
- Answer, Assemble, Ace: Understanding How LMs Answer Multiple Choice Questions (ICLR 2025 · similarity 0.88)
- Listening to the Wise Few: Query–Key Alignment Unlocks Latent Correct Answers in Large Language Models (NeurIPS 2026 · similarity 0.88)
- On the Worst Prompt Performance of Large Language Models (NeurIPS 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.