Training-Induced Escape from Token Clustering in a Mean-Field Formulation of Transformers
Abstract
Transformers perform inference by iteratively transforming token representations across layers. This layerwise computation has been studied empirically, and recent mean-field theories of Transformer dynamics explain how attention can drive token distributions toward clustering. However, existing mean-field analyses largely treat model parameters as prescribed, leaving open how training reshapes this clustering picture. We study this question in a noisy mean-field Transformer in which only a parameter-linear FFN is trained under regularization. We find and analyze a training-induced phase in the dynamics: after initially following attention-driven clustering, the token distribution can leave the clustered regime near the final layers. Our mathematical analysis is based on an entropy-regularized interaction energy that captures the clustering bias of attention. More broadly, our results point toward a training-aware mean-field theory of Transformer dynamics, in which training and inference dynamics are treated together.
Keywords
Cite
@article{arxiv.2605.07772,
title = {Training-Induced Escape from Token Clustering in a Mean-Field Formulation of Transformers},
author = {Noboru Isobe and Daisuke Inoue and Masaaki Imaizumi},
journal= {arXiv preprint arXiv:2605.07772},
year = {2026}
}
Comments
48 pages, 6 figures, comments are wellcome!