preprintarXiv (Cornell University)May 17, 2023GREEN OA

Tree of Thoughts: Deliberate Problem Solving with Large Language Models

Indexed inarxivdatacite

Abstract

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 can fall short in tasks that require exploration, strategic lookahead, or where initial decisions play a pivotal role. To surmount these challenges, we introduce a new framework for language model inference, Tree of Thoughts (ToT), which generalizes over the popular Chain of Thought approach to prompting language models, and enables exploration over coherent units of text (thoughts) that serve as intermediate steps toward problem solving. ToT allows LMs to perform deliberate decision making by…

Citation impact

564
total citations
FWCI
Percentile
References
0
Citations per year

Authors

7

Topics & keywords

Keywords
  • Backtracking
  • Computer science
  • Security token
  • Inference
  • Tree (set theory)
  • Artificial intelligence
  • Code (set theory)
  • Range (aeronautics)
UN Sustainable Development Goals
  • Peace, Justice and strong institutions
No related works found for this paper.

Funding