LGMay 2

Focus and Dilution: The Multi-stage Learning Process of Attention

arXiv:2605.0119964.7h-index: 15
AI Analysis

This work offers a mechanistic understanding of Transformer training dynamics for the ML community, but is limited to a simplified setting and is thus incremental.

The paper identifies a recurrent focus-dilution cycle in attention learning of Transformers, providing a rigorous explanation via gradient-flow analysis in a one-layer setting. Experiments on synthetic and real data confirm the predicted stages and cyclical dynamics.

Transformer-based models have achieved remarkable success across a wide range of domains, yet our understanding of their training dynamics remains limited. In this work, we identify a recurrent focus-dilution cycle in attention learning and provide a rigorous explanation in a one-layer Transformer setting for Markovian data via gradient-flow analysis. Using stage-wise linearization around critical points, we show that a single focus-dilution cycle can be decomposed into a sequence of distinct stages. First, embedding and projection rapidly condense to a rank-one structure, while attention parameters remain effectively frozen. Then, the attention parameters begin to increase, inducing a frequency-driven focus toward high-frequency tokens. As attention continues to evolve, it generates next-order perturbations in embeddings, leading to a mass-redistribution mechanism that progressively dilutes this focus. Finally, small asymmetries among low-frequency tokens lift a degenerate critical point, opening new embedding directions and initiating the next cycle. Experiments on synthetic Markovian data as well as WikiText and TinyStories corroborate the predicted stages and cyclical dynamics.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes