计算机科学 > 机器学习
[提交于 2026年11月28日]
标题:Nonlocal Mean-Field Control and Layer-Decoupled Training for Transformers
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Dixi Wang[v1] 2026年11月28日 星期六 03:30:09 UTC (3,178 KB)