mlsanityData to 14 Oct 2026

On the Mirage of Long-Range Dependency, with an Application to Integer Multiplication

arXiv 2603.29069 ↗First posted 30 Mar 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Integer multiplication has long been considered a hard problem for neural networks, with the difficulty widely attributed to the O(n) long-range dependency induced by carry chains. We argue that this diagnosis is wrong: long-range dependency is not an intrinsic property of multiplication, but a mirage produced by the choice of computational spacetime. We formalize the notion of mirage and provide a constructive proof: when two n-bit binary integers are laid out as a 2D outer-product grid, every step of long multiplication collapses into a 3 × 3 local neighborhood operation. Under this representation, a neural cellular automaton with only 321 learnable parameters achieves perfect length generalization up to 683× the training range. Five alternative architectures -- including Transformer (6,625 params), Transformer+RoPE, and Mamba -- all fail under the same representation. We further analyze how partial successes locked the community into an incorrect diagnosis, and argue that any task diagnosed as requiring long-range dependency should first be examined for whether the dependency is intrinsic to the task or induced by the computational spacetime.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 27 of its 33 references that are in the map. First posted on arXiv 30 Mar 2026.

Builds on

27 of 33 references.

References · 27

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  5. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
  6. 2018Universal Transformerscited by 647
  7. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
  8. 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
  9. 2022Neural Networks and the Chomsky Hierarchycited by 217
  10. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
  11. 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
  12. 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 123
15 more
  1. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Taskscited by 105
  2. 2024Looped Transformers for Length Generalizationcited by 99
  3. 2024Why are Sensitive Functions Hard for Transformers?cited by 74
  4. 2023Length Generalization in Arithmetic Transformerscited by 66
  5. 2018Cellular automata as convolutional neural networkscited by 45
  6. 2024A Formal Framework for Understanding Length Generalization in Transformerscited by 45
  7. 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
  8. 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Taskscited by 24
  9. 2024Arithmetic Transformers Can Length-Generalize in Both Operand Length and Countcited by 18
  10. 2025Softmax Transformers are Turing-Completecited by 9
  11. 2024Dissecting Multiplication in Transformers: Insights into LLMscited by 7
  12. 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfallscited by 7
  13. 2025Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural Networkscited by 4
  14. 2026On the Spatiotemporal Dynamics of Generalization in Neural Networkscited by 3
  15. 2023Solving the multiplication problem of a large language model system using a graph-based methodcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Do Large Language Models Truly Grasp Addition? A Rule-Focused Diagnostic Using Two-Integer Arithmetic
  2. 2024Fourier Circuits in Neural Networks and Transformers: A Case Study of Modular Arithmetic with Multiple Inputs
  3. 2026Separators Make Carry Propagation Learnable:The Geometry of Latent Carry in a Multiplication Transformer
  4. 2026The Shape of Addition: Geometric Structures of Arithmetic in Large Language Models
  5. 2026RLVR landscapes for iterated multiplications can be benign: Insights from spin-glass theory
  6. 2024Unraveling Arithmetic in Large Language Models: The Role of Algebraic Structures
  7. 2025Language Models Use Trigonometry to Do Addition
  8. 2024Limits of Deep Learning: Sequence Modeling through the Lens of Complexity Theory