mlsanityData to 7 Oct 2026

An Optimal Control Approach To Transformer Training

arXiv 2603.09571 ↗First posted 10 Mar 2026cs.LG math.OCcited by 3

Not on the map. Why?

Abstract (arXiv)

In this paper, we develop a rigorous optimal control-theoretic approach to Transformer training that respects key structural constraints such as (i) realized-input-independence during execution, (ii) the ensemble control nature of the problem, and (iii) positional dependence. We model the Transformer architecture as a discrete-time controlled particle system with shared actions, exhibiting noise-free McKean-Vlasov dynamics. While the resulting dynamics is not Markovian, we show that lifting it to probability measures produces a fully-observed Markov decision process (MDP). Positional encodings are incorporated into the state space to preserve the sequence order under lifting. Using the dynamic programming principle, we establish the existence of globally optimal policies under mild assumptions of compactness. We further prove that closed-loop policies in the lifted is equivalent to an initial-distribution dependent open-loop policy, which are realized-input-independent and compatible with standard Transformer training. To train a Transformer, we propose a triply quantized training procedure for the lifted MDP by quantizing the state space, the space of probability measures, and the action space, and show that any optimal policy for the triply quantized model is near-optimal for the original training problem. Finally, we establish stability and empirical consistency properties of the lifted model by showing that the value function is continuous with respect to the perturbations of the initial empirical measures and convergence of policies as the data size increases. This approach provides a globally optimal and robust alternative to gradient-based training without requiring smoothness or convexity.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 27 of its 45 references that are in the map. First posted on arXiv 10 Mar 2026.

Builds on

27 of 45 references.

References · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2018Neural Ordinary Differential Equationscited by 3,733
  4. 2021Convex optimizationcited by 2,479
  5. 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 655
  6. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  7. 2017Stable Architectures for Deep Neural Networkscited by 340
  8. 2018Learning and Generalization in Overparameterized Neural Networks, Going Beyond Two Layerscited by 340
  9. 2017Information-theoretic analysis of generalization capability of learning algorithmscited by 299
  10. 2018Deep Neural Networks Motivated by Partial Differential Equationscited by 187
  11. 2018A Convergence Analysis of Gradient Descent for Deep Linear Neural Networkscited by 180
  12. 2023A mathematical perspective on Transformerscited by 160
15 more
  1. 2023The emergence of clusters in self-attention dynamicscited by 133
  2. 2017Maximum Principle Based Algorithms for Deep Learningcited by 77
  3. 2022Formal Algorithms for Transformerscited by 70
  4. 2018A Mean-Field Optimal Control Formulation of Deep Learningcited by 67
  5. 2019Model-Free Mean-Field Reinforcement Learning: Mean-Field MDP and Mean-Field Q-Learningcited by 56
  6. 2021Neural ODE control for classification, approximation and transportcited by 56
  7. 2025A Unified Perspective on the Dynamics of Deep Transformerscited by 30
  8. 2022Generalization Bounds via Convex Analysiscited by 27
  9. 2019Mean-field Markov decision processes with common noise and open-loop controlscited by 24
  10. 2016Dynamic programming for optimal control of stochastic McKean-Vlasov dynamicscited by 11
  11. 2021Mean Field Markov Decision Processescited by 9
  12. 2015Discrete time McKean-Vlasov control problem: a dynamic programming approachcited by 4
  13. 2016Randomized dynamic programming principle and Feynman-Kac representation for optimal control of McKean-Vlasov dynamicscited by 2
  14. 2024Optimality of Symmetric Independent Policies under Decentralized Mean-Field Information Sharing for Stochastic Teams and Equivalence with McKean-Vlasov Control of a Representative Agentcited by 1
  15. 2025Near Optimality of Discrete-Time Approximations for Controlled McKean-Vlasov and Large Interacting Particle Diffusionscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.