Research map / Architectures and efficiency / Attention and transformers
Why are Sensitive Functions Hard for Transformers?
Michael Hahn, Mark Rofin
Saarland University
Read the paperPlace an idea next to itCheck your own paper ↗
6measured effects
3improved
2hurt
1mixed
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| increase input length n (4 to 30) for PARITY | transformer encoder trained on PARITY · PARITY, lengths 4-30 | sharpness | Hurt |
| use low-sensitivity functions (MAJORITY, FIRST, MEAN) instead of PARITY | transformer encoder · lengths 4-30 | sharpness | Improved |
| increase input length for PARITY at fixed parameter norm | transformer encoder · PARITY | LayerNorm blowup vs parameter norm | Hurt |
| train on random-function subsets (sizes 128/256/512, n=10) and compare extrapolated function to the true one | transformer · random Boolean functions, n=10 | average sensitivity and sharpness | Improved |
| add a scratchpad (autoregressive intermediate steps) for PARITY (ablation) | encoder-decoder transformer · PARITY, length up to about 300 | sharpness | Improved |
| add layer-norm blowup during training of PARITY | transformer encoder · PARITY, length 25 (39 converged runs) | sharpness and loss | Mixed |
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
- Transformers Learn Low Sensitivity Functions: Investigations and Implications (ICLR 2025 · similarity 0.90)
- How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad (NeurIPS 2024 · similarity 0.89)
- Towards Understanding Inductive Bias in Transformers: A View From Infinity (ICML 2024 · similarity 0.88)
- What Algorithms can Transformers Learn? A Study in Length Generalization (ICLR 2024 · similarity 0.87)
- Algorithmic Capabilities of Random Transformers (NeurIPS 2024 · similarity 0.87)
- Pause Tokens Strictly Increase the Expressivity of Constant-Depth Transformers (NeurIPS 2025 · similarity 0.87)
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.