Alert button

Inductive Biases and Variable Creation in Self-Attention Mechanisms

Oct 19, 2021
Benjamin L. Edelman, Surbhi Goel, Sham Kakade, Cyril Zhang

Figure 1 for Inductive Biases and Variable Creation in Self-Attention Mechanisms
Figure 2 for Inductive Biases and Variable Creation in Self-Attention Mechanisms
Figure 3 for Inductive Biases and Variable Creation in Self-Attention Mechanisms
Figure 4 for Inductive Biases and Variable Creation in Self-Attention Mechanisms

Share this with someone who'll enjoy it:

Self-attention, an architectural motif designed to model long-range interactions in sequential data, has driven numerous recent breakthroughs in natural language processing and beyond. This work provides a theoretical analysis of the inductive biases of self-attention modules, where our focus is to rigorously establish which functions and long-range dependencies self-attention blocks prefer to represent. Our main result shows that bounded-norm Transformer layers create sparse variables: they can represent sparse functions of the input sequence, with sample complexity scaling only logarithmically with the context length. Furthermore, we propose new experimental protocols to support this analysis and to guide the practice of training Transformers, built around the large body of work on provably learning sparse Boolean functions.

View paper onarxiv iconopen_review iconOpenReview

Share this with someone who'll enjoy it: