Can Github issues be solved with Tree Of Thoughts?
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
- 2023An LLM Compiler for Parallel Function Calling7 Dec
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models6 Oct
- 2023Reasoning with Language Model is Planning with World Model24 May
Other references · 13
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024Mixtral of Expertscited by 1,785
- 2024AutoCodeRover: Autonomous Program Improvementcited by 272
- 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 132
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
- 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisationcited by 31
1 more
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2024TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved?cited by 32
- 2025Recursive Decomposition of Logical Thoughts: Framework for Superior Reasoning and Knowledge Propagation in Large Language Modelscited by 3
- 2025Boost, Disentangle, and Customize: A Robust System2-to-System1 Pipeline for Code Generationcited by 2
- 2025Boost, Disentangle, and Customize: A Robust System2-to-System1 Pipeline for Code Generation18 Feb 2025
- 2025Recursive Decomposition of Logical Thoughts: Framework for Superior Reasoning and Knowledge Propagation in Large Language Models3 Jan 2025
- 2024TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved?3 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2024Tree of Problems: Improving structured problem solving with compositionality
- 2025Uncovering Code Insights: Leveraging GitHub Artifacts for Deeper Code Understanding
- 2025Explaining GitHub Actions Failures with Large Language Models: Challenges, Insights, and Limitations ↗
- 2025SEER: Enhancing Chain-of-Thought Code Generation through Self-Exploring Deep Reasoning
- 2025An Empirical Study of Reasoning Steps in Thinking Code LLMs
- 2024Understanding When Tree of Thoughts Succeeds: Larger Models Excel in Generation, Not Discrimination
- 2025MSCoT: Structured Chain-of-Thought Generation for Multiple Programming Languages
- 2024Assessing Code Generation with Intermediate Languages