vix.ing · top · new · best · stats

Infinite Limits of Multi-head Transformer Dynamics

2024/05/24 by Blake Bordelon, Hamza Tahir Chaudhry, Bordelon, Blake +3 · 1 voice · 17 citations
Engineering · #Computer science #Control Systems in Engineering #Control and Stability of Dynamical Systems #Electrical engineering #Engineering #Geology #Geomorphology #Head (geology) #Physics and Engineering Research Articles #Transformer #Voltage

paper · pdf · doi:10.48550/arxiv.2405.15712

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2024/05/24 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/05

Abstract

In this work, we analyze various scaling limits of the training dynamics of transformer models in the feature learning regime. We identify the set of parameterizations that admit well-defined infinite width and depth limits, allowing the attention layers to update throughout training--a relevant notion of feature learning in these models. We then use tools from dynamical mean field theory (DMFT) to analyze various infinite limits (infinite key/query dimension, infinite heads, and infinite depth) which have different statistical descriptions depending on which infinite limit is taken and how attention layers are scaled. We provide numerical evidence of convergence to the limits and discuss how the parameterization qualitatively influences learned features.

Cited by

Discussions

Related