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
5d ago

Kernel Ridge Attention: Nonlinear Memory with Selective Forgetting

Kernel Ridge Attention (KRA) is a recurrent sequence mixer that blends learned nonlinear features with covariance-guided memory updates. It uses recursive ridge regression to store associations, with correlations among past keys guiding how new observations modify memory. A content-dependent Ornstein–Uhlenbeck transition controls retention, restores uncertainty for future writes, and the design allows an exact temporal‑kernel interpretation while keeping inference state size independent of context length.

By Haowei Chen, Yichen Wang, Congfu Xu
arXiv AI
Oct 31

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.

By Andrei-Tiberiu Pantea, Aymeric Dieuleveut