potentialpaper

Transformers Miss the Middle Digits: Repairing Long Multiplication by Recursion and Robust Recombination

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:12 UTC · 6c724500dc6c ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "3uEx90WUbH"
- }
- ],
- "title": "Transformers Miss the Middle Digits: Repairing Long Multiplication by Recursion and Robust Recombination",
- "authors": [],
- "abstract": "Transformers trained to multiply long integers tend to get the first and last\ndigits of the product right and the middle ones wrong. We show that this is\nstructure, not noise. For a flat model that writes the product directly, the\nfive central digits of $5\\times5$ products are predicted at chance level\n(10--13\\%) while the first digit is still $74\\%$ accurate, and the failing band\nwidens with the number of digits. The triangular profile of column interactions motivates this diagnosis.\nUnder an explicit residual-channel model, we prove a digitwise error law\nand conditions for a central error peak and a widening band near chance.\nWe quantify corrections for carry errors, dependence, and decoder mismatch.\nWe also prove an exact local recombination rule and attention-leakage and\nmargin conditions for its stable execution. We build the\nRecursive Arithmetic Transformer(RAT), a single Transformer that is\nnever supervised on products beyond $2\\times2$ digits. Exact oracles for\nSplit move its accuracy on 9- and 10-digit products by at most 4.2 points, and\ntraining Combine on wider inputs raises exact match from $73\\%$ to $86\\%$ on\n$10\\times10$ and from $36\\%$ to $55\\%$ on $18\\times18$ multiplication, with a\ngain at every length from 8 to 18 digits. Long-multiplication failures should be\ndiagnosed, and repaired, one stage at a time.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "f410139d-a9ca-43b3-81df-38002f85c208"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Transformers Miss the Middle Digits: Repairing Long Multiplication by Recursion and Robust Recombination",
+ "authors": [],
+ "abstract": "Transformers trained to multiply long integers tend to get the first and last\ndigits of the product right and the middle ones wrong. We show that this is\nstructure, not noise. For a flat model that writes the product directly, the\nfive central digits of $5\\times5$ products are predicted at chance level\n(10--13\\%) while the first digit is still $74\\%$ accurate, and the failing band\nwidens with the number of digits. The triangular profile of column interactions motivates this diagnosis.\nUnder an explicit residual-channel model, we prove a digitwise error law\nand conditions for a central error peak and a widening band near chance.\nWe quantify corrections for carry errors, dependence, and decoder mismatch.\nWe also prove an exact local recombination rule and attention-leakage and\nmargin conditions for its stable execution. We build the\nRecursive Arithmetic Transformer(RAT), a single Transformer that is\nnever supervised on products beyond $2\\times2$ digits. Exact oracles for\nSplit move its accuracy on 9- and 10-digit products by at most 4.2 points, and\ntraining Combine on wider inputs raises exact match from $73\\%$ to $86\\%$ on\n$10\\times10$ and from $36\\%$ to $55\\%$ on $18\\times18$ multiplication, with a\ngain at every length from 8 to 18 digits. Long-multiplication failures should be\ndiagnosed, and repaired, one stage at a time.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}