TL;DR
The Generative Adversarial Reasoner (GAR) framework enhances Large Language Model (LLM) mathematical reasoning by co-evolving a "reasoner" model and a "discriminator" model through adversarial reinforcement learning. By breaking down long reasoning chains into manageable "slices" and providing dense, on-policy feedback, GAR significantly boosts performance on challenging benchmarks like AIME24, achieving gains of up to +10.0 percentage points over strong baselines.
The Challenge: Process Errors and Stagnant Critics
While modern LLMs like DeepSeek-R1 have reached expert-level performance in mathematics, they still suffer from "process errors"—logical leaps, calculation slips, or "hallucinated" steps that look plausible but ultimately lead to the wrong answer.
Current solutions typically rely on Process Reward Models (PRMs), which require expensive, human-annotated step-by-step labels. Alternatively, some methods use LLMs as static critics. However, these static critics often fail to keep up as the reasoner improves, leading to "reward hacking" where the reasoner learns to fool a stagnant judge rather than actually improving its underlying logic.
Introducing the GAR Framework
To address these limitations, the authors introduce GAR, a joint training framework inspired by Generative Adversarial Networks (GANs). It consists of two co-evolving components:
- The Reasoner ($M_r$): An LLM (e.g., DeepSeek-R1-Distill-Qwen-7B) that generates reasoning chains and final answers.
- The Discriminator ($M_d$): A smaller LLM that evaluates the "soundness" of the reasoner’s logic.
Key Innovations
- Slice-Level Review: Instead of evaluating a massive 1,000-token chain at once, GAR partitions the reasoning into logically complete "slices" (roughly 320 tokens). The discriminator provides a binary "YES/NO" on the soundness of each slice along with a concise justification.
- Adversarial Reinforcement Learning: The models are trained together using Group Relative Policy Optimization (GRPO). The reasoner is rewarded for being logically consistent and getting the right answer. Concurrently, the discriminator is rewarded for correctly identifying errors and distinguishing the model's reasoning from high-quality "reference" traces.
- Compute-Efficient Workflow: To prevent training from becoming prohibitively slow, the authors truncate the discriminator’s justifications to 128 tokens. This maintains accuracy while drastically reducing the computational overhead of using an "LLM-as-a-judge" during the RL loop.
Datasets and Evaluation
The models were trained using the OpenR1-Math-220k dataset. Evaluation was conducted across seven rigorous mathematical benchmarks, including AIME 2024/2025 (high-school math competition problems), MATH500, GSM8K, AMC23, OlympiadBench, and LiveMathBench-Hard.
Key Insights
- Selective Entropy: One of the most fascinating findings is that GAR avoids "entropy collapse" (where a model becomes overly repetitive and loses creativity). Instead, it exhibits "selective entropy"—the model becomes very certain (low entropy) on deterministic steps but remains exploratory (high entropy) on critical decision points.
- Co-evolution is Key: A static critic eventually becomes a ceiling for the reasoner. By training them together, the discriminator "levels up" alongside the reasoner, learning to spot increasingly subtle logical fallacies.
- Partial-Trace Evaluation: The authors found they could train the model effectively even without final answers. By stopping after just three reasoning slices and letting the discriminator grade the "partial trace," they achieved higher accuracy in 60% less training time than standard RL. This suggests GAR could be used for tasks where the final answer is hard to verify, such as complex proofs.
Key Results
GAR delivered consistent, substantial improvements over standard RL post-training across the board.
- AIME24: Boosted DeepSeek-R1-Distill-Qwen-7B from 54.0% to 61.3% (+7.3) and the Llama-8B variant from 43.7% to 53.7% (+10.0).
- LiveMathBench-Hard: Achieved a massive +35.3% relative improvement for the Qwen backbone.
- Distillation: In a "style transfer" experiment, GAR successfully trained a model to mimic the reasoning patterns of Gemini, reducing the ability of human experts to distinguish between the two from 82.3% to 55.9% (near random chance).
Limitations and Future Work
- Credit Assignment: Currently, the framework averages slice-level rewards into a single trajectory signal. The authors note that more sophisticated ways to leverage this "dense" information could further reduce variance and improve training stability.
- Reasoning Depth vs. Efficiency: While the 128-token truncation helps, evaluating every slice of every reasoning chain is still computationally expensive compared to simple outcome-based RL.
- Future Directions: The authors suggest applying GAR to mathematical proofs and human preference alignment, where the "correct" answer isn't a simple number but a matter of logical elegance and clarity.
Summary updated