Generative Adversarial Reasoner: Enhancing LLM Reasoning with Adversarial Reinforcement Learning

Qihao Liu, Luoxin Ye, Wufei Ma, Yu-Cheng Chou, Alan Yuille

TL;DR

The Generative Adversarial Reasoner (GAR) framework enhances LLM reasoning by co-evolving a reasoner model and a step-level discriminator through adversarial reinforcement learning. By partitioning long reasoning chains into short, logically complete slices, GAR provides dense, on-policy rewards that significantly boost mathematical and coding performance while avoiding the common pitfall of policy entropy collapse.

What Problem Does This Paper Address?

While modern large language models (LLMs) excel at complex multi-step reasoning, they are still prone to "process errors"—subtle arithmetic slips, logical gaps, or superficially plausible but invalid steps.

Standard Reinforcement Learning (RL) post-training typically relies on sparse outcome rewards (e.g., checking if the final answer matches the ground truth). This approach suffers from poor credit assignment: a model might use flawless logic but make a minor calculation error at the very end, receiving zero reward, or conversely, arrive at the right answer through completely flawed logic and be falsely rewarded.

Process Reward Models (PRMs) attempt to fix this by scoring individual steps, but they require expensive human annotations and suffer from distribution shift; a static PRM quickly becomes miscalibrated as the target LLM's policy evolves during training.

Methods

GAR introduces an on-policy adversarial co-training framework that jointly optimizes two components:

  1. The Reasoner ($M_r$): An LLM that generates the intermediate reasoning steps and final answers.
  2. The Discriminator ($M_d$): A smaller variant of the reasoner that acts as a step-by-step critic.
Figure 2: GAR architecture. GAR is a reinforcement learning framework that jointly trains an LLM reasoner and a slice-level discriminator to improve reasoning accuracy and explainability. Unlike standard RL for LLMs, which computes reward signals mainly based on final answers, GAR leverages a discriminator to provide dense, slice-level rewards that evaluate the reasoning process at each intermediate step. More importantly, the discriminator is continuously co-evolved with the LLM reasoner, ensuring the reward signal remains aligned with the model’s current behavior and enabling sustained improvement and refinement of reasoning.

Slice-Level Evaluation

Instead of evaluating an entire reasoning chain at once, GAR partitions the trajectory into logically complete "slices" using natural delimiters (like line breaks or discourse cues) up to a maximum length ($L = 320$ tokens). The discriminator evaluates each slice, outputting a brief analysis, a binary soundness verdict ($r^s_i \in \{0, 1\}$), and a concise rationale. To keep training compute-efficient, the discriminator's rationale generation is strictly capped at 128 tokens.

Adversarial Reinforcement Learning

The system uses Group Relative Policy Optimization (GRPO) to update both models simultaneously:

  • Reasoner Reward: A linear combination of exact-match final answer correctness ($R^m$) and the average of the discriminator's slice-level scores ($R^s$).
  • Discriminator Reward: A combination of a standard GAN objective ($R^d$) to differentiate model-generated slices from reference slices, and an alignment reward ($R^a$) that penalizes inconsistencies between slice-level judgments and final answer correctness.

Datasets

  • Training: OpenR1-Math-220k dataset. A 10% subset annotated via GPT-4o-mini was used for an initial Supervised Fine-Tuning (SFT) phase to teach the discriminator its structured analysis-score-rationale format.
  • Mathematical Evaluation: Evaluated across seven benchmarks: AIME 2024/2025, MATH500, GSM8K, AMC23, OlympiadBench, and LiveMathBench (Hard splits).
  • Code Generation Evaluation: CodeForces-CoT dataset, evaluated on LiveCodeBench, HumanEval, and HumanEval+.

Key Insights and Ideas

  • Co-Evolution Prevents Reward Hacking: Because the discriminator is updated on-policy alongside the reasoner, the reward signal dynamically adapts. As the reasoner gets stronger, the discriminator learns to detect increasingly subtle logical flaws, preventing the reasoner from "hacking" a static reward model with shallow, plausible-sounding text.
  • Selective Entropy without Collapse: Standard RL often causes "entropy collapse," where the model becomes overly deterministic and loses exploration diversity. GAR exhibits a selective-entropy mechanism: it drives entropy down on deterministic, straightforward reasoning spans but maintains high entropy (exploration) on decision-critical tokens.
Entropy distribution analysis
  • RL Without Full Chains of Thought: Because GAR provides dense intermediate feedback, the authors demonstrated that they could halt generation after just three slices and still train effectively. This partial-trace evaluation cut training time by more than half while outperforming standard full-trajectory RL, opening doors for training on open-ended tasks like mathematical proofs where final answers are hard to verify automatically.

Key Results

GAR delivered consistent performance gains across all evaluated mathematical and coding benchmarks compared to standard RL baselines.

Figure 1: Pass@1 accuracy on seven mathematical reasoning benchmarks. Our Generative Adversarial Reasoner (GAR) consistently improves over strong baselines across both Deepseek-R1-Distill-Qwen-7B and Deepseek-R1-Distill-Llama-8B. GAR achieves gains of +22.9% on AIME24 and +19.5% on AIME25 for the Llama backbone, as well as +35.3% on LiveMathBench-Hard for Qwen. These results demonstrate the robust- ness and generality of GAR in enhancing reasoning performance across diverse mathematical tasks (Tab. 1).
  • AIME24 Performance: GAR boosted the Pass@1 accuracy of DeepSeek-R1-Distill-Qwen-7B from 54.0 to 61.3 (+7.3) and DeepSeek-R1-Distill-Llama-8B from 43.7 to 53.7 (+10.0).
  • LiveMathBench-Hard: Achieved a notable relative improvement of +35.3% for the Qwen backbone.
  • Reasoning Style Distillation: In a specialized experiment, GAR successfully shifted the reasoner's internal monologue style to mimic a teacher model (Gemini). Human experts struggled to tell them apart, dropping their distinguishability success rate from 82.3% down to 55.9% (near random guess).

Limitations and Future Work

The authors note two primary limitations:

  1. Compute Efficiency vs. Depth: Finding the perfect balance between the discriminator's reasoning depth and the computational overhead of slice-by-slice evaluation remains challenging.
  2. Reward Aggregation Dilution: Currently, slice-level rewards are averaged into a single trajectory-level signal for the RL update. This averaging can dilute localized credit assignment. Exploring better ways to directly leverage token- and slice-specific advantages is a key direction for future work.

Summary updated

BibTeX
@inproceedings{liu2026generative,
  author = {Qihao Liu and Luoxin Ye and Wufei Ma and Yu-Cheng Chou and Alan Yuille},
  title = {{Generative Adversarial Reasoner: Enhancing LLM Reasoning with Adversarial Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ihucMuRXcY},
}
Figure