English

Effective Theory of Transformers at Initialization

Machine Learning 2023-04-06 v1 Computation and Language High Energy Physics - Theory Machine Learning

Abstract

We perform an effective-theory analysis of forward-backward signal propagation in wide and deep Transformers, i.e., residual neural networks with multi-head self-attention blocks and multilayer perceptron blocks. This analysis suggests particular width scalings of initialization and training hyperparameters for these models. We then take up such suggestions, training Vision and Language Transformers in practical setups.

Keywords

Cite

@article{arxiv.2304.02034,
  title  = {Effective Theory of Transformers at Initialization},
  author = {Emily Dinan and Sho Yaida and Susan Zhang},
  journal= {arXiv preprint arXiv:2304.02034},
  year   = {2023}
}

Comments

64 pages, 5 figures

R2 v1 2026-06-28T09:49:38.207Z