mlsanityData to 7 Oct 2026

Can LLMs Reason in the Wild with Programs?

arXiv 2406.13764 ↗First posted 19 Jun 2024cs.CLcited by 13

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Large Language Models (LLMs) have shown superior capability to solve reasoning problems with programs. While being a promising direction, most of such frameworks are trained and evaluated in settings with a prior knowledge of task requirements. However, as LLMs become more capable, it is necessary to assess their reasoning abilities in more realistic scenarios where many real-world problems are open-ended with ambiguous scope, and often require multiple formalisms to solve. To investigate this, we introduce the task of reasoning in the wild, where an LLM is tasked to solve a reasoning problem of unknown type by identifying the subproblems and their corresponding formalisms, and writing a program to solve each subproblem, guided by a tactic. We create a large tactic-guided trajectory dataset containing detailed solutions to a diverse set of reasoning problems, ranging from well-defined single-form reasoning (e.g., math, logic), to ambiguous and hybrid ones (e.g., commonsense, combined math and logic). This allows us to test various aspects of LLMs reasoning at the fine-grained level such as the selection and execution of tactics, and the tendency to take undesired shortcuts. In experiments, we highlight that existing LLMs fail significantly on problems with ambiguous and mixed scope, revealing critical limitations and overfitting issues (e.g. accuracy on GSM8K drops by at least 50%). We further show the potential of finetuning a local LLM on the tactic-guided trajectories in achieving better performance. Project repo is available at github.com/gblackout/Reason-in-the-Wild

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 18 of its 22 references that are in the map. First posted on arXiv 19 Jun 2024.

Builds on

18 of 22 references.

Closest ancestors · 8

Same direction, newest first

  1. 2024Advancing LLM Reasoning Generalists with Preference Trees2 Apr
  2. 2023Program-Aided Reasoners (better) Know What They Know16 Nov
  3. 2023Language Models can be Logical Solvers10 Nov
  4. 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers23 Oct
  5. 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning20 May
  6. 2022PAL: Program-aided Language Models18 Nov
  7. 2022ReAct: Synergizing Reasoning and Acting in Language Models6 Oct
  8. 2022FOLIO: Natural Language Reasoning with First-Order Logic2 Sep

Other references · 10

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  3. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  4. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  5. 2023Cognitive Architectures for Language Agentscited by 422
  6. 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solvingcited by 276
  7. 2023FireAct: Toward Language Agent Fine-tuningcited by 247
  8. 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddingscited by 238
  9. 2023Harnessing the Power of Large Language Models for Natural Language to First-Order Logic Translationcited by 59
  10. 2021proScript: Partially Ordered Scripts Generation via Pre-trained Language Modelscited by 21

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 7; 2026: 2.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2024LLM Reasoners: New Evaluation, Library, and Analysis of Step-by-Step Reasoning with Large Language Models
  2. 2024A Closer Look at Logical Reasoning with LLMs: The Choice of Tool Matters
  3. 2024Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMs
  4. 2025Frontier LLMs Still Struggle with Simple Reasoning Tasks
  5. 2024LLMs for Relational Reasoning: How Far are We?
  6. 2023Are LLMs the Master of All Trades? : Exploring Domain-Agnostic Reasoning Skills of LLMs
  7. 2023At Which Training Stage Does Code Data Help LLMs Reasoning?
  8. 2025Reasoning LLMs are Wandering Solution Explorers