HackerPapers

arXiv:2305.08291cs.AI

Large Language Model Guided Tree-of-Thought

Jieyi Long

Abstract

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}.

arXiv comments
Journal reference
DOI
Subjects
cs.AIArtificial Intelligence cs.CLComputation and Language cs.CVComputer Vision and Pattern Recognition cs.LGMachine Learning cs.NENeural and Evolutionary Computing

On Hacker News

Linked by 4 identifiable commenters in 6 comments across 5 threads, from May 2023 to Oct 2023.

Comments linking this paper, per year.

Discussed in comments5 threads

    • >World models would need to have logical relationships between the entities being No they wouldn't. There is no evidence, basically none whatsoever that logical can model reality or that general "perfect logical reasoning" is a thing that actually exists in the real world in…

      famouswafflesView on HNParent context

  1. Can LLMs Reason and Plan? 1 comment
    • BTW here is the link to the Tree of Thoughts paper "Large Language Model Guided Tree-of-Thought": https://arxiv.org/pdf/2305.08291.pdf https://github.com/jieyilong/tree-of-thought-puzzle-solver In this paper, we introduce the Tree-of-Thought (ToT) framework, a novel approach…

      renyujiaView on HNParent context

  2. Tree of Thoughts 2 comments
    • Interestingly a 2 days prior to https://arxiv.org/abs/2305.10601, someone released https://arxiv.org/abs/2305.08291 > Large Language Model Guided Tree-of-Thought > In this paper, we introduce the Tree-of-Thought (ToT) framework, a novel approach aimed at improving the…

      joshkaView on HNParent context

    • BTW the ToT implementation of https://arxiv.org/abs/2305.08291 is also available on GitHub: https://github.com/jieyilong/tree-of-thought-puzzle-solver "Large Language Model Guided Tree-of-Thought"

      renyujiaView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.