Step-by-Step Reasoning for Math Problems  via Twisted Sequential Monte Carlo
Shengyu Feng Xiang Kong Shuang Ma Aonan Zhang Dong Yin Chong Wang Ruoming Pang Yiming Yang
Augmenting the multi-step reasoning abilities of Large Language Models (LLMs) has been a persistent challenge. Recently, verification has shown promise in improving solution consistency by evaluating generated outputs. However, current verification approaches suffer from sampling inefficiencies, requiring a large number of samples to achieve satisfactory performance. Additionally, training an effective verifier often depends on extensive process supervision, which is costly to acquire. In this paper, we address these limitations by introducing a novel verification method based on Twisted Sequential Monte Carlo (TSMC). TSMC sequentially refines its sampling effort to focus exploration on promising candidates, resulting in more efficient generation of high-quality solutions. We apply TSMC to LLMs by estimating the expected future rewards at partial solutions. This approach results in a more straightforward training target that eliminates the need for step-wise human annotations. We empirically demonstrate the advantages of our method across multiple math benchmarks, and also validate our theoretical analysis of both our approach and existing verification methods.
Large Language Models, Twisted Sequential Monte Carlo, Reasoning
We introduce a novel verification method based on twisted sequential Monte Carlo to resolve the math problems via Large Language Models