Infinite Limits of Multi-head Transformer Dynamics. Bordelon, B., Chaudhry, H. T., & Pehlevan, C.
Infinite Limits of Multi-head Transformer Dynamics [link]Paper  doi  abstract   bibtex   
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.
@misc{bordlen-arxiv24,
	title = {Infinite Limits of Multi-head Transformer Dynamics},
	url = {http://arxiv.org/abs/2405.15712},
	doi = {10.48550/arXiv.2405.15712},
	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.},
	number = {{arXiv}:2405.15712},
	publisher = {{arXiv}},
	author = {Bordelon, Blake and Chaudhry, Hamza Tahir and Pehlevan, Cengiz},
	urldate = {2024-08-30},
	date = {2024-05-24},
	eprinttype = {arxiv},
	eprint = {2405.15712 [cond-mat, stat]},
	keywords = {Computer Science - Machine Learning, Condensed Matter - Disordered Systems and Neural Networks, Statistics - Machine Learning},
}

Downloads: 0