mlsanityData to 14 Oct 2026

End-to-end Algorithm Synthesis with Recurrent Networks: Logical Extrapolation Without Overthinking

arXiv 2202.05826 ↗First posted 11 Feb 2022cs.LG cs.AIcited by 33

On the map: LLM reasoning → Test-time compute and efficient thinking

Abstract (arXiv)

Machine learning systems perform well on pattern matching tasks, but their ability to perform algorithmic or logical reasoning is not well understood. One important reasoning capability is algorithmic extrapolation, in which models trained only on small/simple reasoning problems can synthesize complex strategies for large/complex problems at test time. Algorithmic extrapolation can be achieved through recurrent systems, which can be iterated many times to solve difficult reasoning problems. We observe that this approach fails to scale to highly complex problems because behavior degenerates when many iterations are applied -- an issue we refer to as "overthinking." We propose a recall architecture that keeps an explicit copy of the problem instance in memory so that it cannot be forgotten. We also employ a progressive training routine that prevents the model from learning behaviors that are specific to iteration number and instead pushes it to learn behaviors that can be repeated indefinitely. These innovations prevent the overthinking problem, and enable recurrent systems to solve extremely hard extrapolation tasks.

Key facts. Cited by 33 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 19 of its 25 references that are in the map. First posted on arXiv 11 Feb 2022.

Builds on

19 of 25 references.

References · 19

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2016Densely Connected Convolutional Networkscited by 6,720
  4. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  5. 2018Universal Transformerscited by 647
  6. 2014Neural Turing Machinescited by 644
  7. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  8. 2015Highway Networkscited by 260
  9. 2018Learning a SAT Solver from Single-Bit Supervisioncited by 200
  10. 2021PonderNet: Learning to Pondercited by 168
  11. 2015Neural GPUs Learn Algorithmscited by 121
  12. 2021Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent Networkscited by 117
7 more
  1. 2017Recurrent Relational Networkscited by 72
  2. 2020Differentiable Adaptive Computation Time for Visual Reasoningcited by 12
  3. 2021Datasets for Studying Generalization from Easy to Hard Examplescited by 12
  4. 2021The Uncanny Similarity of Recurrence and Depthcited by 9
  5. 2018NAIS-Net: Stable Deep Networks from Non-Autonomous Differential Equationscited by 7
  6. 2017Improving the Neural GPU Architecture for Algorithm Learningcited by 4
  7. 2021Deep Algorithmic Question Answering: Towards a Compositionally Hybrid AI for Algorithmic Reasoningcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 6; 2023: 8; 2024: 5; 2025: 4; 2026: 10.

33 papers.

Sort:

By area:

  1. 2022Transformers Learn Shortcuts to Automatacited by 268
  2. 2022Neural Networks and the Chomsky Hierarchycited by 217
  3. 2022Exploring Length Generalization in Large Language Modelscited by 206
  4. 2023Looped Transformers are Better at Learning Learning Algorithmscited by 149
  5. 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 78
  6. 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 78
  7. 2023Length Generalization in Arithmetic Transformerscited by 66
  8. 2022A Generalist Neural Algorithmic Learnercited by 59
  9. 2024The Unreasonable Effectiveness of Easy Training Data for Hard Taskscited by 40
  10. 2022Path Independent Equilibrium Models Can Better Exploit Test-Time Computationcited by 38
  11. 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 31
  12. 2023Adaptive Computation with Elastic Input Sequencecited by 22
21 more
  1. 2023Banana: Banach Fixed-Point Network for Pointcloud Segmentation with Inter-Part Equivariancecited by 19
  2. 2023SALSA-CLRS: A Sparse and Scalable Benchmark for Algorithmic Reasoningcited by 12
  3. 2026Stability and Generalization in Looped Transformerscited by 10
  4. 2025Position: An Empirically Grounded Identifiability Theory Will Accelerate Self-Supervised Learning Researchcited by 9
  5. 2023Grounded Image Text Matching with Mismatched Relation Reasoningcited by 8
  6. 2024Benchmarking ChatGPT on Algorithmic Reasoningcited by 8
  7. 2023Adaptive recurrent vision performs zero-shot computation scaling to unseen difficulty levelscited by 6
  8. 2025Unlocking Out-of-Distribution Generalization in Transformers via Recursive Latent Space Reasoningcited by 6
  9. 2025Learning to Stop Overthinking at Test Timecited by 4
  10. 2026Stabilizing Extrapolation in Looped Transformers via Learned Stochastic Stoppingcited by 4
  11. 2022Logical Tasks for Measuring Extrapolation and Rule Comprehensioncited by 3
  12. 2026What Survives When You Compress a Recursive Reasoner for the Edge?cited by 3
  13. 2024MazeNet: An Accurate, Fast, and Scalable Deep Learning Solution for Steiner Minimum Treescited by 0
  14. 2025Playing Hex and Counter Wargames using Reinforcement Learning and Recurrent Neural Networkscited by 0
  15. 2026Anatomy of a Sound Neural Reasoner: One-Shot Amortization, First-Pass Poisoning, and Search Inertness in Clue-Rich Completioncited by 0
  16. 2026DART: Distributional Adversarial Recurrent Training for Algorithm Learningcited by 0
  17. 2026Storing Is Not Remembering: LSTM-UT and Bounded Gated Memory for Looped Transformerscited by 0
  18. 2026Reasoning with Neural Cellular Automatacited by 0
  19. 2026Transformers Stop Thinking Too Early, and a Tiny LoRA Fixes Itcited by 0
  20. 2026Looped Actor: Depth-Recurrent Reasoning Models for Reinforcement Learningcited by 0
  21. 2026Random Recursive Modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Beyond Interpolation: Extrapolative Reasoning with Reinforcement Learning and Graph Neural Networks
  2. 2025Beyond Memorization: Extending Reasoning Depth with Recurrence, Memory and Test-Time Compute Scaling
  3. 2026Boosting Inference with Guided Reasoning: Stochastic Exploration for Recursive Models
  4. 2026Beyond Repeated Sampling: Learning Search Policies for LLM Reasoning
  5. 2026Input-Conditioned Search for Efficient Test-Time Scaling of Recursive Reasoners
  6. 2025Temporal Sampling for Forgotten Reasoning in LLMs
  7. 2025Attend or Perish: Benchmarking Attention in Algorithmic Reasoning
  8. 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Models