potentialpaper

What Transformer FFNs Never See: Theory, Diagnosis, and Lightweight Remediation

Tinghe Zhang, Yucheng Xiao, Alex Lamb

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. Attention routing is lost before the FFN, creating a provable error floor. We measure the gap (31.4%→94.6% with oracle routing) and recover >75% via a lightweight injection, improving multi-tasks from 110M to 7B scale.

Abstract. In Transformer attention, distinct weight vectors α≠α′\boldsymbol{\alpha} \neq \boldsymbol{\alpha}' can produce the same aggregated representation Vα=Vα′\mathbf{V}\boldsymbol{\alpha} = \mathbf{V}\boldsymbol{\alpha}'. When rank⁡(V)≤n−2\operatorname{rank}(\mathbf{V}) \leq n-2, configurations with entirely different dominant source tokens collide on a set of positive Lebesgue measure, a condition satisfied in over 97% of attention heads in BERT-Base. Such collisions are harmful: the downstream FFN receives identical inputs despite the attention having attended to entirely different source tokens, and must therefore produce identical outputs regardless of which tokens actually dominated, fundamentally limiting any computation that requires sensitivity to attention source, such as multi-hop reasoning, attribution, or knowledge retrieval. No increase in depth, width, or data can compensate, because the routing weights are discarded before the FFN is reached. The routing weights {αij}\{\alpha_{ij}\}, however, are available within the same forward pass and can be retained as a compact side-channel to restore the missing signal. We call this structural information loss routing non-identifiability. In BERT-Base, value-matrix rank deficiency suppresses k≥107k \geq 107 routing dimensions (over 84% of degrees of freedom) before any FFN computation.

To quantify the practical gap, we introduce the Routing Reconstruction Task (RRT): standard Transformers achieve 31.4% source-identification accuracy while oracle routing statistics reach 94.6%, a 63-point gap consistent with an information bottleneck in the FFN input. We then propose the Route-Aware FFN (RA-FFN), a drop-in module that appends four compact routing statistics to each FFN block at under 1.1% additional parameter cost, recovering over 75% of the oracle gain. RA-FFN improves all benchmarks tested: at 110M scale, gains cover multi-hop reasoning, language modelling, and translation, with multi-hop gains 6×6\times larger than single-hop; at 7B scale on Llama-2-7B and Mistral-7B, gains extend further to mathematics (GSM8K) and general reasoning (MMLU, ARC-Challenge, HellaSwag), ordered by routing sensitivity.

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
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

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

The paper studies the problem where different input vectors collide after applying the Value matrices, causing the transformer's FFN part to receive identical intermediate vectors and lose track of their distinct origins.

The reviewers appreciated the originality and clarity of the paper.

However, they also had several major concerns:

  1. It is not clear how the routing provenance applies to deep transformers with residual connections.

  2. The scale of the experiments is rather small, and it is unclear how this collision affects large pretrained models.

  3. There is a lack of theoretical justification for the proposed solution.

There are also other important remarks raised by the reviewers, beyond what I wrote above. I recommend the authors to carefully read the reviews and use the rebuttal phase to reply to them.

Final justification

I thank the reviewers and authors for engaging in the discussion.

The rebuttal addressed the reviewers' main concerns, and I now recommend acceptance.

Two minor notes (added by the NeurIPS citation checker). In geva2021transformer, the last author is Omer Levy (not Yoav Levy). In sukhbaatar2015end, the arXiv link leads to the wrong paper. I also suggest reviewing the other citations to ensure there are no additional mistakes.

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

The paper studies the problem where different input vectors collide after applying the Value matrices, causing the transformer's FFN part to receive identical intermediate vectors and lose track of their distinct origins.

The reviewers appreciated the originality and clarity of the paper.

However, they also had several major concerns:

  1. It is not clear how the routing provenance applies to deep transformers with residual connections.

  2. The scale of the experiments is rather small, and it is unclear how this collision affects large pretrained models.

  3. There is a lack of theoretical justification for the proposed solution.

There are also other important remarks raised by the reviewers, beyond what I wrote above. I recommend the authors to carefully read the reviews and use the rebuttal phase to reply to them.

Final justification

I thank the reviewers and authors for engaging in the discussion.

The rebuttal addressed the reviewers' main concerns, and I now recommend acceptance.

Two minor notes (added by the NeurIPS citation checker). In geva2021transformer, the last author is Omer Levy (not Yoav Levy). In sukhbaatar2015end, the arXiv link leads to the wrong paper. I also suggest reviewing the other citations to ensure there are no additional mistakes.

1 comment
Authors · CommentOpenReview ↗

Dear ACs and SACs:

We thank Reviewers nxDp, onLh, and RK8G for their feedback.

Review status. After reviewing our two rounds of follow-up experiments, Reviewer nxDp raised the score from 4 to 5 (Accept). Reviewer RK8G also raised the score from 3 to 4 (Borderline accept). Reviewer onLh remains at 4 (Borderline accept).

1. Whether routing provenance can still be recovered in deep networks with residual connections

Raised by: onLh, nxDp (Question 4)

We clarified the scope of the theorem: it only constrains predictors that see a single layer's aggregated output, not what residual streams or later layers can recover. We also ran a controlled experiment to check whether this distinction matters in practice. Even with two more layers of fully free attention, the baseline's average attention weight on the true source stays close to uniform, around 0.03, and source identification reaches only about 31.7%. Once routing statistics are injected at the first layer, later layers clearly concentrate on the true source instead, around 0.19 to 0.22, and accuracy reaches 75.9%. nxDp considered this point resolved after seeing these results together with the scope clarification.

2. Experiments at a small scale, with an unclear effect on large pretrained models

Raised by: onLh, nxDp (Weakness 2 / Question 3)

We added linear probing experiments across scales and architectures, from BERT-Base and GPT-2-Base up to 7B-scale Llama-2 and Mistral. Predicting the source from the aggregated vector alone stays consistently low at every scale, and adding routing statistics brings a large recovery. To answer how often this happens in real trained models, we excluded heads dominated by fixed positional patterns and measured the fraction of collision-related positions, finding about one fifth of positions fall in this region, exactly where the gap between the two probes is largest. We also added a matched-compute comparison between deep-narrow and shallow-wide architectures, plus a small MoE toy experiment. nxDp accepted this new evidence. We have not yet heard back from onLh on this point.

3. The proposed method lacks theoretical grounding

Raised by: RK8G (Weakness 1), nxDp (Weakness 1)

We clarified the "Moreover" clause that follows the main theorem: as long as a statistic has discriminating power on the positive-measure collision pairs, the Bayes error strictly decreases. This is a weaker guarantee than full recovery, but it is enough to motivate the design. We backed this with three layers of verification: a numerical check of collision-pair separation, an ablation that replaces s4s_4 with a constant carrying no position information (performance drops right back to baseline), and, in this last round, upgrading the separation result for s4s_4 from a sampled check to an exhaustive verification plus an analytical argument tied directly to the Theorem 2 construction. nxDp considered this line of argument tightened enough after seeing these additions, and RK8G raised the score from 3 to 4 afterward.

Thanks again to all three reviewers and the AC for the feedback throughout the discussion period. It helped us tighten both the link between theory and method and the completeness of the empirical evidence.

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

The paper primarily contributes Route-Aware FFN for standard transformers, which is a mechanism to include attention head relevant statistics into the later FFN. In addition, a theoretical analysis of `routing non-identifiability' is provided proving inevitable routing collision and error lower bound. Routing Reconstruction Task (RRT) is introduced to quantify the gap.

Strengths and weaknesses
  • The theoretical contribution related to non-identifiability in Transformers is the strongest part of the paper.
  • While the mathematical analysis of the routing non-identifiability problem is rigorous, the solution RA-FFN provided seems to draw no leverage from the analysis. RA-FFN is a judiciously designed method, but without much of a theoretical backing. Its significance has only been established empirically.
  • How about training the models with RA-FFN from scratch? Why hasn't that been considered?
  • The graphical results have not been discussed properly in general. For example, in Fig. 7, BERT-Base case, why is the gain for the single-hop example marginal?
  • RA-FFN introduces gradient coupling between the attention weights and the FFN. Rigorous analysis is needed in this regard as the learning may become predisposed towards one of them at the expense of the other.
  • How is the backpropagation implemented through the top-k mean position embedding?
  • The core question related to Non-identifiability of Transformers has been addressed quite a few times earlier, like in [6]. Although some of them have been mentioned under Related Work, proper citations are required in the Introduction.

Update: I suggested this work to be a "Theory" contribution as I think the theoretical contribution in the paper slightly outweigh the overall contribution. However, as I am required to evaluate the paper under the contribution type chosen by the authors, I find the paper to be of equal standing under "General" contribution type as well. I believe this is evident from my earlier comments.

Questions

Please consider all the concerns raised under "Strengths And Weaknesses"

Limitations

Please refer to "Strengths And Weaknesses"

Final justification

The answers in the response have addressed most of my concerns, but the improvement in the quality of the paper is subject to the modification of the paper accordingly. Not sure, how much revision can be made. Increasing my rating by one point.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Submission 25725 — Response to Reviewer RK8G

Thank you for the review, and especially for clearly saying that the theory part is the paper's strongest contribution. That's where we put in much effort, and it means a lot to hear that. The points you raised are all well targeted, and they pushed us to go back over the connection between the method and the theory, the reasoning behind our training protocol choices, and the gradient coupling risk, which honestly we hadn't discussed carefully enough before.

Reply to W1 (the method doesn't seem to draw on the theory, no theoretical grounding)

This is a fair point, and it made us realize this part of the logic isn't stated clearly enough in the paper. Right after proving the Bayes error lower bound, the main theorem gives one constructive conclusion: any routing function that has discriminating power on the collision pairs will strictly lower the Bayes error once injected into the FFN. That sentence is the theoretical basis for the whole route-aware family of designs, it's not something we picked by intuition alone. We agree this sentence doesn't prove our specific four statistics are optimal in any strict sense, the choice of statistics is answered empirically through the appendix ablation, and we'll make this logic clear at the start of the method section.

To go beyond "this should work in theory," we ran two new experiments that directly check whether these statistics actually satisfy the theorem's "has discriminating power" condition, and the results came out cleaner than we expected.

Separation on explicit collision pairs

Statistic Fraction of the theorem's constructed collision pairs separated
Peak weight / entropy / sparsity, alone 82.5%–89.8%
Top-k position statistic, alone 100.0%
All four combined 100.0%

Replacing s4s_4 with a constant, ablation

Variant Source-identification accuracy (%)
Baseline 31.67 ± 0.40
Full route-aware version 75.90 ± 0.31
Route-aware, s4s_4 replaced with a constant 1 with no position info (same parameter count as the full version) 33.84 ± 0.39

The second table replaces s4s_4 with a constant that has the exact same parameter count as the full version but carries no position identity, and performance drops right back to baseline. Together we think these two experiments are fairly strong evidence: the gain really does come from separating collision pairs, not just from parameter count, and the link between the method and the theory can be checked directly rather than argued after the fact. We also think this is a good open question worth further discussion.

Reply to W2 (why not train from scratch)

We actually already did this, and it's probably our fault for not stating it clearly enough in the main text. Every architecture variant in the synthetic reconstruction task is trained from random initialization, and the medium-scale language model experiment is also trained from scratch on standard corpora, not fine-tuned from an existing model. The larger-scale models do use a fine-tuning protocol, and that was a deliberate choice, since pretraining a larger model from scratch is well beyond the compute we have access to. Our frozen-backbone-plus-lightweight-adapter setup matches common practice for testing whether an architecture change helps at large scale. We'll add a line in the main text explaining why both protocols appear in the paper.

We also ran a supplementary experiment based on Karpathy's open-source nanoGPT, with results below.

Table 1: Shakespeare-char quick ablation

Variant Val Loss (nats/char) Parameters (M)
Standard (flash attention) 1.47 ~10.7
RA-FFN 1.42 ~10.9

Table 2: GPT-2 124M / OpenWebText, medium scale

Variant Val Loss Val PPL
Standard 2.83 17.3
RA-FFN 2.73 16.2

Reply to W3 (the figures aren't discussed clearly enough)

Thanks for pointing this out, the figures do need better explanation. The pattern you noticed, small gains on single-hop tasks and much larger gains on multi-hop tasks, is already explained in general terms in the Discussion section, but that text sits too far from the actual figures. We'll move the explanation right next to the figure captions: single-hop extractive tasks usually have their answer sitting near a small number of local sources, so ambiguity about which source dominated doesn't hurt the final answer much. Multi-hop reasoning needs to identify separate pieces of evidence that are often far apart and then combine them, so once a layer aggregates away the source markers, the model is more likely to mix up where each piece of evidence came from. This isn't an isolated pattern either, the larger-scale results also show bigger gains on tasks that are more sensitive to routing, and we'll add a similar caption note there too.

Reply to W4 (gradient coupling: learning could favor attention or the FFN at the other's expense)

This is a risk we honestly hadn't discussed carefully in the paper before, thanks for raising it. After looking closely, we found the four statistics don't behave the same way during backpropagation, so it's worth separating them out. Entropy is a smooth function and sends gradient densely back to every attention weight, it's the only one of the four that really creates coupling. The peak weight is differentiable almost everywhere, but gradient only flows to the single coordinate that is the argmax, so the coupling is much weaker. Sparsity is an indicator function, so its gradient is zero almost everywhere. The top-k position embedding is a special case, covered in W5, where the gradient contribution is exactly zero.

So the only two statistics that actually create coupling are the peak weight and the entropy, and their effect also gets multiplied by a fairly small projection matrix under weight decay, so the coupling strength itself is kept in check. While reviewing the training script we also found an engineering detail that wasn't written into the paper but happens to speak directly to this concern: the routing projection uses a learning rate one tenth of the adapter's learning rate, which on its own helps reduce the coupling risk.

Real training trajectory of gradient coupling

Step Baseline: attention entropy Route-aware: attention entropy Baseline: attention logit gradient norm Route-aware: attention logit gradient norm
500 3.92 3.88 0.041 0.039
1500 2.61 2.55 0.027 0.025
3000 1.34 1.29 0.012 0.011
After convergence 0.58 0.52 0.004 0.004

The entropy and gradient norm trajectories for both versions stay close to each other overall. The route-aware version's entropy is a bit lower at every stage, meaning its attention converges slightly faster, but there's no sign of attention training being systematically suppressed, like entropy stalling or the gradient staying flat for a long time. This gives early support that the real effect of gradient coupling is mild.

Reply to W5 (how is backprop implemented through the top-k mean position embedding)

We can give a fairly precise answer here, and we're glad you asked something this specific. The key detail is that the top-k operation only keeps the indices, not the values. Choosing which indices to keep is itself non-differentiable, the same category of operation as argmax. So along the path from the FFN loss back to the attention weights and then to the attention logits upstream, this statistic contributes exactly zero gradient, and it can't cause the coupling described in W4. What actually receives gradient is the position embedding table itself, following the normal embedding backward rule, which accumulates gradient into whichever rows were selected during the forward pass. In other words, this term learns "what embedding vector each position index should map to," not "how attention should distribute its weight," and this design avoids the gradient coupling risk by construction.

Our new constant-replacement experiment (see the W1 table) supports this from another angle: since this statistic gives no gradient feedback to upstream attention, all its value has to come from the position identity it carries in the forward pass, and once that's swapped for a constant, the gain disappears right away, which matches this backward-pass analysis exactly.

Reply to W6 (not enough citations in the Introduction)

Agreed, this is something we should fix. The Related Work section already cites work on the non-injectivity of attention-to-representation maps and on attention interpretability, but those citations currently only show up in Related Work. When the Introduction first raises this concept, it doesn't point to them. We'll add a sentence at the end of that paragraph in the Introduction linking it to this existing literature.


Thanks again for recognizing the theory as the paper's strongest contribution, and for asking such specific questions about the link between method and theory, the choice of training protocol, and gradient coupling. These questions helped us fill in several parts of the argument that weren't developed enough before. If the clarifications and the three new experiments above (collision pair separation, constant-replacement ablation, gradient coupling training trajectory) address your main concerns, we would really appreciate you considering raising the score. If anything is still unclear, please let us know, we'll do our best to add more during the discussion period.

Reviewer nxDp · CommentOpenReview ↗

[Resolved] Misplacement of my post

Update: The issue has been resolved. I keep this post as a log. Thank you for the authors for the speedy coorporation.


Dear all,

I found I misplaced my reply to the authors rebuttal. I'm very sorry. I'm Reviewer nxDp, not RK8G of this main post. Luckily, It seems the authors are aware of this (judging from the title "Response to Reviewer nxDp's Follow-up Comment").

I'll be now moving my original post below my review post. I'll be helpful if the authors can move their reply accordingly so that other reviewers and AC will be able to avoid any confusion. I'll keep the original mis-post until the authors move their replies just in case.

Best regards,

Reviewer nxDp

Authors · CommentOpenReview ↗

Re: Misplacement of my post

Thank you for attending to the placement issue and for engaging with our response. We have now moved our reply to the correct location. Once we see that your comment regarding the relocation has been removed, we will delete this reply as well, so that the discussion remains clear and readers can understand the paper correctly. By the way, if our response to your follow-up comments has helped address your concerns and questions, we would be very grateful if you would consider raising your score.

Reviewer nxDpOpenReview ↗
Rating
5/6
Confidence
3/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 studies routing non-identifiability in standard Transformers. In each attention head, the map from attention weights α\alpha to the aggregated value vector yi=Vhαy_i = V_h \alpha is rank-limited because dh=d/H<nd_h = d/H < n. Different routings can therefore produce the same yiy_i while α\alpha is discarded before the FFN. The authors prove collision sets of positive measure and a Bayes error lower bound for predicting the dominant source from yiy_i alone. They introduce the Routing Reconstruction Task (RRT) to measure this gap, and propose RA-FFN, which adds four per-head routing statistics to each FFN input at about 1.1% extra parameters. Experiments from about 110M to 7B parameters report gains on multi-hop QA and GSM8K, and RA-FFN recovers part of an oracle upper bound on RRT.

Strengths and weaknesses

Originality. The idea that the FFN input loses routing information is clearly stated. The collision analysis and RRT benchmark add to earlier work on identifiability in Transformers (e.g., Brunner et al., 2020).

Significance. If this information loss matters in practice, a small change that helps several benchmarks would be useful. It is still hard to judge how large the problem is in trained models, and whether the proposed four-statistic summary is the right fix (see Weaknesses).

Quality. The rank-based arguments are stated separately from training effects. Some experiments that would support the method are missing from the main text or appear only briefly in the appendix.

Clarity. The overall flow (theory, RRT, RA-FFN, benchmarks) is clear, but several strong claims could be scoped more carefully.


Strengths

  • The formulation is concrete: yi=Vαiy_i = V\alpha_i drops αi\alpha_i, and per-head rank limits make collisions possible whenever n>dhn > d_h.
  • RRT compares recovery from yiy_i alone to an oracle with true routing. On T1, the standard model reaches 31.4% accuracy versus 94.6% for the oracle. Linear probes on frozen pretrained models show a similar gap.
  • RA-FFN adds few parameters. The paper includes matched baselines (+Random, +Position-Only, +Attn-Mean, SwiGLU, rank-32 QLoRA). Gains are larger on multi-hop QA and GSM8K than on single-hop SQuAD or HellaSwag.

Weaknesses

  1. The problem is proved, but the fix has no theoretical grounding and can reintroduce the same problem.

The paper proves that routing information is lost from yiy_i, but the routing is still available in α\alpha within the same forward pass. The design question is then what to feed back to the FFN. RA-FFN feeds a short summary ri=f(αi)r_i = f(\alpha_i) built from four hand-crafted statistics (peak weight, entropy, sparsity, and a top-kk position embedding), rather than α\alpha itself. There is no theoretical argument that this summary recovers the routing information whose loss the paper identifies as the core problem.

In fact, ff maps the length-nn vector α\alpha to only 3+dp3 + d_p numbers per head, so ff is itself a many-to-one (lossy) map of the same kind as α↦Vα\alpha \mapsto V\alpha. Two routings α≠α′\alpha \ne \alpha' with different dominant sources can give f(α)=f(α′)f(\alpha) = f(\alpha'), so the collisions the paper criticizes are not removed; they reappear at the level of the statistics. This is exactly the case Theorem 3 excludes from full recovery (a statistic must separate all collision pairs, Appendix J), yet the paper does not check whether the four statistics meet this condition, or why these four were chosen beyond the leave-one-out ablation.

A natural baseline, when sequence length nn is fixed, is to pass full per-head α\alpha (or a linear projection with matched parameter count) instead of four scalars per head. Appendix Table 13 reports RA-FFN-Full (αˉ\bar{\alpha}, n=128n{=}128 dims) at 82.4% on T1 versus 80.1% for the four statistics and 94.6% for the oracle. This row is the only place αˉ\bar{\alpha} appears, and it is never defined: the bar suggests some averaging, but it is unclear what αˉ\bar{\alpha} is or how it differs from passing the full per-head weights. This full-α\alpha baseline is also not run on downstream tasks. The small gap between 82.4% and 80.1% does not explain the design choice, and the gap to the oracle is not discussed (note that the oracle is given the true j∗j^* and α∗\alpha^*, which are essentially the T1/T2 labels, so it is close to an upper bound by construction).

  1. It is unclear how often collisions matter in trained models.

Theorems 1–2 show that dominant-source collisions occur on a set of positive measure when rank(Vh)≤n−2\mathrm{rank}(V_h) \le n{-}2, regardless of training. Appendix A supports that rank deficiency is widespread (low effective rank on BERT value matrices). What is less clear is how often this turns into actual dominant-source collisions on real inputs, and how much it hurts downstream tasks. On RRT, a standard Transformer already reaches 31.4% on T1 (versus 0.78% random), so yiy_i still carries some routing information outside exact collisions. It would help to measure, on trained models, how often the dominant source is genuinely ambiguous from yiy_i and to tie this to task performance, rather than relying on the effective-rank proxy. Relatedly, the claim that depth, width, or data cannot compensate is stated broadly; it would be clearer to say whether this is a statement about predictors of yiy_i at a single layer, since residuals or later attention layers might still recover routing across the network.

Minor comments

  • The text says the FFN sees only yiy_i, but in a standard block the FFN input also includes the MHA residual xix_i. A short note would help: xix_i does not depend on the current layer’s α\alpha, so collisions remain in xi+Vαx_i + V\alpha; RA-FFN adds α\alpha-dependent information that the skip connection does not carry. (The residual in §5.2 is inside the FFN block and is a different object.)
Questions
  1. Appendix Table 13 already compares RA-FFN-Full (αˉ\bar{\alpha}, n=128n{=}128) at 82.4% to the four statistics at 80.1% on RRT. Could you (a) define αˉ\bar{\alpha} and say how it differs from passing the full per-head weights, (b) extend this full-α\alpha comparison to at least one downstream task, and (c) explain the remaining gap to the 94.6% oracle? This would clarify whether the bottleneck is the compression in f(α)f(\alpha) or the way routing is injected into the FFN.

  2. Why these four statistics? What criterion was used, compared with alternatives such as top-kk weights, full α\alpha at fixed nn, or a learned compression? Do the four statistics separate collision pairs in the set SS from Theorem 2, or only improve average dominant-source recovery?

  3. In trained models (e.g., BERT or Llama on real data), how often do attentions fall in or near the collision regime of Theorem 2? For example, what fraction of positions have low probe accuracy from yiy_i alone but higher accuracy from (yi,α)(y_i, \alpha)?

  4. Should Theorems 2–3 be read as limits on predictors of yiy_i at the current layer only, rather than on what a deep network can recover through residuals and later attention? A clearer scope statement would help connect the theory to the benchmark gains.

Limitations

yes

Final justification

I raise my rating from 4 to 5. The discussion gave real theoretical support to the routing statistics, especially s4s_4, which had been mostly heuristic. The new HotpotQA comparison with αˉ\bar{\alpha} also helps. I weight these points highly. Remaining issues (whether all four statistics are needed; a fully causal downstream story) are secondary.

Formatting concerns

The paper is generally written clearly.

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Submission 25725 — Response to Reviewer nxDp

Thank you for such a thorough review. You summarized the core chain of the paper accurately: routing weights get dropped after aggregation, the collision analysis, the synthetic reconstruction task, and the route-aware module. You also gave us credit for the clear formalization, the clean benchmark, and the solid baselines, exactly the parts we worked hardest on. Your questions hit the part that most needed tightening: how much the theory proves versus how much the method borrows from it. That pushed us to run two new experiments below.

Response to Weakness 1 (the method has no theoretical grounding and may reintroduce the same problem)

This is the point we most want to address directly. You're right that s(α) is also many-to-one: two routings from different sources can map to the same s(α), and we agree. But we don't think this is a gap, it's a case the paper already addresses right after the main theorem: full recovery needs the statistic to separate every collision pair, while the "Moreover" clause only guarantees something weaker, that discrimination on the positive-measure pairs strictly lowers Bayes error.

So we never claimed the short statistic vector fully solves non-identifiability. The theory promises something weaker but enough to motivate the design: discrimination gives strict improvement, not perfect recovery. That sentence isn't prominent enough in the current draft, and we'll move it somewhere more visible.

To test this beyond theory, we ran a direct numerical check using the same construction as the collision theorem.

Can the four statistics separate explicit collision pairs?

At typical encoder dimensions (n=128, d_h=64), we generated many aggregation matrices and collected a large set of exact collision pairs.

Statistic Fraction of collision pairs separated
s1 (peak weight) alone 89.8%
s2 (entropy) alone 82.5%
s3 (sparsity) alone 88.4%
s4 (top-k position) alone 100.0%
All four combined 100.0%

Together the four statistics separate every collision pair we built, and s4 alone already does. This shows they satisfy the "has discriminating power" condition, not just an ad hoc combination that happens to work. The method reaches about 80% instead of 100%, which illustrates the point: separating collision pairs guarantees strict improvement, not perfect recovery. We'll add this to the main text.

Response to Weakness 2 (how often collisions actually matter in trained models)

We agree the effective-rank proxy alone can't show how often collisions occur in practice or how much they hurt downstream tasks. The linear probes already in the paper give cross-model evidence: probe accuracy from the aggregated vector alone is low, and routing statistics bring it back up a lot. That shows the gap is widespread, but not yet the per-sample analysis you asked for.

So we ran a new analysis on collision-related positions: we exclude heads dominated by fixed positional patterns (previous-token heads, sink tokens), measure the fraction of collision-related positions on the remaining content-sensitive heads, then compare probes trained with and without routing statistics.

Model Layer / head filter Fraction of collision positions Accuracy, aggregated vector only Accuracy, with routing stats added
Encoder-Base mid-layer content-sensitive heads 23.4% 18.6% 68.2%
Decoder-7B mid-layer content-sensitive heads 19.7% 16.9% 74.5%

Even after filtering out positional heads, about a fifth of positions still fall into the collision-related region, where aggregated-vector-only probes stay low while adding routing statistics brings a large jump. This matches the gap in the main probing table and shows the problem isn't limited to the synthetic task. On "depth, width, and data can't compensate," we'll restrict that claim to single-layer predictors: deeper residual paths or later attention could learn a related but not equivalent signal, see Question 4.

Response to the minor comment (does the residual connection bring routing information back)

Thanks for flagging this, we agree. The FFN input includes the residual term, which doesn't depend on attention weights just computed in this layer, so it can't carry the lost routing information back. The routing statistics we inject are exactly the signal the skip connection can't provide. We'll add a sentence about this in the method section, separated clearly from the residual inside the RA-FFN block.

Response to Question 1 (definition of ᾱ, downstream comparison, and the gap to the oracle)

You're right that ᾱ is never defined anywhere in the paper. We checked the main text and appendix and there's no place that says what it actually is.

(a) ᾱ is the H heads' attention averaged into one length-n distribution, injected through a single d×nd\times n linear layer with no per-head compression, different from "full per-head weights" (each head keeps its own n-dim distribution, H×nH\times n dims total, no averaging).

The real issue is that this d×nd\times n layer has a fixed shape once built, so using ᾱ at all means picking a fixed nmaxn_{max} ahead of time, with cost growing linearly in that choice. Real large models keep handling longer context with no ceiling fixed in advance. Past whatever nmaxn_{max} you commit to, there's no parameter for the extra positions, so you either truncate context (losing exactly the routing information we want to keep) or retrain a bigger matrix, against the paper's lightweight premise. The Appendix I code confirms the default design avoids this problem: all four statistics come from max, sum, mean, or topk+mean over the sequence axis, reductions that collapse that axis away, so the output is always the fixed H(3+dp)H(3+d_p) dims no matter how long the input is. That's why the default works on real large models out of the box and ᾱ can't.

So Table 13's n=128n=128 version of ᾱ is really an analysis that only makes sense inside RRT, a small synthetic task with a sequence length fixed ahead of time, not a design that carries over to a deployed model.

(b) Since ᾱ's usability is tied to a pre-chosen nmaxn_{max} to begin with, running it on one downstream task at one fixed length would only describe that one length, not whether the design is deployable, so we think explaining why it can't generalize is the more direct answer to this part.

(c) Gap to the oracle (94.6%): as you note, the oracle gets the true label directly, which makes it close to an upper bound by construction. We don't think this gap should be expected to close with any method built on continuous attention weights.

Response to Question 2 (why these four statistics, and can they separate explicit collision pairs)

These four statistics come from the appendix ablation: leave-one-out shows each contributes independently. The Question 1 discussion matters here too: even ᾱ, which barely compresses anything, only beats the default by 2.3 points in Table 13, and that design is tied to a fixed sequence length in a way that doesn't generalize to deployment. Both points support the four statistics as the more reasonable default. Whether they separate explicit collision pairs is checked directly in the Weakness 1 table: combined, the four statistics separate every pair, and s4 alone separates all of them too. This supports the "Moreover" clause, and is the strongest new evidence here.

Response to Question 3 (how often trained models fall into the collision regime)

See the Weakness 2 table: after excluding positional heads, about 23% and 20% of positions on the two model types fall into the collision-related region, where aggregated-vector-only probes stay low and routing statistics bring a large improvement. We'll add this to the Limitations section or appendix, with full filtering details in the camera-ready version.

Response to Question 4 (do the theorems only constrain single-layer predictors)

Yes, that's correct, and we should state it directly rather than leave readers to infer it. The theorem says that given the aggregated vector at the current layer, no function can separate sources on the positive-measure collision set. That only constrains single-layer predictors, not what a deep network can recover through the residual stream or later attention. We'll add an explicit scope statement right after the theorem.

Our controlled experiment supports this in practice. The standard architecture still has two more layers of free depth after the first aggregation, yet its final source-identification accuracy is only around 32%, far below the 76% reached by injecting routing statistics at the first layer. So "later layers could re-estimate routing" and "later layers actually recover it in practice" are two different claims.


Thanks again for such a pointed review. These questions helped tighten the connection between theory and method. If the clarifications and new experiments above address your main concerns, we'd be grateful if you'd consider raising your score. If anything is still unclear, let us know, we'll add more during the discussion period.


Reviewer nxDp · CommentOpenReview ↗

Note: This is a repost from what I put below the review from Reviewer RK8G. (See https://openreview.net/forum?id=Oa1iYsgkvE&noteId=yyOtVZhicL and https://openreview.net/forum?id=Oa1iYsgkvE&noteId=kivnCO9bqb).


Thank you for the detailed rebuttal and the new experiments. The collision-pair separation check and the analysis of collision-related positions in trained models (~20–23%, with a large probe gap) are especially helpful, and I appreciate that you ran these in response to the review.

These results address several of my questions and make the intended theory–method link clearer. In particular, I accept that the paper aims at the weaker “Moreover” guarantee in Theorem 3 (strict Bayes-error improvement from partial discrimination), not perfect recovery, and that the theorems should be scoped to single-layer predictors of yiy_i. The note on the MHA residual is also fine.

That said, my main reservations are only partly resolved, so I will keep my rating at 4.

On W1, the new separation experiment is a useful empirical check, but it is still a check on sampled pairs rather than a proof that the proposed statistics satisfy the positive-measure condition in Theorem 3. It is also striking that s4s_4 alone already separates all reported collision pairs: this supports discriminating power, but it weakens the case for the specific four-statistic design, which remains largely empirical. Thank you for defining αˉ\bar{\alpha}; I understand why a fixed-nn full-weight baseline is awkward for deployment, but without at least one downstream comparison the design choice is still only weakly justified.

On W2, the finding that roughly one fifth of positions (after filtering) show a large gap between aggregated-vector probes and probes with routing statistics is interesting and goes in the right direction. What is still missing is a tighter causal link on downstream tasks: that collisions (or collision-like ambiguity) cause errors on tasks such as multi-hop QA or GSM8K, and that RA-FFN helps by resolving that ambiguity on the same examples. Right now the probe results, RRT, and benchmark gains are consistent with this story, but they do not yet establish it.

Overall, the rebuttal strengthens the paper, but not enough for me to raise the score.

Authors · CommentOpenReview ↗

Submission 25725 — Response to Reviewer nxDp's Follow-up Comment (I)

Thank you for the follow-up, and for recognizing the value of the two new pieces of evidence: the collision-pair separation check and the analysis of collision-related positions in trained models. Thank you also for accepting the weaker "Moreover" guarantee, the single-layer predictor scope, and the note on the residual connection. The two points you still have concerns about are both specific, so we ran new analysis and experiments for each one right after reading your comment.

Response to W1 (the separation check is still a sampled check rather than a proof, and the four-statistic design still lacks a downstream comparison)

We address your two points separately.

(i) Turning the sampled check into an exhaustive check

You are right that the earlier experiment only checked separation on randomly sampled collision pairs. It did not prove separation for the full set of collision pairs built in the proof of Theorem 2. We went back to that construction in Appendix J. The collision pair α(t)=α0+tδ\alpha(t)=\alpha_0+t\delta and α′(t)=α0−tδ\alpha'(t)=\alpha_0-t\delta has dominant sources at the argmax index ii and the argmin index mm of δ\delta. The key point is that for small enough tt, Top-k(α(t))\text{Top-}k(\alpha(t)) equals the index set T+(δ)T_+(\delta) of the kk largest coordinates of δ\delta, and Top-k(α′(t))\text{Top-}k(\alpha'(t)) equals the index set T−(δ)T_-(\delta) of the kk smallest coordinates. As long as n≥2kn \ge 2k, T+(δ)T_+(\delta) and T−(δ)T_-(\delta) never overlap.

So s4(α(t))≠s4(α′(t))s_4(\alpha(t)) \ne s_4(\alpha'(t)) exactly when meanj∈T+pj≠meanj∈T−pj\text{mean}_{j\in T_+}p_j \ne \text{mean}_{j\in T_-}p_j. This condition only depends on the position embedding table pjp_j. It does not depend on δ\delta or on sampling, so it is a finite combinatorial condition we can check exhaustively instead of by sampling.

We ran an exhaustive check on the position embedding table actually used in our implementation (n=128n=128, dp=16d_p=16, k=3k=3, matching the main experiment setup). We enumerated all (1283)=341,376\binom{128}{3}=341{,}376 size-3 index subsets, computed the average position embedding for each subset, and checked whether any two different subsets share the same average embedding within a tolerance of 10−910^{-9}. We repeated the check at n=256n=256 to see if it still holds at larger scale, and repeated the whole check across 5 independent random initializations to rule out a lucky draw.

Check Result
n=128n=128, total size-3 subsets enumerated 341,376
n=128n=128, subset pairs with identical average embedding (tolerance 10−910^{-9}) 0
n=256n=256, total size-3 subsets enumerated 2,763,520
n=256n=256, subset pairs with identical average embedding 0
n=128n=128, repeated over 5 independent random initializations 0 collisions in all 5 runs

No two different size-3 index subsets share the same average position embedding, and this holds at every scale and every initialization we tested. Combined with the argument above, this gives us:

New proposition. For the position embedding table pjp_j used in our implementation, which satisfies the non-degeneracy condition checked above, s4s_4 exactly separates every dominant-source collision pair produced by the Theorem 2 construction, not just a sampled subset, as long as n≥2kn \ge 2k. Every configuration in the paper satisfies this (e.g. n=128,k=3n{=}128, k{=}3 or n=512,k=3n{=}512, k{=}3).

We also add an analytical argument covering any nn, including n=512n=512 used in the downstream tasks, where brute-force enumeration is no longer possible. If p1,…,pnp_1,\dots,p_n are drawn independently from any continuous distribution, then for any two different size-kk subsets A≠BA \ne B, the event meanAp=meanBp\text{mean}_A p = \text{mean}_B p has probability exactly zero. That event is a positive-codimension affine subspace in the space of pjp_j, defined by dpd_p non-degenerate linear equations, so it has measure zero. Taking a union bound over the finitely many candidate subset pairs keeps the overall probability at zero too. Non-degeneracy is therefore a property that holds almost surely, matching what we observed: zero exceptions at every scale and every initialization.

This replaces the earlier empirical statement, a sampled check with 100% separation, with an exhaustive check on the real implementation plus an analytical argument. It directly answers the "proof versus sampled check" gap you raised. We will add this proposition, the analytical argument, and the verification script to Appendix J, next to the existing proofs.

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

In the standard Transformer architecture, attention weights aggregate token information before passing it to the Feed-Forward Network (FFN). However, when certain token embeddings dominate, the structural information within those attention weights can be lost and become unrecoverable. To address this, the paper introduces a novel Transformer block variant that reintroduces attention weights directly into the FFN layer, enabling the FFN to process aggregated information alongside its routing provenance. In a synthetic "Routing Reconstruction Task" (RRT) benchmark, the proposed architecture performs close to the oracle, whereas the baseline Transformer completely fails to recover the information. Furthermore, experiments across language modeling, BERT fine-tuning, and LLM QLoRA fine-tuning validate the effectiveness of the method. Finally, the paper draws interesting parallels to Mixture-of-Experts (MoE) and Graph Neural Network (GNN) architectures, leaving a deeper consolidation of these concepts for future work.

Strengths and weaknesses

Strengths

  • Quality & Clarity: The paper is highly well-motivated, fundamentally sound, and clearly written. The authors do an excellent job of walking the reader through the core problem, specifically how dominant token embeddings can cause standard Transformer blocks to lose structural attention-weight information. The introduction of the Routing Reconstruction Task (RRT) serves as a clean, effective synthetic benchmark to demonstrate this failure mode in baseline architectures. Furthermore, the submission is well-organized, easy to follow, and provides robust empirical validation across multiple standard tasks, including language modeling, BERT fine-tuning, and LLM QLoRA fine-tuning.

  • Originality: The core idea of reintroducing attention weights directly into the FFN layer to preserve routing provenance is remarkably elegant and surprisingly unexplored in prior literature. By drawing interesting conceptual parallels to Mixture-of-Experts (MoE) and Graph Neural Network (GNN) architectures, the work introduces a novel structural perspective on how information flows through a Transformer block. Even with the limitations noted below, this inspiring concept is bound to spark valuable discussion within the community regarding explicit versus implicit information routing.

Weaknesses (Significance & Discussion)

While the paper is technically sound and conceptually innovative, its ultimate Significance is somewhat limited because the central claim is not fully developed or stressed to its logical conclusion.

  • The "Unrecoverable" Provenance Hypothesis: The authors claim that routing provenance under dominant tokens is fundamentally "unrecoverable" after attention aggregation during FFN calculation. The paper even includes a full section to prove this theoretically. However, this might not be entirely accurate in a deep network context. In standard deep Transformers, routing provenance could potentially be rediscovered via QKQK matching in subsequent layers, or implicitly maintained and leveraged across higher layers via residual connections. The proposed architecture variant might simply be providing an explicit, localized shortcut for each individual block to emit this information, rather than unlocking a strictly unrecoverable capability. Exact recovery might be lost, but routing provenance can still be inferred from subsequent layers, potentially (regardless of how well that might actually work in practice).

  • Scale and Structural Exploration: To truly substantiate the absolute loss of provenance, the paper would benefit from evaluating deeper or varied architectures. While the current evaluation scales of approximately 100M+ parameters for scratch training are reasonable, testing these hypotheses on deep-narrow configurations at the same compute budget, or utilizing highly optimized open-source base models like smaller Gemma variants, would have provided much stronger evidence. Similarly, given that the paper explicitly draws parallels to MoE structures, a light empirical exploration or toy experiment interacting with MoE routing would have vastly elevated the paper's impact.

  • Missing Efficiency Metrics: From a practical standpoint, the paper does not report the exact computational overhead incurred by reintroducing the attention weights into the FFN. Beyond raw parameter counts, the additional backpropagation and memory overhead for these tensor operations could be non-trivial. Even if this overhead is negligible, omitting these metrics leaves a gap in the completeness of the evaluation, as computational efficiency is a primary constraint for novel Transformer block variations.

Questions
  1. Can the authors provide standard hardware metrics, such as training throughput, tokens per second, or relative wall-clock time overhead, to clarify the exact compute and backpropagation costs of this modification?

  2. How do the authors decouple the localized benefits of this shortcut from the potential for deeper layers to naturally recover routing information via residual streams? Have you analyzed the attention maps of subsequent layers in the baseline versus your architecture to see if the baseline eventually discovers this provenance?

Limitations

yes

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Submission 25725 — Response to Reviewer onLh

Thank you for such a careful and constructive review. You noted that the paper's motivation is clear and the argument is easy to follow, and that the synthetic reconstruction task is a clean, effective benchmark that clearly shows where the baseline architecture fails. On originality, you thought reintroducing routing weights into the FFN is a clever idea that hasn't been fully explored in prior work, which is exactly what we hoped this paper would offer. Your three points under Significance point right at the parts of the argument that most need tightening, so we went through each one carefully and ran new quantitative experiments for the first two, on the scope of the "unrecoverable" claim and on efficiency.

Response to Weakness 1 (does "unrecoverable" still hold in a deep network)

Of the three points, this is the one most worth digging into, since it touches the core question of how far our theoretical claim actually extends. Your question is fair: could a deeper network recover the lost routing information through later re-matching, or through what's carried in the residual stream? We want to answer this from three angles.

First, on the theoretical scope. Our theorem is about the information bottleneck created by a single aggregation step within one layer. The appendix already states this scope (the theorem holds exactly whenever the sequence length exceeds the head dimension), but that sentence is currently buried in the appendix, and readers could easily read it as "the whole network at any depth can never recover this." We'll move that sentence to the end of the relevant section in the main text and state the scope clearly there.

Second, on the architectural mechanism. The residual input doesn't depend on the attention weights just computed at this layer, so the residual itself can't carry the lost routing information back. If a later layer wants to recover it, the only option is to recompute attention on the transformed representation, which at best gives an independent re-estimate of the original distribution, not an exact recovery of the original values.

Third, and we think this is the most convincing point, the synthetic reconstruction task already tests this indirectly. After the first layer's aggregation, the baseline architecture still has two more layers of fully free self-attention and FFN, giving it plenty of room to try to rediscover the routing information. But it only reaches about 31% source-identification accuracy, far below the method that just adds the four statistics at the first layer at the same depth.

Variant Source identification accuracy (%)
Baseline (no routing injection, two layers of free FFN depth) 31.67 ± 0.40
Route-aware method (statistics injected at layer 1, same depth) 75.90 ± 0.31
Oracle (upper bound) 100.00 ± 0.00

This suggests that, at least in this controlled task, extra free layers don't make up for the lost information even when given the chance. We'll restrict the "unrecoverable" claim in the discussion to the exact routing weights lost at a single aggregation step, and explicitly acknowledge that later layers could in principle learn a related but not equivalent substitute signal.

On the specific experiment you asked about, looking at attention maps in later layers, we ran a new probe analysis.

Attention maps in later layers

Architecture Layer Avg attention weight on true source at this layer Significantly above uniform?
Baseline (no routing injection) Layer 2 0.031 No (close to 1/n)
Baseline (no routing injection) Layer 3 0.028 No (close to 1/n)
Route-aware method Layer 2 0.19 Yes
Route-aware method Layer 3 0.22 Yes

Even with two fully free layers of attention, the baseline's average attention weight on the true source doesn't move meaningfully away from uniform. So the idea that "deeper free layers can rediscover the routing source on their own" doesn't hold up in this controlled setting. Once routing statistics are injected, later-layer attention clearly concentrates on the true source instead.

Response to Weakness 2 (scale and architecture exploration)

The paper currently covers two orders of magnitude in scale and three major architecture families, and the probing experiments show that predicting the source from the aggregated vector alone stays in a consistently low range across all of them, which we think is fairly solid cross-architecture evidence. That said, we agree this doesn't replace a direct comparison between deep-narrow and shallow-wide architectures at matched compute.

Architecture config Params Training FLOPs (relative) Baseline +Routing injection Relative gain
Shallow-wide (current paper config) 1.0× 1.0× 34.2% 61.5% +27.3
Deep-narrow (matched compute) 1.0× 1.0× 37.8% 63.1% +25.3

Both configurations show a clear gain from routing awareness. The deep-narrow baseline does a bit better on its own (a deeper network does recover somewhat more information), but the gain only shrinks slightly, which suggests the benefit isn't just a side effect of the depth-to-width ratio.

A toy experiment with sparse routing (MoE)

Config Task / metric Baseline MoE +Routing stats injected into expert FFN Gain
Top-1 routing Synthetic classification accuracy 58.4% 66.9% +8.5
Top-2 routing Synthetic classification accuracy 63.2% 69.7% +6.5

These early results suggest that expert selection and weighting information, once lost to aggregation, can be partially recovered the same way, with a bigger gain under top-1 routing, which fits the intuition that sparser routing loses more information.

Response to Weakness 3 / Question 1 (missing efficiency metrics)

This is a real gap, and it's the one we can answer with the most concrete numbers. We measured the training throughput of the module itself at standard encoder scale (hidden size 768, 12 heads, FFN size 3072, batch 32, sequence length 512).

Measured target Training throughput (wall-clock) change Parameter count change (relative)
Isolated FFN module +65.9% +5.09%
Full 12-layer encoder +32.0% +2.40%

The isolated module shows a bigger overhead than the full model, because the per-head statistics (entropy, sorting, embedding lookups) are currently implemented with plain tensor ops rather than fused kernels, so they don't fit as naturally with a FlashAttention-style setup. We think this is fixable and plan to work on it properly.


Thanks again for recognizing the paper's originality and clarity, and for laying out your concerns about significance so specifically, which let us respond to each one directly. If the scope clarification and the three new experiments above address your main concerns, we'd really appreciate you considering a higher score. If anything is still unclear, please let us know and we'll try to add more during the discussion period.


Authors · CommentOpenReview ↗

Submission 25725 — Response to Reviewer onLh

Thank you for your review. The discussion period is almost over, so we wanted to check in and see whether our earlier response addressed your concerns.

Your concerns were mainly about Significance, and specifically these three points, which we did respond to:

  • Whether a deeper network can recover the lost routing information on its own. In our controlled task, even with two more layers of free attention, the baseline's average attention weight on the true source stays close to uniform, around 0.03, and source identification only reaches about 31.7%. Once routing statistics are added, later layers clearly lock onto the true source instead, around 0.19 to 0.22, and accuracy reaches about 75.9%.
  • Structural exploration. Both shallow-wide and deep-narrow configurations show a steady gain at matched compute, and we also ran a small MoE experiment that points the same way.
  • Efficiency. For the full 12-layer encoder, training throughput goes up by about 32% and parameter count by about 2.4%.

If this addresses your main concerns, we would really appreciate you considering raising the score. If anything is still unclear, please just let us know.

Thank you very much.

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

Missing a submission?

Loading the discussion…