Extend the linear-theory analysis to full transformer architectures
Develop a theoretical analysis of gradient-descent optimization under cross-entropy loss for full transformer architectures that generalizes the simplified linear feature-extractor model (f_θ(s) = θ^T s with a linear classifier W) used to study representation geometry phase evolution.
References
Our findings have several limitations: (i) computational constraints limited our analysis to models up to 12B parameters, though the phases persist across scales from 160M to 12B; (ii) spectral metric computation requires ∼10K samples and scales quadratically with hidden dimension (iii) our theoretical analysis assumes simplified linear feature extractors, leaving the extension to full transformer architectures as future work; (iv) we focused on English-LLMs trained with standard objectives, and whether similar phases emerge in multilingual or alternatively-trained models remains unexplored.
Several directions are open. The first is the training dynamics of transformers on the random topic model, which would connect our sample complexities with the phenomenological description of~\citet{wurgaft2025incontext}. More importantly, the dynamics determine which representations are learned in each phase and the corresponding geometry of the residual stream~\citep{shai2024transformers,ray2026nonergodic}. Clarifying the distinction between representations in the two phases could help understand the emergence and role of task vectors~\citep{hendel2023incontext}, including scenarios where multiple solutions coexist~\citep{yan2026task}.