Dyve: Thinking Fast and Slow for Dynamic Process Verification

Jianyuan Zhong, Zeju Li, Zhijian Xu, Xiangyu Wen, Qiang Xu

TL;DR

This paper introduces Dyve, a novel process verification system for Large Language Models (LLMs) that mimics human "fast and slow thinking" to dynamically adapt its verification depth. By combining rapid, System 1-like checks with deeper, System 2 analysis, Dyve achieves state-of-the-art accuracy in identifying errors in complex reasoning chains while maintaining computational efficiency.

What Problem Does This Paper Address?

LLMs are increasingly capable of complex reasoning, but ensuring the reliability of their multi-step problem-solving processes remains a significant challenge. Existing verification methods fall into two camps: discriminative Process Reward Models (PRMs) offer fast, binary feedback but lack nuance for complex errors, while Generative Reward Models (GenRMs) provide deeper analysis but are computationally expensive. Furthermore, obtaining high-quality supervision data for training these verifiers is difficult and costly. This paper addresses the need for a verification system that is both accurate and efficient, capable of handling intricate reasoning traces and adapting its analysis based on step complexity.

Methods

Dyve's core innovation lies in its "learned adaptive verification" strategy, inspired by Kahneman's dual-process theory. It operates in two modes:

  • System 1 Output Mode: For straightforward steps, Dyve provides rapid, single-token confirmation (e.g., '+').
  • System 2 Output Mode: For complex or potentially erroneous steps, Dyve generates a detailed, natural language explanation within <think>...</think> tags, followed by a verdict token ('+' or '-').

This adaptive switching is learned through supervised fine-tuning, allowing Dyve to strategically allocate computational resources. To overcome data scarcity, the authors propose a novel step-wise consensus-filtered process supervision pipeline. This pipeline involves:

  1. Initial Rollout Generation: Using Monte Carlo Tree Search (MCTS) to generate multiple reasoning traces.
  2. Consensus Filtering: Employing an LLM-as-a-Judge to filter noisy rollouts and retain accurate ones.
  3. Step-wise Flagging: Using a powerful reasoning LLM to meticulously analyze each step, flagging those requiring System 2 analysis.
  4. Target Output Generation: Creating distinct System 1 ('+') and System 2 (detailed explanation + verdict) training signals for Dyve.

Datasets

  • Training Data: The authors curate a dataset of approximately 117K high-quality reasoning traces. This data is derived from existing mathematical reasoning datasets like GSM8K and MATH, augmented with open-source PRM data and filtered through their proposed pipeline.
  • Evaluation Benchmarks:
    • ProcessBench: A benchmark comprising four subsets (GSM8K, MATH, OlympiadBench, OmniMATH) with 3,400 test cases, each annotated with error locations.
  • MATH-500: Used to evaluate Dyve's integration with proposer LLMs in a Best-of-N setting.

Key Insights and Ideas

  • Human-like Dual-Process Reasoning for Verification: The paper successfully translates the "thinking fast and slow" paradigm into an AI verification system, demonstrating that adaptive depth is key to balancing accuracy and efficiency.
  • Data Curation is Paramount: The proposed step-wise consensus-filtered supervision pipeline is crucial. It shows that the quality of supervision data, rather than just quantity, is what enables Dyve's adaptive capabilities.
  • System 1 for Speed, System 2 for Depth: Dyve's dynamic allocation of System 1 for quick checks and System 2 for complex analysis is not rule-based but learned, making it robust and adaptable to different problem types.
  • Efficiency Gains are Substantial: By avoiding unnecessary deep analysis on simple steps, Dyve achieves significant speedups compared to models that always perform System 2-level checks, without sacrificing accuracy.

Key Results

  • ProcessBench Performance: Dyve 14B achieved state-of-the-art F1 scores across all ProcessBench subsets, with notable results like 68.5 on GSM8K and 58.3 on MATH. It outperformed existing PRMs and strong LLM-as-Judge baselines.
  • Integration with Proposer LLMs: When integrated with proposer LLMs (DeepSeek-R1-14B and Qwen2.5-MATH-7B), Dyve significantly boosted accuracy in a Best-of-N setting, reaching up to 95.5% with DeepSeek-R1-14B.
  • Efficiency: Figure 4 shows Dyve is significantly faster than its base model performing System 2 analysis on every step, striking a balance between speed and depth. For instance, on GSM8K, Dyve's average time per sample was 0.47s.

Limitations and Future Work

  • Complexity Dependence: Dyve's effectiveness naturally depends on the complexity of the reasoning tasks. More intricate multi-step problems might require further adaptation or deeper analysis.
  • Inherent Noise in Automated Data: While the pipeline enhances signal quality, a modest level of noise may still exist in automated estimation processes.
  • Training Data Influence: The overall performance is influenced by the quality and diversity of the training data, suggesting that continued efforts in data curation are beneficial.
  • Future Work: The authors suggest further research into adapting Dyve for more complex reasoning tasks and exploring more robust data filtering techniques.

Summary updated

BibTeX
@inproceedings{zhong2025dyve,
  author = {Jianyuan Zhong and Zeju Li and Zhijian Xu and Xiangyu Wen and Qiang Xu},
  title = {{Dyve: Thinking Fast and Slow for Dynamic Process Verification}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure