aiqbench analysis
This paper establishes rigorous finite-sample generalization bounds for Transformers by framing their training dynamics as a Markovian optimal control problem on measure-valued spaces. By quantizing state and action variables, the authors derive explicit error estimates that connect standard Transformer learning to Wasserstein distributionally robust optimization. These theoretical advances provide crucial mathematical guarantees regarding model stability and performance under input perturbations, advancing our understanding of deep learning theory beyond empirical observations.
Generalization Bounds on Optimal Control for Transformer Training and Wasserstein Distributional Robustness
arXiv:2607.27975v1 Announce Type: new Abstract: 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. We then analyze a quantized model, derived by quantizing the state, action, and measure-state spaces, and derive explicit finite-sample generalization bounds using concentration inequalities for empirical laws on finite metric spaces together with a Lipschitz stability estimate for the value function. These bounds are transferred to the base model at the cost of an explicit approximation error. Finally, we show that the same machinery yields a distributionally robust control formulation of the training problem, connecting Transformer generalization to Wasserstein distributionally robust optimization.
Abstract: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. We then analyze a quantized model, derived by quantizing the state, action, and measure-state spaces, and derive explicit finite-sample generalization bounds using concentration inequalities for empirical laws on finite metric spaces together with a Lipschitz stability estimate for the value function. These bounds are transferred to the base model at the cost of an explicit approximation error. Finally, we show that the same machinery yields a distributionally robust control formulation of the training problem, connecting Transformer generalization to Wasserstein distributionally robust optimization.
Machine Learning (cs.LG); Optimization and Control (math.OC)
arXiv:2607.27975 [cs.LG]
(or arXiv:2607.27975v1 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2607.27975 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 228 words
Related coverage

Deconfusing Corrigibility
AI Alignment Forum · Oct 17, 2026
[AINews] High Taste Testers Ep. 1
Latent Space · Oct 17, 2026

Runway’s WorldPrompt and the Engineering of Real-Time Worlds
Latent Space · Sep 25, 2026

Evaluating task vectors, unlearning and inoculation
LessWrong · Sep 20, 2026