potentialpaper

How Language Models Compress and Compare: Understanding Selection with Token Covariance Maps

Moshe Eliasof

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Language models repeatedly compress prompts mid-network, then re-expand them to compare answers. We show that token covariance maps make this visible.

Abstract. Many language-model tasks reduce to selecting among structured alternatives, yet we still lack a simple picture of how a decoder-only transformer organizes an entire selection prompt across depth. We introduce token covariance maps, a prompt-level geometric view that tracks how token positions co-vary in hidden-state space at each layer. This turns a structured prompt into a depth-indexed sequence of maps whose spectral and block structure can be aligned with instructions, context, and candidate answers. Across 14 decoder-only models from 4 families and 12 structured-selection benchmarks, token covariance maps reveal a robust compress-then-compare organization. Early layers represent prompts diffusely, middle layers compress them into a shared low-rank bottleneck, and late layers re-expand into context-option and option-option geometry. This organization recurs across larger fixed-template samples, deterministic prompt rewrites, pairwise reranking reformulations, and controlled answer-set manipulations, while also emerging during training from an initially flat depth profile. Its timing aligns with behavior: useful answer discrimination appears well after the bottleneck, and low-rank intervention around the bottleneck preferentially disrupts late comparison geometry. We additionally show that the same geometric profile appears in instruction-tuned models, across several languages, and during open-ended generation. We further show that changing the internal representation of one candidate around the compressed region can shift which candidate the model later prefers. These results show that token covariance maps are a diagnostic tool for comparing how models organize information across prompts, model families, and stages of training.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
28 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Reviewers Wr71 and PPmm rated the paper Accept (5) with confidence 4 and 3 respectively, while Reviewer PBzh rated Borderline Reject (3) with confidence 3.

The main concern, shared across all three reviewers, is that the paper's contributions are primarily diagnostic and descriptive — the causal evidence for the compress-then-compare pattern remains modest. Reviewer Wr71 notes that "the claims of the paper are mainly diagnostic and descriptive and the causal evidence remains modest." Reviewer PBzh states that "perturbation evidence does not fully establish causal effects on task performance." Reviewer PPmm acknowledges the method is "mainly a diagnostic tool" and the paper's own reranking/routing results "suggest it is not yet strong enough for deployment-level control or reliable performance improvement."

Second, generalization beyond structured selection tasks is unclear. Reviewer PBzh asks whether the pattern holds for "open-ended generation, reasoning, and multilingual tasks." Reviewer Wr71 asks about "instruction-tuned/chat models or in open-ended generation tasks where the answer choices are not explicitly listed." Reviewer PPmm notes experiments focus on "English structured-selection benchmarks" and suggests testing "multilingual settings and broader domains such as code, math, legal, medical, or long-context QA."

Third, Reviewer PBzh notes that comparisons with established interpretability baselines — CKA, SVCCA, or direct hidden-state rank measures — are missing. Reviewer PPmm raises a similar question about whether "centered cosine, centered Gram, or CKA-style normalized maps" would be stronger baselines.

If the authors can show the compress-then-compare pattern holds beyond structured selection (e.g., on open-ended generation or reasoning tasks) and address the comparison with established representation similarity measures, the case for acceptance would be substantially stronger.

Final justification

The authors provided strong rebuttal that addressed concerns raised in the initial reviews. My final decision is to Accept the paper.

Robust Generalization: The authors addressed the scope limitations by proving that the "compress-then-compare" pattern holds across open-ended generation tasks, multi-lingual settings (5 languages), and instruction-tuned models.

Strong Causal Evidence: Responding to requests for mechanistic proof, the authors added massive intervention experiments (including over 23k candidate-state patching rows and 48k distortion-matched interventions) that effectively connect candidate representations to subsequent model preferences.

Baseline Comparisons: The diagnostic method was successfully evaluated against all requested interpretability baselines (CKA, SVCCA, centered cosine, and direct rank).

Reviewer Consensus: Reviewers Wr71 and PPmm found the extensive new data highly convincing and maintained their Accept (5) scores. While Reviewer PBzh originally submitted a Borderline Reject (3), they stated they lacked the time for this emergency review assignment and did not participate post-rebuttal.

Area Chair VhaM · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Reviewers Wr71 and PPmm rated the paper Accept (5) with confidence 4 and 3 respectively, while Reviewer PBzh rated Borderline Reject (3) with confidence 3.

The main concern, shared across all three reviewers, is that the paper's contributions are primarily diagnostic and descriptive — the causal evidence for the compress-then-compare pattern remains modest. Reviewer Wr71 notes that "the claims of the paper are mainly diagnostic and descriptive and the causal evidence remains modest." Reviewer PBzh states that "perturbation evidence does not fully establish causal effects on task performance." Reviewer PPmm acknowledges the method is "mainly a diagnostic tool" and the paper's own reranking/routing results "suggest it is not yet strong enough for deployment-level control or reliable performance improvement."

Second, generalization beyond structured selection tasks is unclear. Reviewer PBzh asks whether the pattern holds for "open-ended generation, reasoning, and multilingual tasks." Reviewer Wr71 asks about "instruction-tuned/chat models or in open-ended generation tasks where the answer choices are not explicitly listed." Reviewer PPmm notes experiments focus on "English structured-selection benchmarks" and suggests testing "multilingual settings and broader domains such as code, math, legal, medical, or long-context QA."

Third, Reviewer PBzh notes that comparisons with established interpretability baselines — CKA, SVCCA, or direct hidden-state rank measures — are missing. Reviewer PPmm raises a similar question about whether "centered cosine, centered Gram, or CKA-style normalized maps" would be stronger baselines.

If the authors can show the compress-then-compare pattern holds beyond structured selection (e.g., on open-ended generation or reasoning tasks) and address the comparison with established representation similarity measures, the case for acceptance would be substantially stronger.

Final justification

The authors provided strong rebuttal that addressed concerns raised in the initial reviews. My final decision is to Accept the paper.

Robust Generalization: The authors addressed the scope limitations by proving that the "compress-then-compare" pattern holds across open-ended generation tasks, multi-lingual settings (5 languages), and instruction-tuned models.

Strong Causal Evidence: Responding to requests for mechanistic proof, the authors added massive intervention experiments (including over 23k candidate-state patching rows and 48k distortion-matched interventions) that effectively connect candidate representations to subsequent model preferences.

Baseline Comparisons: The diagnostic method was successfully evaluated against all requested interpretability baselines (CKA, SVCCA, centered cosine, and direct rank).

Reviewer Consensus: Reviewers Wr71 and PPmm found the extensive new data highly convincing and maintained their Accept (5) scores. While Reviewer PBzh originally submitted a Borderline Reject (3), they stated they lacked the time for this emergency review assignment and did not participate post-rebuttal.

Reviewer PPmmOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes token covariance maps as a prompt-level geometric tool to study how decoder-only language models process structured selection tasks. The main finding is a recurring compress-then-compare pattern: early layers represent prompts diffusely, middle layers compress them into a low-rank bottleneck, and late layers re-expand into answer-comparison geometry. The authors validate this pattern across multiple models, tasks, prompt reformulations, answer-set manipulations, and training checkpoints. Overall, the paper offers a useful new diagnostic perspective on selection behavior in language models.

Strengths and weaknesses

Strengths

  1. Clear research question and strong narrative.
    The paper is well motivated: it asks how a decoder-only model organizes an entire structured-selection prompt across depth. The argument is coherent, moving from covariance-map definition, to spectral compression, to late comparison geometry, and finally to behavioral and perturbation evidence.

  2. Comprehensive experiments.
    The paper evaluates 14 models from 4 families on 12 structured-selection benchmarks. It goes beyond final accuracy by analyzing intermediate hidden-state geometry. The robustness checks are also valuable, including prompt rewrites, label/order permutation, pairwise reranking, answer-set manipulations, larger-sample reruns, and training checkpoints.

  3. Appropriately cautious mechanistic claims.
    The authors do not overclaim that the bottleneck is a unique causal layer or that token covariance maps reveal a full circuit. The perturbation results are framed as evidence for a regional role of the bottleneck in shaping late comparison geometry, which is a reasonable and careful interpretation.

Weaknesses

  1. Limited task and language scope.
    The experiments focus mainly on English structured-selection benchmarks. It would strengthen the paper to test multilingual settings and broader domains such as code, math, legal, medical, or long-context QA. Since the method depends on token-position geometry, different tokenization regimes and prompt structures may affect the results.

  2. Block summaries are coarse.
    CtxOpt, OptSelf, and OptCross average absolute covariance over prompt blocks. This is interpretable, but it discards sign, directionality, and fine-grained correct-vs-wrong option information. Some cases, such as duplicate wrong options, suggest these summaries may miss important behavioral changes.

Questions
  1. How would token covariance maps be adapted to open-ended generation tasks without explicit answer options?

  2. Have you tested multilingual or domain-specific selection tasks? If not, do you expect the bottleneck depth to be stable under different tokenization patterns?

  3. The paper compares covariance with cosine and uncentered Gram baselines. Would centered cosine, centered Gram, or CKA-style normalized maps be stronger baselines?

Limitations

The authors are appropriately cautious, but two limitations should be made clearer:

  1. The experiments focus on structured-selection tasks with explicit answer options. It remains unclear whether the same compress-then-compare pattern applies to open-ended generation tasks, such as free-form reasoning, summarization, dialogue, or long-form QA.

  2. The practical utility should be more clearly bounded. The method is mainly a diagnostic tool, and the paper’s own reranking/routing results suggest it is not yet strong enough for deployment-level control or reliable performance improvement.

Final justification

I will keep my positive recommendation.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We greatly appreciate your positive and constructive review. We were glad that you found the research question clear, the narrative strong, and the experiments comprehensive. Your questions about open-ended generation, multilingual and domain-specific tasks, stronger normalized baselines, and the limits of the pooled block summaries led to several important additions. All new results and discussion are included in the revised paper. We find that the outcome of the review and rebuttal period helped us to improve the quality of the paper. Thank you.


Q1: How would token covariance maps be adapted to open-ended generation tasks without explicit answer options?

A1: Thank you for the insightful question. We note that the map itself does not require candidates; its rows and columns correspond to token positions. For open-ended generation, we align the map with the prompt, context, generated continuation, reasoning or code, and final-answer tokens. We then track the full layerwise trajectory as the response grows.

Specifically, to address your question, we generate and replay 3,200 deterministic responses. Pythia-2.8B, Qwen2.5-7B, and Mistral-7B-v0.3 use 200 examples each from option-removed PIQA, BoolQ, HellaSwag, and ARC-Challenge. Qwen2.5-7B and Mistral-7B-v0.3 also use 100 examples each from GSM8K, TriviaQA, MBPP, and QASPER, covering mathematical reasoning, factual QA, code generation, and bounded long-context scientific QA. QASPER uses a fixed deterministic truncation rule under the analysis budget.

Each response is replayed at seven prefixes—question, 25%, 50%, 75%, pre-answer, first answer token, and completion—and at every transformer layer.

Open-ended test Result
Model-task-prefix combinations with interior compression and later re-expansion 140/140
Model-task settings with greater re-expansion at completion than at the question 19/20
Increase over a control with the same continuation tokens and length, but shuffled order 0.228 (95% CI: 0.111–0.322)
Increase over a control that preserves short local token blocks but shuffles their order 0.120 (95% CI: 0.051–0.173)

The first result asks whether each prefix retains the layerwise trajectory. The second asks whether re-expansion grows as generation proceeds. The controls show that the result is not explained by adding tokens alone and that local order contributes to late geometry.


Q2: Have you tested multilingual or domain-specific selection tasks? Is bottleneck depth stable under different tokenization patterns?

A2: Thank you for the important question. To accommodate it, we now add the settings you suggested.

Added evaluation Models, tasks, and sample size Result
Official chat models Qwen2.5-7B-Instruct and Mistral-7B-Instruct-v0.3 on PIQA, BoolQ, HellaSwag, and ARC-Challenge; 200 examples per setting 8/8 settings retain the trajectory
Multilingual XCOPA Qwen2.5-7B and Qwen2.5-7B-Instruct on the same 100 items in Estonian, Indonesian, Swahili, Tamil, and Chinese 10/10 settings retain the trajectory
Professional domains Both instruction-tuned models on 100 examples each from professional law, clinical knowledge, and abstract algebra 6/6 settings retain the trajectory
Larger replication Pythia-2.8B, Qwen2.5-7B, and Mistral-7B-v0.3 on 500 PIQA, BoolQ, and HellaSwag examples and all 299 ARC-Challenge validation examples 12/12 settings retain the trajectory

The multilingual study uses aligned item identities across all five languages. We adjust for prompt tokens, characters, tokens per character, and option-length imbalance, and bootstrap over the aligned items. The adjusted pooled re-expansion remains positive at 28.60 (95% CI: 28.11–29.10). The bottleneck remains at the same relative depth in all ten model-language settings.

Raw re-expansion magnitude varies across languages, especially in Tamil. We therefore claim stability of the trajectory and its location, not equality of raw magnitude across tokenizers.

We also tested these confounds over the full 19,880-observation benchmark spanning 14 models and 12 datasets. Length, tokenization, option statistics, and hidden-state RMS explain only 5.38% of bottleneck-depth variance, but 61.98% of re-expansion-magnitude variance. This again shows that location is much more stable than raw magnitude.


Q3: Would centered cosine, centered Gram, or CKA-style normalized maps be stronger baselines?

A3: Following your suggestion, we added centered cosine, direct hidden-state rank, linear CKA, SVCCA, and Gram comparisons.

For per-prompt methods, we use all 19,880 observations from the 14-model, 12-dataset benchmark, with the same four summary features for every method. Capability uses leave-one-model-out regression, and task-family prediction holds out a complete model. CKA and SVCCA use the same model-task collections in their standard cross-example form.

Method Capability prediction, leave-one-model-out R2R^2 Task-family transfer to an unseen model, macro-F1 Changed-candidate localization
Direct hidden-state rank 0.796 0.209 31.3%
Centered cosine 0.683 0.393 85.8%
Token covariance 0.680 0.245 83.3%
Linear CKA 0.633 0.146 Not a per-prompt map
SVCCA 0.631 0.195 Not a per-prompt map
Uncentered Gram 0.544 0.235 86.7%

Direct rank recovers the covariance bottleneck within one sampled depth on 96.84% of prompts, with a mean relative-depth difference of 0.00865. This confirms that the transition is spectral.

Centered Gram is algebraically identical to token covariance up to 1/D1/D, so their scale-invariant spectral summaries coincide. Centered cosine provides a strong normalized map. We do not claim that covariance wins every auxiliary prediction task. Its value is that one centered and signed prompt-level object supports spectral analysis, candidate blocks, localization, visualization, and intervention-linked analysis.


W1: CtxOpt, OptSelf, and OptCross are coarse and discard sign, directionality, and fine-grained candidate identity

A: Thank you for the thoughtful comment. Your duplicate-wrong example highlighted this limitation clearly, and we added three finer analyses, described below, to further strengthen the analyses in our paper.

First, we added signed candidate-specific blocks over all 19,880 observations. From the bottleneck to the final layer, the context-correct minus context-wrong contrast changes by -0.0450 (95% CI: -0.0776 to -0.0108), correct-self minus wrong-self by -0.0594 (95% CI: -0.1205 to -0.0027), and correct-wrong minus wrong-wrong by -0.0353 (95% CI: -0.0710 to -0.0015). All three intervals exclude zero, showing that correct- and wrong-candidate relations evolve differently. Their signs are not interpreted as direct support for a candidate.

Second, we test whether each map can identify which candidate changed. Using Pythia-2.8B and Qwen2.5-7B on PIQA, HellaSwag, and ARC-Challenge, across 960 paired manipulations, covariance localizes the altered candidate in 83.3% of cases, centered cosine in 85.8%, and uncentered Gram in 86.7%. Direct rank has no candidate identity and remains at the 31.3% chance rate.

Third, we added exact-token relational pairs. The meaning-changing relation reversal and meaning-preserving entity rename have identical total and per-candidate token counts. Across 30 valid Pythia-2.8B pairs and 20 valid Qwen2.5-7B pairs, relation reversal changes late signed candidate geometry more than entity renaming in both models, while the bottleneck remains fixed.

Further inspired by your review and suggestions, we also added a behavioral intervention. Using the same two models and three datasets, each matched prompt differs in one same-length candidate at the same position, while every other token remains fixed. Copying only that candidate’s states increases its score relative to the strongest original candidate by 3.723 (95% CI: 2.496–5.041) and causes predictions to switch to it on 9.87% of examples (95% CI: 3.29%–18.09%). The targeted patch beats its matched control in 70/72 pre-specified comparisons.

These additions show what the pooled summaries capture and where candidate-level analysis is needed. We also retain duplicate-wrong as an explicit limitation: even signed or pooled covariance summaries are not complete behavioral statistics.


L1: The practical utility should be more clearly bounded

A: Thank you for the comment. The current practical contribution is focused on diagnostics. The diagnostic uses are model and checkpoint comparison, prompt consistency checks, candidate-change localization, and tracking how geometry develops during training. In a 14-model ranking study, adding covariance summaries to model size raises Spearman correlation with mean task accuracy from 0.811 to 0.938, selects the strongest model, and reduces regret from 0.0342 to zero. Size alone has the stronger compact leave-one-model-out regression fit, so we present this as a ranking result rather than universal predictive superiority. We also expanded the limitations discussion to state clearly that open-ended behavioral quality is heterogeneous, raw re-expansion magnitude is sensitive to length and norms, covariance is not directional by itself, and the method is not yet a reliable controller. Thank you.

Reviewer PPmm · CommentOpenReview ↗

Thank you for your comments. I would like to keep my positive score.

Authors · CommentOpenReview ↗

Dear Reviewer PPmm,

We thank you for acknowledging our rebuttal. We are thankful for your thoughtful feedback in your review, and for your continued support and positive assessment of our paper.

With warm regards,
Authors.

Reviewer Wr71OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces token covariance maps, a per-prompt, per-layer representation of how token positions co-vary in hidden-state space. Using these maps, the authors argue that structured selection prompts in decoder-only LMs follow a recurring compress-then-compare trajectory: early diffuse representations, a mid-layer low-rank bottleneck, and late re-expansion into context-option and option-option geometry.

Strengths and weaknesses

Strengths:

  • The proposed token covariance maps are simple, interpretable, and naturally aligned with prompt segments.
  • The empirical study is broad, covering many models, datasets, prompt rewrites, answer-set changes, and training checkpoints.
  • The authors are appropriately cautious: the intervention results are presented as regional evidence, not as proof of a unique causal bottleneck layer.

Weaknesses:

  • The claims of the paper are mainly diagnostic and descriptive and the causal evidence remains modest.
Questions
  • Can the authors better separate semantic comparison effects from positional/template effects, for example with position-matched random blocks, shuffled option text, or nonsensical but length-matched candidates?

  • How sensitive are the covariance maps to normalization choices, e.g. centering across tokens, using absolute covariance, or hidden-state norm variation across layers?

  • Would the same compress-then-compare pattern appear in instruction-tuned/chat models or in open-ended generation tasks where the answer choices are not explicitly listed?

  • Please clarify what evidence would support using this diagnostic beyond analysis, since the selective reranking results seem weak.

Limitations

Partly yes. The authors are appropriately cautious about the method being diagnostic rather than a controller, and about the intervention evidence being regional rather than pinpoint causal. However, I would like the limitations section to more explicitly discuss possible confounds from position, prompt formatting, option length, hidden-state norms, and the restricted focus on structured multiple-choice selection.

Final justification

The authors answer my concerns and questions with (a lot of) convincing data. And after reading the other reviews and responses, I think the paper should be accepted. I maintain my "accept" recommendation.

Formatting concerns

No concerns.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We greatly appreciate your positive and thoughtful review. We were especially encouraged that you found the maps simple and interpretable, the evaluation broad, and the regional interpretation appropriately cautious. Your questions led us to add several important controls and extensions, all of which are included in the revised paper, which we feel helped us to improve the quality of our paper. Thank you.


Q1: Can semantic comparison effects be separated from positional and template effects?

A1: We added four sets of controls.

First, we compare matched selection and neutral-inspection prompts using Pythia-2.8B, Qwen2.5-7B, and Mistral-7B-v0.3 on PIQA, BoolQ, HellaSwag, and ARC-Challenge, with 200 examples per model-dataset setting. Every non-instruction token is identical. The compressed regions have IoU 0.996 (95% CI: 0.993–1.000), and the minimizing layer does not move. Thus, the compressed stage is not created by the answer label, selection verb, or one prompt template.

Second, replacing candidate content with length-matched placeholders preserves most of the compressed region, with IoU 0.947 (95% CI: 0.863–0.998), but weakens the late candidate structure. Between-candidate covariance decreases by 0.327 (95% CI: 0.027–0.700), the ratio of between-candidate to within-candidate covariance decreases by 0.073 (95% CI: 0.006–0.121), and context-to-candidate covariance decreases by 0.095 (95% CI: 0.048–0.142).

Third, we repeated prompt perturbations at every transformer layer. Using the same three models and four datasets, with 120 paired examples per condition, we test a concise rewrite, an instruction-heavy rewrite, candidate-order permutation, irrelevant-distractor replacement, and correct-answer replacement. Compressed-region IoU ranges from 0.954 to 0.998, full-trajectory correlations range from 0.9975 to 1.0000, and the minimizing layer does not shift.

We also ran 720 position-matched pairs with shuffled option text and shape-matched nonsense. These are strong surface controls, but they also disrupt fluency and local syntax, so we do not treat them as clean semantic evidence. We therefore added a stricter exact-token test: a meaning-changing relation reversal and a meaning-preserving entity rename have identical total and per-candidate token counts. Across 30 valid Pythia-2.8B pairs and 20 valid Qwen2.5-7B pairs, relation reversal changes late signed candidate geometry more than entity renaming in both models, while the bottleneck remains fixed.

Together with the paper reported random same-shaped block controls, these results separate the stable spectral stage from position, prompt format, and candidate content.


Q2: How sensitive are the covariance maps to normalization choices, including centering, absolute covariance, and hidden-state norm variation?

A2: We tested these choices on the full 19,880-observation benchmark covering 14 models and 12 datasets.

Centered Gram is algebraically identical to token covariance up to 1/D1/D. Their effective-rank trajectories and normalized block ratios therefore coincide. Positive scalar normalization also leaves effective rank, bottleneck depth, and normalized block ratios unchanged.

We added centered cosine as a genuinely different magnitude-normalized map. Direct hidden-state rank independently recovers the covariance bottleneck within one sampled depth on 96.84% of prompts. Centered cosine retains an interior bottleneck on 91.3% of prompts, while uncentered Gram does so on 85.7%.

We also jointly test sequence length, character count, tokens per character, option count, mean option length, option-length imbalance, and hidden-state RMS. These variables explain only 5.38% of bottleneck-depth variance, and the lowest interior-bottleneck rate in any matched covariate bin is 99.879%. They explain 61.98% of re-expansion-magnitude variance. We now distinguish the robust existence and location of the compressed stage from the more length- and norm-sensitive magnitude of re-expansion.

The original block summaries use absolute covariance to measure interaction strength, which removes sign and candidate identity. We therefore added signed candidate-specific blocks across all 19,880 observations. Correct and wrong candidates evolve differently after compression. We retain the appropriate interpretation of covariance as symmetric association, not directional information flow.

Finally, a larger replication with Pythia-2.8B, Qwen2.5-7B, and Mistral-7B-v0.3 uses 500 PIQA, BoolQ, and HellaSwag examples and all 299 ARC-Challenge validation examples. All 12/12 settings retain interior compression and positive re-expansion.


Q3: Does the pattern appear in instruction-tuned/chat models or open-ended generation without listed choices?

A3: This is an interesting question. To address it, we tested both directly.

For instruction tuning, we evaluate Qwen2.5-7B-Instruct and Mistral-7B-Instruct-v0.3 on PIQA, BoolQ, HellaSwag, and ARC-Challenge, with 200 examples per model-dataset-format setting. All 8/8 official-chat settings retain an interior bottleneck and positive re-expansion. The bottleneck depth is unchanged relative to the matched plain prompt on all 1,600 paired examples.

For option-free generation, we generate and replay 3,200 responses. Pythia-2.8B, Qwen2.5-7B, and Mistral-7B-v0.3 use 200 examples each from option-removed PIQA, BoolQ, HellaSwag, and ARC-Challenge. Qwen2.5-7B and Mistral-7B-v0.3 also use 100 examples each from GSM8K, TriviaQA, MBPP, and QASPER.

We replay every response at seven prefixes—question, 25%, 50%, 75%, pre-answer, first answer token, and completion—and record every layer. All 140/140 model-task-prefix combinations show an interior minimum followed by re-expansion. Re-expansion also rises from question to completion in 19/20 model-task settings.

Exact-token shuffles preserve the same tokens and length but randomize their order. Local-block shuffles preserve short token blocks but change their order. Real continuations exceed these controls by 0.228 (95% CI: 0.111–0.322) and 0.120 (95% CI: 0.051–0.173), respectively. Thus, the result is not explained by sequence growth alone, and local ordering contributes to the late geometry.


Q4: What evidence supports using the diagnostic beyond analysis, given the weak reranking results?

A4: Your question helped us sharpen this claim. We do not present token covariance as a deployment controller, and the acceptance case does not rely on routing or selective reranking.

Its practical role is offline diagnosis. In a 14-model ranking study, adding covariance summaries to model size increases Spearman correlation with mean task accuracy from 0.811 to 0.938, identifies the strongest model, and reduces selection regret from 0.0342 to zero. Size alone has the stronger compact leave-one-model-out regression fit, so we present this specifically as a ranking result rather than a universal predictive advantage.

Prompt auditing is another direct use. Surface changes should preserve the trajectory, while candidate-content changes should reorganize the late map. The every-layer correlations of 0.9975–1.0000, candidate-change localization, and checkpoint tracking provide concrete consistency checks for prompts, models, and training runs.

We also expanded the limitations discussion to cover position, prompt format, option length, tokenization, hidden-state norms, and the original focus on structured-selection tasks.


W1: causal evidence

A: Your comment motivated us to conduct an additional behavioral intervention. We use Pythia-2.8B and Qwen2.5-7B on PIQA, HellaSwag, and ARC-Challenge, with up to 200 examples per dataset. Each matched prompt differs in exactly one same-length candidate at the same position, while the context, labels, candidate order, and all other tokens remain unchanged. We copy only that candidate’s states into the original prompt and score the complete candidate texts.

All choices were fixed on a 20% split. The results use the untouched 80% evaluation split and comprise 23,605 intervention rows. At the empirical bottleneck, the replacement candidate’s score relative to the strongest original candidate increases by 3.723 (95% CI: 2.496–5.041), and predictions switch to it on 9.87% of examples (95% CI: 3.29%–18.09%). The targeted patch outperforms its matched control in 70/72 pre-specified comparisons. Against an equal-size patch from a matched context position, the advantage is 0.493 (95% CI: 0.185–0.957). Identity patches reproduce the clean pass exactly, and perturbation sizes match within 0.003%.

Changing one candidate representation therefore changes the model’s later preference for the full candidate text. Dense layer sweeps support the caution you highlighted: the effect spans the compressed-to-post-compressed region and is not uniquely maximized at the exact minimum-rank layer.

Reviewer PBzhOpenReview ↗
Rating
3/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces token covariance maps to study how decoder-only LMs process structured selection prompts across layers. Across 14 models and 12 benchmarks, it finds a consistent “compress-then-compare” pattern: diffuse early representations, a low-rank bottleneck, and late answer-comparison geometry. It also validates this pattern through robustness tests, intermediate readouts, perturbations, and comparisons with cosine and Gram baselines.

Strengths and weaknesses

Strengths

  1. Simple and interpretable prompt-level diagnostic.
  2. Broad evaluation across models, tasks, prompts, and checkpoints.
  3. Consistent evidence from spectral, behavioral, and intervention analyses.

Weaknesses

  1. Limited mechanistic localization to specific heads, neurons, or circuits.
  2. Perturbation evidence does not fully establish causal effects on task performance.
  3. Comparisons with stronger interpretability baselines are missing.
  4. Generalization beyond structured selection tasks remains unclear.
Questions
  1. How does the method compare with CKA, SVCCA, or direct hidden-state rank measures?
  2. Do bottleneck interventions reduce accuracy more than distortion-matched controls?
  3. How sensitive are results to sequence length, tokenization, and option length?
  4. Does the pattern hold for open-ended generation, reasoning, and multilingual tasks?
Limitations

See Weaknesses and Questions

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank you for the careful review and the clear, actionable feedback. Your comments led us to add a substantial set of new experiments, all included in the revised paper. We hope that you find our responses satisfactory and that you will consider raising your score.


Q1: How does the method compare with CKA, SVCCA, or direct hidden-state rank measures?

A1: Following your suggestion, we added all three, together with centered cosine and Gram comparisons.

For the per-prompt comparison, we use the submitted benchmark: 19,880 observations from 14 Pythia, SmolLM, Qwen, and Mistral models across PIQA, BoolQ, HellaSwag, ARC-Easy, ARC-Challenge, COPA, Winogrande, OpenBookQA, CommonsenseQA, Social IQa, SciQ, and LogiQA, with up to 120 prompts per model-dataset pair. Every method receives the same four summary features. Capability uses leave-one-model-out regression; task-family prediction holds out a complete model. CKA and SVCCA use the same model-task collections in their standard cross-example form.

Method Capability prediction, leave-one-model-out R2R^2 Task-family transfer to an unseen model, macro-F1
Direct hidden-state rank 0.796 0.209
Centered cosine 0.683 0.393
Token covariance 0.680 0.245
Linear CKA 0.633 0.146
SVCCA 0.631 0.195
Uncentered Gram 0.544 0.235

Direct hidden-state rank recovers the covariance bottleneck within one sampled depth on 96.84% of prompts, with a mean relative-depth difference of 0.00865. This confirms the spectral transition.

Centered Gram is algebraically identical to token covariance up to the factor 1/D1/D, so their scale-invariant spectral quantities coincide.

We also added a candidate-localization test using Pythia-2.8B and Qwen2.5-7B on PIQA, HellaSwag, and ARC-Challenge. Across 960 paired cases, covariance localizes the changed candidate in 83.3%, centered cosine in 85.8%, and uncentered Gram in 86.7%. Direct rank has no candidate identity and remains at the 31.3% chance rate.

We do not claim that covariance is universally superior. Its value is that one centered and signed prompt-level object supports spectral analysis, candidate blocks, localization, visualization, and intervention-linked analysis.


Q2: Do bottleneck interventions reduce accuracy more than distortion-matched controls?

A2: After matching perturbation size, low-rank truncation near the compressed region causes more disruption of late comparison geometry, but it does not outperform every matched control on accuracy.

We expanded the study to Pythia-2.8B and Qwen2.5-7B on PIQA, HellaSwag, and ARC-Challenge, with 200 prompts per model-dataset pair. We intervene at offsets −6,−3,0,+3,+6-6,-3,0,+3,+6 around the bottleneck, retain 25% or 50% of the spectral dimensions, and compare with random orthogonal, random token-subspace, and Gaussian perturbations. All interventions are matched by achieved Frobenius distortion, yielding 48,000 rows.

At 25% retained rank, truncation at the bottleneck reduces the ratio of between-candidate to within-candidate covariance by 0.1197 (95% CI: 0.1122–0.1271) and lowers accuracy by 7.17 percentage points (95% CI: 3.92–10.50 percentage points). The geometric disruption is 0.0584 larger near the compressed region than at distant layers (95% CI: 0.0518–0.0648), even after controlling for distortion, model, and dataset.

The accuracy effect does not consistently exceed every equal-distortion control. Thus, this experiment supports a functionally important region for constructing late comparison geometry, not uniquely important covariance directions.

Your question about task performance motivated an additional behavioral test: same-context candidate-state patching. We use Pythia-2.8B and Qwen2.5-7B on PIQA, HellaSwag, and ARC-Challenge, with up to 200 examples per dataset. Each matched prompt differs in exactly one same-length candidate at the same position; all other tokens, labels, and candidate order are unchanged. We test correct-to-plausible-wrong and wrong-to-strong-distractor replacements, copy only the replacement candidate’s states into the original prompt, and score the full candidate texts.

All choices were fixed on a deterministic 20% development split. The results use only the untouched 80% evaluation split and comprise 23,605 intervention rows:

Held-out behavioral test Result
Increase in the replacement candidate’s score relative to the strongest original candidate 3.723 (95% CI: 2.496–5.041)
Predictions that switch to the replacement candidate 9.87% (95% CI: 3.29%–18.09%)
Pre-specified model × dataset × replacement type × control comparisons won 70/72
Advantage over an equal-size patch from a matched context position 0.493 (95% CI: 0.185–0.957)

The controls use an unrelated candidate, a candidate with the same correctness label, a matched context position, a random position, a Frobenius-matched Gaussian perturbation, or a randomized candidate state. Identity patches reproduce the clean pass exactly, and perturbation sizes match within 0.003%.

This establishes the behavioral effect: changing one candidate representation changes the later preference for the candidate text. The effect is regional rather than tied to one exact layer.


Q3: How sensitive are the results to sequence length, tokenization, and option length?

A3: We tested these factors over the same 19,880 observations from the 14-model, 12-dataset benchmark above.

The analysis includes sequence length, character count, tokens per character, option count, mean option length, option-length imbalance, and hidden-state RMS. Together, these variables explain only 5.38% of bottleneck-depth variance. The lowest interior-bottleneck rate in any matched covariate bin is 99.879%.

They explain much more of the re-expansion magnitude: 61.98% of its variance. We therefore distinguish between the highly stable existence and location of the compressed region, and the more length-, tokenization-, and scale-sensitive magnitude of re-expansion.

We ran a larger replication with Pythia-2.8B, Qwen2.5-7B, and Mistral-7B-v0.3: 500 examples each for PIQA, BoolQ, and HellaSwag, and all 299 ARC-Challenge validation examples. All 12/12 settings retain an interior minimum and positive re-expansion, with bottleneck-depth confidence intervals narrower than 0.05 in relative-depth units.


Q4: Does the pattern hold for open-ended generation, reasoning, and multilingual tasks?

A4: We tested each setting directly.

  • Instruction-tuned models: Qwen2.5-7B-Instruct and Mistral-7B-Instruct-v0.3 on PIQA, BoolQ, HellaSwag, and ARC-Challenge, with 200 examples per setting. All 8/8 official-chat settings retain the trajectory.
  • Multilingual tasks: Qwen2.5-7B and Qwen2.5-7B-Instruct on the same 100 XCOPA items in Estonian, Indonesian, Swahili, Tamil, and Chinese. All 10/10 model-language settings retain the trajectory; tokenization-adjusted pooled re-expansion is 28.60 (95% CI: 28.11–29.10).
  • Professional domains: both instruction-tuned models on 100 examples each from professional law, clinical knowledge, and abstract algebra. All 6/6 model-domain settings retain the trajectory.
  • Open-ended generation: 3,200 deterministic responses. Pythia-2.8B, Qwen2.5-7B, and Mistral-7B-v0.3 use 200 examples each from option-removed PIQA, BoolQ, HellaSwag, and ARC-Challenge. Qwen2.5-7B and Mistral-7B-v0.3 also use 100 examples each from GSM8K, TriviaQA, MBPP, and QASPER, covering mathematical reasoning, factual QA, code generation, and long-context scientific QA under a fixed truncation rule.

We replay every response at seven prefixes—question, 25%, 50%, 75%, pre-answer, first answer token, and completion—and record every layer. All 140/140 model-task-prefix combinations show an interior minimum followed by re-expansion, and re-expansion rises from question to completion in 19/20 model-task settings.

To control for sequence growth, we use exact-token shuffles, which preserve the same tokens and length but change their order, and local-block shuffles, which preserve short token blocks but change their order. Real continuations exceed these controls by 0.228 (95% CI: 0.111–0.322) and 0.120 (95% CI: 0.051–0.173), respectively.


W1: mechanistic localization

A: Thank you for the insightful feedback. Following your comment, we added a residual-sublayer analysis using Pythia-2.8B and Qwen2.5-7B on PIQA, HellaSwag, and ARC-Challenge. At every layer, we measure the representation before attention, after attention, and after the MLP.

Across all 6/6 model-dataset settings, attention increases effective rank by 0.0536 (95% CI: 0.0131–0.1064), while the MLP decreases it by 0.0664 (95% CI: 0.0171–0.1289). Their effects on late between-candidate versus within-candidate geometry also have opposite signs. This shows a replicated balance between attention expansion and MLP compression. We present this as sublayer localization, not as a claim about one specific head or neuron.

We also added matched-objective and exact-token controls. On Pythia-2.8B, Qwen2.5-7B, and Mistral-7B-v0.3 across PIQA, BoolQ, HellaSwag, and ARC-Challenge, selection and neutral-inspection prompts have compressed-region IoU 0.996 (95% CI: 0.993–1.000) and zero minimizing-layer shift. Exact-token relation reversals alter late candidate-specific geometry more than entity renaming in both tested models, while leaving the bottleneck fixed. Overall, with the candidate-state patching results above, this supports a shared compressed stage followed by candidate-sensitive late computation.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…