âEverything of Thoughts: Defying the Law of Penrose Triangle for Thought Generationâ, 2023-11-07 ()â :
Recent advancements in Large Language Models (LLMs) have revolutionized decision-making by breaking down complex problems into more manageable language sequences referred to as âthoughtsâ. An effective thought design should consider 3 key perspectives: performance, efficiency, and flexibility. However, existing thought can at most exhibit two of these attributes.
To address these limitations, we introduce a novel thought prompting approach called âEverything of Thoughtsâ (XoT) to defy the law of âPenrose triangle of existing thought paradigmsâ. XoT leverages pretrained reinforcement learning and Monte Carlo Tree Search (MCTS) to incorporate external domain knowledge into thoughts, thereby enhancing LLMsâ capabilities and enabling them to generalize to unseen problems efficiently.
Through the usage of the MCTS-LLM collaborative thought revision framework, this approach autonomously produces high-quality comprehensive cognitive mappings with minimal LLM interactions. Additionally, XoT empowers LLMs to engage in unconstrained thinking, allowing for flexible cognitive mappings for problems with multiple solutions.
We evaluate XoT on several challenging multi-solution problem-solving tasks, including Game of 24, 8-Puzzle, and Pocket Cube. Our results demonstrate that XoT outperforms existing approaches. Notably, XoT can yield multiple solutions with just one LLM call, showcasing its remarkable proficiency in addressing complex problems across diverse domains.