atlas

Research map / Architectures and efficiency / Attention and transformers

A distributional simplicity bias in the learning dynamics of transformers

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Builds "clones" of NLP datasets (WikiText-103, TinyStories) with truncated many-body token interactions using deep factored-attention models with quadratic activations, and shows BERT and GPT-Neo learn higher-order interactions sequentially during training.

Problem

Whether the distributional simplicity bias (sequential learning of increasingly complex distributions) explains transformer training on natural language with self-supervised objectives; estimating higher-order token interactions directly is intractable on large corpora.

Approach

Use stacks of factored-attention layers with x^2 activations, whose depth controls the maximum order of token interactions (order 2^(n-1)+1), to generate Monte Carlo-sampled clones of a dataset; then test a transformer trained on the original data against clones of different interaction orders to reveal sequential learning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train longer on the original data4-layer BERT · WikiText-103 clonestest lossMixed
Train longer on the original data4-layer BERT · WikiText-103 high-order clonestest lossHelped
Train beyond 10^4 steps4-layer BERT · TinyStories three-body clonetest lossNo clear effect
Train from 10^4 to 3 × 10^4 steps4-layer BERT · TinyStories clone from 4-layer factored attentiontest lossHelped
Train beyond 3 × 10^4 steps4-layer BERT · TinyStories clone from 4-layer factored attentiontest lossNo clear effect
Continue training4-layer BERT · TinyStories clone from 6-layer factored attentiontest lossHelped
Continue training4-layer BERT · TinyStories clone sampled from BERTtest lossHelped
Continue training2-layer GPT-Neo · TinyStories low-order clonestest lossNo clear effect
Continue training2-layer GPT-Neo · TinyStories higher-order clonestest lossHelped
Add one factored-attention layer with x^2 activation (ablation)Factored-attention model trained on synthetic four-body data · Synthetic four-body datatest lossHelped
Add a third factored-attention layer with x^2 activation (ablation)Factored-attention model trained on synthetic four-body data · Synthetic four-body datatest lossHelped
Increase factored-attention depth from two to four layers (ablation)Factored-attention clone generator · TinyStoriestest lossHelped

Surprising findings

Limitations

Experimental setup

Datasets: TinyStories WikiText-103 synthetic four-body Hamiltonian data

Benchmarks: TinyStories clones (test loss) WikiText-103 clones (test loss)

Metrics: test cross-entropy loss test accuracy

Baselines: BERT (4-layer) GPT-Neo (2-layer) factored attention 2/4/6 layers

Builds on: factored attention Metropolis-Hastings sampling for bidirectional models BERT GPT-Neo distributional simplicity bias

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy