Generative Verifiers: Reward Modeling as Next-Token Prediction logo

Generative Verifiers: Reward Modeling as Next-Token Prediction

Free

Reward Modeling as Next-Token Prediction

FreeFree tier
Inputs: text
Type
Open Source

About Generative Verifiers: Reward Modeling as Next-Token Prediction

Generative Verifiers (GenRM) proposes a novel approach to reward modeling for large language models (LLMs) by framing verification as a next-token prediction task. Unlike traditional discriminative verifiers that score candidate solutions, GenRM trains verifiers jointly on verification and solution generation using the standard next-token prediction objective. This method seamlessly integrates with instruction tuning, enables chain-of-thought reasoning, and leverages additional test-time compute via majority voting for improved verification accuracy. Experimental results demonstrate significant performance gains over discriminative verifiers, DPO verifiers, and LLM-as-a-Judge across multiple benchmarks, including algorithmic tasks (5% to 45.3%), GSM8K (73% to 93.4%), MATH (28% to 44.6% in easy-to-hard generalization), and MMLU abstract algebra (37.9% to 53.5%). The approach also scales favorably with model size and test-time compute, and training with synthetic verification rationales is shown to be effective at detecting subtle errors in math problems.

Key Features

Trains verifiers using the next-token prediction objective jointly on verification and solution generation
Integrates seamlessly with instruction tuning
Enables chain-of-thought reasoning during verification
Utilizes additional test-time compute via majority voting for better verification
Scales favorably with model size and test-time compute
Outperforms discriminative verifiers, DPO verifiers, and LLM-as-a-Judge
Synthetic verification rationales are sufficient to pick out subtle errors in math problems

Pros & Cons

Pros
  • Large performance gains over existing verifier methods (e.g., 5% to 45.3% on algorithmic tasks)
  • Leverages pretrained LLM capabilities for both generation and verification
  • Supports chain-of-thought reasoning and test-time compute scaling
  • Effective even with synthetic training rationales
  • Compatible with standard instruction tuning pipelines
Cons
  • May require additional test-time compute for majority voting
  • Performance depends on model size and available compute
  • Implementation complexity higher than simple discriminative verifiers

Best For

Enhancing reasoning performance of LLMs via Best-of-N selectionImproving accuracy on algorithmic reasoning tasksImproving accuracy on math word problems (e.g., GSM8K, MATH)Easy-to-hard generalization in mathematical reasoningGeneral reward modeling and verification for LLM outputs

FAQ

What is Generative Verifiers (GenRM)?
GenRM is a method for training reward models (verifiers) using the next-token prediction objective, jointly on verification and solution generation, rather than as discriminative classifiers.
How does GenRM differ from standard verifiers?
Standard verifiers are trained as discriminative classifiers to score solutions, while GenRM uses the text generation capabilities of pretrained LLMs by treating verification as a next-token prediction task.
What benchmarks were used to evaluate GenRM?
GenRM was evaluated on algorithmic tasks, GSM8K, MATH, and MMLU abstract algebra, showing significant improvements over discriminative verifiers.