arXiv Machine Learning

When can Optimally Trained Transformers Achieve Near-Lossless Token Prediction for non-Markovian Data?

arXiv:2610. 41038v1 Announce Type: new Abstract: There exists little mathematical theory explaining why Transformer architectures are empirically successful even for non-Markovian data.

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
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
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
arXiv Machine Learning
Oct 12

Transformer-Based Masked Diffusion Models Provably Learn Distributions with Latent Structure

Masked diffusion models (MDMs) generate discrete data by iteratively unmasking multiple tokens in parallel using a learned mask predictor. The paper provides end‑to‑end statistical guarantees for transformer‑based MDMs, showing that when the data distribution is well approximated by mixtures of hidden Markov trees, the model can achieve ε‑accurate sampling in KL divergence with ∫O(LK_par/ε) training samples, where K_par is polynomial in the sequence length, vocabulary size, number of hidden states, and mixture components. The transformer network and sampling procedure adapt automatically to the unknown latent structure without requiring prior knowledge of tree topologies or component parameters.

By Jingda Wu, Changxiao Cai
Hugging Face Trending Papers
Sep 17

Next-token functional estimation

Suppose we observe the first $n$ points of a sequence of random variables having length $n+1$, and wish to estimate a functional of the unobserved final point and the empirical measure of the $n$ obse...