Large Language Model Guided Tree-of-Thought

By Jieyi Long. arXiv.org, 2023

335 citations recorded by the source corpus.

In this paper, we introduce the Tree-of-Thought (ToT) framework, a novel approach aimed at improving the problem-solving capabilities of auto-regressive large language models (LLMs). The ToT technique is inspired by the human mind's approach for solving complex reasoning tasks through trial and error. In this process, the human mind explores the solution space through a tree-like thought process, allowing for backtracking when necessary. To implement ToT as a software system, we augment an LLM with additional modules including a prompter agent, a checker module, a memory module, and a ToT controller. In order to solve a given problem, these modules engage in a multi-round conversation with the LLM. The memory module records the conversation and state history of the problem solving process, which allows the system to backtrack to the previous steps of the thought-process and explore other directions from there. To verify the effectiveness of the proposed technique, we implemented a ToT-based solver for the Sudoku Puzzle. Experimental results show that the ToT framework can significantly increase the success rate of Sudoku puzzle solving. Our implementation of the ToT-based Sudoku solver is available on GitHub: \url{https://github.com/jieyilong/tree-of-thought-puzzle-solver}.

Subfields: Electrical and Electronic Engineering

View Paper: https://www.semanticscholar.org/paper/bda605928d6ebe4db906e69ab5d343df75918727

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Electrical and Electronic Engineering

  1. Samrat Mondal
  2. Robert MacKnight
  3. Graham Neubig
  4. Gabe Gomes
  5. Vinija Jain
  6. Pranab Sahoo
  7. Sriparna Saha
  8. Nicolas Langren'e

Citations in the corpus