Lune

NeurIPS2024Top-tier venue

Infinite Limits of Multi-head Transformer Dynamics

Blake Bordelon, Hamza Tahir Chaudhry, Cengiz Pehlevan

2024Year
42Citations
23Top-tier citations

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.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 197cdfd7-7d4c-4d8f-9f9a-a9b6b8957112

Cited by top-tier papers23

Ask how each one uses it

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines