Research map / Architectures and efficiency / Attention and transformers
Principled Understanding of Generalization for Generative Transformer Models in Arithmetic Reasoning Tasks
Xingcheng Xu, Zibo Zhao, Haipeng Zhang, Yanqing Yang
Shanghai AI Laboratory · The University of Hong Kong · ShanghaiTech University · Fudan University
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use modulus dividing 10^n (p=100) instead of non-dividing p=101 | MiniGPT with APE · Modular addition, 5-digit OOD domain | test accuracy (%): 0.0 -> 100 | Improved |
| use modulus dividing 10^n (p=50) instead of p=51 | MiniGPT with APE · Modular addition, 9-digit OOD domain | test accuracy (%): 1.6 -> 91.4 | Improved |
| modulus with gcd(p,10^n)=50 (p=150) versus coprime p=151 | MiniGPT with APE · Modular addition, 9-digit OOD domain | test accuracy (%): 0.6 -> 33.7 (theory 0.66 vs 33.3) | Improved |
| train on D4,5 (mixed lengths) instead of D4 or D5 alone (ablation) | APE transformer, addition · Addition, training smoothness | training behaviour | Improved |
| replace APE with relative/abacus positional embedding | Transformer, addition · Addition, longer unseen lengths | length generalization | Improved |
| APE models tested on digits above training length | MiniGPT with APE · Addition, upward OOD | digit-wise accuracy | 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
- Arithmetic Transformers Can Length-Generalize in Both Operand Length and Count (ICLR 2025 · similarity 0.91)
- Assign and Add: A Mechanistic Study of Compositional Arithmetic (NeurIPS 2026 · similarity 0.91)
- Position Coupling: Improving Length Generalization of Arithmetic Transformers Using Task Structure (NeurIPS 2024 · similarity 0.90)
- A Formal Framework for Understanding Length Generalization in Transformers (ICLR 2025 · similarity 0.90)
- What Algorithms can Transformers Learn? A Study in Length Generalization (ICLR 2024 · similarity 0.90)
- Extrapolation by Association: Length Generalization Transfer In Transformers (NeurIPS 2025 · similarity 0.89)
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.