TL;DR
This paper introduces Adversarially Trained Process Reward Models (APRM), a novel training paradigm that uses a game-theoretic approach to improve the robustness and generalization of LLM reasoning. By pitting a "Generator" model against a "Reward Model" in a competitive training loop, APRM dynamically creates increasingly difficult reasoning errors for the Reward Model to detect, leading to significant accuracy improvements on math and science benchmarks, especially for out-of-distribution tasks.
What Problem Does This Paper Address?
Large Language Models (LLMs) have shown impressive capabilities in complex reasoning tasks, but their reasoning remains fundamentally unreliable, often producing subtle, factually incorrect outputs. Process Reward Models (PRMs) aim to address this by providing step-level supervision, guiding LLMs through reasoning processes. However, current PRM training methods are limited by static datasets, which fail to generalize to novel errors, and the high cost of manual annotation. This paper tackles the challenge of creating more robust and adaptable PRMs that can identify increasingly nuanced errors without relying on expensive, fixed datasets.
Methods
The core innovation is Adversarial Training for Process Reward Models (APRM). This framework treats PRM training as a two-player, general-sum game:
- Generator (G): Learns to produce plausible but incorrect reasoning steps designed to fool the Reward Model.
- Reward Model (R): Learns to detect these increasingly subtle errors.
This adversarial interaction creates a dynamic curriculum, where the Generator's evolving ability to create errors forces the Reward Model to become more robust and better at identifying even the most sophisticated mistakes. The training uses Reinforcement Learning (RL) with PPO and Optimistic Gradient Descent-Ascent (OGDA) optimizers. Regularization terms (KL divergence and entropy bonus) are incorporated into the utility functions to ensure stable training dynamics and guarantee convergence to a Nash Equilibrium.
Datasets
The paper primarily uses the MATH dataset for training and evaluation. For evaluating generalization across domains, they also use the SciBench dataset. They also refer to the PRM800K dataset for evaluating PRM performance metrics like precision, recall, and F1 score.
Key Insights and Ideas
- Adversarial Training for Robustness: The core idea that pitting a generator against a discriminator (in this case, a Reward Model) can create a more effective training signal than static datasets is powerful. It forces the PRM to learn to detect errors it wouldn't otherwise encounter.
- Dynamic Curriculum: The adversarial setup naturally creates an adaptive curriculum, where the difficulty of the generated errors increases as the PRM improves. This is crucial for handling the evolving nature of LLM errors.
- General-Sum Game for PRMs: Framing the problem as a general-sum game (rather than a zero-sum game like in GANs) is key. This allows for more stable training dynamics and a Nash Equilibrium, which is more suitable for learning robust detectors.
- Out-of-Distribution Gains: The significant improvements on out-of-distribution tasks suggest that APRM learns more fundamental principles of reasoning error detection, rather than just memorizing specific error patterns from the training data.
Key Results
- Improved Accuracy: APRM improves solver accuracy by an average of +3.4 percentage points (pp) over the strongest PRM baseline (ReST-MCTS) across diverse mathematical reasoning benchmarks.
- Out-of-Distribution Performance: APRM achieves particularly strong gains of +5.3 pp on out-of-distribution tasks, demonstrating enhanced generalization.
- Scalability: The approach shows monotonic gains as solver and reward model backbone sizes increase.
- Cross-Domain Transfer: APRM demonstrates effectiveness on both math and science reasoning tasks, indicating transferable error detection capabilities.
- Stronger Reward Signal for RL: APRM provides a significantly stronger learning signal for RL post-training compared to standard outcome supervision and other PRM baselines.
Limitations and Future Work
- Computational Cost: Training APRM requires more computational resources than static PRM training methods due to the adversarial optimization loop.
- Generator Limitations: The paper notes that the generator struggles to create adversarial negatives that specifically target theorem preconditions, which might be a limitation of the backbone model size.
- Future Work: The authors suggest extending the framework to multi-agent settings with diverse adversarial roles, exploring optimization techniques for large-scale adversarial training to improve stability, and applying the approach to embodied agents and robotics. They also highlight the potential for APRM to generate targeted supervision for LLMs, especially as high-quality data becomes scarcer.
Summary updated