mlsanityData to 7 Oct 2026

Code-enabled language models can outperform reasoning models on diverse tasks

arXiv 2510.20909 ↗First posted 23 Oct 2025cs.CL cs.AIcited by 4

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Reasoning models (RMs), language models (LMs) trained with reinforcement learning to produce long-form natural language reasoning, have been remarkably successful, but they still require large amounts of computation and data to train, and can be slow and expensive to run. In this paper, we show that standard instruct LMs can already be elicited to be strong reasoners at a level comparable to or even surpassing their corresponding RMs (e.g., DeepSeek V3 vs R1) without finetuning, across diverse domains from instruction following and creative generation to mathematical reasoning. This is achieved by CodeAdapt, our simple recipe that combines the CodeAct framework, where LMs interleave natural language reasoning with code execution in a multi-step fashion, with few-shot bootstrap in-context learning from as few as five training problems. Analyzing four matched pairs of LMs and RMs, we find that CodeAdapt enables three LMs to outperform the corresponding RMs on average over eight tasks (up to 22.9%) while being 10-81% more token efficient, and delivers superior performance on six tasks when averaged over the four models (up to 35.7%). Furthermore, the code-augmented reasoning traces display rich and varied problem-solving strategies. Our findings support that (1) CodeAdapt-style learning and reasoning may be robust and domain general and (2) code-enabled LMs are cognitively grounded and powerful systems, potentially providing a strong foundation for in-weight reinforcement learning.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 69 of its 92 references that are in the map. First posted on arXiv 23 Oct 2025.

Builds on

69 of 92 references.

Closest ancestors · 9

Same direction, newest first

  1. 2025Scaling up the think-aloud method29 May
  2. 2025Qwen3 Technical Report14 May
  3. 2025From System 1 to System 2: A Survey of Reasoning Large Language Models24 Feb
  4. 2024HYBRIDMIND: Meta Selection of Natural Language and Symbolic Language for Enhanced LLM Reasoning28 Sep
  5. 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers23 Oct
  6. 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Tasks5 Jul
  7. 2022PAL: Program-aided Language Models18 Nov
  8. 2022ReAct: Synergizing Reasoning and Acting in Language Models6 Oct
  9. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Models30 Nov

Other references · 60

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  6. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
  7. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  8. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  9. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  10. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  11. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  12. 2025s1: Simple test-time scalingcited by 1,311
38 more
  1. 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,276
  2. 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
  3. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  4. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  5. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  6. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  7. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 948
  8. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
  9. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
  10. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  11. 2025Group Sequence Policy Optimizationcited by 788
  12. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
  13. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 550
  14. 2024Executable Code Actions Elicit Better LLM Agentscited by 537
  15. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
  16. 2025Humanity's Last Examcited by 467
  17. 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 456
  18. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
  19. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 428
  20. 2023Cognitive Architectures for Language Agentscited by 422
  21. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  22. 2025L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learningcited by 381
  23. 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
  24. 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 377
  25. 2024Automated Design of Agentic Systemscited by 360
  26. 2025ToolRL: Reward is All Tool Learning Needscited by 342
  27. 2024To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoningcited by 257
  28. 2024TextGrad: Automatic "Differentiation" via Textcited by 250
  29. 2025ThinkPrune: Pruning Long Chain-of-Thought of LLMs via Reinforcement Learningcited by 187
  30. 2025Generalizing Verifiable Instruction Followingcited by 178
  31. 2024Stream of Search (SoS): Learning to Search in Languagecited by 141
  32. 2025Echo Chamber: RL Post-training Amplifies Behaviors Learned in Pretrainingcited by 123
  33. 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 120
  34. 2024Self-Discover: Large Language Models Self-Compose Reasoning Structurescited by 108
  35. 2025Reinforcement Learning for Long-Horizon Interactive LLM Agentscited by 103
  36. 2023COLLIE: Systematic Construction of Constrained Text Generation Taskscited by 69
  37. 2024What Are Tools Anyway? A Survey from the Language Model Perspectivecited by 53
  38. 2024Fine-Tuning and Prompt Optimization: Two Great Steps that Work Better Togethercited by 38

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Training Language Models to Reason Efficiently
  2. 2025A Sober Look at Progress in Language Model Reasoning: Pitfalls and Paths to Reproducibility
  3. 2025A Survey of Reinforcement Learning for Large Reasoning Models
  4. 2025Curriculum Reinforcement Learning from Easy to Hard Tasks Improves LLM Reasoning
  5. 2024Can Small Language Models Help Large Language Models Reason Better?: LM-Guided Chain-of-Thought
  6. 2025SLR: Automated Synthesis for Scalable Logical Reasoning
  7. 2025Advancing Reasoning in Large Language Models: Promising Methods and Approaches
  8. 2023Large Language Models Are Not Strong Abstract Reasoners