mlsanityData to 7 Oct 2026

Can Github issues be solved with Tree Of Thoughts?

arXiv 2405.13057 ↗First posted 20 May 2024cs.SE cs.AIcited by 3

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

While there have been extensive studies in code generation by large language models (LLM), where benchmarks like HumanEval have been surpassed with an impressive 96.3% success rate, these benchmarks predominantly judge a model's performance on basic function-level code generation and lack the critical thinking and concept of scope required of real-world scenarios such as solving GitHub issues. This research introduces the application of the Tree of Thoughts (ToT) language model reasoning framework for enhancing the decision-making and problem-solving abilities of LLMs for this complex task. Compared to traditional input-output (IO) prompting and Retrieval Augmented Generation (RAG) techniques, ToT is designed to improve performance by facilitating a structured exploration of multiple reasoning trajectories and enabling self-assessment of potential solutions. We experimentally deploy ToT in tackling a Github issue contained within an instance of the SWE-bench. However, our results reveal that the ToT framework alone is not enough to give LLMs the critical reasoning capabilities to outperform existing methods. In this paper we analyze the potential causes of these shortcomings and identify key areas for improvement such as deepening the thought process and introducing agentic capabilities. The insights of this research are aimed at informing future directions for refining the application of ToT and better harnessing the potential of LLMs in real-world problem-solving scenarios.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 16 of its 26 references that are in the map. First posted on arXiv 20 May 2024.

Builds on

16 of 26 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023An LLM Compiler for Parallel Function Calling7 Dec
  2. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models6 Oct
  3. 2023Reasoning with Language Model is Planning with World Model24 May

Other references · 13

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  4. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  5. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  6. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  8. 2024Mixtral of Expertscited by 1,785
  9. 2024AutoCodeRover: Autonomous Program Improvementcited by 272
  10. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 132
  11. 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
  12. 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisationcited by 31
1 more
  1. 2023L2MAC: Large Language Model Automatic Computer for Extensive Code Generationcited by 30

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Tree of Problems: Improving structured problem solving with compositionality
  2. 2025Uncovering Code Insights: Leveraging GitHub Artifacts for Deeper Code Understanding
  3. 2025Explaining GitHub Actions Failures with Large Language Models: Challenges, Insights, and Limitations ↗
  4. 2025SEER: Enhancing Chain-of-Thought Code Generation through Self-Exploring Deep Reasoning
  5. 2025An Empirical Study of Reasoning Steps in Thinking Code LLMs
  6. 2024Understanding When Tree of Thoughts Succeeds: Larger Models Excel in Generation, Not Discrimination
  7. 2025MSCoT: Structured Chain-of-Thought Generation for Multiple Programming Languages
  8. 2024Assessing Code Generation with Intermediate Languages