paper-with-me

홈 › Papers

Toward Adaptive Reasoning in Large Language Models with Thought Rollback

2024-12-27 · Sijia Chen, Baochun Li

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.

📄 PDF Abstract BibTeX arXiv:2412.19707

Code (1)

iQua/llmpebase 공식 구현

Tasks

Math

Methods 이 논문이 사용한 방법론

Attention 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Toward Adaptive Reasoning in Large Language Models with Thought Rollback

2024-07-21 · International Conference on Machine Learning (ICML) 2024 7 · Chen, Sijia and Li, Baochun

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 \emph{thoughts}, is rigid and unidirectional, such as …

Arithmetic ReasoningMathMathematical Reasoning

Generator-Assistant Stepwise Rollback Framework for Large Language Model Agent

2025-03-04 · Xingzuo Li, Kehai Chen, Yunfei Long, Xuefeng Bai 외

Large language model (LLM) agents typically adopt a step-by-step reasoning framework, in which they interleave the processes of thinking and acting to accomplish the given task. However, this paradigm faces a deep-rooted…

Decision MakingLanguage ModelingLanguage ModellingLarge Language Model

WebCoT: Enhancing Web Agent Reasoning by Reconstructing Chain-of-Thought in Reflection, Branching, and Rollback

2025-05-26 · Minda Hu, Tianqing Fang, Jianshu Zhang, Junyu Ma 외

Web agents powered by Large Language Models (LLMs) show promise for next-generation AI, but their limited reasoning in uncertain, dynamic web environments hinders robust deployment. In this paper, we identify key reasoni…

Debiasing Large Language Models via Adaptive Causal Prompting with Sketch-of-Thought

2026-01-13 · Bowen Li, Ziqi Xu, Jing Ren, Renqiang Luo 외 arxiv

Despite notable advancements in prompting methods for Large Language Models (LLMs), such as Chain-of-Thought (CoT), existing strategies still suffer from excessive token usage and limited generalisability across diverse …

Computational Efficiency

R-Stitch: Dynamic Trajectory Stitching for Efficient Reasoning

2025-07-23 · Zhuokun Chen, Zeren Chen, Jiahao He, Lu Sheng 외 arxiv

Chain-of-thought (CoT) enhances the problem-solving ability of large language models (LLMs) but incurs substantial inference cost due to long autoregressive trajectories. Existing acceleration strategies either shorten t…