scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functions

Satwik Bhattamishra, Arkil Patel, Varun Kanade, Phil Blunsom

ACL 2023Architectures and efficiency › Attention and transformersapproach: Transformer expressivity and learnabilityopen problems in this approach90 citations (OpenAlex)

University of Oxford · Mila · Cohere

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
7improved
5no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Add positional encoding

Use learnable positional embeddings for LSTMs on Sparse Parities · Sparse Parities n=40 k=4 · validation accuracy No clear effect

What 733 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use a Transformer instead of an LSTM on Sparse Parities (n=40, k=4)LSTM · Sparse Parities n=40 k=4validation accuracy: LSTM stays near 50% (chance) vs Transformer generalizes wellImproved
Use a Transformer instead of an LSTM on Sparse Parities with 5-20% label noiseLSTM · Sparse Parities with noisevalidation accuracy: Transformer perfect generalizationImproved
Use a Transformer instead of an LSTM on standard Parity (n=40)LSTM · Parity n=40validation accuracy: LSTM generalizes, Transformer strugglesHurt
Use a Transformer instead of an LSTM on sparse majority and dictator with 10-30% noiseLSTM · Sparse Majority and Dictatorvalidation accuracy: LSTM <75% at long lengths vs near-perfect TransformerImproved
Use a Transformer instead of an LSTM on random 5-sparse juntas, n=50, 10% noiseLSTM · Juntas n=50 k=5validation accuracy: LSTM <75% vs Transformer perfectImproved
Sample random Transformers instead of random LSTMs (uniform/Gaussian init)LSTM · random Boolean function sensitivitynormalized average sensitivity: Transformer distribution skewed to very low sensitivityImproved
Train until zero training error on random labels, Transformer vs LSTMLSTM · random-label Boolean datasensitivity at convergence: Transformers converge to lower sensitivityImproved
Use variable-length extensions of sparse parities and majoritiesTransformer vs LSTM · variable length sparse tasksvalidation accuracyNo clear effect
Train on sentiment classification (SST, IMDB) and compare Transformer to LSTM sensitivityTransformer · SST and IMDBsensitivityNo clear effect
Use learnable positional embeddings for LSTMs on Sparse Parities (ablation)LSTM · Sparse Parities n=40 k=4validation accuracyNo clear effect
Use absolute positional encoding instead of learnable in Transformers (ablation)Transformer · Sparse Parities n=40 k=4validation accuracyNo clear effect
Reduce training set to 1000 examples (ablation)Transformer · Sparse Parities n=40 k=4generalization: overfit across all runsHurt

Open problems in Transformer expressivity and learnability

Do theorems about transformer expressivity and learning still hold for deep, softmax, trained models?

All 3 open problems and what was already tried →

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