- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper investigates the mechanistic basis for why post-SDPA sigmoid gating suppresses attention sinks in autoregressive Transformers. The authors reframe attention sinks not merely as column-imbalance artifacts in the attention map, but as low-rank spectral spikes in the token-space covariance of post-attention representations, grounded in random matrix theory via the Baik–Ben Arous–Péché (BBP) phase transition. Post-SDPA gating is then analyzed as a row-wise diagonal contraction that attenuates sink-aligned spectral modes in the forward pass (Theorem 3.1 and Proposition 3.2) and locally reduces value-path gradient aggregation through sink columns in the backward pass (Theorem 4.1 and Corollary 4.2). Empirical support is drawn from Qwen-1B inference-time analysis and Pythia-410M training-time checkpoints, covering spectral diagnostics, gradient counterfactuals, and training-time emergence of sink signatures.
Strengths and weaknesses
The paper's primary strength is the novelty of its framing. Reformulating attention sinks as spectral spikes in token-space covariance via the BBP transition is a fresh angle that moves beyond qualitative accounts of sparsity or nonlinearity. The theoretical contributions are cleanly scoped, the proofs seem correct, and the authors are honest about the gap between the idealized BBP model and the behavior of actual learned gates (Appendix A.3 handles this particularly well). The dual forward-backward account is a meaningful synthesis: it connects representation geometry, gradient dynamics, and training-time behavior in a way that prior work had left fragmented.
Experimentally, the counterfactual gradient analysis in Section 4.2 is the standout contribution. Holding attention weights and upstream gradients fixed while recomputing the first-token value gradient with and without the active gate is a clean, direct test of the local Jacobian claim in Theorem 4.1, and the resulting Pearson r = 0.91 with the RMS effective-mass proxy is a notably strong result. The sink-subspace alignment experiment (Figure 1d), showing that the leading spectral mode of the pre-gate covariance is geometrically aligned with the normalized attention-column subspace, is also convincing and not something prior work had demonstrated.
On the weakness side, perhaps the most consequential concern is the claim in Section 4.3 about the attention-sink, gradient-sink, massive-activation pathway. The paper links these three phenomena theoretically and positionally, but never directly measures activation norms to validate the link. For a paper that presents itself as providing a mechanistic explanation, leaving the massive activation piece entirely to inference rather than measurement is a clear gap. If the goal is to explain why gating prevents massive activations, some direct evidence of that suppression would significantly strengthen the case.
Related to this, the related work coverage has some real holes. The paper does cite Value-State Gated Attention (VGA, reference [6]) in the related work section, but the discussion does not engage with how VGA's mechanism (which gates the value vectors directly and can sever rather than merely attenuate value-path contributions) compares to the gradient-valve account developed here. This comparison is not just cosmetic: if severing value-path gradients entirely produces qualitatively different behavior than attenuation, it has implications for the sufficiency of the paper's mechanism. Separately, softmax-based mitigation approaches such as Softpick and Elastic-Softmax are absent from the discussion, which leaves readers uncertain about whether the spectral framing is specific to gating or could generalize to other intervention types. There is also now a survey on attention sink research that could help position the contribution more precisely within the broader literature.
A structural issue with the theoretical analysis is the isotropic value approximation used in deriving equation (4). In trained models the value representations are far from isotropic, and the paper does not discuss how much the sink-induced spike formulation depends on this simplification. The empirical diagnostics suggest the predicted behavior holds regardless, but some sensitivity analysis or at least a more explicit discussion of the approximation's scope would be useful.
Finally, the models studied are small by current standards (1B and 410M parameters). The paper offers no analysis of whether these spectral and gradient signatures scale consistently to larger models, longer contexts, or different tokenization conventions.
Questions
-
Section 4.3 claims that post-SDPA gating weakens the attention-sink to gradient-sink to massive-activation pathway. Can you provide direct measurements of activation norms (e.g., maximum hidden state norm across token positions) comparing baseline and gated models, to empirically ground this claim rather than leaving it as a theoretical inference?
-
VGA is cited but not engaged with mechanistically. VGA gates value vectors rather than input embeddings, which in principle can sever value-path gradient contributions entirely (gate = 0) rather than merely attenuate them (gate ∈ (0, 1]). Does your gradient-valve framework generalize to VGA, and does the distinction between severing and attenuation matter for sink suppression in practice?
-
Your framework is developed entirely around post-SDPA gating. Does the spectral spike formulation extend to Softmax-based mitigation approaches like Softpick or Elastic-Softmax? If not, what is it about gating specifically that enables the mode-dependent contraction, and does this make gating mechanistically distinct from Softmax interventions?
-
The sink-subspace alignment in Figure 1d could in principle reflect value-matrix structure rather than attention concentration. Have you tested a control where attention columns are permuted or shuffled across positions while keeping the value matrix fixed, to isolate the causal contribution of attention concentration to the alignment?
-
The isotropic value approximation E[VV^T/d | A] = σ²I used in equation (4) is a strong simplification. Can you quantify how far the actual value covariance deviates from isotropy in the models you study, and discuss whether the sink-induced spike formulation remains predictive in the strongly anisotropic regime?
Limitations
Yes
Paper formatting concerns
Nil
Final justification
See my response below
Thank you for your insightful and constructive feedback. We have carefully considered your comments and will incorporate the corresponding clarifications and additional analyses into the revised manuscript.
1. Direct measurement of massive activations (Q1, W1)
We agree that our existing D1 diagnostic measures relative first-token representation dominance, rather than the absolute magnitude of massive activations. We therefore added direct activation measurements at the residual stream after each Transformer block. For this analysis, we recompute the attention-sink (AS), gradient-sink (GS), and massive-activation (MA) diagnostics on the same 16 fully valid WikiText samples of length 512, so that all three pathway signatures are directly comparable.
Pythia-410M. At the final checkpoint, post-SDPA gating substantially suppresses all three signatures on the same evaluation samples:
The layer-wise activation peaks are similarly reduced: M2 decreases from 727 to 187, and M∞ from 643 to 157. Importantly, the three signatures are concentrated in the same middle-to-late depth regime: attention concentration and value-gradient amplification both peak at L16, while massive activations peak at L19. Across all 56 training checkpoints, the ungated model develops increasingly large activation outliers (M∞: 8.7→320.0), whereas the gated model remains substantially bounded (≈ 67 at the final checkpoint).
Independent Qwen-1B replication. We observe the same effect on the public baseline/gated checkpoints used in our spectral and gradient analyses:
The Qwen baseline contains a genuine single-coordinate outlier of magnitude 16,384 at L7 on the first token, whereas such extreme activations are absent in the gated model.
These results are direct evidences that show the suppression of massive activations is now directly measured rather than inferred. Attention concentration, value-gradient amplification, and massive activations become jointly pronounced in the ungated model and are jointly suppressed by post-SDPA gating in the same depth regime. Combined with our fixed-upstream-gradient counterfactual in Fig. 2, which directly establishes contraction of the AS$\rightarrow$GS value path, these measurements support the proposed weakening of the AS$\rightarrow$GS$\rightarrow$MA pathway. We will revise Sec. 4.3 to clarify that the GS$\rightarrow$MA connection is empirically supported rather than claimed as a complete causal theory of global training dynamics.
2. Relation of the gradient-valve framework to Value-State Gated Attention (VGA) (Q2, W2-1)
Yes, the local gradient-valve principle extends to VGA, although the valve differs in its location, conditioning, and contraction guarantee.
For post-SDPA gating, the local value-path Jacobian and accumulated gradient are
a_{ts}\Gamma_t, \qquad \nabla_{v_s}L= \sum_{t\ge s} a_{ts}\Gamma_t^\top\delta_t.$$ Because Γ_t is diagonal with entries in [0,1], its operator norm is at most 1. Each query-to-source contribution routed through the sink column is therefore directly contracted. For VGA, let the gated value be $\phi(v_s) = g_s v_s$, where $g_s$ is a sigmoid function of $v_s$. Because the gate depends on the value itself, its Jacobian contains two terms: $$J_\phi(v_s)= g_s I + g_s(1-g_s)v_s w_g^\top.$$ The first is the gated content path, while the second is a rank-one self-regulatory path arising because the value controls its own gate. The corresponding local Jacobian and value gradient are $$J^{\mathrm{VGA}}_{t,s}= a_{ts}J_\phi(v_s), \qquad \nabla_{v_s}L= \sum_{t\ge s} a_{ts}J_\phi(v_s)^\top\delta_t.$$ Thus, both architectures follow the common gradient-valve form $$\nabla_{v_s}L= \sum_{t\ge s} a_{ts}B_{t,s}^\top\delta_t,$$ with $B_{t,s} = Γ_t$ for post-SDPA gating and $B_{t,s} = J_\phi(v_s)$ for VGA. In both cases, high attention-column mass need not produce proportionally high value-gradient mass when the local Jacobian is suppressed. The conditioning nevertheless differs. Post-SDPA gating is query-conditioned and can attenuate the same source differently for different receiving queries. VGA is source/value-conditioned and introduces a self-regulatory pathway that can react directly to an emerging value-state drain. VGA also clarifies the distinction between attenuation and severing. In the saturated closed-gate limit, both terms in its Jacobian vanish: $$g_s \to 0 \quad\Longrightarrow\quad J_\phi(v_s)\to 0.$$ The value-gradient path is then completely severed, making severing a limiting case of the same Jacobian-valve principle. At intermediate gate values, however, VGA does not inherit the unconditional contraction guarantee of post-SDPA gating: $$\|J_\phi(v_s)\|_{\mathrm{op}} \le g_s + g_s(1-g_s)\|v_s\|_2\|w_g\|_2.$$ Thus, $g_s < 1$ alone does not guarantee operator-norm contraction because of the self-regulatory term. VGA’s distinctive property is instead that, as training drives a sink-associated gate toward the closed regime, both gradient pathways vanish. Practically, we therefore do not view complete severing as necessary for sink-gradient suppression, although it can yield a stronger endpoint. Our fixed-upstream-gradient counterfactual already shows substantial sink-specific attenuation under ordinary sigmoid post-SDPA gates, without requiring hard-zero gates, and the measured attenuation closely follows the effective gated-column-mass prediction. VGA provides complementary evidence that a value-conditioned gate can suppress the value-state feedback loop by approaching the closed-gate regime. We therefore view the two methods as sharing a common local gradient-valve principle, while realizing it through different conditioning and contraction profiles, rather than claiming that their gradient dynamics are identical.