Forest-of-Thought: Scaling Test-Time Compute for Enhancing LLM Reasoning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Bi, Zhenni, Han, Kai, Liu, Chuanjian, Tang, Yehui, Wang, Yunhe
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915222055288832
author Bi, Zhenni
Han, Kai
Liu, Chuanjian
Tang, Yehui
Wang, Yunhe
author_facet Bi, Zhenni
Han, Kai
Liu, Chuanjian
Tang, Yehui
Wang, Yunhe
contents Large Language Models (LLMs) have demonstrated remarkable abilities across various language tasks, but solving complex reasoning problems remains a significant challenge. While existing methods, such as Chain-of-Thought (CoT) and Tree-of-Thought (ToT), enhance reasoning by decomposing problems or structuring prompts, they typically perform a single pass of reasoning and may fail to revisit flawed paths, compromising accuracy. To address this limitation, we propose a novel reasoning framework called Forest-of-Thought (FoT), which integrates multiple reasoning trees to leverage collective decision-making for solving complex logical problems. FoT employs sparse activation strategies to select the most relevant reasoning paths, improving both efficiency and accuracy. Additionally, we introduce a dynamic self-correction strategy that enables real-time error correction, along with consensus-guided decision-making strategies to optimize both correctness and computational resources. Experimental results demonstrate that the FoT framework, combined with these strategies, significantly enhances the reasoning capabilities of LLMs, enabling them to solve complex tasks with greater precision and efficiency. Code will be available at https://github.com/iamhankai/Forest-of-Thought.
format Preprint
id arxiv_https___arxiv_org_abs_2412_09078
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Forest-of-Thought: Scaling Test-Time Compute for Enhancing LLM Reasoning
Bi, Zhenni
Han, Kai
Liu, Chuanjian
Tang, Yehui
Wang, Yunhe
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) have demonstrated remarkable abilities across various language tasks, but solving complex reasoning problems remains a significant challenge. While existing methods, such as Chain-of-Thought (CoT) and Tree-of-Thought (ToT), enhance reasoning by decomposing problems or structuring prompts, they typically perform a single pass of reasoning and may fail to revisit flawed paths, compromising accuracy. To address this limitation, we propose a novel reasoning framework called Forest-of-Thought (FoT), which integrates multiple reasoning trees to leverage collective decision-making for solving complex logical problems. FoT employs sparse activation strategies to select the most relevant reasoning paths, improving both efficiency and accuracy. Additionally, we introduce a dynamic self-correction strategy that enables real-time error correction, along with consensus-guided decision-making strategies to optimize both correctness and computational resources. Experimental results demonstrate that the FoT framework, combined with these strategies, significantly enhances the reasoning capabilities of LLMs, enabling them to solve complex tasks with greater precision and efficiency. Code will be available at https://github.com/iamhankai/Forest-of-Thought.
title Forest-of-Thought: Scaling Test-Time Compute for Enhancing LLM Reasoning
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2412.09078