Attention Is More Than You Need: Spectral Redundancy in Multi-Head Routing
Charles Cao
NeurIPS 2026
TL;DR. We prove that KV sharing in MQA/GQA does not reduce worst-case routing hardness, and develop a spectral diagnostic that measures signed routing-message redundancy in deployed GQA models on calibration data.
Abstract. Recent direct-sum hardness results show that computing multi-head attention by evaluating each head independently is essentially optimal under standard complexity assumptions, but leave open whether the key-value sharing in modern MQA and GQA architectures can circumvent this barrier. We prove that it cannot: even one-layer MQA with a single shared key-value head requires one full quadratic routing computation per query head in the worst case. To assess the routing redundancy of deployed models, we develop a calibration-stacked spectral framework that measures the effective number of independent routing-message directions in a layer, carefully separating signed, stochastic, and softmax-realizable compression; we also prove tight error-compounding bounds and NP-hardness of the natural route-merging compiler problem. We measure fourteen open-weight GQA checkpoints from four model families (0.6B–70B parameters); pooled across families, larger models tend to use a smaller fraction of their theoretical routing capacity, though not monotonically within every family. On C4 calibration at , eight directions capture more than 90% of the signed calibration energy in every model; across a 126-setting domain × length grid they capture at least 87.9%, and more than 90% in 121 of the 126 settings. These results diagnose a signed calibration relaxation: they identify where route sharing is worth testing, but do not establish a realizable compressed attention module or wall-clock speedup.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper investigates whether the key-value sharing mechanisms in MQA/GQA architectures fundamentally alter the computational hardness of multi-head attention routing. The authors provide a theoretical impossibility result—showing that key-value sharing alone does not bypass the worst-case per-query-head quadratic routing computation—and contrast this with an empirical spectral diagnostic demonstrating significant routing-message redundancy in trained open-weight GQA models.
Strengths:
From a theoretical computer science perspective, the extension of direct-sum hardness to the MQA setting is well-executed and provides a valuable clarification of what architectural sharing does and does not buy algorithmically. Reviewers unanimously appreciated the mathematical formulation, specifically the elegant separation of algebraic low-rank structures, valid stochastic routes, and realizable softmax maps.
Weaknesses:
While the theoretical foundations are strong, the reviewers identified a significant gap between the theoretical impossibility results and the robustness of the empirical diagnostic. To move this paper toward acceptance, the authors are strongly encouraged to address the following critical areas in their rebuttal:
The current empirical diagnostic relies on a fixed calibration set. Reviewers xFDJ and f3CQ note that redundancy spectra may shift significantly under different conditions. Please provide a small-scale held-out validation and discuss the diagnostic's sensitivity to sequence length and domain.
Reviewer f3CQ pointed out a potential confounder: models above 15B were evaluated in 4-bit NF4, while smaller models were evaluated in fp16. Please include a brief ablation on at least one model in both fp16 and NF4 to clarify whether quantization skews the routing-message spectra.
Final justification
This paper addresses a fundamental question regarding modern LLM architectures: Does key-value sharing (MQA/GQA) actually eliminate the worst-case quadratic computational hardness of multi-head attention routing? The paper provides a rigorous theoretical answer (no) via an elegant extension of direct-sum hardness, effectively decoupling algebraic low-rank structures from functionally realizable softmax routes.
While reviewers initially pointed out the gap between the theoretical impossibility results and the robustness of the empirical diagnostic, the authors' rebuttal closed this gap. The newly provided large-scale held-out evaluations, domain/length sensitivity grids, quantization ablations, and downstream patching benchmarks proved the diagnostic's stability and predictive power. The paper is theoretically rigorous, conceptually clarifying, and now empirically bulletproof. Therefore, the AC recommends Accept (poster).
Read meta-review
Meta-review
This paper investigates whether the key-value sharing mechanisms in MQA/GQA architectures fundamentally alter the computational hardness of multi-head attention routing. The authors provide a theoretical impossibility result—showing that key-value sharing alone does not bypass the worst-case per-query-head quadratic routing computation—and contrast this with an empirical spectral diagnostic demonstrating significant routing-message redundancy in trained open-weight GQA models.
Strengths:
From a theoretical computer science perspective, the extension of direct-sum hardness to the MQA setting is well-executed and provides a valuable clarification of what architectural sharing does and does not buy algorithmically. Reviewers unanimously appreciated the mathematical formulation, specifically the elegant separation of algebraic low-rank structures, valid stochastic routes, and realizable softmax maps.
Weaknesses:
While the theoretical foundations are strong, the reviewers identified a significant gap between the theoretical impossibility results and the robustness of the empirical diagnostic. To move this paper toward acceptance, the authors are strongly encouraged to address the following critical areas in their rebuttal:
The current empirical diagnostic relies on a fixed calibration set. Reviewers xFDJ and f3CQ note that redundancy spectra may shift significantly under different conditions. Please provide a small-scale held-out validation and discuss the diagnostic's sensitivity to sequence length and domain.
Reviewer f3CQ pointed out a potential confounder: models above 15B were evaluated in 4-bit NF4, while smaller models were evaluated in fp16. Please include a brief ablation on at least one model in both fp16 and NF4 to clarify whether quantization skews the routing-message spectra.
Final justification
This paper addresses a fundamental question regarding modern LLM architectures: Does key-value sharing (MQA/GQA) actually eliminate the worst-case quadratic computational hardness of multi-head attention routing? The paper provides a rigorous theoretical answer (no) via an elegant extension of direct-sum hardness, effectively decoupling algebraic low-rank structures from functionally realizable softmax routes.
While reviewers initially pointed out the gap between the theoretical impossibility results and the robustness of the empirical diagnostic, the authors' rebuttal closed this gap. The newly provided large-scale held-out evaluations, domain/length sensitivity grids, quantization ablations, and downstream patching benchmarks proved the diagnostic's stability and predictive power. The paper is theoretically rigorous, conceptually clarifying, and now empirically bulletproof. Therefore, the AC recommends Accept (poster).
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies whether the key-value sharing used in MQA/GQA architectures changes the worst-case computational hardness of multi-head attention, and whether real models exhibit enough routing redundancy to make route sharing plausible in practice. The theoretical part extends direct-sum hardness results to the MQA setting, arguing that even with a single shared key-value head, one-layer MQA can require one full quadratic routing computation per query head in the worst case. The paper also proves related results about residual error compounding and the route-merging compiler problem.
Strengths and weaknesses
Strengths
This is a strong and conceptually interesting paper. The central question is well chosen: MQA/GQA reduces KV-cache and bandwidth costs, but it is not obvious whether sharing keys and values also changes the fundamental cost of token-to-token routing. The paper gives a clear worst-case answer: key-value sharing does not by itself remove the per-query-head quadratic routing burden. This is a valuable clarification of what MQA/GQA do and do not buy algorithmically.
The theoretical framework is one of the paper’s main strengths. The paper carefully separates several notions that are often conflated: algebraic low-rank structure of the routing-message operator, valid stochastic routes, and routes realizable by softmax query/key maps. The calibration-stacked construction is also well motivated. It avoids the misleading conclusion one could draw from per-input ranks by enforcing a shared message basis across calibration inputs. The Gram trick is elegant and makes the diagnostic computationally practical.
The empirical section is also useful. Measuring fourteen open-weight GQA checkpoints across Qwen3, Llama 3, Gemma 2, and Mistral families gives a broad snapshot of current models. The finding that eight routes capture over 90% of signed calibration energy in every model is interesting and could guide future route-sharing or attention-compilation work. The paper is appropriately cautious that this is a diagnostic result rather than a runtime acceleration result.
The clarity is mostly good for a technical theory paper. The authors provide intuition for the signed/stochastic/softmax hierarchy and explicitly state what the framework does not claim. I appreciated the limitations discussion, especially the acknowledgement that Theorem 5.1’s technical novelty relative to prior direct-sum work is modest, that the average-case assumption is non-standard, and that low signed rank is not sufficient for deployable compression.
Weaknesses
- The gap between the diagnostic and an actionable compiler is substantial. The paper shows that real models have low signed spectral dimension, but does not demonstrate a compressed model, a route-sharing implementation, downstream quality preservation, or runtime benefit. The authors are honest about this, but the title and motivation may lead readers to expect more practical acceleration than the paper provides.
- The empirical diagnostic uses finite calibration sets from C4 with a fixed sequence length and no held-out generalization test. It is plausible that the measured redundancy changes with task, sequence length, domain, prompt format, or activation distribution. A simple held-out calibration validation—e.g. fit spectral directions on one prompt set and report residuals on another—would strengthen the empirical claim.
- The main empirical quantity is based on signed calibration energy. The signed-stochastic bridge is reassuring, but implementable softmax route sharing is still unresolved. This should remain prominent in the main text and abstract so that readers do not overinterpret the T8 < 10% result as a direct compression guarantee.
- The largest models are evaluated in 4-bit NF4 quantization, while smaller models are fp16. This is probably reasonable for practicality, but it could affect attention patterns and spectra. A small full-precision ablation on one mid/large model, or a smaller model with/without quantization, would help quantify this.
Questions
- Can the authors add a held-out calibration experiment? For example, compute shared spectral directions or a low-rank approximation using one C4 subset and report residual energy on a disjoint subset. This would test whether the measured redundancy generalizes beyond the calibration prompts.
- How sensitive are the spectra to domain and sequence length? Even one additional domain or a shorter/longer N setting would clarify whether the observed redundancy is robust or C4/N=512-specific.
- Can the authors include a quantization sensitivity check? Since models above 15B are measured in 4-bit NF4, a comparison for at least one model in both fp16 and NF4 would help determine whether quantization changes routing-message spectra.
- Can the authors sharpen the distinction between low signed calibration rank and deployable softmax compression in the abstract and conclusion? The paper states this well in the limitations, but I would like it to be impossible for readers to mistake the diagnostic for a working compiler.
Limitations
Yes
Final justification
Thanks to author's hard-work and all my concerns are answered. I have updated the paper category to general accordingly, although I would prefer to classify this paper a theoretical eval regarding the spectral redundancy research in multi-head routing.
Formatting concerns
No Concerns Found
2 comments
Dear Reviewer f3CQ,
A brief follow-up as the discussion closes Monday (Aug 3, AOE). All four of your questions were run as specified: (1) held-out validation on all 14 checkpoints — layer-median residual shifts at most 0.004; (2) the domain/length sensitivity became a full 126-setting grid — T8 below 10% in 121/126, worst case 12.1%, with the scoped restatement adopted; (3) the fp16/NF4 matched pairs, including both Table 1 NF4 checkpoints — layer-median T8 differs by at most 0.002, so quantization does not explain the cross-model differences; (4) verbatim abstract and conclusion text making the diagnostic-vs-compiler distinction impossible to miss, plus the "signed directions" correction.
If the response gives you what you need, we would appreciate that being reflected in your assessment and in the discussion phase; we are glad to elaborate on anything before the window closes.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 2/4
- Clarity
- 1/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies the redundancy of multi head attention routes inside Transformer layers. The paper presents theoretical results in Sections 4, 5 and empirical results in Section 6. In Section 4, the paper introduces a measure for evaluating the routing redundancy of multi head attention. Specifically, given a calibration set, the measure asks how well an -route student model can approximate -head attention layer. The paper shows that this is exactly the tail sum of squared singular values of a stacked routing-message matrix, and this can be efficiently computed by Gram trick. In Section 5, the paper presents an impossibility result. Specifically, the paper extends the prior direct-sum hardness result for MQA/GQA setting, meaning that one still needs full quadratic routing computation per query head in the worst case. In Section 6, the paper evaluates 14 open-weight models and measures their routing-message spectra. The analysis reveals that about 8 routes can capture more than 90% of signed calibration energy.
Strengths and weaknesses
Strength
- I briefly checked the proofs and they seem mostly correct.
- The theoretical results (especially Theorem 5.1) are useful. They show that MQA/GQA do not allow an efficient computing detour.
- The claims of the paper are supported well with sufficient theoretical results and evidence.
- The paper clearly states some limitations or gaps in its claim, such as “This pointwise condition … as a shared function of the input” in line 197-199.
Weakness
- W1. The presentation and writing are not clear enough.
- Although I have not read many papers in Transformer computational complexity theory and I am not an expert in this literature, I felt that the writing is not sufficiently clear and is sometimes hard to read. I don’t want to give a negative evaluation only because of writing, but I believe this paper have non-negligible readability problem.
- I explain this using Section 4 as an example. First of all, although there is a short roadmap at the beginning of Section 4, Section 4.1 immediately introduces the attention block, calibration set, width- calibration student, and average Gaussian transported-feature error. These are crucial for understanding the whole section, but the paper does not give enough intuition for the objective, or explanation of what a large/small value of the error means. A sentence like “In this subsection, we aim to investigate how much width- student layer can approximate original -heads layer” at the beginning of Section 4.1 would make the reading much easier. Sections 4.2, 4.3 have a similar issue.
- In Section 4.2, line 143 says “This is the correct object for calibration compression…”, but I think this statement refers to , whose definition seems to be missing in the paper.
- In Section 4.3, the “use” part says “Theorem 4.3 makes the diagnostic practical”, but I didn’t immediately understand what it wants to “diagnose”. I now understand that the target is routing redundancy inside an attention layer, but my point is that, the explanation is too compressed and assumes the reader already understands the diagnostic objective. Also, it would be clearer to say somethinig like “since it is hard to compute singular values of the matrix of size , we need an efficient method, and that is Theorem 4.3”.
- Other section/subsection share similar writing issues. The authors may think these things are obvious and do not need much explanation, but at least for me, they were hard to catch on the first reading.
- W2. I feel the message and contribution of the paper are not fully clear.
- In my understanding, Section 4 discusses how to measure the redundancy of heads within layer. Section 5 talks about an impossibility result that even with MQA/GQA, we still cannot expect reduced routing computation in the worst case. Section 6 shows that trained open-weight models exhibit high redundancy.
- My first concern is that the contents of the paper do not feel fully organized around one unified message. The paper sometimes feels like it moves from one direction to another. My second concern is that, except for the impossibility result in Section 5, the remaining parts of the paper feel closer to observation-level contributions, so the contribution seems limited.
Questions
- Q1. I want to check whether my understanding is correct.
- Section 4.6 says: row-stochastic matrix pointwise softmax matrix actual attention head with fixed , .
- Theorem 5.1 says: even with MQA, we can construct an example that still needs computation.
- Proposition 5.2 says: this example can be reduced to a single row-stochastic route.
- Then, this single row-stochastic route does not need to be realizable by a single softmax attention head. If it were realizable by fixed and , Theorem 5.1 would become false because this example would only require computation, not . Is this understanding correct?
- Q2. Since the current redundancy measure in equation 4 relies on the calibration set, I have a question about how the choice of this calibration set affects the redundancy measure. I would like to see how the domain, sequence lengths, or possibly other factors change the redundancy in Section 6.
Limitations
yes
Final justification
See my comment on the authors' response.
Formatting concerns
None that I noticed.
4 comments
Rebuttal
Response to Reviewer oZBX
Thank you, especially for checking the proofs and for Q1, which is exactly the right question about how §4 and §5 fit together. We answer it first, then address writing, unification, and calibration sensitivity.
Q1: Is your reading of Theorem 5.1 / Proposition 5.2 correct?
Yes, with one qualification that makes everything consistent. The core distinction is: Proposition 5.2 is an algebraic statement after the routes are known; Theorem 5.1 is about the cost of producing the aggregate route as a function of the input.
Because all heads share one message map in the hard construction, the layer output can be written with the single row-stochastic matrix ; that is Proposition 5.2, and it is exactly what its second paragraph asserts: "Thus the hardness is not about algebraic route width. It is about the computational cost of evaluating the softmax-defined route aggregate when each depends on a different query template." The existence of as a stochastic matrix does not mean it can be computed cheaply: obtaining it may still require evaluating all head-specific score matrices.
Theorem 4.6, by contrast, is a pointwise factorization statement: once a fixed strictly positive stochastic matrix is given, free matrices (with up to ) can always factor logits whose row-softmax equals . It supplies neither shared linear maps of the input nor an algorithm that produces without first computing the constituent routes; this is precisely the caveat closing §4.6 ("the route must also be implemented as a shared function of the input") and Remark B.5. So your contrapositive reading is correct: if one efficiently constructible, low-dimensional shared query/key pair generated across the hard family, the readout would cost one quadratic score matrix, contradicting Theorem 5.1 under its hypotheses.
Two short technical notes, since you checked the proofs: (i) the contradiction needs the theorem's regime (the comparison is against ), and the non-realizability is a conditional contrapositive under unbalanced 3-OV, not a separately proven algebraic fact (we claim no direct bound on ). (ii) Proposition C.1 gives the general form: with distinct query templates, evaluation costs against a matching lower bound, so no collection of efficiently-constructible softmax routes suffices, not merely no single one.
The sharpest way to see the consistency is instance-dependence (Remark A.1): on a no-instance, a sentinel-only width-1 surrogate approximates every within TV per row and reproduces the readout to within : a cheap width-1 route does exist there. On a yes-instance the same surrogate errs by at least . Deciding which case one is in is itself the 3-OV problem. We will add this discussion immediately after Proposition 5.2, so the quantifiers your question exposed become explicit.
W1: Writing and readability of §4.
We accept this fully, and your specific suggestions are good. We commit to replacing the compressed opening of §4 with a purpose-first explanation along the following lines (your proposed §4.1 sentence is folded in):
Section 4 asks whether an -head layer can be represented, on calibration data, by only shared route-message directions. Equation (4) is the average operator error of the best width- student: a small value means a few shared directions explain the layer's action, while a large value rules out such sharing at that width. Because the student must reuse one message basis across prompts, per-prompt ranks are insufficient; Section 4.2 therefore stacks all calibration inputs. The stacked matrix has rows ( at , ) and cannot be decomposed directly, so Section 4.3 reduces its spectrum to an Gram eigenproblem; the quantity being diagnosed throughout is routing redundancy inside a layer.
On the line-143 sentence: "this" refers to , defined in Eq. (8) immediately above; the ambiguity is our doing: the symbol is introduced in §3, never re-introduced in §4, and later collides with the residual layers of Theorem 5.3. We will recap at the start of §4.2 and rewrite the sentence as "The stacked matrix is the correct object for the calibration compression problem of §4.1 because a compressed layer must use the same message maps across all inputs." We will apply the same purpose-first openings to §5 and §6, and will also correct the stale appendix and checklist cross-references.
W2: Unified message and level of contribution.
The intended single thesis is:
KV sharing does not make head-specific routes cheaply computable in the worst case, but trained models' realized routing-message operators are often low-dimensional; the difference between algebraic compressibility and efficient functional realizability is both the opportunity and the obstruction for route-sharing compilers.
The parts map onto it directly: §4 defines and exactly characterizes the algebraic notion (Theorem 4.2 is an exact characterization, 4.4 a separation construction showing per-prompt measurement misleads, 4.5 a constructive conversion, 4.6 an iff); §5 proves algebraic compressibility does not by itself remove hardness (with Theorem 5.4 adding NP-hardness of the compiler problem); Proposition 5.2 connects the two on a single construction (stochastic width 1, cost ); and Proposition C.1 identifies the complexity-side invariant: the number of distinct score matrices, not the head count. §6 measures the algebraic side of the gap in trained models; it does not estimate the number of efficiently realizable score functions, and the gap between the two sides is precisely our point. We will rewrite the introduction and conclusion around this thesis.
We agree that the original §6 did not yet test whether the diagnostic improves a concrete route-sharing intervention; the new study adds that intervention-level validation: with representative-route maps selected on 200 prompts and scored on 200 disjoint prompts, the joint criterion (greedy representative selection minimizing the Eq. (4) calibration error) beats routing-only attention similarity in 97.5% of 528 layers at and 97.8% of 502 layers at , beats the mean of 1000 random maps in every layer, and yields lower route-patched WikiText-2 perplexity (each head reads its representative's post-softmax routing rows) than the routing-only similarity and seeded-random baselines at on both models tested (e.g., Llama-3-8B at : 48.8 vs 353.5 for similarity vs 529.7 for a seeded-random map; unpatched 7.99). At every method, including ours, collapses; we report that plainly as a failure regime of this simple all-layer merge intervention, and we claim only a ranking signal for representative-route selection, not a deployable compressor. Aggregate results are in our response to Reviewer xFDJ; complete tables will be added to the revision.
Q2: How does the choice of calibration set affect the redundancy measure?
We measured this directly during the response period, on all 14 models.
- Prompt sampling (same domain): 500 bootstrap resamplings of 200-prompt subsets give 95% resampling intervals on layer-median of half-width ≈0.0015 at worst; a fit-on-200 / evaluate-on-disjoint-200 split shifts the layer-median residual by at most 0.004 (median per-layer gap ≤0.0022) across all models and . What is being tested is the stability of the fitted message subspace of the signed diagnostic (the width- student's shared message basis of §4.1), not functional softmax generalization.
- Domain and length: full grid, 14 models × {C4, WikiText-103, code (CodeParrot)} × (three Qwen3-8B code cells rerun in bf16 after fp16 overflow, disclosed as such). holds in 121/126 settings; the five exceptions are mid-size Qwen models on code at (worst ), and code raises modestly (Qwen3-14B: 10.9 → 12.9 at ). The scoped restatement we will adopt: eight directions capture at least 87.9% of signed calibration energy in all 126 settings and more than 90% in 121/126 settings.
- Transfer across domains: subspaces fitted on C4 remain near-optimal elsewhere. Qwen3-8B on WikiText: residual 0.094 vs 0.090 for that corpus's own optimum; on code: 0.117 vs 0.105; the worst excess over the per-domain optimum at , is 0.023 across all models and domains (these runs measure Qwen3-32B in fp16 vs Table 1's NF4; a matched pair shows the precision effect is small at the paper's protocol). The increases are partly intrinsic (the target domain's own optimum rises on code) and partly the ≤0.023 transfer cost just quoted.
Summary of commitments: purpose-first openings for §4.1–4.3 (text above) and for §5–§6; recap and the rewritten line-143 sentence; the Proposition 5.2 realizability discussion from Q1; systematic cross-reference fixes; the introduction and conclusion rewritten around the unified thesis; the robustness and intervention experiments added, with the headline scoped; and a softened §6 scaling sentence (the within-family trend of is not strictly monotone in two families, which we will state rather than "consistently across all four families"). We hope the Q1 clarification and these concrete texts resolve the clarity and organization concerns, and we are glad to continue the discussion.
Dear Reviewer oZBX,
A brief follow-up as the discussion closes Monday (Aug 3, AOE). Three things we hope came through in our response. First, your Q1 reading of Theorem 5.1 / Proposition 5.2 is exactly correct, and the clarifying discussion (including the instance-dependence view your question exposed) will be added directly after Proposition 5.2. Second, on clarity — your review generously noted you did not want the evaluation to rest on writing alone — our response contains the concrete replacement text: purpose-first openings for §4.1-4.3 folding in your suggested sentence, the P_MK recap, and the introduction/conclusion rewritten around one stated thesis. Third, your Q2 was measured in full: 14 models × 3 domains × 3 lengths; eight directions capture at least 87.9% of signed energy in all 126 settings (above 90% in 121), with cross-domain transfer cost at most 0.023.
If the clarifications and new measurements address your concerns, we would appreciate that being reflected in your assessment; happy to elaborate before the window closes.
Thanks for the rebuttal. As I noted in W2, I felt that the main message of the paper was not well organized in the initial submission, but the authors’ response helped clarify it. Overall, I raise my score from 3 to 4.
My current understanding is that: (1) in the worst case, attention cannot be approximated using a reduced number of routing computations (Section 5); (2) trained models exhibit substantial routing redundancy (Section 6); and (3) this redundancy may potentially be exploited to approximate attention using fewer routing computations. I find the theory in Section 5 solid, and I believe the additional experiments in the rebuttal largely address my concerns regarding (2). However, (3) still appears weakly supported. I strongly encourage the authors to improve the presentation in the main text and add a clearer discussion of (3).
Dear Reviewer oZBX,
Thank you for revisiting the paper and for raising the score. Your three-point summary is exactly the intended message: (1) key-value sharing does not remove worst-case routing hardness; (2) trained models nonetheless exhibit substantial routing-message redundancy, now validated on held-out prompts, across domains and sequence lengths, and under quantization; and (3) the redundancy may potentially be exploited by a realizable, quality-preserving attention mechanism.
We agree that (3) is the weakest link, and the revision will discuss it explicitly rather than leave it implicit. The new merge study supports only a ranking signal for representative-route selection within the tested PatternMerge family, with the width-4 collapse reported as its boundary; converting the diagnostic into a working compiler still requires stochastic and softmax realizability, downstream-quality validation, and a demonstrated wall-clock benefit. We will state this in a dedicated discussion paragraph, alongside the sharpened abstract and conclusion and the purpose-first rewrite of Section 4 committed in our response.
Thank you again; your questions materially improved the paper.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies whether KV sharing in MQA/GQA reduces the computational cost of multi-head attention. It shows theoretically that KV sharing alone does not remove worst-case routing hardness. Even MQA can require one quadratic routing computation per query head. To contrast this worst case with practice, the paper proposes a spectral diagnostic that measures routing-message redundancy in trained layers. Applying it to 14 open-weight GQA models, the authors find that a small number of shared directions, often 8, captures over 90% of signed calibration energy, suggesting substantial practical redundancy despite the worse-case lower bound.
Strengths and weaknesses
Weakness
The key concern is that the empirical diagnostic in the paper can not be transformed into a practical recipe yet.
-
The paper shows that trained GQA layers have low signed routing-message spectra on a finite C4 calibration set, but it does not establish how stable these spectra are across domains, prompt samples, sequence lengths, or held-out data.
-
The empirical analysis would be stronger with validation that the spectral metric predicts useful interventions. For example, one could compare spectrum-guided route sharing or route merging against random and similarity-based baselines on a small subset of layers/models. Without such a check, the proposed diagnostic is suggestive, but its advantage over simpler redundancy measures remains under-established.
Questions
- How stable are the reported spectra across calibration choices? The current results use 200 C4 prompts at fixed sequence length. A small robustness study over different random prompt subsets would clarify whether the effective-rank and tail-energy conclusions are stable.
- Can the authors better validate that the spectral diagnostic predicts useful redundancy? For example, a small ablation on a few models/layers could compare spectrum-guided route sharing or route merging against random merging and simple attention-similarity baselines.
Limitations
Yes
Formatting concerns
N/A
2 comments
Rebuttal
Response to Reviewer xFDJ
Thank you for the careful review. We agree with your diagnosis of what was missing: (i) evidence that the fitted spectral structure is stable across calibration choices, and (ii) evidence that the joint routing-message diagnostic improves route-sharing decisions over simpler redundancy measures. We ran both studies during the response period, at full scale, with pinned model revision hashes for all spectral measurements. Three of the 126 grid settings (Qwen3-8B on code, all three lengths) were rerun in bf16 after fp16 attention overflow; this is disclosed below, and complete per-model tables will be included in the revision.
Q1: How stable are the spectra across calibration choices?
Bootstrap over prompt subsets. We resampled 500 random 200-prompt subsets per model (from a 400-prompt C4 pool built with the paper's selection rule) and recomputed the full diagnostic each time. The 95% bootstrap-interval half-width under prompt resampling on layer-median is ≈0.0015 at worst (typically ~0.001). Examples (point estimates from the 400-prompt pool; Table 1's values are the published-200 ones):
| Model | ||
|---|---|---|
| Qwen3-8B | 10.38 [10.26, 10.49] | 0.089 [0.088, 0.090] |
| Llama-3-70B | 4.34 [4.22, 4.40] | 0.013 [0.012, 0.013] |
| Mistral-Nemo-12B | 9.62 [9.53, 9.71] | 0.072 [0.071, 0.073] |
Disjoint held-out prompts. We fit the rank- message subspace (the width- student's shared message basis of §4.1) on the paper's exact 200 calibration prompts and evaluated the optimal signed residual within that fixed subspace on the next 200 prompts. For every model and every , the layer-median residual shifts by at most 0.004 (typically ≤0.002), and the median per-layer gap is ≤0.0022 (e.g., Qwen3-8B: 0.088 in-sample vs 0.089 held-out; Llama-3-70B: 0.013 vs 0.013). To state precisely what this tests: the fitted message subspace of the signed diagnostic is stable on unseen prompts; it is not a claim of functional softmax generalization (§4.6).
Domain and sequence length (your weakness paragraph). Full grid, new for this response: 14 models × {C4, WikiText-103, code (CodeParrot)} × = 126 settings. holds in 121/126; the five exceptions are all mid-size Qwen models on code at , worst case (a bf16-rerun cell), and code is the only domain that pushes the tail above 10% (it also lifts modestly, e.g. Qwen3-14B 10.9 → 12.9 at ). WikiText shifts layer-median by at most 0.022 in either direction and never crosses 0.10. The precise restatement we will adopt: eight directions capture at least 87.9% of signed calibration energy in all 126 settings, and more than 90% in 121/126 settings. The cross-domain transfer penalty is small in this grid: at and , a C4-fitted subspace incurs at most 0.023 more residual than the target domain's own fitted optimum, across all models and both other domains (these runs measure Qwen3-32B in fp16 vs Table 1's NF4; the matched pair in our reply to Reviewer f3CQ shows the precision effect is small under the paper's C4/ protocol).
Q2: Does the diagnostic predict useful interventions, beyond simpler redundancy measures?
We implemented exactly the requested comparison (spectrum-guided route sharing against random and attention-similarity baselines) at two levels.
(a) Merge quality on the calibration operator (all 14 models). Route merging (each head keeps its own value-output channel but reads a representative head's routing pattern, as in the paper's PatternMerge; scored by the average Gaussian transported-feature error of Eq. (4); the NP-hardness statement uses ) has a closed form in the Gram algebra of Theorem 4.3. We compared, per layer and width : joint -guided greedy selection ("joint-greedy": representatives chosen greedily to minimize the exact closed-form error) vs routing-only attention-similarity clustering (cosine of routing patterns, ignoring message maps, the "simpler redundancy measure") vs 1000 seeded random maps vs the rank- oracle lower bound (the Theorem 4.2 tail energy). Because the greedy rule optimizes the same metric it is scored on, the fair headline is the held-out variant: maps selected on the paper's 200 prompts and scored on 200 disjoint prompts.
- Held-out: joint-greedy beats routing-only similarity in 97.5% of 528 layers at (all 14 models; per-model win rate 81–100%) and 97.8% of 502 layers at (13 models; Gemma-2-2B has only 8 query heads; per-model 93–100%). In-sample agrees (98.1% / 98.4%).
- Per-model median relative improvement over similarity at : 16–29% in-sample and 16–30% held-out (Qwen3-14B: 24% / 23%; in-sample layer-median error 0.188 vs 0.303).
- Joint-greedy beats the mean of the 1000 random maps in 100% of layers for every model at every (the median fraction of draws matching it is ≤0.001 at ; descriptive, from seeded draws). At it also beats the best of the 1000 draws in ≥99% of layers.
- Baseline robustness: an alternative similarity baseline (cosine on the normalized routing Gram) is likewise beaten in ~98–99% of layers at , so the result is not baseline-specific.
- Context on absolute quality: even the best merge stays ≈2–3× above the oracle rank- tail at : the remaining factor quantifies the cost of discrete representative-head assignment relative to an unconstrained subspace.
This quantifies what the framework argues: the diagnostic is built on the Gram pair (Theorem 4.3), while similarity clustering uses routing patterns alone, and Proposition B.7 already separates importance-style measures from routing compressibility; Theorem 4.4 is why we score against the calibration-stacked operator rather than per-prompt statistics.
(b) Downstream check. We patched real models (replace each head's post-softmax routing rows by its representative's, in every layer of the network, a deliberately severe, all-layer intervention) and measured full WikiText-2 test perplexity (distinct from the WikiText-103 above). The downstream random baseline is a single map drawn with one fixed, pre-specified seed (not the mean of the 1000 calibration-level draws). The harness passes a 30-check correctness suite on reference models (29 pass, 1 not applicable), including bit-exact identity-map NLL reproduction on GQA models and five negative controls; the "unpatched" column is the identity-map run.
| Model | joint-greedy | similarity | seeded random | unpatched | |
|---|---|---|---|---|---|
| Qwen3-8B | 16 | 20.7 | 26.1 | 635.6 | 12.87 |
| Qwen3-8B | 8 | 78.7 | 95.5 | 541.9 | 12.87 |
| Llama-3-8B | 16 | 48.8 | 353.5 | 529.7 | 7.99 |
| Llama-3-8B | 8 | 1249.9 | 51652.7 | 67530.9 | 7.99 |
The joint-greedy map outperforms the routing-only similarity and seeded-random baselines at on both models, but absolute quality remains below the unpatched model everywhere. At every method collapses (Qwen3-8B: 303–21291; Llama-3-8B: – against a 7.99 baseline) and the ordering stops being meaningful: on Llama-3-8B our method is then the worst of the three. We report this plainly as a failure regime of this simple all-layer patching intervention; Theorem 5.3 offers a possible mechanism, since per-layer route errors can amplify through the residual stack. (A second, eigenbasis-loading variant, which assigns heads by their loadings in the top- eigenbasis, is competitive on Qwen3-8B (76.7 at , marginally ahead of joint-greedy's 78.7) but unstable on Llama-3-8B; the revision's tables will include it in full.)
On the concern that the empirical diagnostic "can not be transformed into a practical recipe yet."
We agree, and the paper says so explicitly (Appendix F: "Converting this signed calibration diagnostic into deployable compression requires solving the stochastic and softmax realizability gaps and validating downstream model quality, which are beyond the scope of this work."). What the new experiments establish is deliberately narrower and, we believe, defensible: the spectrum and its joint Gram structure provide an empirically supported ranking signal for representative-route selection within the tested PatternMerge family: the calibration-level ordering holds across all 14 models on held-out prompts, and at the joint-greedy maps yield lower downstream perplexity than both baselines on the two models tested; low signed rank alone remains insufficient for a realizable, quality-preserving, or faster attention module. We will state the claim in exactly this form, not as a validated compressor or a practical recipe.
Revisions we commit to for the revised paper: (1) the bootstrap and held-out validation in §6, with resampling intervals and the subspace-stability framing above; (2) both merge-comparison experiments: calibration-level with all four baselines (including the alternative Gram-similarity baseline and both random controls) and perplexity-level including the collapse and the eigenbasis variant; (3) the headline restated with the 126-setting scope ("at least 87.9% in every tested setting; >90% in 121/126") and "eight shared routes" corrected to "eight signed route-message directions"; (4) the abstract and conclusion sharpened so the diagnostic-vs-compiler distinction is impossible to miss, with the claim language changed to "ranking signal" throughout; (5) per-model precision documented explicitly, and the calibration protocol appendix extended with the prompt-pool construction and split definitions used here.
We hope these results close the evaluation gap your review identified, and we welcome follow-up questions during the discussion phase.
Dear Reviewer xFDJ,
A brief follow-up as the discussion closes Monday (Aug 3, AOE). Your review proposed the decisive test: "compare spectrum-guided route sharing or route merging against random and similarity-based baselines." We ran exactly that, at full scale: on merge maps selected on 200 prompts and scored on 200 disjoint prompts, the joint spectrum-guided criterion beats routing-only attention similarity in 97.5% of 528 layers at width 4 and 97.8% at width 8, and beats the mean of 1000 random maps in every layer; the ranking carries to route-patched WikiText-2 perplexity at width 16 on both models tested. We report the width-4 collapse plainly and claim only a ranking signal, not a compressor. Your stability question was also run in full (bootstrap intervals ±0.0015; disjoint-split residual shifts at most 0.004, all 14 models).
If these results establish the diagnostic's advantage over simpler redundancy measures to your satisfaction, we would appreciate that being reflected in your assessment; glad to elaborate before Monday.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Response to Reviewer f3CQ
Thank you for the thorough and generous review, and for four questions precise enough to be run as specified. During the response period we ran the held-out and domain/length studies on all 14 checkpoints, evaluated four matched fp16/NF4 pairs, and will make the framing changes requested in Q4; all new spectral runs pin model revision hashes.
Q1: Held-out calibration validation.
We ran exactly your protocol: compute the shared spectral directions on one C4 subset (the paper's original 200 calibration prompts) and report residual energy on a disjoint subset (the next 200 prompts under the same selection rule), for all 14 models. Concretely, we fit the rank-R message subspace (the width-R student's shared message basis of §4.1) on the first split and evaluate the optimal signed residual within that fixed subspace on the second. Result: for every model and every R∈{1,4,8}, the layer-median residual shifts by at most 0.004 (typically ≤0.002), and the median per-layer gap is ≤0.0022. Examples at R=8 (in-sample T8 → held-out residual): Qwen3-8B 0.088 → 0.089; Llama-3-8B 0.039 → 0.039; Gemma-2-9B 0.045 → 0.046; Llama-3-70B 0.013 → 0.013.
We additionally ran 500 bootstrap resamplings of 200-prompt subsets from a 400-prompt pool: the 95% bootstrap-interval half-width under prompt resampling is ≈0.0015 at worst on layer-median T8 (e.g., Qwen3-8B T8 0.089 [0.088, 0.090]). To state precisely what these results show: the fitted message subspace of the signed diagnostic is stable across prompt samples: the measured redundancy is not an artifact of the specific calibration draw. They do not assert functional softmax generalization, which remains open exactly as our §4.6 and limitations say.
Q2: Sensitivity to domain and sequence length.
We ran the full grid rather than one extra setting: 14 models × {C4, WikiText-103, code (CodeParrot)} × N∈{256,512,1024} = 126 settings. (Three settings, Qwen3-8B on code at all three lengths, were rerun in bf16 after fp16 attention overflow; the reruns contain no non-finite values. One further note: the new held-out and grid runs measured Qwen3-32B in fp16, whereas Table 1's run is NF4; the matched pair in Q3 provides a direct precision comparison at the paper's original protocol. All other cells use the paper's precision.)
We will replace the unscoped headline accordingly: eight directions capture at least 87.9% of signed calibration energy in every one of 126 tested settings (worst-case T8=12.1%), and more than 90% in 121/126 settings, and we consider it a feature that the diagnostic resolves this domain effect.
Q3: Quantization sensitivity.
We ran four same-checkpoint fp16-vs-NF4 matched pairs, including both checkpoints the paper measures in NF4 (Qwen3-32B and Llama-3-70B), each re-measured in the other precision, with Llama-3-70B run in fp16 across 2×H100. Both arms of every pair use the same checkpoint revision and the same 200 calibration prompts (C4, N=512, Table 1's protocol); as in the paper, attention maps are computed in fp16 in all arms and the value-output factors are dequantized to float32 before forming GM, so the ablation isolates the effect of weight quantization on the measured spectra:
(Bold marks Table 1's settings.) Across the four pairs, the median per-layer ∣Δreff∣ is at most 0.12 (roughly 60× smaller than the cross-model spread of 4.3–11.9), and the two layer-median T8 values differ by at most 0.002. For completeness: one single layer (of 80) in Llama-3-70B is an outlier with ∣Δreff∣=8.7 (the next largest layer deviation in that model is 0.4), while the layer-median reff changes by only 0.03 and T8 by 0.0002. The scoped conclusion: quantization does not explain the paper's cross-model differences or the low-T8 finding.
Reproducibility note, surfaced proactively: the new robustness grid measured Qwen3-32B in fp16 because the loader's automatic precision selection did not reproduce that checkpoint's submitted NF4 setting; this is now fixed with explicit per-model precision flags; the revision will document each model's precision (Qwen3-32B and Llama-3-70B: NF4; the other twelve: fp16), and the matched pair above provides a direct precision comparison at the paper's original protocol.
Q4: Sharpening the diagnostic-vs-compiler distinction in abstract and conclusion.
Agreed, and thank you for locating the gap precisely: the caveat exists in §1, §4.1, §6 and Appendix F, but the abstract and conclusion lack it, and the abstract drops the "signed" qualifier ("routing-message energy" instead of "signed calibration energy"). We commit to, verbatim:
On the gap between the diagnostic and an actionable compiler (your first weakness).
We agree with your framing and add two data points from the response period (aggregate results in our reply to Reviewer xFDJ; complete tables will be added to the revision). With merge maps selected on 200 prompts and scored on 200 disjoint prompts, the joint routing-message criterion (greedy representative selection minimizing the Eq. (4) calibration error) beats routing-only attention similarity in 97.5% of 528 layers at R=4 and 97.8% of 502 layers at R=8 (in-sample agrees: 98.1% / 98.4%; an alternative Gram-cosine similarity baseline is beaten at nearly the same rates, so the comparison does not hinge on a weak baseline), it beats the mean of 1000 random merge maps in every layer, and it yields lower route-patched WikiText-2 perplexity (each head reads its representative's post-softmax routing rows in every layer; WikiText-2 is separate from the WikiText-103 grid corpus) than the routing-only similarity and seeded-random baselines at R∈{8,16} on both models tested. At the same time, absolute perplexity remains degraded even at R=16 (Qwen3-8B 20.7 vs 12.87 unpatched), the best merge still sits ≈2–3× above the oracle rank-R tail (the Theorem 4.2 tail energy) at R=8, and aggressive merging (R=4) collapses every method, all of which confirms the absolute gap you describe. We therefore claim only an empirically supported ranking signal for representative-route selection within the tested merge family, not a working compiler, and the sharpened abstract/conclusion make that distinction impossible to miss.
Your finite-calibration weakness (C4-only calibration, fixed sequence length, no held-out test) is addressed by Q1 and Q2 above.
Thank you again: the review's protocols were directly actionable, and the paper is stronger for them. We welcome follow-up questions during the discussion phase.