potentialpaper

Polynomial Activations for Transformers

Hemanth Saratchandran, Jianqiao Zheng, Yiping Ji, Wenbo Zhang, Simon Lucey

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. Polynomial attention with appropriate Frobenius norm control achieves competitive performance without softmax’s positivity or row-normalization constraints, challenging the necessity of its probabilistic interpretation.

Abstract. Softmax attention is typically viewed as effective because it produces a normalized probability distribution over input tokens. In this paper, we challenge this view by showing that a key mechanism behind softmax attention is its implicit control of the Frobenius norm of the attention matrix, which stabilizes training. Motivated by this observation, we study alternative attention activations, focusing on polynomial maps that provide a similar regularization effect without satisfying the usual softmax constraints. Our theoretical analysis shows that certain polynomial activations can replace softmax despite violating positivity, row-wise normalization, and sparsity. Extensive experiments across transformer applications show that these alternatives achieve strong performance, suggesting that the success of softmax attention is not inherently tied to its probabilistic interpretation.

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

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

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

Initial reviews: The initial reviews are mixed between accept, reject, and borderline. Reviewers generally appreciate the question of whether softmax is essential in self-attention and if simpler mechanisms (such as the proposed control of the Forbenius norm) are sufficient for success. The reviewers noted experiments across multiple domains/model sizes and the quality of the presentation as additional strengths. However, the reviewers also questioned whether the core motivation of Frobenius norm control is sufficiently established with some norm controlling activations not achieving strong performance or only showing correlations between norms and accuracy. Likewise, the reviewers also note that there are numerous attempts in the literature to remove softmax activations such as linear attention and related SSMs (e.g., Gated Delta Net). It is also noted that the empirical gains are somewhat modest and lack some larger scales and long context lengths.

Post-rebuttal: Following the rebuttal the reviews are primarily positive with the reviewers largely noting their primary issues being resolved. The lowest remaining review (which increased their score but still votes for a borderline reject) notes concerns on the details of how the hyperparameters were searched/optimized in the experimental evaluation and questions on why certain non-linearities which do control the Frobenius norm still display poor performance. The authors clarify that for the hyperparameter tuning, all of the methods are optimized under identical conditions with only the non-linearity (and potentially the corresponding, deterministically calculated scaling factor) being changed, which I find to be a fair setup. The reviewer asks for additional experiments on tuning the learning rates for each non-linearity, but I view this as a potential improvement to be added in a final version rather than a critical issue to warrant rejection. Likewise, the question as to why non-linearities which do control the Frobenius norm can still result in poor performance also appears to be well answered by the authors in my view. Namely, my reading of the discussion is that the issues boils down to proper scaling is a necessary condition for polynomial activations to succeed (as they will theoretically scale poorly with sequence length otherwise) but not necessarily sufficient (and hence answers the reviewer's question as to why some Frobenius norm controlling activiations show poor performance). As a result, I believe this question is largely resolved, and other reviewers who noted similar questions would have appear to have reached a similar conclusion (e.g., response from reviewer 7Da1).

Final justification

Overall, the reviews are positive on this paper, and the remaining issues raised by the reviews seem to be addressable or answered sufficiently by the authors in their rebuttal. This paper would appear to make a point that is of interest to the community and I recommend that it be accepted.

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

Initial reviews: The initial reviews are mixed between accept, reject, and borderline. Reviewers generally appreciate the question of whether softmax is essential in self-attention and if simpler mechanisms (such as the proposed control of the Forbenius norm) are sufficient for success. The reviewers noted experiments across multiple domains/model sizes and the quality of the presentation as additional strengths. However, the reviewers also questioned whether the core motivation of Frobenius norm control is sufficiently established with some norm controlling activations not achieving strong performance or only showing correlations between norms and accuracy. Likewise, the reviewers also note that there are numerous attempts in the literature to remove softmax activations such as linear attention and related SSMs (e.g., Gated Delta Net). It is also noted that the empirical gains are somewhat modest and lack some larger scales and long context lengths.

Post-rebuttal: Following the rebuttal the reviews are primarily positive with the reviewers largely noting their primary issues being resolved. The lowest remaining review (which increased their score but still votes for a borderline reject) notes concerns on the details of how the hyperparameters were searched/optimized in the experimental evaluation and questions on why certain non-linearities which do control the Frobenius norm still display poor performance. The authors clarify that for the hyperparameter tuning, all of the methods are optimized under identical conditions with only the non-linearity (and potentially the corresponding, deterministically calculated scaling factor) being changed, which I find to be a fair setup. The reviewer asks for additional experiments on tuning the learning rates for each non-linearity, but I view this as a potential improvement to be added in a final version rather than a critical issue to warrant rejection. Likewise, the question as to why non-linearities which do control the Frobenius norm can still result in poor performance also appears to be well answered by the authors in my view. Namely, my reading of the discussion is that the issues boils down to proper scaling is a necessary condition for polynomial activations to succeed (as they will theoretically scale poorly with sequence length otherwise) but not necessarily sufficient (and hence answers the reviewer's question as to why some Frobenius norm controlling activiations show poor performance). As a result, I believe this question is largely resolved, and other reviewers who noted similar questions would have appear to have reached a similar conclusion (e.g., response from reviewer 7Da1).

Final justification

Overall, the reviews are positive on this paper, and the remaining issues raised by the reviews seem to be addressable or answered sufficiently by the authors in their rebuttal. This paper would appear to make a point that is of interest to the community and I recommend that it be accepted.

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

The authors argue theoretically and validate empirically that row-softmax(⋅)\text{row-softmax}(\cdot) is not a crucial component in attention and that it can be substituted by a polynomial activation (⋅)p(\cdot)^{p} which won't necessarily normalize, or be positive (odd pp) or be sparse. In fact, the authors argue that the important property of row-softmax(⋅)\text{row-softmax}(\cdot), when applied to the normalized similarity Z=1dQK⊺Z = \frac{1}{d} QK^{\intercal}, is to bound the Frobenius norm of the forward and backward as O(N)\mathcal{O}(\sqrt{N}) where NN is the sequence length. The authors prove how 1NZp\frac{1}{\sqrt{N}} Z^{p} has a similar bound in expectation under some assumptions. The authors validate their theory in 3 different cases: image classification, object detection and instance segmentation and language modeling.

Strengths and weaknesses

Strengths:

  • The goal of the paper is clear
  • The experiments are extensive in terms of domains and model sizes they also bolster the claim.
  • The theoretical claims are precise and proofs are provided

Weaknesses:

  • It is unclear to me what the value of challenging the prevailing assumption about the use of the softmax is. One implicit argument in the paper is that it can help improve performance (as in Table 4). Would the authors agree that this is the main driver of the work? Are there any other potential hardware advantages that can be leveraged by not having to use the softmax? I believe it is crucial to explain the value thoroughly in the paper and not assume that the value of answering the question in lines 26-28 is self-evident.
  • The theory shows upper bounds which might be tight or loose making it hard to argue that this theory is directly explanatory. The authors do track the quantity ∣∣1NZp∣∣F|| \frac{1}{\sqrt{N}} Z^{p}||_{F} through training for the ViT experiments which shows that the values stabilized for the fixed scaling. But what happens for the learnt scaling?
Questions

Overall, I'm supportive of the paper and a satisfactory discussion about the points that I raised from the strengths and weaknesses and the questions below would make me raise my score.

  1. Would you agree that the row-softmax leads to better interpretability than the cubic activation and therefore it might be better to sill use the row-softmax?
  2. You cited [1], doesn't that paper already show that row-softmax is not strictly needed in attention?
  3. How does your work relate to Gated Delta Net [2] or other linear attention alternatives like Taylor Linear Attention [3] (p.5)?
  4. Could you open up Table 4 by model size?
  5. Does Theorem 4.2 need the Gaussian assumption? Wouldn't any random variable with mean 0 and fixed variance work?
  6. Abstract first line. The line: "normalized probability distribution over input tokens" seems to only refer to the head at the end of the architecture. I understand that you are referring also to how the attention matrix has interactions over the embedded input sequence. I feel like starting the abstract with this line is not strengthening the paper but adding some confusion.
  7. Lines: 16-17: "This mechanism enables transformers to effectively model long-range dependencies". Could you elaborate more? Are you referring to the ability to keep a KV cache as oppose to compressing into a fixed state as in RNN or SSMs? If this is not what you had in mind, then wouldn't the sparsity of the softmax hinder long range as the normalization dilutes as we add more elements?

[1] Shen et al., 2023. A Study on ReLU and Softmax in Transformer. [2] Yang et al., 2025. Gated Delta Networks: Improving Mamba2 with Delta Rule. [3] Arora et al., 2025. Simple linear attention language models balance the recall-throughput tradeoff.

Minor:

  • Lines 75-77. Why is x lowercase in eq (1) but then uppercase X below in the text when they actually are of the same shape?
  • Lines 85 - 86 in equation 4 use zz as oppose to xx.
  • Line 88: use softmax\text{softmax} as oppose to softmaxsoftmax
  • Lines 138-140 eq (10) I think the norm is missing an F
  • Line 165: correct x-axis
  • Lines 200-202. Bolding seems off and comes out too defensive.
  • Line 262. Change token length to sequence length. Tokens have no length as they are integers which then get mapped to vectors.
  • Line 422. c11c_{11} is off. Also I don't see why there is an inclusion ∈\in to C?
  • Eq. 43 why is there a double !!? There are a couple of these errors.
Limitations

Yes.

Final justification

I appreciate the response and I chose to increase my score.

Formatting concerns

No formatting concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank you for reviewing our paper and greatly appreciate all your comments. Below we answer the weakness points and questions. Due to space constraints we have picked those points we feel are the most important.

It is unclear to me what the value of challenging the prevailing assumption about the use of the softmax is...

One of the primary goals is to determine which properties of softmax are genuinely necessary for effective attention. Softmax couples several distinct properties: non-negativity, row normalization, concentration, and sequence-length-dependent control of the attention and gradient scales. Consequently, the empirical success of softmax alone does not reveal which of these properties are essential.

Our construction separates these effects. Scaled cubic attention preserves the sequence-length-dependent norm control identified by our theory while deliberately violating non-negativity and row normalization. The fact that it matches or improves upon softmax across several vision and language settings therefore shows that the probability-simplex constraints are not required for competitive performance. This is not merely a negative observation; it provides a constructive design principle for developing attention mechanisms outside the usual class of positive, normalized weights.

There is also a concrete representational consequence. Before the output projection, softmax restricts each attention output to a convex combination of the value vectors. Signed cubic attention removes this constraint and permits both reinforcing and suppressive contributions, as well as outputs outside the convex hull of the values. This enlarges the attention design space and allows the activation and its scaling to be chosen for optimization and task performance rather than to preserve a probabilistic interpretation. Cubic attention is intended as a simple proof of concept for this broader design space, not as a claim that the cubic function is universally optimal. The performance gains, particularly the lower language-modeling perplexities in Tab. 4, provide evidence that this enlarged design space can contain alternatives that are not only viable but sometimes preferable.

The theory shows upper bounds which might be tight or loose making it hard to argue that this theory is directly explanatory..

We agree that an upper bound is less informative if its sequence-length order is loose. For softmax, however, the Frobenius-norm dependence is order-tight. For every N×NN\times N row-stochastic softmax attention matrix AA, 1≤∥A∥F≤N.1\leq\|A\|_F\leq\sqrt{N}. The lower endpoint is attained by uniform attention, while the upper endpoint is approached when every row becomes one-hot. Thus, the O(N)O(\sqrt{N}) softmax envelope cannot be improved uniformly over all attention score matrices. For polynomial attention, the NN-dependence is also exact at the second-moment level under a mild non-degeneracy assumption. Let ZZ denote the score matrix and suppose that, for fixed pp,

0<cp≤E∣Zij∣2p≤Cp<∞,0<c_p \leq \mathbb{E}|Z_{ij}|^{2p} \leq C_p<\infty, where cpc_p and CpC_p do not depend on NN. Then cpN2≤E∥Zp∥F2≤CpN2,c_pN^2 \leq \mathbb{E}\|Z^{p}\|_F^2 \leq C_pN^2, and consequently (E∥Zp∥F2)1/2=Θ(N).\left(\mathbb{E}\|Z^{p}\|_F^2\right)^{1/2}=\Theta(N). After applying the theoretically proposed scale, we get that the term (E∥1NZp∥F2)1/2=Θ(N).\left(\mathbb{E}\left\|\frac{1}{\sqrt{N}}Z^{p}\right\|_F^2\right)^{1/2}=\Theta(\sqrt{N}).

We remind the reviewer that Θ\Theta is the usual theta complexity notation where f(x)=Θ(g(x))f(x) = \Theta(g(x)) if there exists constants c1,c2>0c_1,c_2>0 and x0x_0 such that c1g(x)≤f(x)≤c2g(x)c_1g(x)\leq f(x)\leq c_2g(x) for x≥x0x \geq x_0.

Thus, the N−1/2N^{-1/2} factor is not merely one scale that satisfies an upper bound. It is the critical sequence-length exponent that changes the root-mean-square polynomial attention norm from a scale of O(N)\mathcal{O}(N) to the Θ(N)\Theta(\sqrt{N}) softmax regime. We can add this discussion in the form of a refined theorem in the appendix. Empirically, Fig. 1 provides an independent controlled validation of this prediction, since only the divisor of the scale.

We also tracked the learnable-scale variant and can include this information. In each case we found that the learned scale value did not depart from the theoretically predicted scale by much so the plots were very similar. As an example you can see the response to Q5 of Reviewer 7Da1 where we show the values the learned scale converges to.

Q1. Would you agree that the row-softmax leads to better interpretability than the cubic activation..?

We agree that row-softmax provides a convenient probabilistic interpretation: its coefficients are non-negative and sum to one, so each row can be viewed as a relative allocation of attention across tokens. However, this is not necessarily a strictly richer form of interpretability. As softmax weights are non-negative, they cannot explicitly represent whether a token has a supportive or opposing influence at the scalar attention-weight level.

Signed cubic attention instead provides a directional interpretation. For yi=∑jaijvj,y_i=\sum_j a_{ij}v_j, a positive coefficient aija_{ij} indicates that the corresponding value contributes in its current direction, whereas a negative coefficient indicates an opposing, suppressive, or cancelling contribution. The sign can therefore distinguish positive interaction from negative interaction, a distinction that is not explicitly represented by softmax attention weights and in this way can be seen as having a finer form of interpretability.

We therefore do not agree that interpretability provides an unconditional reason to prefer softmax. Softmax may be preferable when a normalized probability-like allocation is required, whereas cubic attention may be more informative when the direction of a token's contribution is important. Our claim is not that cubic attention is universally more interpretable, but that it admits a meaningful signed interpretation in addition to achieving competitive predictive performance. Fig. 4 further shows that these signed attention matrices learn clear spatial structure rather than unstructured positive and negative values.

Q2. You cited [1], doesn't that paper already show that row-softmax is not strictly needed in attention?

Yes. We agree that [1] already demonstrates that row-softmax is not strictly necessary for effective attention in the settings they study, and we cite it as important prior evidence for precisely this reason. We will revise the introduction and related-work discussion to ensure that our language does not imply that we are the first to replace row-softmax.

Our contribution addresses a different and stronger question. [1] replaces softmax with ReLU, so its attention coefficients remain non-negative. Moreover, the authors show that directly replacing softmax with ReLU does not converge because the variance of the attention output grows with sequence length. Their ReLUFormer introduces the scale 1γN/2\frac{1}{\gamma\sqrt{N/2}} together with normalization and entropy regularization terms. In particular, their normalization regularizer encourages the ReLU attention weights to sum to 1, although this is a soft rather than a hard constraint.

Q3. How does your work relate to Gated Delta Net [2] or other linear attention alternatives like Taylor Linear Attention [3] (p.5)?

These works address a complementary objective: computational efficiency. Gated DeltaNet replaces dense attention with a fixed-size recurrent state updated using gating and the delta rule. Taylor Linear Attention instead factorizes a second-order Taylor approximation of the exponential kernel, retains a normalization denominator, and combines global linear attention with local softmax attention. Our work retains the standard dense O(N2)O(N^2) attention structure and isolates the role of the activation, replacing softmax with a signed, non-row-normalized cubic map. We will clarify these complementary distinctions in the related work.

Q4. Could you open up Table 4 by model size? We apologize to the reviewer but we are not sure what the reviewer means by open up Tab. 4 by model size. Each column is a different model size.

Q5. Does Theorem 4.2 need the Gaussian assumption? Wouldn't any random variable with mean 0 and fixed variance work?

You are right in that Gaussianity is a convenient sufficient assumption, but it is not essential. For a degree-pp polynomial, it is sufficient that the attention-score entries have finite 2p2p-th moments that do not grow with NN. Mean zero and fixed variance are sufficient when p=1p=1, but not for p>1p>1, since finite variance does not guarantee a finite 2p2p-th moment. We will generalize Thm. 4.2 to this weaker bounded-moment assumption and add it in the appendix.

Q6. Abstract first line. The line: "normalized probability distribution over input tokens" seems to only refer to the head at the end of the architecture...

We agree that the current wording may be ambiguous. We are referring to each row of the attention matrix, not to the model's final output head. We will replace the opening sentence with: "Transformer attention typically applies a row-wise softmax to query-key scores, producing non-negative attention weights that sum to one over the key tokens for each query." This states the relevant property of the attention matrix directly and avoids the potentially confusing phrase "probability distribution over input tokens."

Q7. Lines: 16-17: "This mechanism enables transformers to effectively model long-range dependencies". Could you elaborate?..

We were referring to the direct all-to-all connectivity of dense self-attention: each query can aggregate information from every key within a single layer. We were not referring to the KV cache, which is an inference implementation detail. We agree that the current wording is too broad and will replace it with: `Dense self-attention allows each token to interact directly with every token within a single layer.''

Authors · CommentOpenReview ↗

Minor corrections: We would also like to thank the reviewer for pointing out minor corrections, we will definitely correct these. One minor point is that the notation "!!" is not a typo and is correct notation. It represents the double factorial notation. For a positive integer nn, if nn is odd this is defined as the product of all odd integers up to nn and if nn is even this is defined as the product of all even integers up to nn. We will add a definition clearly clarifying this notation for the readers who are unaware of it.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for taking the time to carefully read and evaluate our work.

As the discussion period draws to a close, we would like to follow up and ask whether there are any remaining questions, concerns, or points that would benefit from further clarification. We would be very happy to provide additional explanations or results to address any outstanding issues.

Thank you again for your time and consideration.

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

This paper questions the softmax in transformers' attention heads. In particular it questions whether it is necessary to have a function that produces a right stochastic matrix. They assume that row-normalization and non-negativeness are not two key properties but rather having a matrix whose Frobenious Norm (FN) is bounded. They propose to use polynomial activations (rescaled) and show the bound of the FN they produce. They benchmark against softmax on diverse standard image and language tasks.

Strengths and weaknesses

Strenghts

S1) The paper is well-written, and the presentation is clear, making the arguments easy to follow.

S2) The focus on the role of the Frobenius norm of the attention matrixis an interesting direction that could provide valuable insights.

Weaknesess


W1) Novelty is very limited as the contributions (lines 26-27 and lines 33—>40) are not new. Some cited works and other existing works [1, 2, 3] propose alternative attention mechanisms that move away from standard softmax (that are not normalized, that can have negative value,…) but these are not sufficiently discussed.

W2) A central premise of the paper is that the softmax-based-attention works as it bounds the Frobenius norm. However:

a) this is never proved and some results in the paper suggests the opposite (e.g., some activations with bounded FN do not work. See lines 153–>155)

b) to bound the FN to O(N)\mathcal{O}(\sqrt N) for ϕ(x)=xp\phi(x) = x^p the authors simply divide by N\sqrt N. Following this reasoning one could “provide stronger bounds” by dividing by NbN^b with b>1/2b>1/2 (with the downside of small gradients). Overall it is not clear to me why exactly the O(N)\mathcal{O}(\sqrt N) bound is desirable (only figure 1 gives very limited support).

W3) I also have some major concerns on the experimental setup:

a) It is unclear whether the hyperparameters for the proposed method and the baselines were (equally) tuned. If I understood correctly, they were not tuned.

b) A rescaled version (with learnable scale) of the softmax should have been a natural baseline.

W4) There are many errors and typos that should be fixed. For example:

  • Line 78 is not exact
  • Line 79 should be q=XQ, k=XK, v=XV
  • Lines 94 —> 97 why defining ∇\nablasoftmax when it is just the Jacobian? Also, the softmax Jacobian is an NxN matrix for every row so there might be something wrong here as well.
  • Equation (12) you switch n —> N
  • Equations (13) and (15) e^{a_11} —> e^{a_1N}
  • Equation (20) (21) and (22) xx —> aa

Overall, I believe that this paper provides some useful insights that support existing literature. However I believe the paper is not strong enough as it makes a key assumption that should be the main focus of the paper. It would become much stronger by addressing:

  1. whether the Frobenius norm (FN) is the right metric to use when designing attention heads (as there may be other, more suitable metrics) and why, and
  2. what the ideal lower and upper bounds for this metric should be and why.

References

[1] https://arxiv.org/pdf/2006.16236

[2] https://arxiv.org/pdf/2110.11945

[3] https://arxiv.org/pdf/2409.04431

Questions

I would like to see:

  1. some strong theoretical results why the FN is the right metric to design an attention mechanism. Does it provide a smoother optimization landscape? ...?

This would probably allow to answer:

  1. In which regime the FN should stay (lower and upper bounds)?

Unrelated:

  1. What happens to the softmax when we rescale the FN as you did with the xpx^p activations?

  2. You reported the top-1 accuracies between 5 runs. Results are very close, could you give some statistics?

  3. If for the BERT experiment models were pretrained, how did you modify the activation?

Limitations

yes

Final justification

Final Justification

I am raising my score by 1 in light of the authors' active engagement and the additional experiments provided during the rebuttal. However, some fundamental concerns remain:

Proposing a replacement for a core, well-established mechanism like softmax demands either a watertight theoretical framework or indisputable empirical proof. The paper currently lacks both:

  1. Theoretical Gap: The developed theory fails to explain why the other tested polynomial activations fail, which partially invalidates the theoretical framework used to justify the cubic activation.

  2. Empirical Rigor: Because the theory does not fully support the proposed set of activations, the empirical evaluation needed to be substantially more robust. A truly fair comparison requires comprehensive hyperparameter optimization (e.g., fine-grained learning rate sweeps) across all baselines, especially softmax, rather than relying on historically fixed parameters.

While this is an interesting and valuable research direction, the evidence presented is not yet solid enough to justify substituting such a foundational component of modern deep learning architectures.

Formatting concerns

no concerns

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank you for reviewing our paper and greatly appreciate all your comments. Below we answer the weakness points and questions. Due to space constraints we have picked those points we feel are the most important.

W1: Novelty is very limited as the contributions (lines 26-27 and lines 33—>40) are not new. Some cited works and other existing works [1, 2, 3] propose alternative attention mechanisms that move away from standard softmax (that are not normalized, that can have negative value,…) but these are not sufficiently discussed.

We do not claim to be the first work to replace softmax. Our specific result is that an intrinsically signed and non-row-normalized attention activation can train competitively when its sequence-length-dependent attention and gradient norms are controlled. The references you cited ([1], [2] and [3]) do not establish this.

Reference [1] that you cite explicitly requires a non-negative similarity function, uses ϕ(x)=ELU(x)+1\phi(x)= ELU(x)+1 (see eqn (7) of the paper), and divides by the row-wise sum. Its effective attention matrix is therefore non-negative and row-normalized. Reference [2] that you cite removes row normalization but defines its full attention matrix using a Gaussian kernel whose entries lie in [0,1][0,1]. Although its Nystr"om approximation is not guaranteed to preserve entrywise positivity exactly, signed attention is neither its proposed activation nor a mechanism analyzed as responsible for its performance. Reference [3] that you cite applies an elementwise sigmoid, so all attention coefficients lie in (0,1)(0,1), although they do not sum to one.

Thus, these methods relax softmax or row normalization, but they do not establish that a deliberately signed and non-row-normalized attention activation can train competitively. We will expand the related-work discussion and discuss the citations [1], [2] and [3] as complementary evidence that controlling large initial attention magnitudes is important. Our distinct contribution is the theory-to-design connection: we derive the sequence-length dependence of both attention and gradient Frobenius norms, obtain the predictive scaling rule N−1/2xpN^{-1/2}x^p, and validate it using intrinsically signed cubic attention under controlled changes in NN and across vision and language architectures.

W3(a): Hyperparameter fairness.

No activation received an independent hyperparameter search. Within each architecture, softmax, fixed-scale cubic, learnable-scale cubic, and unscaled cubic use the same dataset, augmentation pipeline, optimizer, learning-rate schedule, batch size, regularization, number of updates, and training budget. The literature-standard recipe for each architecture is held fixed so that the activation is the controlled intervention. The fixed scale is determined directly as 1/N1/\sqrt{N} and is not selected using validation performance. The learnable scale is initialized at the same theory-predicted value and subsequently optimized. Thus, the proposed method was not given preferential activation-specific tuning. We will add a consolidated table specifying the complete shared training recipe and scale initialization for every architecture.

W3(b) A rescaled version (with learnable scale) of the softmax should have been a natural baseline / Q3. What happens to the softmax when we rescale the FN as you did with the xpx^p activations?

For the reviewer we have run the ViT experiments where we rescaled softmax with the fixed scale, i.e. after applying softmax we multiply by 1/N1/\sqrt{N}, and the learned scale, i.e. we multiply by 1/θ1/\theta where we initialize θ=N\theta = \sqrt{N} and then let the optimizer learn the divisor. The table below shows the results. We see that when we scale softmax it doesn't yield any benefit but we did notice that the learned scale does better than the fixed scale.

ViT-B DeiT-B Swin-B XCiT-M
softmax 80.3 81.8 83.5 84.2
softmax + fixed scale 79.1 80.2 81.1 81.3
softmax + learned scale 79.7 81.0 82.4 82.8

The table below shows the converged value of the learned divisor, i.e the θ\theta (when it was initialized as 196=14\sqrt{196} = 14).

ViT-B DeiT-B Swin-B XCiT-M
Converged θ\theta 7.1 6.6 6.3 6.4

We noticed that the converged value seemed to be much lower than the initialized value of 14. To test this further we also ran an experiment where we initialized the θ\theta in the scale 1/θ1/\theta with value 1. In this case we found that we were able to get the softmax results as shown in the table below.

ViT-B DeiT-B Swin-B XCiT-M
softmax + learned scale (init value = 1) 80.3 81.7 83.5 84.2

In this case we found that θ\theta converged to a value very close to 1.

ViT-B DeiT-B Swin-B XCiT-M
Converged θ\theta (with init = 1) 0.9 1.1 1.0 1.1

Softmax already satisfies O(N)O(\sqrt{N}) bound, so multiplying it by an additional 1/N1/\sqrt{N} factor reduces the norm to O(1)O(1) and over-attenuates the attention branch. Consistent with this prediction, fixed post-softmax scaling lowers accuracy across all four architectures. We will add this baseline and discussion to the appendix.

Q1 (W2 (a) (b)): some strong theoretical results why the FN is the right metric..?

We thank the reviewer for this question. We agree that the Frobenius norm should not be presented as the unique possible metric for designing attention. However, it has a direct optimization-theoretic interpretation and provides a principled sufficient stability criterion.

Let A∈RN×NA\in\mathbb{R}^{N\times N} denote an attention matrix and consider the value-parameter subproblem $L(V)=ℓ(AV)\mathcal{L}(V)=\ell(AV)$ where the downstream loss ℓ\ell is β\beta-smooth with respect to its input under the Frobenius norm. Since $∇VL(V)=A⊤∇ℓ(AV)\nabla_V\mathcal{L}(V)=A^\top\nabla\ell(AV)$ we obtain

∥∇VL(V1)−∇VL(V2)∥F≤∥A∥2∥∇ℓ(AV1)−∇ℓ(AV2)∥F\|\nabla_V\mathcal{L}(V_1)-\nabla_V\mathcal{L}(V_2)\|_F \leq \|A\|_2\|\nabla\ell(AV_1)-\nabla\ell(AV_2)\|_F

$≤β∥A∥22∥V1−V2∥F\leq \beta\|A\|_2^2\|V_1-V_2\|_F$ $≤β∥A∥F2∥V1−V2∥F\leq \beta\|A\|_F^2\|V_1-V_2\|_F$ Therefore, ∥A∥F2\|A\|_F^2 directly upper-bounds the smoothness constant of the value-parameter optimization problem. For the actual value projection V=XWVV=XW_V, the corresponding bound is β∥X∥22∥A∥F2\beta\|X\|_2^2\|A\|_F^2. Thus, controlling the attention Frobenius norm produces a smoother value-parameter subproblem and permits a larger theoretically stable learning-rate range. This applies directly at the logit level to standard multiclass cross-entropy, whose Hessian is $∇z2ℓ(z,y)=diag⁡(p)−pp⊤,p=softmax⁡(z)\nabla_z^2\ell(z,y) = \operatorname{diag}(p)-pp^\top, \qquad p=\operatorname{softmax}(z)$ and satisfies ∥∇z2ℓ(z,y)∥2≤1/2\|\nabla_z^2\ell(z,y)\|_2\leq 1/2. For example, if the attention output is followed by a linear readout WW, then the smoothness constant with respect to WVW_V is bounded by $12∥W∥22∥X∥22∥A∥F2.\frac{1}{2}\|W\|_2^2\|X\|_2^2\|A\|_F^2.$ We emphasize that this is a precise blockwise smoothness result, rather than a claim that the complete non-convex Transformer objective is globally smooth.

The Frobenius norm also has an exact average-case interpretation. If the columns of VV are zero-mean and isotropic with covariance σV2IN\sigma_V^2I_N, then $E∥AV∥F2=dσV2∥A∥F2\mathbb{E}\|AV\|_F^2 = d\sigma_V^2\|A\|_F^2$ where dd is the value embedding dimension.

Similarly, if G=∇AVLG=\nabla_{AV}\mathcal{L} is an isotropic upstream gradient, then $E∥A⊤G∥F2=dσG2∥A∥F2.\mathbb{E}\|A^\top G\|_F^2 =d\sigma_G^2\|A\|_F^2.$ Hence, ∥A∥F2\|A\|_F^2 exactly measures the average squared amplification of both the forward value signal and the backward gradient. The spectral norm is the tighter worst-case metric, but ∥A∥2≤∥A∥F\|A\|_2\leq\|A\|_F, while the Frobenius norm is analytically tractable under our initialization assumptions and yields an explicit sequence-length-dependent design rule. There is also an analogous interpretation for the query and key paths. This motivates our analysis of both the attention Frobenius norm and its Jacobian Frobenius norm. We will add these results and clarify that Frobenius control is a principled sufficient stability criterion, rather than the unique complete description of the Transformer optimization landscape.

Q2 In which regime should the FN stay (lower and upper bounds)?

For an N×NN\times N softmax attention matrix, the exact range is 1≤∥A∥F≤N1\leq\|A\|_F\leq\sqrt{N}. Thus, N\sqrt{N} is an upper envelope, not a target value. Our theory shows that the N−1/2N^{-1/2} polynomial scaling reduces the expected norm from O(N)O(N) to O(N)O(\sqrt{N}), placing it within the softmax regime. Stronger scaling also satisfies the upper bound, but may excessively suppress the attention signal and gradients, as suggested by Fig. 1.

Q4. You reported the top-1 accuracies between 5 runs. Results are very close, could you give some statistics? Due to space constraints please see the answer to Reviewer 7Da1 where we show statistics for ViTs. We have such statistics for all exps and will include them.

Q5. If for the BERT experiment models were pretrained, how did you modify the activation?

We did not use a pretrained BERT model for the experiments. We pretrained our own BERT model on The Pile dataset and then used that pretrained model to do a downstream task validation on GLUE. This was mentioned on lines 453-454 though we apologize if this was not apparent in the main paragraph starting at line 268 in the main part of the paper. We will edit that paragraph so this is made clear.

Reviewer HgKh · CommentOpenReview ↗

W1) Limited Novelty

I agree that the cited papers modify attention properties separately rather than all at once. However, for this very reason, a deeper discussion should have been present and at least some of these alternative mechanisms should have been included as experimental baselines.

Q1) & W2 (a) (b): Theoretical Justification

While a bounded Frobenius norm intuitively helps bound gradients, you did not answer my concerns (W2 a) if FN is the key, why other alternatives you proposed with bounded FN do not work? and (W2 b) what should be the theoretical golden bound and why? Stating the exact range is [1,N][1, \sqrt{N}] is a proposed rule, not a theoretical guarantee of optimality. Also, this justification overlooks that Transformers already rely on other mechanisms (e.g., LayerNorm, residual connections, etc.) to bound norms and gradients.

W3 a): Hyperparameter Optimization

Proposing a fundamental alternative to softmax requires robust validation. A careful hyperparameter optimization for your proposed method (and others) is necessary.

W3 b): Rescaled Softmax Baseline

Thank you for running the additional experiments.

Overall I think that this research line is indeed very interesting, but since it touches a core component of modern AI, it should require:

  1. either a strong theory behind it, or
  2. an indisputable empirical evaluation.

I perceive both are currently missing, and thus I will keep my score.

Authors · CommentOpenReview ↗

We thank the reviewer for the thoughtful follow-up. We will answer their points in the following.

W1) Limited Novelty

We apologize if our earlier wording reads as proposing a universal Frobenius-norm (FN) criterion for all attention activations. This is not our claim. Our result is activation-family-specific: we derive the sequence-length scaling required for entrywise polynomial attention under the stated initialization model. We do not claim that every activation with a bounded FN must work, or that the softmax range is universally optimal. What we claim is that from our empirical observations this range keeps the weights and gradients of polynomial activations in a stable range that allows them to train stably showing that negative and un-normalized attention can be trained with polynomials when scaled correctly. Our theory is presented as a framework to derive a rigorous scale for the polynomial activations that fit the empirical observations.

We have now evaluated the three methods cited by the reviewer in their original review, [1], [2], [3]. For each method, we tested the original activation proposed by the authors, together with both fixed and learnable FN scaling. Importantly, our N−1/2N^{-1/2} scaling law is derived specifically for polynomial activations and is not claimed to be optimal for arbitrary attention activations. Consistent with this distinction, applying our polynomial-specific scaling to these non-polynomial activations generally reduces performance, as shown in the table below. This further supports our central point that the appropriate Frobenius-norm scaling is activation-dependent, rather than a universal normalization rule. As can be seen by Tab. 2 in our paper our cubic attention, when scaled appropriately, can outperform many of these other activations. Please see table below.

ViT-B DeiT-B Swin-B XCiT-M
Elu + 1 from [1] 79.9 81.3 82.7 83.4
Elu + 1 with fixed scale [1] 79.1 80.5 82.2 82.9
Elu + 1 with learned scale [1] 79.2 80.6 82.2 82.9
Gaussian kernel from [2] 79.6 81.2 82.5 83.3
Gaussian kernel from [2] with fixed scale 78.9 80.4 82.0 82.8
Gaussian kernel from [2] with learned scale 79.1 80.6 82.1 82.9
Sigmoid from [3] 80.2 81.6 83.3 84.0
Sigmoid from [3] with fixed scale 79.6 80.8 82.4 83.5
Sigmoid from [3] with learned scale 79.8 80.9 82.5 83.7
Reviewer 7Da1OpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper asks whether softmax attention works mainly because it forms a probability distribution—non-negativity, row normalization, sparsity—and proposes an alternative: softmax implicitly controls the attention matrix Frobenius norm, which stabilizes training.

The authors prove that softmax attention and gradient Frobenius norms grow with sequence length, and that appropriately scaled polynomial activations can match this norm scaling in expectation under i.i.d. Gaussian initialization, even without non-negativity, normalization, or sparsity.

Empirically, the main test is a cubic polynomial activation. A small-scale validation study checks that the scaling factor should track sequence length. On image classification, detection, segmentation, language modeling, and GLUE downstream tasks, scaled cubic attention with fixed or learnable scale matches or slightly exceeds softmax; unscaled cubic attention is unstable or fails to train. The theory is scoped mainly to initialization.

Strengths and weaknesses

Quality

Strength: The paper derives norm bounds and scaling recommendations, varies sequence length and scaling factor on a small vision model in the direction predicted by theory, and shows consistent behavior across vision, detection, language modeling, and GLUE: unscaled cubic activation degrades, scaled cubic activation is competitive with softmax. The authors state that the goal is not state-of-the-art chasing but testing whether softmax is necessary.

Weakness: The paper shows norm regularization similarity but not a causal link from Frobenius control to task performance; norm–accuracy plots are correlational. Evaluation focuses on cubic degree without a systematic sweep over other polynomial orders. Main tables report run means without standard deviations or significance tests, and many reported gains are small. Sparsity is not formally defined. There is no comparison to other non-softmax activations under the same training budget.

Clarity

Strengths: The paper follows a clear path from motivation through theory to experiments. Standard attention notation, scaling plots, norm trajectories, and attention heatmaps support the claims.

Weaknesses: The mapping from expected-norm theory to learnable scaling in different architectures is left implicit; effective sequence length differs between vision and language settings. Related work cites ReLU and Taylor-softmax variants but does not experiment against other softmax-free attention routes.

Significance

Strengths: The paper tests cubic polynomial attention across multiple vision backbones, detection and segmentation, language modeling, and GLUE, and shows competitive results without softmax's usual constraints.

Weaknesses: Reported accuracy and perplexity gains are mostly modest. There are no large-scale pretraining or long-context experiments. Learnable scaling adds extra parameters beyond a fixed length-dependent rule.

Originality

Strengths: The paper reframes softmax success around Frobenius norm regularization rather than probabilistic interpretation, and shows competitive training while violating non-negativity, normalization, and sparsity.

Weaknesses: Alternative softmax replacements are well studied. Norm-bound tools overlap prior self-attention regularity work; the main novelty is the framing plus cubic-activation empirical validation.

Questions
  1. Are scaled cubic activation gains over softmax statistically significant beyond run-to-run variation?

  2. If scaling deliberately deviates from the theoretical rule, do norms and performance degrade together in a controlled comparison?

  3. Why is cubic degree the sole main activation, and how do other polynomial orders compare under the same budget?

  4. How does scaled cubic attention compare to strong non-softmax baselines with identical training recipes?

  5. Do learned scaling parameters converge near the values predicted by theory?

Limitations

Yes

Final justification

Recommended score: 5 (Accept). I maintain this score after the rebuttal.

Resolved (high weight). The rebuttal strengthens the paper’s central scientific claim and answers my main questions. (1) Authors correctly reframe the contribution as showing that length-dependent Frobenius/norm scaling is a sufficient stability principle for non-probabilistic activations, not a full causal explanation of softmax; this matches the evidence and will be reflected in wording. (2) Tab. 2 stds / CI half-widths address statistical-reporting concerns for the main vision results. (3) Same-budget comparisons to several non-softmax activations show that scaled cubic remains competitive while alternatives lag. (4) Polynomial-order evidence already exists (Appendix Table 6) and will be surfaced in the main text; cubic is a motivated main-case choice. (5) Long-context GPT-2 perplexity results and learned scales converging near the theoretical prediction support the theory–practice link. These points carry the most weight in my recommendation.

Unresolved / residual (lower weight). Absolute gains over softmax remain modest and should not be oversold. Formal causal identification of Frobenius control is still absent (acknowledged by authors). Large-scale / very long-context evidence is improved but still limited relative to frontier LM settings. I weigh these as presentation and scope limitations, not as grounds for rejection: the paper’s value is the reframing plus consistent multi-domain evidence that softmax’s probabilistic properties are not necessary when scaling is set appropriately.

For authors (short points).

  • Soften causal language; keep the “sufficient stability principle” framing.
  • Put stds, polynomial-order summary, non-softmax baselines, and learned-scale convergence in the revision’s main/appendix as promised.
  • Emphasize matching softmax while violating non-negativity/normalization/sparsity, not SOTA chasing.
  • Overall: clear motivation, solid theory–experiment coupling, and a rebuttal that supports acceptance.
Formatting concerns

No such issues found.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your review and the time you have taken to read our paper. Below we answer the weakness points and questions. Due to space constraints we have picked those points we feel are the most important.

The paper shows norm regularization similarity but not a causal link from Frobenius control.. / Norm–accuracy plots correlational.

We agree that the present experiments do not establish that Frobenius-norm control is the necessary cause of softmax’s effectiveness. Our intended conclusion is one of sufficiency: softmax provides sequence-length-dependent control of the attention and gradient norms, and imposing comparable scaling permits attention activations that are neither non-negative nor row-normalized to train competitively. We will revise the language such as “the key mechanism” to “a sufficient stability principle” and explicitly distinguish this result from a complete causal account of softmax.

The scale experiments nevertheless involve a controlled intervention rather than only a post-hoc correlation. Fig. 1 varies the cubic scale over different orders of magnitude while holding the architecture and training recipe fixed. The stable-performance region systematically moves towards the theoretically predicted scale of O(N)\mathcal{O}(\sqrt{N}). For N=256, Figs. 2–3 and Tab. 1 show that unscaled cubic attention has substantially larger attention/Jacobian norms and obtains 45.3% accuracy, whereas scaling by 1/16 brings the norms close to the softmax regime and obtains 50.5%, compared with 50.26% for softmax. We agree that presenting norms and accuracy within the same scale sweep would make this intervention clearer, and will add such a unified analysis in the appendix. We will describe this evidence as mechanism-consistent rather than as formal causal identification. We agree that the norm–accuracy plots alone do not establish causality. However, our scale sweep is a controlled intervention that varies only the cubic scaling factor and shows that the high-performance region shifts systematically with sequence length in the direction predicted by the theory

Main tables report run means without standard deviations.., and reported gains are small / Are scaled cubic activation gains over softmax statistically significant beyond run-to-run variation?

All main experiments in Section 6 were conducted over five runs (each over a different random seed), but we agree that reporting only the mean is insufficient. We will add standard deviations in each table in brackets. To show that we are committed to this review process below we present Tab. 2 with the required standard deviations in brackets. The corresponding 95% confidence-interval half-widths range from 0.22 to 0.34 percentage points showing statistical significance beyond run-to-run variation.

ViT-B DeiT-B Swin-B XCiT-M
softmax 80.3 (±\pm 0.31) 81.8 (±\pm 0.26) 83.5 (±\pm 0.25) 84.2 (±\pm 0.32)
x3x^3 + fixed scale 80.3 (±\pm 0.29) 81.9 (±\pm 0.26) 83.6 (±\pm 0.22) 84.6 (±\pm 0.34)
x3x^3 + learned scale 80.6 (±\pm 0.31) 82.1 (±\pm 0.24) 83.6 (±\pm 0.22) 84.8 (±\pm 0.32)
x3x^3 78.3 (±\pm 0.30) 78.8 (±\pm 0.24) 80.0 (±\pm 0.24) 79.7 (±\pm 0.31)

We agree that many improvements over softmax are modest. However, our central claim is not state-of-the-art gains, but that appropriately scaled cubic attention consistently matches softmax across diverse architectures and tasks despite violating its normalization properties, whereas the unscaled variant substantially degrades or fails to train (see lines 200-202).

Evaluation focuses on cubic degree without a systematic sweep over other polynomial orders / Why is cubic degree the sole main activation, and how do other polynomial orders compare under the same budget?

A sweep of different polynomials orders is already included in Appendix A.2.4/Table 6, although we agree that it was insufficiently visible. It compares polynomials with orders in {1,2,4,5}\{1, 2, 4, 5\} with unscaled, fixed-scale, and learnable-scale variants, on ViT-B, DeiT-B, Swin-B, and XCiT-M. These experiments show that the scaling principle is not unique to the cubic activation: degrees 2, 4, and 5 can also approach softmax performance when properly scaled, whereas their unscaled forms consistently degrade. Note that the degree 1 polynomial is the same as an attention matrix with no activation.

We selected x3x^3 for the main experiments because it is the lowest-degree nonlinear odd polynomial. It permits both positive and negative attention values, does not normalize rows, and remains easier to optimize than higher odd powers. Even powers such as x2x^2 and x4x^4 remain non-negative and therefore do not test the necessity of positivity. Higher degrees were also less robust because values and derivatives near zero become very small. We will include a small summary of Tab. 6 into the main text and correct our statement that other degrees greater than 3 did not perform well.

There is no comparison to other non-softmax activations under the same training budget..

For the reviewer we compared the cubic activation (both fixed scale and learned scale) with ReLU, the scaled ReLU from [31], the Taylor polynomial from [4] and the periodic activation from [29] on image classification for the ViTs from Tab. 2. We ran 5 trials and plot the mean test accuracy with standard deviations in brackets. The table below shows the results. Each of these new activations do not obtain a performance comparable to softmax unlike the cubic activation with our scaling.

ViT-B DeiT-B Swin-B XCiT-M
softmax 80.3 (±\pm 0.31) 81.8 (±\pm 0.26) 83.5 (±\pm 0.25) 84.2 (±\pm 0.32)
x3x^3 + fixed scale 80.3 (±\pm 0.29) 81.9 (±\pm 0.26) 83.6 (±\pm 0.22) 84.6 (±\pm 0.34)
x3x^3 + learned scale 80.6 (±\pm 0.31) 82.1 (±\pm 0.24) 83.6 (±\pm 0.22) 84.8 (±\pm 0.32)
ReLU\mathrm{ReLU} 79.1 (±\pm 0.31) 80.2 (±\pm 0.25) 81.1 (±\pm 0.26) 82.4 (±\pm 0.30)
Scaled ReLU\mathrm{ReLU} [31] 79.6 (±\pm 0.33) 81.1 (±\pm 0.24) 82.4 (±\pm 0.25) 83.3 (±\pm 0.31)
Taylor polynomial [4] 79.3 (±\pm 0.31) 80.9 (±\pm 0.25) 82.5 (±\pm 0.26) 83.6 (±\pm 0.32)
Periodic activation [29] 79.1 (±\pm 0.32) 80.3 (±\pm 0.23) 82.0 (±\pm 0.28) 82.7 (±\pm 0.31)

There are no large-scale pretraining or long-context experiments.

In Tab. 4 we show perplexity results of training a large scale 303 million and 1.3 billion parameter GPT-2 models. Our cubic activation with scaling obtains a better perplexity than the baseline softmax. For the reviewer we have run the 303 million parameter GPT-2 model with context length ranging from 32k, 64k, 128k, 256k and 512k on the WikiText dataset. The table below shows the perplexity as the context length increases, where for the cubic activations we use the theoretical scaling from sec. 4 of the paper. The cubic activation by itself could not be trained and kept giving nan at some point during training showing how important the scaling is.

Method 32k 64k 128k 256k 512k
softmax 20.1 19.3 18.8 18.6 18.5
x3x^3 fixed scale 18.4 17.6 17.0 16.9 16.7
x3x^3 learned scale 18.0 17.2 16.9 16.7 16.6

Learnable scaling adds extra parameters..

The learnable scaling adds very little parameter overhead. The learned scaling is one scalar parameter for each attention head in each layer. For the ViT experiments in sec. 6.1 and 6.2 the parameter overhead from using a learned scale was at most 192 parameters and for the language experiments it was at most 384 parameters. The baseline transformers in sec. 6.1, 6.2 and 6.3 had more than a million parameters making the parameter overhead negligible. We can add a statement at the start of sec. 6 clearly clarifying this.

If scaling deliberately deviates from theoretical rule, do norms/performance degrade together in a controlled comparison

Yes. Fig. 1 provides a controlled scale sweep: with the architecture, data, and training recipe fixed, performance degrades when the divisor kk in x3/kx^3/k is too small or too large, and the high-performance region shifts with NN as predicted by k=O(N)k=O(\sqrt{N}). At N=256N=256, the unscaled variant has much larger attention and Jacobian norms and achieves 45.3%45.3\%, whereas k=N=16k=\sqrt{N}=16 restores the norms to the softmax regime and achieves 50.5%50.5\%, compared with 50.26%50.26\% for softmax.

Do learned scaling parameters converge near the values predicted by theory?

Yes the learned scaling parameters converge close to the values predicted by the theory. We will include the final values the learned scaling converged to for each experiment in the appendix. The table below shows the converged values for ViT exps from Sec. 6.1. In that case the sequence length was 196, the theory predicted scaling we used was 1/196=1/141/\sqrt{196} = 1/14. Our experiments were setup so that we learned the denominator of the scale when it is initialized at 14 so that our scale was of the form 1/θ1/\theta where we initialize θ\theta at 14. The table below shows the learned denominator θ\theta at convergence. In each case we see we obtain a converged value close to the theory predicted 14.

ViT-B DeiT-B Swin-B XCiT-M
Converged θ\theta value 14.8 14.6 15.4 15.1
Reviewer 7Da1 · CommentOpenReview ↗

Thank you for the careful rebuttal and the additional experiments. They largely address my main concerns.

I appreciate the clarification that the intended claim is sufficiency of Frobenius-norm / length-dependent scaling rather than a complete causal account of softmax, and the commitment to soften “key mechanism” wording accordingly. The scale-sweep evidence (Fig. 1 / N=256 intervention) is more convincing when framed as a controlled intervention than as post-hoc norm–accuracy correlation. Reporting standard deviations (and CI half-widths) for Tab. 2, pointing to the polynomial-order sweep in Appendix Table 6, and adding same-budget comparisons to ReLU / scaled ReLU / Taylor / periodic activations are all helpful. The long-context GPT-2 runs (32k–512k) and the converged learned-scale values near the theoretically predicted denominator further strengthen the link between theory and practice.

A few revision items remain: (i) make the polynomial-order results and the non-softmax baseline table more visible in the main paper; (ii) present a unified norms+accuracy view of the scale sweep in the appendix as promised; (iii) keep gains framed as “competitive with softmax under mismatched probabilistic constraints,” not as large SOTA improvements—especially where softmax vs. scaled-cubic gaps are within a fraction of a point. None of these change my overall positive assessment.

I maintain my rating.

Authors · CommentOpenReview ↗

Thank you very much for your comment. We will certainly make sure we make the polynomial order and non-softmax baselines more visible in the main paper, present a unified norms + accuracy view of the scale sweep in the appendix and clearly state that gains are competitive.

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

Missing a submission?

Loading the discussion…