Modular large language model (LLM) guided tree-of-thought system
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A non-transitory computer-readable storage medium having instructions stored therein, which when executed by a processor, cause a problem-solving system to: retrieve a training dataset for the problem-solving system, wherein the training dataset comprises pairs of given input and corresponding expected output of the problem-solving system, wherein each given input is a description of a given problem, wherein each corresponding expected output is a solution to the given problem, wherein the problem-solving system comprises a tree-of-thought (ToT) controller, the prompter agent, a memory module, a checker module, and a quizzer module, wherein the ToT controller comprises a controller policy network, and wherein the prompter agent comprises a prompter policy network; generate, using the quizzer module, self-play-based training data for the problem-solving system; augment the training dataset with the self-play-based training data to generate an augmented training dataset; train the proble
- Claim 2Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein the determining the next search step by the ToT controller is based on a rule-based backtracking algorithm.
- Claim 3Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein the prompter policy network takes as input a prompt template, the conversation and node visit history, and a set of in-context learning examples, and outputs a prompt for the LLM.
- Claim 4Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein the checker module comprises a neural network classifier.
- Claim 5Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein the LLM is implemented on one or more edge nodes in a decentralized blockchain-based network.
- Claim 6Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein the ToT controller is implemented on one or more edge nodes in a decentralized blockchain-based network.
- Claim 7Depends on #6
The non-transitory computer-readable storage medium of claim 6, wherein the instructions, which when executed by the processor, further cause the problem-solving system to: in response to determining that the second intermediate solution is a valid final solution to the problem, submit the second intermediate solution to a reward smart contract deployed on a blockchain in the decentralized blockchain-based network; and receive a reward from the reward smart contract for submitting the second intermediate solution.
- Claim 8Depends on #6
The non-transitory computer-readable storage medium of claim 6, wherein the ToT controller communicates with the memory module and the prompter agent through a peer-to-peer connection on the decentralized blockchain-based network.
Technical Overview & Description
REFERENCE TO RELATED APPLICATIONS If an Application Data Sheet (ADS) has been filed on the filing date of this application, it is incorporated by reference herein. Any applications claimed on the ADS for priority under 35 U.S.C. § § 119, 120, 121, or 365 (c), and any and all parent, grandparent, great-grandparent, etc. applications of such applications, are also incorporated by reference, including any priority claims made in those applications and any material incorporated by reference, to the extent such subject matter is not inconsistent herewith. This application is also related to U.S. Pat. No. 11,763,332, filed on Apr. 30, 2021, entitled “ EDGE COMPUTING PLATFORM SUPPORTED BY SMART CONTRACT ENABLED BLOCKCHAIN NETWORK ” , U.S. Pat. No. 11,611,615, filed on Nov. 16, 2022, entitled “ DECENTRALIZED EDGE STORAGE NETWORK WITH FLEXIBLE FILE SHARDING ” , and U.S. Pat. No. 11,659,015, filed on Oct. 24, 2021, entitled “ TRACKER SERVER IN DECENTRALIZED DATA STREAMING AND DELIVERY NETWORK ” , the entire disclosures of which are hereby incorporated by reference in their entireties herein. NOTICE OF COPYRIGHTS AND TRADEDRESS A portion of the disclosure of this patent document contains material which is subject to copyright protection. This patent document may show and/or describe matter which is or may become tradedress of the owner. The copyright and tradedress owner has no objection to the facsimile reproduction by anyone of the patent disclosure as it appears in the U.S. Patent and Trademark Office files or records, but otherwise reserves all copyright and tradedress rights whatsoever. FIELD OF THE INVENTION Embodiments of the present invention are in the field of problem-solving systems based on Large Language Models (LLMs). BACKGROUND OF THE INVENTION The statements in this section may serve as a background to help understand the invention and its application and uses, but may not constitute prior art. Large language models (LLMs) include a type of artificial intellige
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (19)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Besta, Maciej, et al.
- “
- Graph of Thoughts: Solving Elaborate Problems with Large Language Models.
- ”
- arXiv preprint arXiv:2308.09687 (Nov. 24, 2023) (Year: 2023).
- Lu, Pan, et al.
- “
- Dynamic prompt learning via policy gradient for semi-structured mathematical reasoning.
- ”
- arXiv preprint arXiv:2209.14610 (Mar. 2, 2023) (Year: 2023).