LLM Tree-of-Thought Reasoning With Checker-Guided Backtracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large Language Models (LLMs) face limitations in solving long-range reasoning tasks due to lack of correctness checking and linear solution generation, leading to logical errors and difficulty in backtracking.

Innovation Solution

The integration of a Tree-of-Thought (ToT) framework with a prompter agent, checker module, and ToT controller enhances LLMs by enabling multi-round conversations, correctness checks, and backtracking capabilities to guide the search for solutions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If LLMs generate solutions linearly without correctness checking, then the generation process is simple and fast, but logical errors increase and reliability deteriorates

Engineering Contradiction:
Improvesolution correctnessVSAvoidsystem structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system segments the solution generation process into discrete思考 steps, where each step produces an intermediate solution that can be independently verified. The LLM generates solutions step-by-step rather than as a single linear output, allowing for granular correctness checking at each stage of the reasoning process.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A checker module provides feedback on the correctness of each intermediate solution generated by the LLM. This feedback mechanism allows the system to identify logical errors early and backtrack to correct them, significantly improving solution reliability while maintaining a manageable system structure through automated verification.

Inventive Principle:
Principle #23Feedback

2Adaptability or versatility

If LLMs perform short-range reasoning only, then the reasoning process is accurate and fast, but the ability to solve long-range reasoning tasks deteriorates

Engineering Contradiction:
Improvereasoning rangeVSAvoidcomputational steps
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs preliminary correctness checking at each intermediate step of the reasoning process, rather than only at the final solution. This allows early detection of errors in long-range reasoning tasks, preventing the accumulation of logical errors over multiple reasoning steps and reducing the need for extensive backtracking later.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically adjusts the reasoning process by implementing backtracking capability when correctness checks fail. This allows the LLM to explore multiple reasoning paths for long-range tasks, adapting its approach based on feedback from the checker module to ultimately solve complex problems that require extended reasoning chains.

Inventive Principle:
Principle #15Dynamics

3Reliability

If the LLM lacks backtracking capability, then the solution generation process is simple and efficient, but the ability to correct logical errors deteriorates

Engineering Contradiction:
Improveerror correctionVSAvoidcontrol mechanism
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The checker module provides continuous feedback on solution correctness, enabling the control mechanism to identify when backtracking is necessary. This feedback-driven approach improves error correction capability while keeping the control mechanism relatively simple, as it only needs to respond to correctness feedback by either continuing forward or backtracking to the previous step.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20260057248A1Modular Large Language Model (LLM) Guided Tree-of-Thought System
Publication Date: 2026.02.26 THETA LABS INC
  • US20260057248A1 patent drawing
  • US20260057248A1 patent drawing
  • US20260057248A1 patent drawing

AI summary

A tree-of-thought (ToT) system is presented that improves problem-solving capabilities of machine learning models, such as auto-regressive large language models (LLMs). The ToT system can solve complex reasoning tasks through trial and error. In this process, the system explores the solution space through a tree-like thought process, allowing for backtracking when necessary. The system augments an LLM with additional modules including a prompter agent, a checker module, a memory module, and a ToT controller. 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 solution paths. This new system can be applied to a blockchain and/or a distributed computing system.