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
University of Oxford · Mila · Cohere
Read the paperPlace an idea next to itCheck your own paper ↗
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
- 590 improved
- 67 no clear effect
- 9 mixed
- 67 hurt
- Learning-Augmented Scalable Linear Assignment Problem Optimization via Neural Dual Warm-Starts ICML 2026 · add positional encodings to features (d=13 -> d=21) · Block-structured, N=4096 · speedupImproved
- Mesh Based Simulations with Spatial and Temporal awareness ICML 2026 · use learned positional embedding, learnable relative bias or weighted adjacency instead of RoPE · Aneurysm · RMSEHurt
- Sparse ActionGen: Accelerating Diffusion Policy with Real-time Pruning ICML 2026 · add sinusoidal positional encoding to the pruner · Robomimic Tool Hang · success rate (%): 28 -> 54Improved
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 changed | Where | Measured | Effect |
|---|---|---|---|
| Use a Transformer instead of an LSTM on Sparse Parities (n=40, k=4) | LSTM · Sparse Parities n=40 k=4 | validation accuracy: LSTM stays near 50% (chance) vs Transformer generalizes well | Improved |
| Use a Transformer instead of an LSTM on Sparse Parities with 5-20% label noise | LSTM · Sparse Parities with noise | validation accuracy: Transformer perfect generalization | Improved |
| Use a Transformer instead of an LSTM on standard Parity (n=40) | LSTM · Parity n=40 | validation accuracy: LSTM generalizes, Transformer struggles | Hurt |
| Use a Transformer instead of an LSTM on sparse majority and dictator with 10-30% noise | LSTM · Sparse Majority and Dictator | validation accuracy: LSTM <75% at long lengths vs near-perfect Transformer | Improved |
| Use a Transformer instead of an LSTM on random 5-sparse juntas, n=50, 10% noise | LSTM · Juntas n=50 k=5 | validation accuracy: LSTM <75% vs Transformer perfect | Improved |
| Sample random Transformers instead of random LSTMs (uniform/Gaussian init) | LSTM · random Boolean function sensitivity | normalized average sensitivity: Transformer distribution skewed to very low sensitivity | Improved |
| Train until zero training error on random labels, Transformer vs LSTM | LSTM · random-label Boolean data | sensitivity at convergence: Transformers converge to lower sensitivity | Improved |
| Use variable-length extensions of sparse parities and majorities | Transformer vs LSTM · variable length sparse tasks | validation accuracy | No clear effect |
| Train on sentiment classification (SST, IMDB) and compare Transformer to LSTM sensitivity | Transformer · SST and IMDB | sensitivity | No clear effect |
| Use learnable positional embeddings for LSTMs on Sparse Parities (ablation) | LSTM · Sparse Parities n=40 k=4 | validation accuracy | No clear effect |
| Use absolute positional encoding instead of learnable in Transformers (ablation) | Transformer · Sparse Parities n=40 k=4 | validation accuracy | No clear effect |
| Reduce training set to 1000 examples (ablation) | Transformer · Sparse Parities n=40 k=4 | generalization: overfit across all runs | Hurt |
Open problems in Transformer expressivity and learnability
Do theorems about transformer expressivity and learning still hold for deep, softmax, trained models?
- Experiments use small models and synthetic tasks only. · 16 papers state it
- Theory covers one layer, linear attention or fixed matrices, not full transformers. · 12 papers state it
- Theorems and constructions are not shown to match trained transformers. · 6 papers state it
Closest papers by meaning
- Understanding In-Context Learning in Transformers and LLMs by Learning to Learn Discrete Functions (ICLR 2024 · similarity 0.89)
- Transformers Learn Low Sensitivity Functions: Investigations and Implications (ICLR 2025 · similarity 0.89)
- A distributional simplicity bias in the learning dynamics of transformers (NeurIPS 2024 · similarity 0.89)
- On the Minimal Degree Bias in Generalization on the Unseen for non-Boolean Functions (ICML 2024 · similarity 0.88)
- Algorithmic Capabilities of Random Transformers (NeurIPS 2024 · similarity 0.88)
- Understanding Transformers via N-Gram Statistics (NeurIPS 2024 · similarity 0.88)
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.