paper-with-me

Papers

Can Github issues be solved with Tree Of Thoughts?

2024-05-20 · Ricardo La Rosa, Corey Hulse, Bangdi Liu

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.

📄 PDF Abstract BibTeX arXiv:2405.13057

Code (1)

ricardo-larosa/tree-of-thought-llm 공식 구현

Tasks

Code GenerationGitHub issue resolutionHumanEvalLanguage ModellingRAGRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

Tree of Thoughts: Deliberate Problem Solving with Large Language Models

2023-05-17 · NeurIPS 2023 11 · Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran 외

Language models are increasingly being deployed for general problem solving across a wide range of tasks, but are still confined to token-level, left-to-right decision-making processes during inference. This means they c…

Arithmetic ReasoningDecision MakingLanguage ModellingQuestion Answering

Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models

2024-06-06 · Ling Yang, Zhaochen Yu, Tianjun Zhang, Shiyi Cao 외

We introduce Buffer of Thoughts (BoT), a novel and versatile thought-augmented reasoning approach for enhancing accuracy, efficiency and robustness of large language models (LLMs). Specifically, we propose meta-buffer to…

Arithmetic ReasoningCode GenerationCommon Sense ReasoningMathematical Reasoning

OptiTree: Hierarchical Thoughts Generation with Tree Search for LLM Optimization Modeling

2025-10-25 · Haoyang Liu, Jie Wang, Yuyang Cai, Xiongwei Han 외 arxiv

Optimization modeling is one of the most crucial but technical parts of operations research (OR). To automate the modeling process, existing works have leveraged large language models (LLMs), prompting them to break down…

Harnessing Chain-of-Thought Metadata for Task Routing and Adversarial Prompt Detection

2025-03-27 · Ryan Marinelli, Josef Pichlmeier, Tamas Bisztray

In this work, we propose a metric called Number of Thoughts (NofT) to determine the difficulty of tasks pre-prompting and support Large Language Models (LLMs) in production contexts. By setting thresholds based on the nu…

Tree of Problems: Improving structured problem solving with compositionality

2024-10-09 · Armel Zebaze, Benoît Sagot, Rachel Bawden

Large Language Models (LLMs) have demonstrated remarkable performance across multiple tasks through in-context learning. For complex reasoning tasks that require step-by-step thinking, Chain-of-Thought (CoT) prompting ha…

In-Context Learning