Manuscript Offprint
arXiv:2610.40188Understanding axial attention in TSFMs through single location regression
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
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.
1 Introduction
Recent years have witnessed a surge in the development of Time Series Foundation Models (TSFMs) leveraging transformer architectures [Vaswani et al., 2017] (e.g., Chronos-2 [Ansari et al., 2025], Moirai 2.0 [Liu et al., 2025], TimesFM [Das et al., 2024], TabPFN-TS [Hoo et al., 2025], Toto [Cohen et al., 2025], PatchTST-FM [Wen et al., 2026]). However, applying standard global attention to high-dimensional multivariate time series presents a significant computational bottleneck. Standard attention treats inputs as a flattened 1D sequence, which scales quadratically with the total number of tokens and fails to explicitly leverage the natural 2D grid structure (time steps × channels) of multivariate data. To address this, axial attention introduced in Ho et al. [2019], and specifically for multivariate time series in Zhang and Yan [2023], has emerged as a powerful alternative already implemented in some of the state-of-the-art TSFMs, e.g., Chronos-2, TabPFN-TS and Toto, but also in task specific models such as CEReBrO [Dimofte et al., 2025], an EEG foundation model that utilizes alternating intra-channel temporal and inter-channel spatial attention and STAIT (Spatio-Temporal Alternating Iterative Transformer) [Cui et al., 2026] for remote sensing.
The axial-attention layer combines two token-mixing half-layers, as described in Figure 1. Formally, we consider our input time series as matrices of tokens , taking values in the embedding (or latent) space , where can be seen as the number of channels and as the number of time series patches. Generically, given as hyperparameters two real numbers , referred to as inverse temperatures, and an activation function , the standard axial self-attention layer is parametrized by weight matrices ,
Corresponding author: andrei-tiberiu.pantea@polytechnique.edu
40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure 1: Schematic view of an axial attention layer. Raw input tokens are first processed by a time-wise self-attention layer that isolates features along the rows. A subsequent channel-wise attention layer vertically blends these extracted features, effectively capturing global cross-channel and temporal context.
, and . The subscripts and represent row-wise and, respectively, column-wise operations. The mapping is defined as, for any :
where the initial row-wise computation is, for any :
where we use the notations for any positive integer , and . (resp. ) to denote the -th line (resp. -th column) of a matrix . Note that in (2) (and throughout the paper when applied to a matrix) the activation function is used row-wise. When is the softmax function, this structure is one of the building blocks used in Chronos-2, TabPFN-TS and Toto, stripped of residual connections and normalization layers. Note that the order in which the row attention and column attention are performed has no impact on the results in our paper; we choose row attention followed by column attention just for presentation purposes.
Although the empirical success of these axial architectures is evident across various domains, their theoretical properties remain largely unexplored. For example, in Berthelier et al. [2026], the authors have shown that pretrained Chronos-2 is not always capable of identifying simple relationships between targets and covariates in the token-wise sparse information setting. Our goal is to improve the theoretical understanding of axial attention by analyzing their ability to approximate and learn the optimal predictor in this setting. To this end, we build on the work of Marion et al. [2025], conducted in the context of classical transformers and motivated by natural language processing (NLP) tasks. In that paper, the authors introduced a new class of statistical models, namely Single Location Regression (SLR) models, through which they aimed to investigate the ability of standard attention layers to recover relevant information in a token-wise sparse information setting, where the target depends only on a relatively small number of tokens. They have provided theoretical guarantees for a modification of the standard transformer architecture, proving that one can recover optimal predictors for SLRs. This naturally raises a fundamental, yet unanswered, question: Can we achieve the same statistical and optimization performance with axial attention as we do with normal global attention? The answer is not obvious, since the information flow is much more restricted in an axial transformer, where each token only attends to tokens with which it shares an axis, as opposed to the free flow of information between any two tokens in a standard transformer.
Building upon the foundation established by Marion et al. [2025], we introduce a SLR model and extend the theoretical analysis of transformer architectures to axial attention mechanisms, as a method of assessing the theoretical capabilities of current state-of-the-art TSFMs. Our main contributions are structured as follows:
• In Section 2, we introduce an SLR statistical model for the token-wise sparse information setting adapted to 2D structured data (e.g., multivariate time series, tables). We then explain the connection between such a model and multivariate time series anomaly analysis, and finally, we introduce a trainable predictor and show that it corresponds to a slightly simplified axial attention layer.
• In Section 3, we analyze the performance of the predictor introduced and prove that there exists an asymptotic regime in which it is statistically optimal for the SLR model investigated, when using the oracle parameters. Furthermore, we show that removing the inner non-linearity in our predictor renders it suboptimal.
• In Section 4, we propose an optimization algorithm for our predictor and provide theoretical guarantees for its convergence, despite the non-convexity of the problem. We further conduct extensive numerical studies which reveal a complex optimization landscape that confirm our theoretical findings.
Our structure closely follows that of Marion et al. [2025], but our motivation (the study of TSFMs) and the technical challenges are, nevertheless, very different. Standard global attention benefits from symmetric token coupling, which facilitates the derivation of closed-form analytical solutions for the expected risk. By contrast, axial attention operates in a sequential manner. This decoupled architecture breaks the global symmetry and induces a cascading non-linear dependence between axes. As a result, the optimization landscape exhibits significant complexity, rendering standard closed-form approaches to statistical optimality and convergence of optimization methods intractable and necessitating novel analytical techniques.
Single location regression model. We focus on the following statistical model, where the output is assumed to be given by
(SLR)
where is independent noise and , are discrete random variables over and , respectively. No restriction on the distribution of is imposed unless otherwise specified. Conditionally on , for ,
where are independent for all .
The parameters of (SLR) are the shift magnitude , the localization and noise variances and , the unobserved projection vector and the localization vector , with both vectors taking values on the -dimensional unit sphere . The target variable depends exclusively on a single embedded token within the input matrix, positioned at random discrete coordinates . This active token is statistically identifiable because its expected value is shifted along the direction . Consequently, the primary mathematical challenge of this task stems from its dynamic sparsity.
Remark 1. Unlike in Marion et al. [2025], we consider to be decoupled from throughout our analysis, but note that for and , all tokens have the same expected norm, i.e. , making them indistinguishable just based on their magnitude.
Connection to multivariate time series anomaly analysis. The Single Location Regression (SLR) model detailed above provides a natural theoretical framework for multivariate time series anomaly analysis, particularly when operating on learned representation embeddings X. We consider system-wide anomalous events identifiable through correlated behaviors across multiple sensors, as pictured in Figure 2. We operate under the assumption that the embedding layer has already captured these correlated dynamics, localizing the signature of the system-wide anomaly into the embedding of a single primary driving sensor at a specific time step . By investigating whether axial attention, which restricts information flow, can successfully recover the true parameters and , we can theoretically assess its ability to isolate and leverage localized anomalies.
Furthermore, using axial attention layers instead of standard global attention is attractive also from a computational point of view. The global attention mechanism treats the input as a flattened 1D

Figure 2: Under normal operating conditions, the background embeddings behave as uninformative noise, or as a standard token, modeled by the standard normal distribution . When an anomaly occurs in one sensor, its specific signature is encoded into the token , characterized by a shifted mean and a localization variance . The regression target represents a downstream consequence or system-level anomaly score that depends strictly on identifying this specific embedded state via the projection vector . Our goal is to investigate whether we can recover this target through an axial attention layer.
sequence of length and this coupling requires operations per layer, while axial attention only requires (see Ho et al. [2019] for a derivation).
An analytically tractable simplification of axial attention for SLR. In what follows, we introduce a class of predictors that are direct simplifications of the axial attention layer. For an activation and inverse temperatures , let
for and learnable parameters . Note that we slightly overload the notation and use to denote the half step of both our predictor and of axial attention.
In the context of TSFMs, sequences are typically appended with designated [REG] tokens to act as readout tokens or attention sinks (see Ansari et al. [2025], for example). Assuming that the input X is appended with a th column of row-aggregation [REG_ROW] tokens and a column aggregation [REG_COL] token at position , we have the following lemma
Lemma 1. For , , , together with shared keys and , we have the following equivalence:
for some constants a and . The proof and further comments on the constraints are in Appendix A.
The main bottleneck in trying to analyze in (3) is the softmax operation that induces a global coupling between the tokens, which acts as a major roadblock to rigorous statistical analysis. To bypass this issue without losing the core behavioral properties of the network, we substitute softmax with the component-wise nonlinear function , following Marion et al. [2025]. This adjustment leads to the definition of the analytically tractable predictor that we investigate throughout the remainder of the paper,
3 Statistical analysis
Having established the predictor , we now turn to evaluating its statistical properties.
3.1 Asymptotic optimality of the oracle predictor
In this section, we follow the approach of Marion et al. [2025]: we first observe that our predictor only depends on the alignments between and , projecting the high-dimensional risk landscape down to five scalars, which is essential to the analysis of the training dynamics in Section 4. Second, under the assumption of orthogonality between and , we obtain a simplified formula for the risk. Finally, using this formula, we find an asymptotic regime in which our predictor is optimal. Although we follow the same structure and maintain similar notation as Marion et al. [2025], in order to optimize readability, the sequential nature of axial attention makes the results and the proofs more complicated as we lack a closed form formula for the risk. Detailed proofs for all theoretical claims in this section can be found in Appendix B.
We quantify the model's performance via its risk:
Furthermore, we make the following assumption throughout the rest of the paper.
Assumption 1. The vectors are orthogonal to each other i.e. .
Note that enforcing orthogonality between and is a mild requirement in high-dimensional embedding spaces, commonly found in TSFMs. The following lemma establishes a reduced representation of the risk of our axial estimator based on the alignments between and .
Lemma 2. There exists a function such that for any ,
where , , , and . An expression for is given in Appendix B.
Next, the Bayes risk for the regression task in (SLR) is bounded below by the variance of the noise . Building on Lemma 2, Proposition 3 demonstrates that our oracle estimator recovers this theoretical lower bound under a specific asymptotic regime.
Proposition 3. Assume a joint asymptotic scaling where , and . Then,
Consequently, the oracle axial predictor achieves asymptotic Bayes optimality.
Note that Proposition 3 does not impose any scaling on , which is expected given Lemma 2. We provide a non-rigorous intuition for the imposed scalings. First, we wish to pass through the first layer asymptotically unaltered, that is,
Therefore, we need to ensure that the argument of the first erf goes to and to ensure that the others go to 0. In an analogous manner, we wish to pass unaltered through the second layer, which leads to . Lastly, in the expansion of , there appear noise terms of the form , with , one for each with . Multiple scalings could make the sum of these terms go to 0, one of them being , as shown in the proof in Appendix B.
3.2 Removing the inner non-linearity is suboptimal
To fully appreciate the asymptotic optimality of our oracle predictor, it is instructive to compare it against semi-linear models, which replace the inner non-linearity with a fixed linear combination layer governed by . This justifies the necessity for the inner non-linearity in the axial attention layer in order to achieve asymptotic optimality. More precisely, consider the semi-linear predictor
Then we have the following sub-optimality statement.
Proposition 4. Let for . Denote by . Then, for any function in , the semi-linear predictor achieves a risk strictly larger than for any choice of and hyperparameters i.e.
if there is no with . We provide a proof of this statement in Appendix B.2.
Remark 2. Discarding the outer non-linearity leads to a less restrictive information flow compared to our predictor, and it amounts to a simplification of the standard attention mechanism. Indeed,
is a modification of the trainable predictor proposed in Marion et al. [2025], which is asymptotically optimal for , under the joint scaling and .
4 Gradient descent dynamics
The last section of our analysis is concerned with the theoretical training dynamics of our predictor (4) for the risk . While in practice training minimizes an empirical risk evaluated over a finite dataset, we limit our investigation of the empirical risk minimization to numerical simulations, which confirm our findings about the theoretical risk.
4.1 Convergence of gradient descent
Lemma 2 shows that on the manifold the risk can be described through 5 alignment metrics. We want to use this fact and formula since it renders the analysis tractable after further constraints. Therefore, it is natural to employ Projected Riemannian Gradient Descent (PGD) as an optimization algorithm for two main reasons: it keeps the parameters on the manifold and it guarantees that the Euclidean projection back onto the sphere remains well-defined by preventing the parameters from reaching the origin. We emphasize that this geometric constraint is necessary because our reduced risk formulation (6) is strictly valid only on this manifold.
Algorithm 1 Projected Riemannian Gradient Descent
Input: Initialization , step size , inverse temperatures sequence
1: for do
2:
3:
4: end for
Analyzing the dynamics of the resulting 5-dimensional system is intractable due to the highly complex nature of . To enable a rigorous analysis, we restrict our focus to scenarios in which the parameters are initialized on the submanifold defined by
Under Assumption 1, the true underlying parameters naturally reside within M and, crucially, the training parameters remain on the submanifold throughout the optimization process if they are initialized on it, from Lemma 6 in Appendix C. Due to this invariance, we only need to characterize the dynamics of the system restricted to M when initialized on this manifold. Although in practice this cannot be enforced, we show empirically in Section 4.2 that penalizing a proxy for the distance to the manifold leads to similar dynamics. This lower-dimensional analysis is mathematically tractable and leads to the primary optimization result of this paper, which guarantees asymptotic recovery of the oracle parameters.
Theorem 5. Consider . Then, there exists and such that for constant inverse temperatures and , for any step size and for a generic initialization ,
The convergence to is not a problem, as by symmetry around 0, .
Remark 3. Although some assumptions made throughout the paper are identical to the ones in Marion et al. [2025], our main result Theorem 5 is qualitatively different from theirs. In their simplified standard (single-axis) attention layer case, convergence is always reached, regardless of the inverse temperatures. On the contrary, here, as shown analytically in the proof of Theorem 5 and numerically in Section 4.2 and Appendix E.4, the values of the inverse temperatures greatly impact the optimization landscape and convergence is not attainable in general. In particular, global convergence is only achieved below a specific threshold .
Remark 4 (Training and inference temperatures). The inverse temperatures used during optimization and inference serve different purposes and are therefore allowed to differ. During training, we use inverse temperatures ( , ) satisfying the conditions of Theorem 5. In particular, they are sufficiently small and satisfy , which guarantees recovery of up to their joint sign for generic initializations on . After training, the recovered parameters are frozen and the inverse temperatures are reset to inference values ( , ) satisfying the scaling conditions of Proposition 3. The resulting predictor is then asymptotically Bayes optimal.
Thus, the two results provide a sequential two-stage guarantee: parameter recovery is performed in an optimization-friendly temperature regime, followed by prediction in a statistically optimal inference regime. This separation is also used in our experiments, where the evaluation risk is computed using fixed inverse temperatures independently of the schedule used for optimization.
4.2 Understanding the dynamics - numerical experiments
In practice, one cannot use the theoretical risk for optimization using PGD, since there is no closed form formula for it. Furthermore, one also does not have knowledge of what values for and are small enough. In our experiments, we bypass these issues by using batch stochastic PGD for the optimization process and implementing a decreasing schedule for the inverse temperatures.

Figure 3: Dynamics of stochastic PGD to the oracle parameters over 20 independent runs. The solid curve represents the empirical median across the runs and the bands represent the 0.05-0.95 and, respectively, the 0.25-0.75 quantile intervals (although not always visible). Left: The empirical risk obtained by our predictor on the training batches of data using both the training parameters , and the oracle parameters , . For computing the oracle and model losses we use the initial inverse temperatures. Middle-left: The alignment between the training and oracle parameters , . Middle-right: The distance from the manifold of the training parameters . Right: The schedule used for . The hyperparameters of the experiment are , , , and .
Figure 3 presents numerical results of the optimization obtained for initializations on the manifold using stochastic PGD. We perfectly recover the oracle parameters, up to numerical error, and there is no departure from the manifold, again, up to numerical error and noise, as was predicted by theory.
We emphasize the fact that the schedule for the inverse temperatures is crucial for the dynamics. To understand this, in Figure 4 we run an experiment in which we train 4 predictors using different schedulers: 20k warm-up steps with , followed by different values of constant inverse temperatures . The leftmost plots show two different behaviors for and : converges fast, usually before the warm up period ends, while the convergence of is highly dependent on the value of . The heat maps present the respective partial derivatives of for the different values of . They show that for small enough, minus the gradient always points towards the global minima when far from the origin. For large values of , the dynamics push away from the origin much faster, but the gradients vanish and have the wrong sign close to the boundaries . As a consequence, we see that for those values, does not converge to one, while it does for . The warm start is needed, as for small , the dynamics would remain stuck around the axis where the values of the partial derivatives are extremely small, as visible on the plot.

(a) Alignment and the partial derivative .

(b) Alignment and the partial derivative .
Figure 4: Leftmost: Alignment dynamics during the training of our predictor with an inverse temperature warm-up period of 20k steps using , followed by constant for . We plot the median across 20 runs for each value of . The dashed vertical line represents the warm up period. Center-left to right: The numerically computed gradients of for , and . The gradient, given by (32), is approximated using the Monte Carlo method with a sample size of 10,000.
One last and very important problem remains: in practice we cannot enforce the initialization to be on the manifold , since that would require knowing the oracle parameters and . We can ensure that at initialization and penalize their inner product throughout the training. Furthermore, a noisy proxy for is . Therefore, in the case of initialization outside the manifold, we impose at initialization and optimize for the penalized risk
where are fixed penalization coefficients. A similar use of regularization to encourage the orthogonality conditions defining an invariant manifold is explored by Maulen Soto et al. [2025] for attention-based clustering, using a different penalty to handle initializations outside the manifold.
Indeed, Figure 5 presents the results obtained when optimizing for this penalized empirical risk from a generic random initialization on . The top row (Figure 5a) displays the training dynamics for our trainable predictor (4), employing the erf non-linearity. We observe that the penalty terms effectively guide the parameters towards the invariant manifold throughout the training and the convergence is slower, even though we have used a higher initial inverse temperature. The lower row (Figure 5b) presents the identical experimental setup applied to the predictor (3) with . Although the training dynamics are not identical, both models converge on the manifold and there are phase transitions in the empirical loss curves for both models. In the case of the erf model, the phase transition appears to be correlated with reaching near-perfect alignment, while in the case of the softmax model, the phase transition presents itself when both and reach near-perfect alignment.
As we have shown in the present experiments, the inverse temperature schedule is of the utmost importance to the performance of the training procedure, and finding a suitable one that performs well across all initializations adds a layer of complexity to the optimization process. A more in-depth analysis of and further details related to the numerical experiments can be found in Appendix E.

(a) Training dynamics of the trainable predictor (4) (i.e. (3) with ).

(b) Training dynamics of the softmax predictor (3) with .
Figure 5: Convergence of stochastic PGD over 20 runs with random initializations on , optimizing for the penalized empirical risk (9). The solid curve represents the empirical median across the runs. The hyperparameters of the experiment are , , , , , . The inverse temperature schedules are , for the erf predictor and for the softmax predictor. For computing the oracle and model losses we use the initial inverse temperatures.
5 Conclusion and discussion
We presented a rigorous theoretical framework for understanding axial attention in TSFMs by extending the SLR model to 2D grids. We proved that an analytically tractable simplification of axial attention achieves asymptotic Bayes optimality for the oracle parameters, whereas semi-linear models in which the inner non-linearity is removed strictly fail to do so. Furthermore, we established that Projected Gradient Descent converges to these optimal parameters for small enough inverse temperatures. Extensive numerical experiments validate our theoretical findings and highlight the critical role of inverse temperature scheduling in converging to the global minima within the non-convex optimization landscape.
Our statistical framework assumes fixed temporal and spatial dimensions, independent background tokens, and a target that depends on a single localized token. Relaxing these assumptions provides several natural directions for future work. In particular, incorporating autoregressive temporal dynamics and dense cross-channel correlations would better reflect the structure of real multivariate time series, while allowing the dimensions or number of informative tokens to grow would broaden the range of sparse information settings covered by the model. These extensions would introduce additional dependencies into both the statistical model and the optimization landscape and would therefore require analytical tools beyond those used in the present work.
It is also necessary to explicitly reiterate the architectural constraints that make the analysis possible. Our results are heavily dependent on a rank-1 constraint applied to the query and key projection matrices, as well as the substitution of the standard softmax activation with the erf function and the shared-key constraint . The theoretical results in this paper apply to this simplified erf predictor, while our experiments with the corresponding softmax predictor provide encouraging evidence that similar optimization behavior persists beyond the activation function used in the analysis. Full TSFMs additionally contain realistic projection matrices, residual connections, normalization layers, and multiple axial-attention blocks; the implications of our results for these architectures are therefore qualitative. Nevertheless, our Single Location Regression model preserves the core structural challenge of identifying and exploiting a sparsely located informative token, making it highly relevant for the theoretical study of axial attention in TSFMs.
Finally, while our current focus is restricted to a single informative token, the same framework suggests a natural extension to multiple-token regression through multi-head attention. If the target depends on several informative locations, different heads could learn distinct localization directions and specialize in selecting different tokens, while their outputs could be combined to recover the target. Under suitable identifiability and separation assumptions, parts of the statistical analysis could then be applied head-wise, following an approach similar to the one developed here. The optimization problem would, however, become substantially richer: the heads would be trained jointly, their roles would be interchangeable, and several heads could compete for or collapse onto the same informative location. We leave this extension, together with the study of the corresponding statistical and optimization guarantees, for future work.
AI use statement. We have used generative AI tools to assist with writing and cleaning code, and with editing the manuscript. The authors reviewed all AI-assisted outputs and take responsibility for the final content of this work.
Acknowledgments. We thank Pierre Marion, whose insightful comments helped us improve the final version of this paper. The work of Andrei Tiberiu Pantea and Aymeric Dieuleveut is supported by French State aid managed by the Agence Nationale de la Recherche (ANR) under the France 2030 program ANR-23-IACL-0005 (Hi! PARIS).
References
Abdul Fatir Ansari, Oleksandr Shchur, Jaris Küken, Andreas Auer, Boran Han, Pedro Mercado, Syama Sundar Rangapuram, Huibin Shen, Lorenzo Stella, Xiyuan Zhang, Mononito Goswami, Shubham Kapoor, Danielle C. Maddix, Pablo Guerron, Tony Hu, Junming Yin, Nick Erickson, Prateek Mutalik Desai, Hao Wang, Huzefa Rangwala, George Karypis, Yuyang Wang, and Michael Bohlke-Schneider. Chronos-2: From univariate to universal forecasting. arXiv preprint arXiv:2510.15821, 2025.
Gaspard Berthelier, Mariia Baranova, Andrei-Tiberiu Pantea, Etienne Le Naour, Adrien Petralia, Tahar Nabil, and Themis Palpanas. Investigating simple target-covariate relationships for Chronos-2 and TabPFN-TS. In 1st ICLR Workshop on Time Series in the Age of Large Models, 2026.
Ben Cohen, Emaad Khwaja, Youssef Doubli, Salahidine Lemaachi, Chris Lettieri, Charles Masson, Hugo Miccinilli, Elise Ramé, Qiqi Ren, Afshin Rostamizadeh, Jean Ogier du Terrail, Anna-Monica Toon, Kan Wang, Stephan Xie, Zongzhe Xu, Viktoriya Zhukova, David Asker, Ameet Talwalkar, and Othmane Abou-Amal. This time is different: An observability perspective on time series foundation models, 2025.
Yukun Cui, Jiangshe Zhang, Haowen Bai, Zixiang Zhao, Lilun Deng, Shuang Xu, and Chunxia Zhang. STAIT: A spatio-temporal alternating iterative transformer for multi-temporal remote sensing image cloud removal. Remote Sensing, 18(4), 2026. ISSN 2072-4292. doi: 10.3390/rs18040596.
Abhimanyu Das, Weihao Kong, Rajat Sen, and Yichen Zhou. A decoder-only foundation model for time-series forecasting. In Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp, editors, Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 10148–10167. PMLR, 21–27 Jul 2024.
Alexandru Dimofte, Glenn Anta Bucagu, Thorir Mar Ingolfsson, Xiaying Wang, Andrea Cossettini, Luca Benini, and Yawei Li. Cerebro: Compact encoder for representations of brain oscillations using efficient alternating attention. arXiv preprint arXiv:2501.10885, 2025.
O Duranthon, Pierre Marion, Claire Boyer, Bruno Loureiro, and Lenka Zdeborová. Statistical advantage of softmax attention: Insights from single-location regression. In The Fourteenth International Conference on Learning Representations, 2026.
Jonathan Ho, Nal Kalchbrenner, Dirk Weissenborn, and Tim Salimans. Axial attention in multidimensional transformers. arXiv preprint arXiv:1912.12180, 2019.
Shi Bin Hoo, Samuel Müller, David Salinas, and Frank Hutter. From tables to time: Extending TabPFN-v2 to time series forecasting. arXiv preprint arXiv:2501.02945, 2025.
Chenghao Liu, Taha Aksu, Juncheng Liu, Xu Liu, Hanshu Yan, Quang Pham, Silvio Savarese, Doyen Sahoo, Caiming Xiong, and Junnan Li. Moirai 2.0: When less is more for time series forecasting. arXiv preprint arXiv:2511.11698, 2025.
Pierre Marion, Raphaël Berthier, Gérard Biau, and Claire Boyer. Attention layers provably solve single-location regression. In The Thirteenth International Conference on Learning Representations, 2025.
Rodrigo Maulen Soto, Pierre Marion, and Claire Boyer. Attention-based clustering. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen, editors, Advances in Neural Information Processing Systems, volume 38, Main Conference, pages 66455–66506. Curran Associates, Inc., 2025. doi: 10.52202/085713-2231.
Michael Shub. Global stability of dynamical systems. Springer Science & Business Media, 2013.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
Yunshi Wen, Wesley M Gifford, Chandra Reddy, Lam M Nguyen, Jayant Kalagnanam, and Anak Agung Julius. Revisiting the generic transformer: Deconstructing a strong baseline for time series foundation models. arXiv preprint arXiv:2602.06909, 2026.
A. Yu, D.C. Maddix, B. Han, X. Zhang, A.F. Ansari, O. Shchur, C. Faloutsos, A.G. Wilson, M.W. Mahoney, and Y. Wang. Understanding transformers for time series: Rank structure, flow-of-ranks, and compressibility. In International Conference on Learning Representations, 2026.
Yunhao Zhang and Junchi Yan. Crossformer: Transformer utilizing cross-dimension dependency for multivariate time series forecasting. In The Eleventh International Conference on Learning Representations, 2023.
A Proof of Lemma 1 and further discussion about architectural constraints
We recall the definition of the standard axial self-attention layer.
where the initial row-wise computation is:
In order to justify our simplified estimator (3), we explicitly map it to the mechanism of an actual axial attention block. As mentioned in the main paper, sequences are typically appended with designated [REG] tokens to act as either readout tokens or attention sinks in the context of TSFMs. Following this convention, we assume that the input's final column consists of specialized [REG_ROW] tokens. To collapse the 2D grid into a single regression scalar, we then incorporate an additional [REG_COL] token at the specific index , which acts as a global aggregator during the subsequent column-wise operation. We further assume the two [REG] tokens do not attend to themselves, which is a very light assumption, since a priori these tokens contain no information. Isolating the output for this specific token yields the following
if we assume that the projection is the identity matrix and encapsulate the query interaction as a vector . By applying an analogous definition for the column-wise query , the output of the final attention block becomes:
To perfectly align this with our theoretical model, we enforce rank-1 restrictions on the projections, setting . With these constraints in place, along with , , and shared keys , the full axial mechanism cleanly reduces to our formulated predictor:
Discussion. In this paragraph, we address the main architectural constraints and modifications imposed in our analysis.
• REG tokens. The addition of REG tokens is not a relevant modification, since any transformer layer whose output must be a single value, be it scalar of vector, will implement a global aggregation mechanism for the input tokens and will be trained for it. REG tokens remove the inductive biases that come with pooling methods or positional decoding and allow for a learned aggregation mechanism.
• Rank-1 restriction on projection matrices. This constraint is not at all harsh in the context of SLR, where there exists a single informative direction in the latent space, namely . Moreover, Yu et al. [2026] has shown that patch-based TSFMs admit low-rank approximations of the projection matrices.
• Shared keys. is indeed a strong constraint in practice. However, in the particular case of the studied SLR, there is a single special direction in the embedding space, , and, heuristically, token selection should be made according to this direction.
• Non-linearity. For the theoretical analysis, we have restricted the value of to erf, maintaining the same convention as in Marion et al. [2025]. However, only a couple of properties of the erf function are essential to the present proofs, such as global boundedness of erf and of its derivatives, the asymptotics and , etc. Extending the proofs and the numerical analysis to other activation functions seems feasible and would be an interesting further research direction. Furthermore, the statistical role of the activation function in single-location regression is investigated by Duranthon et al. [2026], who establish advantages of softmax over alternative activations in a single-axis setting. Understanding how these comparisons extend to sequential axial attention is an interesting direction for future work.
B Proofs for Section 3
In what follows, we shall denote by
the value of the risk when restricted to M.
B.1 Proofs of Lemma 2 and of Proposition 3
We recall the formula for the risk
Let us now denote by , for . Note that we consider and . Then, our predictor only depends on , and the alignment random variables , G_{ij}^v^*, which are i.i.d. and follow the distribution
We further assume, without loss of generality, that . Then Y = \gamma G_{11}^v^* + \xi and, dropping the subscripts of , one indeed has
(11)
where
(12)
Since Equation (11) and Equation (12) only depend on the 5 parameters , this ends the proof of Lemma 2. On the manifold , where , we can simplify the expression by dropping the term in the last row of Equation (12). We continue our proof by analyzing each term in Equation (11) individually.
The first term can be rewritten as
(13)
On the manifold M, this becomes:
(14)
where we have used the independence between and .
Due to the independence between and for , there appear no cross-terms when expanding the expectation of . Therefore, under , the second term simplifies as
On the manifold , this becomes
In what follows, we shall prove that under the joint scaling , and , the risk converges to . For the oracle parameters, . Moreover, for all and . Therefore, Equation (14) implies
where and is the cumulative distribution function of .
Next, since and from Lemma 12 for all , one has
due to the scaling .
Finally, substituting and using and again from Lemma 12, one has that
where .
Aggregating everything and considering the oracle parameters , one now has that
where .
To conclude the proof of Proposition 3, it is enough to prove
as implies . Since is increasing on and less than 1 in absolute value, it is enough to consider
The conclusion now follows since .
B.2 Proof of Proposition 4
The proof aims to make explicit the loss of information from to . To this end, one has
Now, consider and . Conditional on , is independent of , for . Then, one has
For multivariate Gaussian random variables , one has
where stands for , for random vectors A and B.
Conditioned on and , one has:
- and for with standard normal random variables ;
•
•
One then has the following:
•
•
•
Introducing in (17), one obtains
Finally,
with equality in the last step only if there exists such that and for .
C Proof of Theorem 5
In this section, we establish the global convergence of the Projected Gradient Descent (PGD) dynamics to the true oracle parameters. We follow the proof of Theorem 5 in Marion et al. [2025] as closely as possible while adapting it to our model . The only result which requires a completely different and much more involved proof is that of Proposition 9. Throughout these proofs, denotes a generic constant that may vary from line to line but is strictly independent of the step size and the iteration step . Moreover, we shall drop the subscript , and assume an implicit dependence on the inverse temperatures.
The theoretical guarantees of our optimization trajectory are established through the following five primary results. We first establish the invariance of the manifold to PGD steps.
Lemma 6. The manifold is invariant under the PGD dynamics (Algorithm 1), in the sense that if , then .
By restricting our analysis to the manifold , we can project the high-dimensional dynamics down to the scalar alignment variables and . We then map the PGD updates to an autonomous dynamical system:
Lemma 7. When initialized on the manifold , the PGD iterations (Algorithm 1) can be reformulated as the autonomous discrete dynamical system , where is given by
With the dynamics formalized, we establish that the risk strictly decreases, forcing convergence to the stationary points:
Proposition 8. For a sufficiently small step size , the risk is strictly decreasing along the PGD iterates unless it is at a fixed point. Furthermore, if is an accumulation point of the sequence , it must satisfy:
We then rigorously classify the geometry of these accumulation points, isolating the oracle states as the unique global minima:
Proposition 9. For and small enough, the fixed points of the dynamics, given by (20), on are and . Specifically:
• are global maxima.
• are global minima.
• is a saddle point.
Finally, we characterize the local geometry around the saddle point to guarantee that random initializations escape it:
Proposition 10. For a sufficiently small step size , the mapping is a local diffeomorphism around , whose Jacobian matrix has one eigenvalue in and one in . Furthermore, is injective on .
The global convergence to the oracle states then follows directly from the exclusion of the saddle point and maxima. The proofs for all stated results are provided in the subsections below.
C.1 Proof of Lemma 6
To prove that the manifold M is invariant under the Projected Gradient Descent (PGD) dynamics, we must first establish that the gradient of the risk does not "push" the parameters outside of M. We do this by proving an auxiliary symmetry result regarding the cross-term derivatives.
Lemma 11. At any point on the manifold (i.e., where ), the partial derivatives of the risk with respect to the cross-terms vanish:
The proof follows by recalling that the risk can be reduced to a function depending only on the covariance structure of the Gaussian projections , , and G_{ij}^v^* = X_{ij}^T v^*. The relevant covariance matrix is:
and the alignment between and is given by .
It is clear from Equation 10 that the risk is invariant to the sign inversion of to . This amounts to
Taking the partial derivative with respect to now yields the following result:
Evaluating this at the manifold where , we immediately obtain . Identical arguments hold for and , concluding the proof of Lemma 11.
We now return to the proof of Lemma 6. By the chain rule, the Euclidean gradients of the risk with respect to k and v can be expanded in the basis of the parameter vectors:
Applying Lemma 11, on the manifold (where ), the gradients simplify strictly to:
Recall the PGD updates for :
where are the respective normalization constants. To prove , we must verify the three orthogonality conditions: , , and .
Condition 1: . Using the simplified gradient (21), we project onto :
Because , we have . By Assumption 1, the oracle parameters are orthogonal, so . Thus:
Condition 2: . By an exactly symmetric argument using and the fact that , we obtain .
Condition 3: . We compute the inner product of the unnormalized updates :
Since , we already know , , and . Thus, all the linear terms vanish. For the quadratic term, we expand:
Substituting the orthogonalities , , , and yields the desired orthogonality.
Therefore, , meaning . Having verified all three conditions, we conclude that . q.e.d.
C.2 Proof of Lemma 7
Using the simplified gradient (21) valid on the manifold , we compute the unnormalized update for :
Projecting this unnormalized update onto yields the numerator for :
To find the normalization constant , we apply the Pythagorean theorem. Since is the projection of onto the orthogonal complement of , it is strictly orthogonal to . Thus:
Dividing the numerator by directly yields . Analogously, one obtains the result for .
C.3 Proof of Proposition 8
The theoretical risk is composed of smooth error functions evaluated over Gaussian expectations, ensuring it is on the compact square . Consequently, it is -smooth, meaning we can bound its variation:
(22)
Using the discrete mapping g from Lemma 7, we rewrite the step difference for :
(23)
As a consequence,
(24)
where the second inequality holds by Lemma 14 and the last bound holds since the function is uniformly bounded for all . This bound has two implications. First,
(25)
where we use the fact that is bounded and the bound (24). Second, since the square function is Lipschitz on compact sets, we have
Thus,
(26)
We obtain analogous bounds for , namely
and
Plugging the bounds (25), (26), (27), (28) into Equation (22), we obtain the desired inequality
By choosing the step size , this ensures that
This shows that the risk is decreasing along the PGD iterates. Next, introducing and using a telescopic sum, we have, for all ,
Since the left-hand side is finite, and the terms of the sum are nonnegative, we conclude that the series converges as . In particular, the generic term of the series converges to as . Therefore, the accumulation points satisfy
Inspecting identity (23), we observe that the convergence of the general term also implies . Similarly, . q.e.d.
C.4 Proof of Proposition 9
First we recall the formula of the risk
(29)
where C does not depend on and .
and by
Furthermore, we shall make a slight abuse of notation and denote by
and by
One can easily observe that is symmetric in all and in since is symmetric around 0 and that . Moreover, this implies that is strictly increasing in and that . Finally, the risk can be rewritten as
Now, is a stationary point of the PGD dynamics if
The partial derivatives of the risk are
We split our analysis in different cases.
Case 1. This implies that . It is clear that and due to the fact that is strictly increasing, is also the unique such point.
Now,
is jointly symmetric in . Taking the expectation over , we obtain that the term in (33) is symmetric in , so its derivative must satisfy . This implies that
But U is strictly increasing, which implies that .
Therefore, the only critical point of inside of is . Moreover, since the Hessian
we obtain that is a saddle point.
Case 2. It is clear that , since and are even functions and is an increasing function in . Moreover, on , the function is clearly increasing in since and are.
Let us now denote by and by , for . Then, one has
By directly applying the chain rule to the expectation, the formula for the partial derivative of the risk becomes
(35)
where stands for and the same for the other functions.
We will now show that if , for small enough and the other hyperparameters fixed, the expectation above is strictly positive for all . We shall make use of the Taylor expansions
for some , and
for some . Note that , for any and for any . This in turn implies the following asymptotic scalings
(36)
From these computations, it is also clear that every term , where .
Finally, (35) becomes
Since the coefficient of the leading term is positive, this concludes the proof that there exists small enough such that for all .
Case 3. By leveraging the global symmetry of the theoretical risk function, specifically , an analogous argument applies along the opposite boundary . The identical asymptotic smoothness guarantees for all
Finally combining the results of the three cases, one obtains the conclusion.
C.5 Proof of Proposition 10
We verify the claims of the proposition sequentially.
Local diffeomorphism and eigenvalues at the origin. Let . Because the gradient of the risk vanishes at the origin and is smooth, the squared partial derivative satisfies . This allows us to write the Taylor expansion for the first component of , denoted :
Applying the same expansion to the second component yields the Jacobian matrix of evaluated at the origin, . Because , from the proof of Proposition 9, the eigenvalues of have strictly opposite signs. Consequently, for a sufficiently small step size , possesses one eigenvalue strictly inside the interval and another strictly greater than 1. This confirms that is invertible, which by the Inverse Function Theorem ensures is a local diffeomorphism around .
Differentiability and non-degenerate Jacobian on . The mapping is globally differentiable on as it is a composition of smooth elementary functions. To prove its Jacobian is nowhere degenerate, we express the mapping as . The first coordinate of takes the form:
We must prove that the gradient of remains uniformly bounded for all . Term 2 is a composition of functions with uniformly bounded gradients on the compact domain, so its gradient is trivially bounded. For Term 1, we introduce the auxiliary function and define the supremum . Term 1 can be expressed as . Since the inner function is smooth and independent of , we only need to bound the partial derivatives of . By Lemma 14, for any :
Since both partial derivatives are uniformly bounded, the gradient of is uniformly bounded. A symmetric argument applies to , confirming that the Jacobian matrix is uniformly bounded over . Because , selecting a sufficiently small ensures the eigenvalues of remain strictly positive, guaranteeing the Jacobian is nowhere degenerate.
Injectivity. The uniform bound on implies that is -Lipschitz continuous on for some constant independent of (for small ). Choose . Suppose there exist two distinct points such that . This implies:
Taking the Euclidean norm of both sides yields:
Because , this inequality forces , which is a strict contradiction. Therefore, must be injective on the domain .
C.6 Final details
From Proposition 8, the distance between successive iterates tends to zero. Because the sequence lies within the compact set , the set of its accumulation points must be connected. Given that the set of available fixed points is finite and isolated , the sequence cannot oscillate and must uniquely converge to exactly one of them.
It remains to be shown that the probability of converging to the saddle point or the maxima is zero. Because the risk strictly decreases at every step (Proposition 8), convergence to the global maxima is impossible unless initialized exactly upon them.
To systematically rule out the saddle point , we apply the Center-Stable Manifold Theorem [Shub, 2013, Theorem III.7]. Because has exactly one eigenvalue with magnitude strictly greater than 1 (Proposition 10), the local center-stable manifold associated with the origin has codimension 1. In the 2-dimensional space , a codimension-1 manifold is a curve, and its Lebesgue measure is strictly zero.
The stable set , consisting of all initializations that converge to under iterations of , is contained within the countable union of pre-images of :
Because g is injective and differentiable, its inverse preserves sets of measure zero. The countable union of measure-zero sets is also of measure zero.
Therefore, the set of all initializations on that converge to the saddle point has Lebesgue measure zero. We conclude that for a generic random initialization , the PGD sequence almost surely bypasses the saddle point and the maxima, converging strictly to the true oracle structure .
D Technical lemmas
In this section we list the technical lemmas used throughout the proofs in the Appendix.
Lemma 12. For ,
Proof. The proof relies on the concavity of erf on . Since erf is an odd function, it is enough to prove the statement for . Since erf is concave,
which implies the conclusion.
Lemma 13. For and ,
Proof. One has
Lemma 14. For ,
Proof. For , the term inside the absolute value is at most 0, so we need to prove that
This statement is obvious for . For , it is equivalent to
which is clearly true since . One has equality only when .
E Additional Experimental Details and Results
In this section, we provide supplementary empirical results that expand upon the optimization dynamics discussed in Section 4. Specifically, we analyze the training dynamics of the predictors without manifold penalties in Section E.2, provide the full results for the experiments in Figure 4 in Section E.3 and further investigate the optimization landscape for decoupled and in Section E.4, and for different values of and in Section E.5.
E.1 Implementation details and hyperparameters
Code availability. The complete codebase used to run all numerical simulations and generate the figures presented in this work can be found at https://github.com/anditp/Single-Location-Regression.git. All the numerical experiments were run on a MacBook Pro M1 on CPU. Each individual experiment (20 runs) in the paper takes less than an hour to run.
Distance to the invariant manifold. Throughout our experiments, we track the optimization trajectories to determine if they remain on, or converge to, the invariant manifold . Recall that is defined by the strict orthogonality constraints:
Consequently, for any parameter pair , we compute its distance to continuously during training using the root sum of squares of the corresponding inner products:
Hyperparameters. Table 1 summarizes the specific values and schedules used across all numerical experiments presented in Section 4 and Appendix E. For the penalized empirical risk experiments, we introduced the weighting coefficients and to enforce the structural constraints.
Table 1: Summary of hyperparameters used across the numerical experiments.
| Parameter | Fig. 3( initialization) | Fig. 4, Fig. 13(Constant ) | Fig. 5(Penalized) | Fig. 6(Unpenalized) |
|---|---|---|---|---|
| Grid height () | 5 | 5 | 5 | 5 |
| Grid width () | 5 | 5 | 5 | 5 |
| Embedding dim. () | 20 | 20 | 20 | 20 |
| Shift magnitude () | 100 | 100 | 100 | 100 |
| Special token variance () | 1 | 1 | 1 | 1 |
| Noise variance () | 0.1 | 0.1 | 0.1 | 0.1 |
| Penalty weight () | 0 | 0 | 10 | 0 |
| Penalty weight () | 0 | 0 | 1 | 0 |
| Learning rate () | 1e-4 | 1e-4 | 1e-4 (a) / 1e-3 (b) | 1e-4 (a) / 1e-3 (b) |
| Number of iterations | 100,000 | 100,000 | 100,000 | 100,000 |
| Batch size | 256 | 256 | 256 | 256 |
| Independent runs | 20 | 20 / value | 20 | 20 |
The batches for Stochastic PGD are generated dynamically and resampled at each step, since we are aiming to mimic PGD on the theoretical risk.
E.2 Optimization without Manifold Penalties
In Section 4, we demonstrated that optimizing the penalized empirical risk allows both the erf and softmax predictors to converge to the oracle parameters from generic random initializations. To isolate the effect of the penalty terms, we conduct an ablation study where both predictors are trained using the strictly unpenalized risk from generic initializations outside of .
Figure 6 presents the optimization trajectories for both (erf predictor) and (softmax predictor) under these unconstrained conditions. Without the explicit geometric regularization provided by the penalties, the trajectories fail to always converge. For the erf predictor there are runs which get trapped in high loss regions. On the other hand, the optimization of the softmax predictor appears better behaved, with most of the runs converging in a similar manner as for the penalized version; however, there are some runs that get trapped in regions with high positive and high negative , far from M. This empirical finding underscores the practical necessity of the regularization terms when operating outside the theoretical guarantees of Theorem 5.

(a) Dynamics for the erf predictor.

(b) Dynamics for the softmax predictor.
Figure 6: Optimization dynamics from 20 random initializations without the alignment penalties ( ). The solid curve represents the empirical median across the runs. The bands represent the 0.05-0.95 and, respectively, the 0.25-0.75 quantile intervals. The parameters used are , , , and , for the erf predictor and for the softmax predictor. For computing the oracle loss we use the initial inverse temperatures.
E.3 Full results for the experiment in Figure 4
In Section 4, we discussed the optimization dynamics under various constant inverse temperatures following an initial warm-up phase. Here, we present the full empirical results for this experiment.
As illustrated in Figures 7, 8, 9, 10, the training procedure begins with a 20,000 step warm up using . After this period, the inverse temperatures are held constant at values . We observe that without a meticulously chosen lambda schedule, not all the runs converged in the simulated 100,000 steps. For lower values of , more runs got stuck around the origin compared to the more consistent convergence obtained for larger s.
These full results empirically validate the need to employ a decreasing schedule for the inverse temperatures. A static forces a compromise between quickly escaping the saddle point at the origin and converging precisely at the global minima. A schedule dynamically adapts the landscape to first push the parameters away from the saddle point, and subsequently allows for fine-tuned convergence to the exact oracle parameters.

Figure 7: Training dynamics of the predictor with a 20k warm-up phase followed by constant inverse temperatures . The solid curve represents the empirical median across 20 runs and the bands represent the 0.05-0.95 and, respectively, the 0.25-0.75 quantile intervals (although not always visible). The parameters used are , , , .

Figure 8: Training dynamics of the predictor with a 20k warm-up phase followed by constant inverse temperatures . The solid curve represents the empirical median across 20 runs and the bands represent the 0.05-0.95 and, respectively, the 0.25-0.75 quantile intervals (although not always visible). The parameters used are , , , .

Figure 9: Training dynamics of the predictor with a 20k warm-up phase followed by constant inverse temperatures . The solid curve represents the empirical median across 20 runs and the bands represent the 0.05-0.95 and, respectively, the 0.25-0.75 quantile intervals (although not always visible). The parameters used are , , , .

Figure 10: Training dynamics of the predictor with a 20k warm-up phase followed by constant inverse temperatures . The solid curve represents the empirical median across 20 runs and the bands represent the 0.05-0.95 and, respectively, the 0.25-0.75 quantile intervals (although not always visible). The parameters used are , , , .
E.4 Gradient analysis for decoupled inverse temperatures
This subsection isolates the effects of decoupling the two inverse temperatures. We visualize the gradient vector field of the reduced risk evaluated on the invariant manifold for multiple configurations of .
Figures 11, 12 present the numerically computed gradients for various mixed combinations of and . By breaking the symmetry, we observe how the magnitude and direction of the gradients shift across the landscape. Specifically, two interesting phenomena appear:
• behaves symmetrically with respect to both and ;
• The same is not true for . The shape of the gradient and most importantly of the 0 level curve of varies significantly with the pairs .
This analysis leads to another method of controlling the training dynamics, namely through the ratio . Indeed, Figure 13 presents the optimization dynamics obtained for constant and . While 100,000 steps are not enough for convergence at the oracle parameters, the runs consistently move towards convergence. Moreover, the training dynamics are different from the ones studied in the main paper, as can be seen from the much faster increase of , closely mirroring the behavior of .

(a) Partial derivative .

(b) Partial derivative .

(c) Partial derivative .

(d) Partial derivative .
Figure 11: Numerically computed gradients of the theoretical risk for and varying values of . The parameters used are and . The gradients, given by Equation (32), are approximated using the Monte Carlo method with a sample size of 10,000 on a discretization grid.

(a) Partial derivative .

(b) Partial derivative .

(c) Partial derivative .

(d) Partial derivative .
Figure 12: Numerically computed gradients of the theoretical risk for and varying values of . The parameters used are and . The gradients, given by Equation (32), are approximated using the Monte Carlo method with a sample size of 10,000 on a discretization grid.

Figure 13: Training dynamics of the predictor with constant and . The solid curve represents the empirical median across the runs and the bands represent the 0.05-0.95 and, respectively, the 0.25-0.75 quantile intervals (although not always visible). The parameters used are , , , .
E.5 Gradient analysis for other hyperparameters N and
In this section, we investigate the behavior of the partial derivatives of when varying and , for fixed .



(a) Partial derivative for , and .



(b) Partial derivative for , and .
Figure 14: Numerically computed gradients of the theoretical risk for , and varying values of . The gradients, given by Equation (32), are approximated using the Monte Carlo method with a sample size of on a discretization grid.
The values considered are not following the asymptotics required for Bayes optimality of the predictor, but better reflect real-world scenarios in which TSFMs are trained to take tens of channels and hundreds of time patches as input, while an individual token’s shift in the mean cannot be too large due to normalization layers. We restrict our analysis to exploring the gradient across multiple pairs of values , as conducting full trainings for each pair would be computationally expensive.



(a) Partial derivative for , and .



(b) Partial derivative for , and .
Figure 15: Numerically computed gradients of the theoretical risk for , and varying values of . The gradients, given by Equation (32), are approximated using the Monte Carlo method with a sample size of 10,000 on a discretization grid.
As can be seen in Figures 14, 15, 16, the effect of overshadows that of N. Although for small , a higher N appears to eliminate the problem of escaping the origin for , this disappears for larger values.
Furthermore, the higher is, the higher the values of and the steeper its sign change around .



(a) Partial derivative .



(b) Partial derivative .
Figure 16: Numerically computed gradients of the theoretical risk for , and varying values of . The gradients, given by Equation (32), are approximated using the Monte Carlo method with a sample size of 10,000 on a discretization grid.
NeurIPS Paper Checklist
1. Claims
Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
Answer: [Yes]
Justification: We provide proofs for all the theoretical claims made and extensive numerical experiments both in the main text and in the supplemental material for all the empirically observed claims.
Guidelines:
• The answer [N/A] means that the abstract and introduction do not include the claims made in the paper.
• The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers.
• The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings.
• It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.
2. Limitations
Question: Does the paper discuss the limitations of the work performed by the authors?
Answer: [Yes]
Justification: While not having a separate "Limitations" section in the paper, we discuss limitations of our work in the "Conclusions and limitations" section.
Guidelines:
• The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper.
• The authors are encouraged to create a separate “Limitations” section in their paper.
• The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be.
• The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated.
• The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon.
• The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size.
• If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness.
• While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.
3. Theory assumptions and proofs
Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
Answer: [Yes]
Justification: All the theoretical results and claims are accompanied by full proofs in the supplemental material.
Guidelines:
• The answer [N/A] means that the paper does not include theoretical results.
• All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced.
• All assumptions should be clearly stated or referenced in the statement of any theorems.
• The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition.
• Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material.
• Theorems and Lemmas that the proof relies upon should be properly referenced.
4. Experimental result reproducibility
Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?
Answer: [Yes]
Justification: We provide the full code used for the numerical experiments in the paper. Furthermore, we provide the complete set of parameters for each experiment in the paper.
Guidelines:
• The answer [N/A] means that the paper does not include experiments.
• If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not.
• If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable.
• Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general, releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed.
• While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example
(a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm.
(b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully.
(c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset).
(d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.
5. Open access to data and code
Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
Answer: [Yes]
Justification: The code is given as a resource in the supplemental materials.
Guidelines:
• The answer [N/A] means that paper does not include experiments requiring code.
• Please see the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.
• While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark).
• The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.
• The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc.
• The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why.
• At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable).
• Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.
6. Experimental setting/details
Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?
Answer: [Yes]
Justification: The hyperparameters used in all the experiments are listed in the supplemental material.
Guidelines:
• The answer [N/A] means that the paper does not include experiments.
• The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them.
• The full details can be provided either with the code, in appendix, or as supplemental material.
7. Experiment statistical significance
Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
Answer: [Yes]
Justification: Empirical distributions are always plotted alongside the main curves.
Guidelines:
• The answer [N/A] means that the paper does not include experiments.
• The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper.
• The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions).
• The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.)
• The assumptions made should be given (e.g., Normally distributed errors).
• It should be clear whether the error bar is the standard deviation or the standard error of the mean.
• It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified.
• For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates).
• If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.
8. Experiments compute resources
Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?
Answer: [Yes]
Justification: Details regarding the compute resource are given in Appendix E.
Guidelines:
• The answer [N/A] means that the paper does not include experiments.
• The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage.
• The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute.
• The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper).
9. Code of ethics
Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?
Answer: [Yes]
Justification: All the experiments are conducted using synthetically generated data. The authors don’t see any possible harm arising from the present research.
Guidelines:
• The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics.
• If the authors answer [No], they should explain the special circumstances that require a deviation from the Code of Ethics.
• The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).
10. Broader impacts
Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
Answer: [N/A]
Justification: The work in this paper is purely theory-oriented, aiming to better understand existing architectures. The authors see no societal impact related to the present paper.
Guidelines:
• The answer [N/A] means that there is no societal impact of the work performed.
• If the authors answer [N/A] or [No], they should explain why their work has no societal impact or why the paper does not address societal impact.
• Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations.
• The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster.
• The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology.
• If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).
11. Safeguards
Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?
Answer: [N/A]
Justification: The authors don’t see any risk in the models used for this research.
Guidelines:
• The answer [N/A] means that the paper poses no such risks.
• Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters.
• Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images.
• We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.
12. Licenses for existing assets
Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
Answer: [N/A]
Justification: No existing asset is used.
Guidelines:
• The answer [N/A] means that the paper does not use existing assets.
• The authors should cite the original paper that produced the code package or dataset.
• The authors should state which version of the asset is used and, if possible, include a URL.
• The name of the license (e.g., CC-BY 4.0) should be included for each asset.
• For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.
• If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset.
• For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided.
• If this information is not available online, the authors are encouraged to reach out to the asset’s creators.
13. New assets
Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
Answer: [Yes]
Justification: The only asset released is code for the experiments in the main paper. The code is well documented in the opinion of the authors.
Guidelines:
• The answer [N/A] means that the paper does not release new assets.
• Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc.
• The paper should discuss whether and how consent was obtained from people whose asset is used.
• At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.
- Crowdsourcing and research with human subjects
Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?
Answer: [N/A]
Justification: The paper does not involve crowdsourcing nor research with human subjects. Guidelines:
• The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
• Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper.
• According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.
15. Institutional review board (IRB) approvals or equivalent for research with human subjects
Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?
Answer: [N/A]
Justification: The paper does not involve crowdsourcing nor research with human subjects. Guidelines:
• The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
• Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper.
• We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution.
• For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.
16. Declaration of LLM usage
Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.
Answer: [N/A]
Justification: LLMs were used only for writing, editing, or formatting purposes.
Guidelines:
• The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components.
• Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.