Research map / Architectures and efficiency / Attention and transformers
How do autoregressive transformers solve full addition?
Peixu Wang, Yu Chen, Ming Yu, Cheng Xiang
National University of Singapore · Power Automation
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
3improved
3no clear effect
6hurt
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 |
|---|---|---|---|
| zero-ablate the top-2 carry attention heads (ablation) | Gemma-7B · CC1 | accuracy (%): 99.33 -> 1.47 | Hurt |
| zero-ablate the top-2 carry attention heads (ablation) | Mistral-7B · CC1 | accuracy (%): 99.21 -> 34.80 | Hurt |
| zero-ablate random heads in the same layer (ablation) | Mistral-7B · CC1 | accuracy (%): 99.21 -> 96.99 | No clear effect |
| re-weight attention of the selected heads (λ=0.6) | Mistral-7B · CC4 | accuracy (%): 29.99 -> 41.83 | Improved |
| re-weight attention of the selected heads (λ=0.6) | Gemma-7B · CC4 | accuracy (%): 80.60 -> 92.73 | Improved |
| re-weight attention of the selected heads (λ=0.6) | Mistral-7B · CC1 | accuracy (%): 99.21 -> 98.12 | Hurt |
| full inference intervention (ablation plus re-weighting) | Mistral-7B · 20-digit addition | accuracy: 2% -> 38% | Improved |
| inference intervention on very long inputs | Mistral-7B · length 60 addition | accuracy | No clear effect |
| ablate the Detection Head after fine-tuning (ablation) | Gemma2-2B fine-tuned · CC4 | accuracy (%): 99.67 -> 55.42 | Hurt |
| ablate the Target Head after fine-tuning (ablation) | Gemma2-2B fine-tuned · CC4 | accuracy (%): 99.67 -> 51.58 | Hurt |
| ablate Detection Head after fine-tuning (ablation) | Gemma2-2B fine-tuned · CC1 and CC2 | accuracy (%): 100 -> 100 | No clear effect |
| test beyond maximum fine-tuning length | Gemma2-2B fine-tuned · CCd length generalization | accuracy | Hurt |
Open problems this paper states
- “Conclusions are limited to the specific pre-trained architectures studied, and larger models or other positional encodings may behave differently.” → Not tested on models larger than a few billion parameters. (an open problem in sparse efficient transformers for long context)
Open problems in sparse efficient transformers for long context
Do sparse and efficient long-context attention methods keep their quality and speed at larger model scale?
- Not tested on models larger than a few billion parameters. · 12 papers state it
- Training costs more or is less stable than a standard transformer. · 7 papers state it
- Quality still falls behind softmax attention or the teacher model. · 6 papers state it
Closest papers by meaning
- Extrapolation by Association: Length Generalization Transfer In Transformers (NeurIPS 2025 · similarity 0.87)
- Understanding Addition in Transformers (ICLR 2024 · similarity 0.86)
- Algorithmic Capabilities of Random Transformers (NeurIPS 2024 · similarity 0.86)
- How do Transformers Perform In-Context Autoregressive Learning ? (ICML 2024 · similarity 0.86)
- Arithmetic Transformers Can Length-Generalize in Both Operand Length and Count (ICLR 2025 · similarity 0.86)
- Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Tasks (ICML 2024 · similarity 0.86)
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.