Solve-Detect-Verify: Inference-Time Scaling with Flexible Generative Verifier
Jianyuan Zhong, Zeju Li, Zhijian Xu, Xiangyu Wen, Kezhi Li, Qiang Xu
TL;DR
This work tackles the accuracy-efficiency dilemma in LLM reasoning by proposing FlexiVe, a flexible generative verifier that dynamically allocates verification budget across fast and slow thinking modes. Paired with the Solve-Detect-Verify pipeline, it enables intelligent, inference-time scaling by holistically evaluating reasoning traces $S_{trace}$ and triggering targeted verification at completion points, guided by the first error index $idx_{pred}$. Trained with Group Relative Policy Optimization on a mistake-detection objective, FlexiVe can balance speed and precision using a budgeted approach based on an agreement metric $R_{agreement}$ and threshold $\tau$. Across ProcessBench and challenging math benchmarks such as AIME (2024/2025) and CNMO, the method yields stronger accuracy and token efficiency compared with self-consistency and other baselines, underscoring its potential for scalable, reliable LLM reasoning in test-time settings.
Abstract
Large Language Model (LLM) reasoning for complex tasks inherently involves a trade-off between solution accuracy and computational efficiency. The subsequent step of verification, while intended to improve performance, further complicates this landscape by introducing its own challenging trade-off: sophisticated Generative Reward Models (GenRMs) can be computationally prohibitive if naively integrated with LLMs at test-time, while simpler, faster methods may lack reliability. To overcome these challenges, we introduce FlexiVe, a novel generative verifier that flexibly balances computational resources between rapid, reliable fast thinking and meticulous slow thinking using a Flexible Allocation of Verification Budget strategy. We further propose the Solve-Detect-Verify pipeline, an efficient inference-time scaling framework that intelligently integrates FlexiVe, proactively identifying solution completion points to trigger targeted verification and provide focused solver feedback. Experiments show FlexiVe achieves superior accuracy in pinpointing errors within reasoning traces on ProcessBench. Furthermore, on challenging mathematical reasoning benchmarks (AIME 2024, AIME 2025, and CNMO), our full approach outperforms baselines like self-consistency in reasoning accuracy and inference efficiency. Our system offers a scalable and effective solution to enhance LLM reasoning at test time.
