Strengths
-
The mathematics is correct, complete, and honestly reported. I worked through
Appendices C, G, J, and M. Theorem 5.1 follows from the scaled-conjugate identity
ψ*_τ(k)=ψ*(τk) and the cancellation of the query-only term in the softmax normalization.
Theorem 6.1 is a clean application of the potential-construction argument: the column-sum
and row-sum conditions on the Jacobian come from the simplex constraint and translation
invariance, positive-definiteness on 1^⊥ comes from monotonicity, and the potential is
built by the line integral in Eq. 99 with ∇φ=g recovered through integration by parts. The
quadratic-form identity in Eq. 91 checks out. Theorem 7.1 is a correct
affine-aggregation argument (affine line, Cauchy functional equation, symmetry forcing the
exponent to 1) followed by a clean induction. Theorem 7.2 and Corollary M.4 are a correct
chain-rule computation, and the softmax Hessian Diag(a)-aa^T yields the stated covariance
form. All assumptions are stated; the checklist answer that the proofs are complete and
correct is accurate.
-
A clean and pedagogically valuable unifying perspective. Reading the three attention
stages as a single object governed by convex duality (score as a Bregman divergence,
normalization as the gradient of a convex potential, aggregation as a barycenter in the
dual space) is an elegant organizing idea. Equation 33 ("attention as a chain of three dual
maps") is a compact and memorable framing that connects attention to the Fenchel-Young,
Bregman-clustering, and information-geometry literatures.
-
Softmax, Tsallis/entmax, and sparsemax appear as instances of one construction.
Appendix F derives the Tsallis-entropy-regularized family from the same potential-based
optimization, recovering sparsemax and the threshold behavior, and presents it as a choice
of convex potential rather than a separate mechanism. This is a genuinely tidy way to see
the sparse-attention family.
-
Corollary M.4 is a concrete, measurable object. Expressing the local response of a
softmax head as an attention-weighted covariance between the keys and the transformed
values is the kind of result that could become an analysis tool: unlike the abstract
stability statements, it is computable on a real model.
-
Scoping is careful and the claims are calibrated. The experiments are explicitly framed
as illustrations that do not claim superiority of any potential, and the paper states plainly
that the synthetic boundary need not transfer to a trained Transformer. The related-mechanism
discussion (Appendix B) correctly notes that positional encoding, masking, grouped-query
attention, and MLP blocks sit outside or restrict, rather than change, the dual structure.
Weaknesses
W1. The contribution is a re-description whose downstream payoff is asserted, not
demonstrated (Significance, central). The paper reorganizes known attention variants into a
common convex-duality language, but it does not derive a new mechanism, predict a property of
a trained model, or improve any measured quantity. The only empirical content is two synthetic
single-query experiments that recover an already-known trade-off (sparse normalization helps
when the signal is localized and scores are reliable; dense helps when signal is spread or
scores are noisy). The stated benefit, that the framework turns attention design into "a
problem of choosing geometries," remains a claim: no potential outside the known softmax and
entmax families is shown to help a real task. As it stands the reader gains a vocabulary, not
a result or a tool that is exercised.
W2. Theorem 6.1's "necessity" is overframed, because assumption (iv) is close to the
conclusion. On a simply connected domain a C^1 vector field is a gradient if and only if its
Jacobian is symmetric (the integrability condition). Assumption (iv), symmetry of the
Jacobian, is therefore almost exactly the statement "g is a gradient," which is most of what
the theorem concludes. The remaining assumptions (translation invariance, simplex,
monotonicity) then shape the potential into the convex, flat-in-1 form. The Remark on
page 19 motivates (iv) as "operational consistency" and "order-independence of score
perturbations," but that is a restatement of equality of mixed partials, not an independently
compelling requirement one would demand of a normalization a priori. The honest reading is
that the theorem shows "a normalization whose Jacobian is symmetric, plus three shaping
conditions, is a convex-potential gradient," which is a weaker and more circular statement
than "softmax-type normalization is a structural necessity."
W3. The core identities are known from the Fenchel-Young / entmax line, and the novelty
relative to it is not delineated (Originality). Blondel, Martins, and Niculae (2020, cited
[26]) and Peters, Niculae, and Martins (2019, cited [28]) already establish that attention
normalization can be written as the argmax of ⟨a,s⟩ minus a convex regularizer, that is, as
the gradient of a convex conjugate. That is the same "score-to-weight equals gradient of a
convex potential" identity used here. The paper's addition is the axiomatic converse
(Theorem 6.1) and the assembly of all three stages, but the manuscript does not state
precisely what Theorem 6.1 proves that the regularized-argmax construction does not, so a
reader cannot easily locate the delta over prior work.
W4. Theorems 5.1 and 7.1 restate standard facts. Theorem 5.1 amounts to "a correction term
that vanishes with temperature drops out of the softmax," which is close to a definitional
observation. Theorem 7.1 is the Bregman-barycenter characterization (the minimizer of the
expected Bregman divergence is the dual-coordinate mean), classical since Banerjee, Guo, and
Wang (2005, cited [24]) and restated variationally in Eq. 173 of this paper. Both are correct
and fit the narrative, but neither is a new result; the genuinely new pieces are the unifying
assembly and Theorem 7.2.
W5. No contact with a real trained model, despite an obvious opportunity (Significance).
Every experiment uses synthetic single-query data (n=50 or 64, d=16 to 24). Corollary M.4
delivers an operator that is directly computable inside a trained Transformer, yet the paper
never measures it (for example, the rank or the covariance structure of C^i_π across heads and
layers, or whether real heads sit near a particular potential). One such measurement would
change the paper's status from a re-description to an instrument.
W6. Scope tension between Theorem 6.1 and the sparse instances, and some appendix padding
(Clarity, minor). Theorem 6.1 requires strictly positive weights g_i>0 and a smooth
(symmetric-Jacobian) map, which excludes exactly the sparsemax and entmax outputs that
Appendix F then presents as instances of the same framework (their weights are exactly zero on
part of the simplex, and the map is nonsmooth at the boundary). The relationship between the
smooth-interior characterization and the sparse boundary cases should be reconciled explicitly.
Separately, the two nearly identical synthetic experiments (Appendices I and L) and the
per-example potential derivations (Appendix K) inflate a 9-page contribution to 45 pages
without adding to the core argument.
1. Response to Question 1
Thank you for this careful question. We agree that it is important to distinguish the standard convex-duality facts used in the paper from the results established by the paper.
1.1 Standard Duality Relations and the New Results
Some individual duality relations mentioned in your question are standard. In particular, softmax as the gradient of log-sum-exp and the variational characterization of Bregman barycenters are established facts in convex analysis, and we do not claim them as new. Section 6 and Appendix J explicitly present them as standard results.
The paper addresses different questions. Theorem 5.1 considers scores induced by general convex potentials and proves that the query-dependent term cancels exactly under softmax at every temperature. It also identifies the remaining key-dependent correction and gives a condition for recovering standard inner-product softmax attention in the small-temperature limit.
Theorem 6.1 gives a converse characterization. Rather than assuming a potential or an entropy-regularized optimization problem, it imposes translation invariance, the simplex constraint, monotonicity, and Jacobian symmetry directly on a general score-to-weight map and proves that the map must be the gradient of a convex potential.
Theorem 7.1 considers a general rule for aggregating weighted values into a representative point. From consistency requirements on aggregation, it derives the weighted barycentric form in dual coordinates without assuming a Bregman objective.
Thus, the contribution is not a collection of known identities, but an analysis of the general potential-based score family together with converse characterizations of score normalization and value aggregation.
1.2 Implication of the Combined Formulation
The three stage-wise characterizations are brought together in Eq. (33), which gives the complete query-to-output map. In this composition, ψ governs query-key comparison, φ governs score normalization, and π governs value aggregation. Thus, the three stages are connected through a common potential-induced dual structure, while the three potentials control distinct parts of the attention computation.
Theorem~7.2 studies the local behavior of this composed map. With the keys and values fixed, it shows that all first-order output directions induced by query perturbations form the image of an explicit operator Cπi, whose rank gives the local output dimension in the value-side dual coordinates. Under softmax normalization and linear value aggregation, Corollary M.4 reduces Cπi to the key-value covariance under the current attention distribution. This local response characterization is a direct consequence of analyzing the three attention stages as a single composed map.
The explicit form of Cπi also makes the result empirically accessible. Since it is determined by the keys, values, and attention weights, its rank can be computed directly in a trained Transformer. We evaluated this quantity on pretrained GPT-2 small.
GPT-2 small has 12 layers and 12 heads per layer, with key and value dimensions of 64 for each head. We constructed 10 token sequences of length 128 from the WikiText-2 test split and performed forward computation with all model parameters fixed. For each input, layer, and head, we selected seven query positions with ni=2,4,8,16,32,64,128 visible tokens. For each value of ni, we evaluated 10×12×12=1,440 operators, giving 10,080 operators in total. We measured their numerical ranks using
torch.linalg.matrix_rank.Corollary M.3 gives
$ \operatorname{rank} C_\pi^i \leq \min(64,n_i-1). $
The results are shown below. Each row summarizes 1,440 operators.
For shorter visible contexts, the measured ranks are close to the upper bound in Corollary M.3. For longer contexts, however, the mean ranks fall substantially below the bound, even though more tokens are visible. This nontrivial gap shows that the effective local output dimension is not determined only by the number of tokens or the head dimension, but also by the learned keys, values, and input-dependent attention structure. The experiment therefore demonstrates that Cπi can be computed directly in a trained Transformer and provides a meaningful measure of the effective local output dimension of each attention head.
We will revise the discussion around Eq. (33) to clarify the distinct roles of ψ, φ, and π, as well as the connection between their composition and the local output analysis in Theorem 7.2.
1.3 Implications for Model Design
The framework gives guidance for model design by separating three choices: ψ determines how queries and keys are compared, φ determines how scores are converted into weights, and π determines how weighted values are aggregated. Attention variants can therefore be constructed and compared by identifying which stage and potential they modify.
Appendix D fixes ψ and varies τ, showing that τ changes score rankings and attention weights. Appendix I compares score-to-weight rules induced by different potentials through softmax and sparsemax, showing that softmax tends to be preferable when relevant information is distributed or scores are noisy, whereas sparsemax tends to be preferable when relevant information is localized and scores are reliable. Appendix L fixes the softmax weights and varies π, showing that aggregation geometry can change prediction behavior even under the same weights. These studies do not identify a single best choice, but show how the design choice at each stage can be evaluated for a given task.
2. Response to Question 2
There exist normalization maps other than softmax that satisfy all four conditions in Theorem 6.1. For example, let 0<λ<1, α>0, and α=1, and define
$ g(s)= \lambda\mathrm{softmax}(s) + (1-\lambda)\mathrm{softmax}(\alpha s). $
In general, this map is not equal to a single softmax map. If we define
\lambda\log\sum_j e^{s_j} + \frac{1-\lambda}{\alpha}\log\sum_j e^{\alpha s_j},$$ then $g(s)=\nabla\varphi(s)$. Both $\mathrm{softmax}(s)$ and $\mathrm{softmax}(\alpha s)$ satisfy conditions (i)–(iv), and these conditions are preserved under positive convex combinations. Hence, $g$ also satisfies all four conditions. This example is not intended as a specific architectural proposal; it shows that the four conditions do not characterize softmax uniquely. We agree that softmax is the standard choice in current Transformers, partly because it was adopted in the original Transformer architecture and subsequent models and implementations were developed around it. At the same time, its widespread use does not rule out considering other normalization maps that satisfy the same structural requirements. Softmax can, of course, be analyzed directly. Such an analysis, however, does not clearly separate conclusions that depend on its specific form from those that follow only from translation invariance, the simplex constraint, monotonicity, and Jacobian symmetry. It also does not show which conclusions remain valid when softmax is replaced by another normalization. The purpose of Theorem 6.1 is to characterize maps sharing these structures through the common representation $g=\nabla\varphi$. Their shared properties can then be studied through a general potential $\varphi$ and its Hessian $\nabla^2\varphi$, without analyzing each normalization separately. Theorem 7.2 gives a concrete consequence: without assuming the softmax formula, it characterizes the locally attainable output directions through an operator involving $\nabla^2\varphi$. For softmax, this operator reduces to the key-value covariance under the current attention distribution. Thus, the four conditions (i)-(iv) distinguish properties specific to softmax from those shared by a broader class of normalization maps and clarify which analytical results remain valid for alternative normalizations. ### **3. Response to Question 3** The reviewer’s interpretation captures one part of Theorem 5.1: sending $\tau$ to $0$ recovers standard attention. At the same time, $\tau$ controls the strength of the potential-dependent correction in the query-key score. It is introduced by scaling the potential as $\psi_\tau(q)=\psi(q/\tau)$. Under this scaling, the score in Eq. (18) becomes \$ \langle q^i,k^j\rangle - \psi(q^i/\tau) - \psi^*(\tau k^j). \$ For a fixed query, the term $-\psi(q^i/\tau)$ is common to all keys and therefore cancels exactly under softmax for every $\tau>0$. The effective score is \$ \langle q^i,k^j\rangle-\psi^*(\tau k^j). \$ Thus, finite values of $\tau$ retain a potential-dependent correction to the inner-product score. The limit $\tau\to0$ suppresses this correction: if $\psi^*(\tau k^j)$ converges to a constant independent of $j$, it also cancels under softmax. The resulting attention weights, and hence the attention output with fixed values and standard linear aggregation, converge to those of standard inner-product softmax attention. This limiting agreement is established analytically in Theorem 5.1, so its validity does not depend on empirical verification. The role of the numerical experiment is instead to illustrate how the attention weights change as $\tau$ varies. Appendix D shows how $\tau$ changes score rankings and attention weights, and how the resulting behavior approaches standard attention as $\tau$ decreases. We will revise the presentation to clarify the role of $\tau$ and distinguish the analytical convergence result from its numerical illustration.