AICLLGDec 27, 2024

Toward Adaptive Reasoning in Large Language Models with Thought Rollback

arXiv:2412.19707v119 citationsh-index: 4ICML
Originality Incremental advance
AI Analysis

This addresses the challenge of improving reasoning reliability in LLMs for tasks like mathematical problem-solving, though it appears incremental as it builds on existing reasoning frameworks.

The paper tackles the problem of rigid and unidirectional reasoning in large language models (LLMs), which can lead to failures and hallucinations, by proposing a Thought Rollback (TR) framework that allows adaptive error analysis and revision of thoughts. The result is state-of-the-art performance, with GPT-4 using TR outperforming the best existing method by 9% on the MATH dataset.

Large language models (LLMs) have been routinely used to solve various tasks using step-by-step reasoning. However, the structure of intermediate reasoning steps, or thoughts, is rigid and unidirectional, such as chains, trees, or acyclic-directed graphs. Consequently, the resulting inflexible and forward-only reasoning may not address challenging tasks and fail when the LLM frequently gives false responses, i.e., ``hallucinations''. This paper proposes a new reasoning framework, called Thought Rollback (TR), allowing LLMs to adaptively build thought structure while maintaining effective reasoning toward problem-solving under ``hallucinations''. The core mechanism of TR is rolling back thoughts, which allows LLMs to perform error analysis on thoughts, and thus roll back to any previously mistaken thought for revision. Subsequently, by including such trial-and-error in the prompt to guide the LLM, each rollback leads to one more reliable reasoning path. Therefore, starting with a simple prompt without human annotations, LLM with TR adaptively and gradually explores thoughts for a correct solution. Comprehensive experiments on mathematical problems and multi-task reasoning demonstrate the state-of-the-art performance of TR in terms of problem-solving rate and interaction cost. For instance, the solving rate of GPT-4 with TR outperforms the current best by $9\%$ on the MATH dataset.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes