Test-time Prompt Intervention
Chenxu Yang, Qingyi Si, Mz Dai, Dingyu Yao, Mingyu Zheng, Minghui Chen, Zheng Lin, Weiping Wang
TL;DR
This work addresses the redundancy and unreliability of chain-of-thought reasoning in large language models by introducing Test-time Prompt Intervention (PI). PI provides a plug-in interface with When, How, and Which modules to dynamically steer CoT during inference, incorporating human expertise and cognitive-science principles. Empirical results across multiple models and benchmarks show substantial CoT compression (≈$50\%$ shorter) and reduced hallucinations (≈$2.5$–$4.1\%$) while preserving or improving accuracy. The approach offers a practical, scalable path to more controllable and interpretable reasoning in LLMs, with potential applications in human–AI collaboration and further training-time trajectory design.
Abstract
Test-time compute has led to remarkable success in the large language model (LLM) community, particularly for complex tasks, where longer chains of thought (CoTs) are generated to enhance reasoning capabilities. However, growing evidence reveals that such reasoning models often produce CoTs plagued by excessive redundancy, including unnecessary verification steps and repetitive reasoning shifts. The root cause lies in post-training of them that overly rely on outcome reward paradigms, as the data of process reward paradigms, which regulate intermediate reasoning steps, is difficult to construct at scale. To address this, we propose PI, a novel framework for Test-time Prompt Intervention. PI provides an interface to dynamically guide and regulate reasoning paths during inference through timely (When module) and proper (How module) interventions and post-intervention sampling (Which module). This allows human problem-solving expertise and cognitive science principles to be seamlessly integrated into LLMs' reasoning processes, enhancing controllability and interpretability. Extensive experiments across multiple models and datasets demonstrate that PI significantly shortens CoTs while reducing hallucination, yielding more concise and reliable reasoning.
