Pith.

Machine Learning · arXiv:2304.02034 v1 · submitted 4 Apr 2023

Effective Theory of Transformers at Initialization

Emily Dinan, Sho Yaida, Susan Zhang

The paper says

“This analysis suggests particular width scalings of initialization and training hyperparameters for these models.”

from the abstract · picked out as the main claim by a classifier

Pith says

Pith has not reviewed this paper.

Get a Pith Review, $5

Reviews

Reviews by people

No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.

Request a human review

How Pith checks papers · The full audit of this paper

The paper

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.

The paper's own sentences, arranged. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.

abstract compiled · 2026-09-23 · no language-model review

How the main claim is stated: hedged possibility 1.00

What the abstract itself states, as probabilities: claims first 0.04 · states limitation 0.07 · human participants 0.03 · controlled comparison 0.05 · randomized assignment 0.01 · states quantitative result 0.07 · compares with prior results 0.07 · mentions code or data availability 0.02

The abstract, sentence by sentence

This table labels the abstract only (arXiv listing abstract v1). The number is the probability the classifier gave the label.

SentenceRoleThe authors' own workStates the main conclusionStrength
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. contribution 0.80 0.93 0.08 asserted 0.97
This analysis suggests particular width scalings of initialization and training hyperparameters for these models. interpretation 0.58 0.81 0.45 hedged possibility 1.00
We then take up such suggestions, training Vision and Language Transformers in practical setups. method 0.61 0.94 0.09 asserted 0.89

What kind of paper the classifier reports this is: theoretical result 0.91 · evidence from proof or derivation 0.55

What was examined, and what was not

Sources read

  • arXiv listing abstract v1

Not examined

  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers

Levels run

  • P abstract

Not run

  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

How the labels were made

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-23: 1 request, 2,886 input tokens.

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON

Cited by 3 Pith papers
How the literature uses it

13 arXiv papers cite this in 18 sentences

Each citing sentence is taken from the citing paper's LaTeX source and typed by Pith's classifier. A label appears at probability 0.8 or more (0.95 for support), a contest at 0.7 or more; the quoted words are the citing authors'. How each label was checked · JSON

Papers citing it · 10 sentences without a confident label

Cites it as background 8 papers

What it cites · 34 sentences without a confident label

Builds on 1 paper
  • The broader goal of this note is to provide a meta-blueprint to roll out the said effective-theory blueprint – which was illustrated in Ref. [ref] for the simple case of multilayer perceptrons – for more complicated neural-network architectures that come our way.

    The Principles of Deep Learning Theory · Theoretical Foundations · 0.89

Uses the method or tool of 4 papers
  • As for the learning schedule, we use a batch size of $4096$ – which results in $312$ iterations per epoch – with linear warmup [ref] for the first $20$ epochs, followed by a cosine learning-rate decay [ref] over the next $280$ epochs, that is, [equation] with $_min=10^-6$.[In retrospect, the effect of $_min=10^-6$ kicks in roughly only in the last $∼5$ epochs for the standard scaling runs (at $^⋆=0.001$) and in the last $∼10$ iterations for the neural-tangent scaling runs (at $^⋆=20$).] We train the models for the full $300$ epochs; we'll discuss the settings of the overall learning rate $$ and the weight decay $$ shortly in [ref].

    Accurate, Large Minibatch SGD: Training ImageNet in 1 Hour · Optimizer and Training Hyperparameters · 1.00

  • As for the optimizer, we use AdamW [ref] [ref]–[ref] with $(β_1,β_2,ϵ)= (0.9, 0.998,10^-6)$; we also set and to $0.1$ and to $0.1$.

    Adam: A Method for Stochastic Optimization · Optimizer and Training Hyperparameters · 0.99

  • As for the optimizer, we use AdamW [ref] [ref]–[ref] with $(β_1,β_2,ϵ)= (0.9, 0.998,10^-6)$; we also set and to $0.1$ and to $0.1$.

    Decoupled Weight Decay Regularization · Optimizer and Training Hyperparameters · 0.99

Uses data or values from 3 papers
  • As for the dataset, following Ref. [ref] , we use the dataset that combines the corpora used by RoBERTa [ref] – which by themselves are amalgamation of BookCorpus [ref] plus English Wikipedia [ref] , CommonCrawl News [ref] , OpenWebText [ref] , and Stories [ref] – with the English subset of the CC-100 corpus [ref] and a dump of pushshift.io Reddit compiled by a third party [ref] .

    BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding · Dataset and Task · 0.81

  • As for the dataset, following Ref. [ref] , we use the dataset that combines the corpora used by RoBERTa [ref] – which by themselves are amalgamation of BookCorpus [ref] plus English Wikipedia [ref] , CommonCrawl News [ref] , OpenWebText [ref] , and Stories [ref] – with the English subset of the CC-100 corpus [ref] and a dump of pushshift.io Reddit compiled by a third party [ref] .

    A Simple Method for Commonsense Reasoning · Dataset and Task · 0.81

  • As for the dataset, following Ref. [ref] , we use the dataset that combines the corpora used by RoBERTa [ref] – which by themselves are amalgamation of BookCorpus [ref] plus English Wikipedia [ref] , CommonCrawl News [ref] , OpenWebText [ref] , and Stories [ref] – with the English subset of the CC-100 corpus [ref] and a dump of pushshift.io Reddit compiled by a third party [ref] .

    RoBERTa: A Robustly Optimized BERT Pretraining Approach · Dataset and Task · 0.81

Compares with 1 paper
  • In contrast, the Tensor Program V [ref] puts forth a different scaling strategy – $1/C$ instead of $1/√(C)$ – based on heuristics that query and key vectors might get correlated at some point in training.] Consequently, we expect the self-attention matrix to be of order one.[See Appendix [ref] for more fun with the statistics of the self-attention.]

    Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer · Multi-Head Self-Attention Block · 0.83

Cites as background 4 papers
  • In this short crash course, we'll give a condensed introduction to the concept of neural tangent kernels [ref] , both for the vanilla stochastic gradient descent (SGD) optimizer ([ref]) and for the AdamW optimizer ([ref]); for a vaporized introduction, see, e.g., Ref. [ref] .

    The Principles of Deep Learning Theory · A Crash Course on Neural Tangent Kernels · 1.00

  • In general, a layer-normalization operation [ref] is defined as s^()_;t;i=γ^()_i≤[ z^()_;t;i-≤(1/∑_j=1^z^()_;t;j)/√(1/∑_j=1^≤(z^()_;t;j)^2-≤(1/∑_j=1^z^()_;t;j)^2+ϵ)]+β_i^() , with the regularization parameter $ϵ$ and element-wise affine parameters $γ^()_i$ and $β_i^()$.

    Layer Normalization · Layer Normalization · 0.81

  • In particular, in words, the last update equation [ref] can be viewed as adapting the per-parameter learning rate as $η/√(u^μμ)$, i.e., according to the inverse square root of the per-parameter running average of the squared gradients.[Let us explain other factors in the last AdamW update equation [ref] in more detail: the dividing factors of $(1-β_1^t)$ and $(1-β_2^t)$ are the bias-correction terms for the moment estimators $v^μ$ and $u^μμ$, respectively [ref] , and the regularization factor of $ϵ$ in the denominator sets the cutoff scale for gradients, that is, for the model parameter component $μ$ with $|g^μ|≫ϵ$ the update is basically $η·sign(g^μ)$ whereas for $|g^μ|≪ϵ$ the magnitude of the update starts to diminish in proportion to the magnitude of the gradient, albeit with an inflated learning rate $η/ϵ$.

    Adam: A Method for Stochastic Optimization · AdamW · 0.82

Challenges and discussion

Know something about this paper? Leave a comment.

No comments yet.

Sign in to comment