Skip to main content
QUICK REVIEW

[Paper Review] V-STaR: Training Verifiers for Self-Taught Reasoners

Arian Hosseini, Xingdi Yuan|arXiv (Cornell University)|Feb 9, 2024
Semantic Web and OntologiesComputer Science3 citations
TL;DR

V-STaR proposes a data-efficient self-improvement framework that leverages both correct and incorrect solutions generated during iterative LLM training to jointly fine-tune a reasoner and a verifier using DPO. By using the verifier to rank candidate solutions at inference time, V-STaR achieves 4% to 17% absolute accuracy gains over prior self-improvement and verification methods on math and code reasoning benchmarks using LLaMA2 models.

ABSTRACT

Common self-improvement approaches for large language models (LLMs), such as STaR, iteratively fine-tune LLMs on self-generated solutions to improve their problem-solving ability. However, these approaches discard the large amounts of incorrect solutions generated during this process, potentially neglecting valuable information in such solutions. To address this shortcoming, we propose V-STaR that utilizes both the correct and incorrect solutions generated during the self-improvement process to train a verifier using DPO that judges correctness of model-generated solutions. This verifier is used at inference time to select one solution among many candidate solutions. Running V-STaR for multiple iterations results in progressively better reasoners and verifiers, delivering a 4% to 17% test accuracy improvement over existing self-improvement and verification approaches on common code generation and math reasoning benchmarks with LLaMA2 models.

Motivation & Objective

  • To address the data inefficiency of existing self-improvement methods that discard incorrect solutions during training.
  • To improve reasoning performance by jointly training a generator and a verifier using both correct and incorrect model-generated solutions.
  • To evaluate the effectiveness of DPO for training verifiers compared to standard supervised fine-tuning approaches.
  • To enable test-time solution ranking via a trained verifier, improving final accuracy through candidate selection.
  • To demonstrate that iterative refinement using all generated solutions leads to stronger reasoners and verifiers.

Proposed method

  • Iteratively train a generator on self-generated correct solutions, incrementally expanding its training data with new correct outputs.
  • Collect all generated solutions—both correct and incorrect—and label them with correctness for verifier training.
  • Train a verifier using DPO (Direct Preference Optimization) to prefer correct solutions over incorrect ones from the same generation batch.
  • Use the trained verifier at inference time to rank multiple candidate solutions from the generator and select the highest-ranked one.
  • Repeat the process across multiple iterations to progressively improve both generator and verifier performance.
  • Introduce a new metric, Verifier@k, to reliably evaluate verifier performance under test-time solution ranking.
Figure 1 : Generator and verifier training with V-STaR . Left: In each training iteration, the generator $G^{t}$ is fine-tuned (from a pretrained LLM) on the current buffer of problem instances and correct solutions ${\cal D}_{\text{GEN}}$ . Generated solutions that yielded a correct answer are adde
Figure 1 : Generator and verifier training with V-STaR . Left: In each training iteration, the generator $G^{t}$ is fine-tuned (from a pretrained LLM) on the current buffer of problem instances and correct solutions ${\cal D}_{\text{GEN}}$ . Generated solutions that yielded a correct answer are adde

Experimental results

Research questions

  • RQ1Can leveraging both correct and incorrect self-generated solutions improve the performance of LLM reasoners and verifiers?
  • RQ2Is DPO more effective than standard supervised fine-tuning for training verifiers on synthetic solution data?
  • RQ3Does iterative refinement using all generated solutions lead to better final accuracy than methods that discard incorrect solutions?
  • RQ4To what extent can a verifier trained on self-generated data improve solution selection at inference time?
  • RQ5Can V-STaR achieve performance comparable to larger models using only a 7B parameter generator?

Key findings

  • V-STaR achieves 6% to 17% absolute improvement in test accuracy over state-of-the-art self-improvement and verification-based methods on math reasoning benchmarks such as GSM8K and MATH.
  • On code generation tasks (MBPP and HumanEval), V-STaR improves accuracy by 4% to 12% compared to existing methods.
  • A 7B V-STaR model surpasses the 8-shot performance of base LLaMA2 70B on GSM8K, demonstrating strong data efficiency.
  • The V-STaR 7B model nearly matches the zero-shot performance of CodeLLaMA 34B on HumanEval, highlighting its effectiveness.
  • DPO-based verifier training outperforms the standard method of Cobbe et al. (2021), showing higher sample efficiency and better performance with fewer training steps.
  • Verifier@64 accuracy increases significantly with training, while generation quality remains stable, validating the robustness of the DPO training objective.
V-STaR: Training Verifiers for Self-Taught Reasoners

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.