arXiv · 2611.38475
Nonlocal Mean-Field Control and Layer-Decoupled Training for Transformers
Abstract
In this paper, we study the self-attention dynamics of Transformers through a mean-field control perspective. We first establish a rigorous mean-field limit for the particle system associated with the residual self-attention dynamics, showing that, as the number of particles tends to infinity, the empirical measure converges to a probability measure evolving under a continuity equation with an attention-induced velocity field. We then formulate training as a soft constrained mean-field control problem, for which we establish the existence of optimizers in an admissible class. We derive the first order optimality condition for the soft-constrained control problem and the discretized finite-dimensional problem. Building on this, we propose an auxiliary-control method of successive approximations (Aux-MSA) algorithm for training self-attention residual networks. By exploiting the strong concavity of the Hamiltonian with respect to the auxiliary controls, the algorithm admits explicit layerwise control updates. We establish the convergence of the algorithm. Finally, numerical experiments demonstrate the applicability of the proposed framework and its performance compared with gradient-based training.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Dixi Wang, Yuan Gao, Rongjie Lai. 2026-11-28. Nonlocal Mean-Field Control and Layer-Decoupled Training for Transformers. https://arxiv.science/abs/2611.38475
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.