arXiv AI

Understanding axial attention in TSFMs through single location regression

The paper investigates axial attention mechanisms used in Time Series Foundation Models (TSFMs) by extending the Single Location Regression framework to two‑dimensional structured data. It introduces an analytically tractable axial attention‑type predictor, rigorously analyzes its statistical properties and training dynamics, and proves Bayes optimality under a specific asymptotic regime when the oracle parameters are known. The study also demonstrates that a class of semi‑linear simplifications fails to achieve optimality, highlights the importance of inner non‑linearity, and shows that Projected Gradient Descent converges globally for a particular temperature scaling, with experiments confirming the theoretical insights and the critical role of inverse temperature scheduling.

Hugging Face Trending Papers
4d ago

Attention Head Specialization: Phase Transitions in Sample Complexity

Attention heads in transformer models specialize into distinct functions during training, often appearing in stages that coincide with sharp changes in model behavior. This study investigates how such specialization depends on the amount of training data, finding that heads focused on syntactic relations in BERT emerge as dataset size grows. Using a solvable high‑dimensional multi‑head attention model, the authors show that head specialization is a genuine phase transition in sample complexity, marked by non‑analytic changes in test error and other observables, and they link these statistical transitions to the stagewise emergence of specialized heads during online learning.

arXiv Machine Learning
Sep 21

Diagonalized Attention for Individualized Regression: Latent-Row Localization and Prediction

The paper introduces an individualized sparse regression framework for matrix‑valued covariates, where each observation has its own relevant rows while regression effects are shared across the population. It proposes a diagonalized attention mechanism that uses query–key scores to localize sample‑specific signal rows and a value matrix for downstream regression, achieving a parameter dimension independent of sample size. The authors provide existence theorems guaranteeing recovery of latent rows under score‑separation and concentration conditions, and demonstrate strong prediction, localization, and classification performance in simulations and real sentiment analysis.

By Borui Peng, Liwei Lin, Feifei Wang, Long Feng
arXiv AI
Oct 9

Emergent Inverse-Depth Scaling From Nonlinearity In Attention

The paper investigates how nonlinearity in attention mechanisms affects scaling laws in large language models. It finds that nonlinear attention leads to an inverse-depth decay of loss across various data spectra, enabling models to learn both strong and weak spectral directions simultaneously. This behavior contrasts with linear-attention models, which rely on a power-law data spectrum and learn directions sequentially.

By Zirui Peng, Yizhou Liu, Ziming Liu, Jeff Gore
arXiv Machine Learning
Oct 9

What can linear attention learn from nonlinear teachers in-context?

The paper extends linear attention theory from linear regression to nonlinear single‑index targets, showing that linear attention only captures the linear Hermite component of the nonlinearity while treating the rest as effective noise. This nonlinearity‑noise equivalence lets existing linear results be applied to nonlinear tasks, and the authors demonstrate how finite pretraining data and increasing task diversity affect the shift from memorisation to generalisation. The work highlights a limitation of reduced linear‑attention models and offers a tractable framework for future studies of nonlinear in‑context learning.

By Mary Letey, Arman Rysmakhanov, Yue M. Lu, Cengiz Pehlevan, Jacob Zavatone-Veth
arXiv Machine Learning
Sep 4

High-Dimensional Learning Dynamics of Attention-Indexed Models

The paper investigates the training dynamics of attention mechanisms in high-dimensional settings, focusing on attention-indexed models that encompass multi-layer and multi-head architectures. It shows that while the loss landscape can be described by a finite set of trace order parameters, the online stochastic gradient descent dynamics involve an infinite hierarchy of matrix moments that can be accurately approximated by a finite truncated system. The study further reveals that the choice of attention parameterization acts as an implicit bias: untied attention can get trapped in uninformative states, whereas tied attention induces symmetry breaking and enables weak recovery with θ(d² log d) samples, and untied attention exhibits a fast-slow dynamic leading to weak recovery when symmetry is broken.

By Yizhou Xu, Margarita Sagitova, Lenka Zdeborov\'a, Florent Krzakala
Hugging Face Trending Papers
Nov 5

Patch Attention Wisely: Understanding Patch Length in Attention-Based Forecasting

The paper investigates how the length of patches used in attention-based time‑series forecasting affects accuracy. It introduces a theoretical framework that separates forecast dynamics from filtering dynamics for linear state‑space models, showing that long horizons do not necessarily simplify representation. Using this factorization and estimation bounds, the authors propose a principled patch‑selection criterion that balances representation and estimation errors, taking into account predictive structure, model size, training data, and long‑run dependence.