arXiv AI

Reachability and asymptotics of Gaussian Transformer dynamics

arXiv:2606. 07600v1 Announce Type: cross Abstract: We formulate data propagation through the Transformer, the machine learning architecture powering large language models, as a nonlinear control system on the space of probability measures.

arXiv Machine Learning
Oct 7

Stability of Measure-to-Measure Transformers on Sub-Gaussian Data

This paper provides a mathematical analysis of measure-to-measure transformers, showing that they map sub‑Gaussian inputs to sub‑Gaussian outputs and are Hölder continuous with respect to the 1‑Wasserstein distance on suitable spaces. It establishes error‑propagation estimates for transformers applied to empirical approximations of sub‑Gaussian data and investigates a mean‑field analogue of cross‑attention, revealing distinct Hölder regularity and sample‑complexity for its two inputs. The results culminate in approximation guarantees for measure‑to‑measure transformers, offering a rigorous stability and finite‑sample theory for transformers on sub‑Gaussian data.

By Frank Cole, Nicholas H. Nelsen, Takashi Furuya
Hugging Face Trending Papers
Jul 30

Generalization Bounds on Optimal Control for Transformer Training and Wasserstein Distributional Robustness

We derive finite-sample generalization bounds for Transformers trained with dynamic programming recursions. Building on the doubly lifted, measure-valued formulation of Transformer dynamics, we view data sets as probability laws on pairs of empirical input-output measures, allowing us to interpret the training problem as a finite-horizon Markovian control problem.

arXiv Machine Learning
Aug 6

A Mechanistic Analysis of Transformers for Dynamical Systems

arXiv:2512. 21113v2 Announce Type: replace Abstract: Transformers are increasingly adopted for modeling and forecasting time-series, yet their internal mechanisms remain poorly understood from a dynamical systems perspective.

By Gregory Duth\'e, Nikolaos Evangelou, Wei Liu, Ioannis G. Kevrekidis, Eleni Chatzi
arXiv Machine Learning
Oct 12

Asymptotic Analysis of Discrete-Time Self-Attention Dynamics in Transformers

The paper investigates the discrete-time self‑attention dynamics of transformers, providing a full classification of equilibria and their stability for both single‑head and multi‑head cases. It shows that the main attractor is a consensus equilibrium aligned with the principal eigenvector of the value matrix, while locally asymptotically stable bipartite equilibria also exist in the single‑head scenario. The theoretical findings are corroborated by examining learned weight matrices from an actual transformer.

By Claudio Altafini
arXiv Machine Learning
Sep 14

On Universality of Non-Separable Approximate Message Passing Algorithms

The paper studies universality in non‑separable Approximate Message Passing (AMP) algorithms. It introduces a Bounded Composition Property (BCP) for polynomial non‑linearities and a BCP‑approximability condition for Lipschitz AMP, showing that these conditions guarantee state‑evolution universality for matrices with non‑Gaussian entries. The authors demonstrate that many common non‑separable non‑linearities—such as local denoisers, spectral denoisers, and compositions of separable functions with generic linear maps—satisfy these conditions, thereby extending universality results beyond Gaussian or rotationally‑invariant data.

By Max Lovig, Tianhao Wang, Zhou Fan
arXiv Machine Learning
Oct 23

An Optimal Control Approach To Transformer Training

The paper presents an optimal control framework for training Transformers, modeling the architecture as a discrete-time controlled particle system with shared actions and noise-free McKean–Vlasov dynamics. By lifting the dynamics to probability measures, the authors convert the problem into a fully observed Markov decision process, incorporate positional encodings, and prove the existence of globally optimal policies under mild compactness assumptions. A triply quantized training procedure is proposed, and the authors demonstrate near-optimality, stability, and empirical consistency of the lifted model, offering a globally optimal alternative to gradient-based training that does not rely on smoothness or convexity.

By Ka\u{g}an Akman, Naci Saldi, Serdar Y\"uksel