mlsanityData to 14 Oct 2026

How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad

arXiv 2406.06467 ↗First posted 10 Jun 2024cs.LG cs.AI stat.MLcited by 36

Not on the map. Why?

Abstract (arXiv)

Can Transformers predict new syllogisms by composing established ones? More generally, what type of targets can be learned by such models from scratch? Recent works show that Transformers can be Turing-complete in terms of expressivity, but this does not address the learnability objective. This paper puts forward the notion of 'globality degree' of a target distribution to capture when weak learning is efficiently achievable by regular Transformers. This measure shows a contrast with the expressivity results of Transformers captured by TC0/TC1 classes (further studied here), since the globality relates to correlations with the more limited NC0 class. We show here experimentally and theoretically under additional assumptions that distributions with high globality cannot be learned efficiently. In particular, syllogisms cannot be composed on long chains. Further, we develop scratchpad techniques and show that: (i) agnostic scratchpads cannot break the globality barrier, (ii) educated scratchpads can break the globality with intermediate steps, although not all such scratchpads can generalize out-of-distribution (OOD), (iii) a notion of 'inductive scratchpad', that composes the prior information more efficiently, can both break the globality barrier and improve the OOD generalization. In particular, some of our inductive scratchpads can achieve length generalizations of up to 6× for some arithmetic tasks depending on the input formatting.

Key facts. Cited by 36 papers in the map (data through 14 Oct 2026). Builds on 80 of its 98 references that are in the map. First posted on arXiv 10 Jun 2024.

Builds on

80 of 98 references.

References · 80

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  7. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  8. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  9. 2017Decoupled Weight Decay Regularizationcited by 1,831
  10. 2016Understanding deep learning requires rethinking generalizationcited by 1,674
  11. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  12. 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
38 more
  1. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
  2. 2018Self-Attention with Relative Position Representationscited by 1,120
  3. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  4. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
  5. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
  6. 2022Quantifying Memorization Across Neural Language Modelscited by 763
  7. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  8. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 497
  9. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
  10. 2022Selection-Inference: Exploiting Large Language Models for Interpretable Logical Reasoningcited by 334
  11. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  12. 2021Do Transformers Really Perform Bad for Graph Representation?cited by 320
  13. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 314
  14. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
  15. 2019Compositionality decomposed: how do neural networks generalise?cited by 265
  16. 2023Think before you speak: Training Language Models With Pause Tokenscited by 264
  17. 2021Curriculum Learning: A Surveycited by 259
  18. 2023Can Language Models Solve Graph Problems in Natural Language?cited by 252
  19. 2023Looped Transformers as Programmable Computerscited by 237
  20. 2020Retrieve, Program, Repeat: Complex Knowledge Base Question Answering via Alternate Meta-learningcited by 216
  21. 2024STAR: A Benchmark for Situated Reasoning in Real-World Videoscited by 213
  22. 2022Exploring Length Generalization in Large Language Modelscited by 206
  23. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
  24. 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
  25. 2021Thinking Like Transformerscited by 184
  26. 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 176
  27. 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Proverscited by 168
  28. 2019CLUTRR: A Diagnostic Benchmark for Inductive Reasoning from Textcited by 162
  29. 2023SGD learning on neural networks: leap complexity and saddle-to-saddle dynamicscited by 143
  30. 2022The merged-staircase property: a necessary and nearly sufficient condition for SGD learning of sparse functions on two-layer neural networkscited by 142
  31. 2019PHYRE: A New Benchmark for Physical Reasoningcited by 137
  32. 2022Revisiting Neural Scaling Laws in Language and Visioncited by 132
  33. 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 129
  34. 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
  35. 2023Teaching Arithmetic to Small Transformerscited by 123
  36. 2020Online stochastic gradient descent on non-convex losses from high-dimensional inferencecited by 119
  37. 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
  38. 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 117

50 most cited of 80 All 80 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 15; 2026: 16.

36 papers.

Sort:

By area:

  1. 2024From Sparse Dependence to Sparse Attention: Unveiling How Chain-of-Thought Enhances Transformer Sample Efficiencycited by 29
  2. 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 28
  3. 2024Mixture of Parrots: Experts improve memorization more than reasoningcited by 21
  4. 2025RL for Reasoning by Adaptively Revealing Rationalescited by 16
  5. 2025Task Generalization With AutoRegressive Compositional Structure: Can Learning From D Tasks Generalize to DT Tasks?cited by 11
  6. 2025Efficient Joint Prediction of Multiple Future Tokenscited by 10
  7. 2025Lost in Transmission: When and Why LLMs Fail to Reason Globallycited by 9
  8. 2025Beyond In-Distribution Success: Scaling Curves of CoT Granularity for Language Model Generalizationcited by 5
  9. 2026Parity, Sensitivity, and Transformerscited by 5
  10. 2026Krause Synchronization Transformerscited by 5
  11. 2024Quantum Hamiltonian Embedding of Images for Data Reuploading Classifierscited by 4
  12. 2025Revisiting Bi-Linear State Transitions in Recurrent Neural Networkscited by 4
24 more
  1. 2025AbstRaL: Augmenting LLMs' Reasoning by Reinforcing Abstract Thinkingcited by 4
  2. 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Modelscited by 4
  3. 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoningcited by 4
  4. 2024Neural Networks Generalize on Low Complexity Datacited by 3
  5. 2025Test-Time-Scaling for Zero-Shot Diagnosis with Visual-Language Reasoningcited by 3
  6. 2026Shattered Compositionality: Counterintuitive Learning Dynamics of Transformers for Arithmeticcited by 3
  7. 2025See-in-Pairs: Reference Image-Guided Comparative Vision-Language Models for Medical Diagnosiscited by 2
  8. 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoningcited by 2
  9. 2026On the "Induction Bias" in Sequence Modelscited by 2
  10. 2024Representing Rule-based Chatbots with Transformerscited by 1
  11. 2025What Makes the Preferred Thinking Direction for LLMs in Multiple-choice Questions?cited by 1
  12. 2025Attention with Trained Embeddings Provably Selects Important Tokenscited by 1
  13. 2026Reasoning about Reasoning: BAPO Bounds on Chain-of-Thought Token Complexity in LLMscited by 1
  14. 2026Arithmetic OOD Failure Unfolds in Stages in Minimal GPTscited by 1
  15. 2026Training Transformers as a Universal Computercited by 1
  16. 2026Barriers to Universal Reasoning With Transformers (And How to Overcome Them)cited by 1
  17. 2026The two clocks and the innovation window: When and how generative models learn rulescited by 1
  18. 2026Learning with Shallow Neural Networks on Cluster-Structured Featurescited by 1
  19. 2026Fine-Tuning Dynamics of In-Context Factual Recall in Transformerscited by 1
  20. 2025Learning Model Successorscited by 0
  21. 2025Exploring Depth Generalization in Large Language Models for Solving Recursive Logic Taskscited by 0
  22. 2026Emergent Models: Intelligence from Tiny Substratescited by 0
  23. 2026Learn Your Own Thoughts: Abstract Token Curriculumcited by 0
  24. 2026Learning without Overwriting: A Theory of Self-Distillation and Supervised Fine-Tuning in Continual Reasoningcited by 0