English

Towards Understanding Inductive Bias in Transformers: A View From Infinity

Machine Learning 2024-05-29 v2 Disordered Systems and Neural Networks Machine Learning

Abstract

We study inductive bias in Transformers in the infinitely over-parameterized Gaussian process limit and argue transformers tend to be biased towards more permutation symmetric functions in sequence space. We show that the representation theory of the symmetric group can be used to give quantitative analytical predictions when the dataset is symmetric to permutations between tokens. We present a simplified transformer block and solve the model at the limit, including accurate predictions for the learning curves and network outputs. We show that in common setups, one can derive tight bounds in the form of a scaling law for the learnability as a function of the context length. Finally, we argue WikiText dataset, does indeed possess a degree of permutation symmetry.

Keywords

Cite

@article{arxiv.2402.05173,
  title  = {Towards Understanding Inductive Bias in Transformers: A View From Infinity},
  author = {Itay Lavie and Guy Gur-Ari and Zohar Ringel},
  journal= {arXiv preprint arXiv:2402.05173},
  year   = {2024}
}

Comments

ICML 2024

R2 v1 2026-06-28T14:42:06.930Z