potentialpaper

Understanding axial attention in TSFMs through single location regression

Andrei-Tiberiu Pantea, Aymeric Dieuleveut

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. A simplified axial attention surrogate is Bayes optimal and learnable via gradient descent in the context of single location regression; crucially, its inner non-linearity is essential.

Abstract. Recent advances in Time Series Foundation Models (TSFMs) increasingly rely on axial attention mechanisms, but despite their empirical success, the theoretical properties of axial attention remain largely unexplored. To bridge this gap, we extend the Single Location Regression framework introduced in Marion et al. [2025] to 2D structured data, in order to study sparse information settings where a target depends on a small number of tokens. We formulate an analytically tractable axial attention-type predictor and rigorously analyze its statistical properties and training dynamics. We prove that under a specific asymptotic regime and with knowledge of the underlying oracle parameters, our predictor achieves Bayes optimality, whereas a class of semi-linear simplifications strictly fails to do so, underlining the role of the inner non-linearity. We prove that for a specific temperature scaling, Projected Gradient Descent converges globally to the optimal oracle parameters. Extensive numerical experiments validate our theoretical findings and highlight the critical role of inverse temperature scheduling in empirical convergence.

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 reviewers are overall positive about the paper and find its theoretical contribution meaningful. In particular, they appreciate that the work provides one rigorous analyse of axial attention through a tractable theoretical framework, combining statistical optimality and optimization analysis while offering insight into the role of nonlinear row-wise aggregation (EzFL, DHXh). The extension of the SLR framework to 2D token grids and the characterization of temperature-dependent optimization dynamics are also viewed as novel and technically solid (DHXh).

In the rebuttal, the authors response the reviewers' concerns. After the rebuttal, the reviewers still maintained their positive ratings.

Overall, the paper is considered technically sound, with meaningful theoretical insights that outweigh its limited practical scope, and I recommend acceptance.

Final justification

In the rebuttal, the authors response the reviewers' concerns. After the rebuttal, the reviewers still maintained their positive ratings.

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

The reviewers are overall positive about the paper and find its theoretical contribution meaningful. In particular, they appreciate that the work provides one rigorous analyse of axial attention through a tractable theoretical framework, combining statistical optimality and optimization analysis while offering insight into the role of nonlinear row-wise aggregation (EzFL, DHXh). The extension of the SLR framework to 2D token grids and the characterization of temperature-dependent optimization dynamics are also viewed as novel and technically solid (DHXh).

In the rebuttal, the authors response the reviewers' concerns. After the rebuttal, the reviewers still maintained their positive ratings.

Overall, the paper is considered technically sound, with meaningful theoretical insights that outweigh its limited practical scope, and I recommend acceptance.

Final justification

In the rebuttal, the authors response the reviewers' concerns. After the rebuttal, the reviewers still maintained their positive ratings.

1 comment
Authors · CommentOpenReview ↗

We thank the area chair for their assessment of the paper and the reviews. We have addressed the reviewers’ comments and explained in greater depth why our assumptions are needed to prove the results using the methods developed in the paper. We have also clarified the compatibility of the two inverse-temperature regimes: an asymptotic regime for statistical optimality and a small-temperature regime for the optimization analysis. In addition, we discussed possible extensions to multi-head attention. Finally, to address a question raised by several reviewers about the strength of the suboptimality result, we have provided a new general suboptimality result for the semi-linear predictor, which also applies to softmax attention. We included the key steps of the proof in the rebuttal and can share the details if needed. This is a minor addition that nevertheless strengthens the paper.

We thank the area chair again for their time and positive evaluation, and we remain available for further discussion.

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

This paper studies the theoretical properties of axial attention in Time Series Foundation Models through a two-dimensional extension of the Single Location Regression (SLR) framework. The input is an (M \times N) grid of tokens. Only one random location ((I0,J0)(I_0,J_0)) contains information relevant to the regression target: its mean is shifted along a localization direction (k⋆k^\star), and the target depends on its projection along (v⋆v^\star).

The authors introduce an analytically tractable axial-attention-type predictor. It first performs a row-wise nonlinear aggregation and then a column-wise nonlinear aggregation. This predictor is connected to axial attention under substantial architectural simplifications, including rank-1 projections, shared keys, identity value projection, REG tokens, and replacing softmax with an elementwise erf nonlinearity.

This work addresses the central challenge of understanding whether axial attention can recover sparse localized information despite its restricted information flow compared with global attention. The paper proves that the oracle predictor with parameters ((k⋆,v⋆)(k^\star,v^\star)) achieves asymptotic Bayes optimality under a specific inverse-temperature scaling. It also proves that a semi-linear simplification that removes the inner nonlinearity is strictly suboptimal at the oracle parameters. Finally, the paper studies Projected Riemannian Gradient Descent on the population risk and proves convergence to (±(k⋆,v⋆)\pm(k^\star,v^\star)) when initialized on a special invariant submanifold and when the inverse temperatures are sufficiently small. Numerical experiments support the theory and emphasize the importance of inverse-temperature scheduling.

Strengths and weaknesses

Strengths.

  1. The problem is theoretically meaningful.Axial attention is increasingly used in time-series foundation models and multidimensional transformers, but its statistical and optimization properties are not well understood. This paper targets a relevant theoretical gap. The 2D SLR formulation is well matched to axial attention.

  2. Global attention can route information between arbitrary tokens, while axial attention must route information sequentially along axes. The proposed SLR model exposes this structural difficulty: the first layer must identify the correct location within a row, and the second layer must identify the correct row/channel.

  3. The analysis of the inner nonlinearity is insightful. The strict suboptimality of the semi-linear predictor explains why the row-wise nonlinear selection mechanism is not merely an architectural detail. It is necessary for sparse information recovery in this model. The optimization analysis is nontrivial.

  4. The authors reduce the risk to alignment variables, identify an invariant manifold, derive a low-dimensional dynamical system, and classify the convergence behavior of PGD. This is a meaningful theoretical contribution beyond empirical observation.

Weaknesses.

1.The analyzed model is far from full axial attention in TSFMs. The main theory does not cover standard multi-head softmax axial attention with residual connections, layer normalization, FFNs, multi-layer composition, learned embeddings, or realistic value projections. The theoretical predictor is best viewed as an axial-attention-inspired model, not a full axial attention layer.

  1. The Bayes optimality result is an oracle expressivity result. Proposition 3 shows that the predictor can be Bayes optimal when evaluated at the true oracle parameters and under a specific asymptotic scaling. This demonstrates representational/statistical capacity, but it does not by itself show that training will recover the predictor in realistic settings.

  2. There is a tension between statistical optimality and optimization convergence. Statistical optimality requires inverse-temperature scalings such as (λrℓ→∞\lambda_r\ell \to \infty) and (λcℓ→∞\lambda_c\ell \to \infty), while the optimization theorem requires sufficiently small inverse temperatures for global convergence. The authors suggest that one may first recover the oracle parameters using one temperature regime and then plug them into a predictor with another temperature regime. However, this two-stage interpretation is not formalized as a theorem or algorithm.

  3. The PGD theorem relies on a strong invariant-manifold assumption. Theorem 5 assumes initialization on a submanifold (M\mathcal M) defined using the unknown oracle parameters (k⋆k^\star) and (v⋆v^\star). In practice, one cannot enforce these constraints. The penalized empirical risk experiments are useful, but they do not constitute a theoretical guarantee for generic random initialization.

Questions
  1. Can the authors more clearly separate what is proved for the simplified predictor and what is only suggested for real TSFMs? The claims of the paper should distinguish between: (i) rigorous results for the erf rank-1 simplified axial predictor; (ii) empirical evidence for the softmax simplified predictor; (iii) qualitative implications for full TSFM axial attention.

  2. Can the authors formalize the bridge between statistical optimality and optimization? The statistical result uses one temperature regime, while the optimization theorem requires small inverse temperatures. Can the authors state and test a clear two-stage procedure: train under an optimization-friendly temperature regime, then evaluate under a statistically optimal temperature regime?

  3. How restrictive is the invariant manifold assumption in Theorem 5? The manifold (M\mathcal M) depends on unknown oracle parameters. Can the authors prove convergence for the penalized population risk from generic random initialization, or at least show that the penalty drives iterates toward (M\mathcal M) under reasonable conditions?

  4. Can the softmax connection be strengthened? Since standard attention uses softmax, it would be important to know whether the oracle softmax predictor is also asymptotically optimal, whether the semi-linear softmax analogue is also suboptimal, and whether the same temperature phase transitions arise systematically.

Limitations

The paper already acknowledges several important limitations: fixed temporal/spatial dimensions, independent background tokens, a single informative token, rank-1 projections, shared keys, erf instead of softmax, and no extension to multiple-token regression. These are important and should remain prominent.

The following limitations should be further emphasized:

  1. The theory does not cover full TSFM axial attention. Multi-head softmax attention, residual connections, layer normalization, FFNs, learned embeddings, and deep composition are outside the theory.

  2. The optimization theorem is conditional. It applies to population risk, sphere-constrained PGD, initialization on an oracle-defined invariant manifold, and small inverse temperatures.

  3. Temperature scheduling remains heuristic. The experiments show that scheduling is crucial, but there is no general schedule-selection rule or convergence guarantee for practical schedules.

Formatting concerns

I have not fount any major issues in this pape.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their thorough evaluation of the paper and valuable comments. We further thank the reviewer for highlighting strengths of the paper.

Regarding the limitation (and W1 and W2), we agree with the existence of limitations. The simplifications introduced allowed us to conduct a thorough analytical analysis and treating a more complex architecture would probably require other tools. We will more extensively explain in the paper the limitations and the approximate extensions that our framework admits.

As this point was also raised by Reviewer evGB and AFyr, we will add a paragraph discussing specifically each limitation and to which extent the same behavior could be expected from more complex architectures. We thank the reviewers for raising that point.

In what follows, we answer the questions addressed by the reviewer. We answer to Q2 and W3 jointly, as well as W4 and Q3.

Q1: Can the authors more clearly separate what is proved for the simplified predictor and what is only suggested for real TSFMs? The claims of the paper should distinguish between: (i) rigorous results for the erf rank-1 simplified axial predictor; (ii) empirical evidence for the softmax simplified predictor; (iii) qualitative implications for full TSFM axial attention.

All the results provided in the paper hold for the erf rank-1 simplified predictor and experiments are conducted also for the softmax simplified predictor. Providing rigorous implications for full TSFM axial attention is difficult, however, due to the multiple layers or complexity it has, most notably residual connections and realistic projection matrices. Nevertheless, it can be argued that even though the information flow is restricted in axial attention layers, the analysis of this simplified predictor shows that there is still enough of it for sparse token identification.

We will more clearly state in the paper the stream of implications that the theory and the numerical experiments suggest.

Q2/W3: Can the authors formalize the bridge between statistical optimality and optimization? The statistical result uses one temperature regime, while the optimization theorem requires small inverse temperatures. Can the authors state and test a clear two-stage procedure: train under an optimization-friendly temperature regime, then evaluate under a statistically optimal temperature regime?

This is a good point, and the reviewer perfectly understood the two stage process: we indeed use different temperatures for training (for optimization) and at inference (for statistical optimality). This is similar to how sampling in LLMs can be performed with different temperatures at inference time, regardless of the training paradigm.

The testing is precisely done under this framework, the empirical risk in the plots (most-left plot in Fig. 3 and Fig. 5 in the main paper) is computed using a fixed inverse temperature that approximately follows the asymptotic regime required for optimality. While this is stated in the captions of the figures, we agree that this should also be formalized in the body of the paper and we will do so.

Since multiple reviewers have underlined the lack of clarity regarding the two-stage procedure suggested in the paper, we will make it more explicit in the camera-ready version of the paper. We thank the reviewer for raising that question.

Q3/W4: How restrictive is the invariant manifold assumption in Theorem 5? The manifold ($M$) depends on unknown oracle parameters. Can the authors prove convergence for the penalized population risk from generic random initialization, or at least show that the penalty drives iterates toward ($M$) under reasonable conditions?

We have introduced the manifold MM in order to obtain a formula for the risk that can be manipulated as much as required by the proofs. We were not able, to the best of our abilities, to provide guarantees for random initializations away from MM. Moving away from MM, would transform the problem into a 5-dimensional system, greatly increasing the complexity of the optimization process. Since the unpenalized objective is part of the penalized objective, the same challenges are posed even with the penalty.

However, across all experiments we conducted, introducing a penalty efficiently steers the optimization towards the manifold MM. Those penalties do not require any oracle knowledge. They also suggest that optimization with penalties behaves similarly to optimization on the manifold. Moreover, the distance to manifold plots (middle right in Figures 5) show that the convergence happens rapidly.

Q4: Can the softmax connection be strengthened? Since standard attention uses softmax, it would be important to know whether the oracle softmax predictor is also asymptotically optimal, whether the semi-linear softmax analogue is also suboptimal, and whether the same temperature phase transitions arise systematically.

Proving asymptotic optimality for the softmax predictor using the methods presented in the paper would be unfeasible due to the high coupling between all the tokens introduced by it. Qualitatively, however, in the asymptotic cases that we are treating in the paper in which the signal token is strongly differentiated from the rest of the tokens, which is what guarantees statistical optimality, softmax can be approximated by the component-wise erf function.

Regarding the suboptimality of the semi-linear predictor, this can indeed be proven for the softmax variant also. In the paper, we have provided a proof focused on the computation of the theoretical risk in the appendix that holds for parameters on the manifold MM. However, we have found a much simpler proof of an even more general statement, namely: denote by Si=∑j=1NβjXijTS_i = \sum_{j=1}^N \beta_j X_{i j}^T. Any L2L^2 function f(S1,S2,…,SN)f(S_1, S_2, \dots, S_N) is a suboptimal estimator of YY. One indeed has E[(Y−f(S1,…,SN))2]≥E[Var(Y∣S1,…,SN)]≥E[Var(Y∣S1,…,SN,I0,J0)]\mathbb{E}[(Y - f(S_1, \dots, S_N))^2] \geq \mathbb{E}[\text{Var} (Y | S_1, \dots, S_N)] \geq \mathbb{E}[\text{Var}(Y | S_1, \dots, S_N, I_0, J_0)], the last of which can be analytically computed since SiS_i and YY are all Gaussian random variables. The same bound as in the already provided results is obtained.

This was to be expected, since there is a loss of information in the transition from (Xij)i,j(X_{i j})_{i,j} to (S1,…,SN)(S_1, \dots, S_N).

We thank the reviewer for raising that question, that will contribute to strengthen the paper. We will modify the paper to include this proof and the more general result and we are more than happy to provide the proof upon request in a response below.


We thank the reviewer again for their comment and remain available to answer any follow-up questions.

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

This paper analyzes axial attention in time series foundation models (TSFMs) through a synthetic task with a single key token, showing that under strong simplifying assumptions, the row-then-column attention mechanism can locate sparse signals and achieve near-optimal prediction.

Strengths and weaknesses

Strengths: -The paper identifies a theoretically meaningful problem: axial attention imposes stricter constraints on information flow than global attention, so whether it can locate sparse signals is non-obvious. It answers a genuine question.

-Beyond expressivity, it also analyzes optimization dynamics,more valuable than simply proving that some parameter configuration can fit the data, since it asks whether training can actually find those parameters.

-Another good point is the explanation of why nonlinear selection in the first-stage row-wise attention matters: linear averaging would dilute the key token with noise, making precise localization impossible.

Weaknesses:

-The data assumptions are idealized. Background tokens are independent Gaussian with a single informative token, whereas real multivariate time series typically exhibit temporal autocorrelation, cross-channel correlations, multiple anomalies, and dense weak signals.

-Optimization guarantees are limited. PGD convergence is proved on a special submanifold that requires oracle parameters to initialize, which is infeasible in practice. The penalty-based approximation is supported mainly by numerical evidence.

Questions

-The current SLR setting considers only a single informative token against an independent Gaussian background. Could the authors discuss whether the conclusions hold under temporal or cross-channel correlations, or with multiple informative tokens?

-The paper emphasizes that the inverse temperature schedule is critical. Could the authors provide practical heuristics for choosing the schedule, or demonstrate its robustness across different values of M, N, d, and etc?

Limitations

The authors mention several simplifications, single informative token, independent background tokens, fixed dimensions, rank-1 projection, shared keys, and erf instead of softmax, but these limitations would benefit from being listed explicitly and discussed more directly.

In particular, the gap between the simplified model and real TSFM axial attention deserves clearer treatment: softmax, multi-head or full-rank projections, residual connections, normalization, and temporal or cross-channel dependencies in real time series are all left unaddressed.

Final justification

update the contribution type

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their assessment of the paper and valuable comments. We further thank the reviewer for highlighting strengths of the paper and we acknowledge and agree with the limitations underlined.

Regarding the limitation, the simplifications introduced allowed us to conduct a thorough analytical analysis and treating a more complex architecture would probably require other tools. We will more extensively explain in the paper the limitations and the approximate extensions that our framework admits.

As this point was also raised by Reviewer AFyr (see our comment on their W4) and EzFL (W1), we will add a paragraph discussing specifically each limitation and to which extent the same behavior could be expected from more complex architectures. We thank the reviewers for raising that point.

In what follows, we answer to the questions and weaknesses raised by the reviewer. We first treat Q1 and W1 jointly.

Q1/W1: On conclusions under temporal or cross-channel correlations, or with multiple informative tokens, etc.

This is a good question: the case of multiple informative tokens can be treated using our simplifications together with multi-head axial attention layers, where each head should identify a corresponding type of informative token. The statistical optimality for oracle parameters will still hold, however the optimization process is not straightforward. The uniqueness of a minimizer, even up to permutations, is also not obvious. For those reasons, we believe a complete treatment of the multi-head/multi-token case is beyond the scope of this work.

Regarding temporal and cross-channel correlations, we have indeed identified the importance of treating correlated tokens in the conclusion, since time series variables usually exhibit time-correlated and cross-channel correlated behaviours. The proofs of the results in our paper unfortunately don't directly work in this case but this is an important research perspective that would probably require different tools. Moreover, such problems would most likely demand the introduction of positional embeddings, which would be another welcome extension.

However, the setting in which we have imagined the problem is dealing with tokens in the last layer of a larger transformer, tokens that would have relevant information already preprocessed. In that sense, a correlated anomaly between multiple signals could be localized in the token corresponding to the patch in which the anomaly happened.

Q2: The paper emphasizes that the inverse temperature schedule is critical. Could the authors provide practical heuristics for choosing the schedule, or demonstrate its robustness across different values of M, N, d, and etc?

Theoretically, for small enough inverse temperatures, the space of alignment values [−1,1]2[-1, 1]^2 for (κ,ν)(\kappa,\nu) can be split into 3 regions:

  • two neighbourhoods around (−1,−1)(-1, -1) and, respectively, (1,1)(1, 1), in which one has exponential convergence;
  • a neighbourhood of (0,0)(0, 0) inside of which the unstable eigenvalue of the Jacobian drives the exponential escape time;
  • the rest of the transition space.

However, the magnitude of the gradients around 0 scales with the magnitude of the inverse temperatures, thus requiring the warm-up period in the schedule during which, the trajectory should escape the problematic neighbourhood of (0,0).

The practical heuristic that one could derive from this and from the experiments in the appendix would be to use a "reasonable" warm-up inverse temperature and then decrease it. There is no need for a specific schedule, a simple switch between two inverse temperatures should ensure convergence.

This heuristic holds across all values of MM, NN, dd etc., as shown in Appendix E.4 and Appendix E.5, but the interplay between the learning rate, inverse temperatures, and the randomness in Stochastic PGD renders a universal guideline hard to obtain.

We have provided in the appendix further numerical approximations of the gradients in different settings, with varying NN, ℓ\ell and inverse temperatures, which confirm the theory.

W2: On limited optimization guarantees. We overall agree that this is a limitation. We refer to the more detailed answer to Q1 of Reviewer DHXh. Across all experiments we conducted, using our regularization (that does not necessitate any oracle knowledge) enabled us to approach the unknown manifold, which is a first step, although a full theoretical analysis would be of interest. Moreover, the distance to manifold plots (middle right in Figures 5) show that the convergence happens rapidly.


We thank the reviewer again for their comment and remain available to answer any follow-up questions.

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

Summary

The paper studies axial attention for time-series foundation models through a theory lens. It extends the Single Location Regression setup of Marion et al. (2025) from 1D sequences to 2D token grids. Using a tractable predictor with erf in place of softmax, it proves that the oracle predictor is Bayes optimal in an asymptotic regime, shows that removing the inner non-linearity makes it suboptimal, and proves that projected gradient descent converges to the oracle parameters when the temperature is small enough.

Strengths and weaknesses

Strengths

  • The paper pairs a statistical optimality result with an optimization-convergence result, which is the right combination for this kind of theory.
  • The reduction of the axial predictor to a small set of scalar quantities makes the training dynamics analyzable.
  • The temperature threshold, below which gradient descent converges and above which it may not, is a genuine new effect compared to the 1D case.

Weaknesses

  • The "global convergence" claim is narrower than it sounds. The convergence theorem holds only on a manifold that is defined using the unknown oracle parameters, so in practice one cannot initialize there. The case of starting off this manifold is handled only by a heuristic penalty with no theorem, and the paper's own experiments show the unpenalized model can fail.
  • The two main results seem to need opposite temperature regimes. Bayes optimality needs the inverse temperature to grow, while the convergence theorem needs it below a threshold. So the paper does not give a single end-to-end guarantee for the setting actually used in the experiments.
  • The convergence threshold is only shown to exist. There is no explicit value and no convergence rate, so it is hard to know how small the temperature must be.
  • The gap to real axial attention is large. The analysis relies on rank-1 projections, shared row/column keys, erf instead of softmax, a single informative token, and no multi-head or residual connections. The paper is honest that shared keys are a strong constraint. All experiments are synthetic and very small (M = N = 5, d = 20), with no test on a real or trained model.
  • The claim that the inner non-linearity is necessary is broader than what is proved, since the suboptimality result is shown at the oracle parameters rather than for the whole model class.
Questions

Questions

  • Can the temperature threshold in the convergence theorem be given as an explicit value, together with a convergence rate?
  • Is there any guarantee for the penalized objective, or for random initialization away from the oracle manifold?
  • Does the suboptimality of the semi-linear model hold for the full parameter class, not only at the oracle parameters?
  • Does the analysis carry over from erf to softmax, at least approximately?
Limitations

yes

Final justification

The rebuttal was thorough and addressed my main concerns. The remaining limitations are natural boundaries of a theory paper and are honestly acknowledged. I keep my rating of 4 and lean toward acceptance.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their thorough review and genuinely valuable comments. We further thank the reviewer for highlighting strengths of the paper. We provide an answer to some of the points below. We treat W1 with Q2, W3 with Q1, W5 with Q3, and start by commenting on W2 and W4.

Weakness 2: On the need for opposite temperature regimes.

First, we agree on the fact that Bayes optimality needs the inverse temperature to grow and the convergence theorem needs it below a threshold.

However, we would like to underline that the two results are independent of each other. Once the oracle parameters have been found using a low enough inverse temperature, any inverse temperature can then be plugged into the predictor with the oracle parameters to obtain a Bayes optimal predictor at inference. This is similar to how sampling in LLMs can be performed with different temperatures at inference time, regardless of the training paradigm. However, this point was raised by multiple reviewers and we will make this two-stage framework more explicit in the camera-ready version of the paper.

Weakness 4: On the gap to real axial attention.

We first would like to acknowledge these limitations, and have tried our best to honestly highlight them in the paper. The simplifications introduced allowed us to conduct a thorough analytical analysis and treating a more complex architecture would probably require other tools.

We will add a paragraph discussing specifically each limitation and to which extent the same behavior could be expected from more complex architectures. E.g., experimental results are encouraging regarding the transition from erf to softmax; some statistical properties could extend to multiple informative tokens with multiple heads (see Q1 of Reviewer evGB), although an optimization result in that case is beyond the scope of our paper.

Regarding the experiments, we computed the gradient landscapes for various ℓ,N,λ\ell, N, \lambda, see Appendix E.4 and E.5, that show that loss landscapes should behave similarly to the setting used in the main paper.

In what follows, we answer the questions addressed by the reviewer.

Q1, W3: Can the temperature threshold in the convergence theorem be given as an explicit value, together with a convergence rate?

The proof for the convergence of PGD for low enough inverse temperatures is based on a Taylor expansion of the partial derivatives around λ=0\lambda = 0 (both inverse temperatures). Thus, we obtain that ∂κR)<(κ,±1)=Cλ3+O(λr4)\partial_\kappa \mathcal{R)}< (\kappa, \pm 1) = C \lambda ^3 + O(\lambda_r^4), where CC is given explicitly. The proof follows from the fact that one can bound uniformly O(λ4)O(\lambda^4) by C1λ4C_1 \lambda^4, for a constant C1C_1 that only depends on finite moments of bounded functions of standard Gaussian random variables.

Computing this constant, while possible, is very intricate, and we were not able to bound C1C_1 in a meaningful way: a straightforward expansion followed by an absolute-value majorization of each term only provided us with pessimistic bounds. For example, we have obtained a bound of around 10−610^{-6} for the inverse temperature λr\lambda_r, in the setting used in the main paper, which is far smaller than what we have seen empirically to guarantee positiveness of the partial derivative (around 10−210^{-2}).

Regarding the convergence rate, our proof of convergence is not global, but with probability 1. There is a submanifold of dimension 1 on which convergence is not achieved and the optimization ends up stuck in the saddle point. However, the space [−1,1]2[-1, 1]^2 of alignment values (κ,ν\kappa, \nu) can be split into 3 regions:

  • two neighbourhoods around (−1,−1)(-1, -1) and, respectively, (1,1)(1, 1), in which one has exponential convergence;
  • a neighbourhood of (0,0)(0, 0) inside of which the unstable eigenvalue of the Jacobian drives the exponential escape time;
  • the rest of the transition space.

Bounding the time spent in the transition space is not straightforward, though, as it would require deriving lower bounds on the gradient updates. Nonetheless, if one manages to find such bounds, a convergence rate proof with high probability (given by the distance of the initialization from the central stable manifold) could be achieved.

Q2, W1: Is there any guarantee for the penalized objective, or for random initialization away from the oracle manifold?

We have introduced the manifold MM in order to obtain a formula for the risk that can be manipulated as much as required by the proofs. We were not able, to the best of our abilities, to provide guarantees for random initializations away from MM. Moving away from MM, would transform the problem into a 5-dimensional system, greatly increasing the complexity of the optimization process. Since the unpenalized objective is part of the penalized objective, the same challenges are posed even with the penalty.

However, the numerical experiments in the paper indicate that introducing penalties can steer the optimization towards the manifold MM. Those penalties do not require any oracle knowledge. They also suggest that optimization with penalties behaves similarly to optimization on the manifold.

Q3, W5: Does the suboptimality of the semi-linear model hold for the full parameter class, not only at the oracle parameters?

This is an excellent point. In the paper, we have provided a proof focused on the computation of the theoretical risk, in the Appendix, that holds for parameters on the manifold MM. However, we have found a novel (and even simpler) proof of an even more general statement, that shows a systematic suboptimality result without the non-linearity. Namely, denote by Si=∑j=1NβjXijTS_i = \sum_{j=1}^N \beta_j X_{i j}^T. Any L2L^2 function f(S1,S2,…,SN)f(S_1, S_2, \dots, S_N) is a suboptimal estimator of YY. One indeed has E[(Y−f(S1,…,SN))2]≥E[Var(Y∣S1,…,SN)]≥E[Var(Y∣S1,…,SN,I0,J0)]\mathbb{E}[(Y - f(S_1, \dots, S_N))^2] \geq \mathbb{E}[\text{Var} (Y | S_1, \dots, S_N)] \geq \mathbb{E}[\text{Var}(Y | S_1, \dots, S_N, I_0, J_0)], the last of which can be analytically computed since SiS_i and YY are all Gaussian random variables. The same bound as in the already provided results is obtained.

This was to be expected, since there is a loss of information in the transition from (Xij)i,j(X_{i j})_{i,j} to (S1,…,SN)(S_1, \dots, S_N). We will modify the paper to include this proof and the more general result and we are more than happy to provide the proof upon request in a response below.

Q4: Does the analysis carry over from erf to softmax, at least approximately?

The dependence of the risk on the alignments carries over unbothered. The rest of the theoretical analysis does not, since the decoupling that erf introduces is what enables us to perform that analysis. However, qualitatively, in the asymptotic cases that we are treating in the paper, in which the signal token is strongly differentiated from the rest of the tokens, which is what guarantees statistical optimality, softmax can be approximated by the component-wise erf function.

Analysing the optimization process of the softmax variant would introduce a new level of complexity and is unfeasible using the tools presented in the paper, but experiments suggest that the behaviours are similar, that is, one can observe similar phase transitions in the loss during training, that are correlated with the alignment metrics.


We thank the reviewer again for their comment and remain available to answer any follow-up questions.

Reviewer DHXh · CommentOpenReview ↗

We thank the authors for their thorough and candid rebuttal, which addresses our main concerns. We lean toward acceptance with more confidence now, and we look forward to seeing the promised clarifications in the camera-ready version.

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

Missing a submission?

Loading the discussion…