TL;DR
DPA-GRPO introduces a game-theoretic framework to co-train a generator LLM and a verifier LLM through structured, auditable interactions. By framing verification as a "Safety Assurance Case" (complete with claims, arguments, and evidence) and optimizing both models using paired counterfactual actions, the method significantly boosts the accuracy and auditability of LLMs in complex, rule-based workflows like tax calculation.
What Problem Does This Paper Address?
While Large Language Models (LLMs) excel at open-ended text generation, they remain notoriously brittle when applied to structured decision-making workflows—such as form filling, compliance checking, or financial reporting. In these domains, outputs must be locally correct, globally consistent, and strictly auditable against rigid rules.
Existing methods to fix this usually rely on self-correction, multi-agent debate, or LLM-generated critiques. However, these suffer from a "second-order assurance problem": a verifier rewarded simply for finding errors might hallucinate persuasive but ungrounded objections, while a generator might uncritically accept bad feedback or ignore valid critiques. This paper tackles the challenge of co-training both the generator and the verifier so they learn to collaborate reliably using structured, verifiable evidence.
Methods
The authors model structured generation as a two-player, general-sum Markov game between a Generator ($G$) and a Verifier ($V$).
The interaction unfolds in a structured loop:
- Proposal: The generator proposes an initial output component (e.g., a specific line on a tax form).
- Intervention: The verifier decides whether to remain silent (
No-SAC) or challenge the proposal by raising a Safety Assurance Case (SAC). Crucially, an SAC isn't just a vague critique; it is a structured record containing a claim (what is wrong), an argument (the rule violated), and evidence (the data fields or dependencies). - Revision: If challenged, the generator creates a candidate revision and must choose whether to
KEEPits original proposal orREVISEit.
To train this system without relying on human preference labels, the authors propose DPA-GRPO (Dual Paired-Action Group-Relative Policy Optimization). Because the choices at each branch are binary (SAC vs. No-SAC for the verifier; KEEP vs. REVISE for the generator), the framework evaluates the rewards for both choices counterfactually. It applies a contrastive, group-relative policy gradient update: the action yielding the higher reward receives a positive advantage, pushing the models toward optimal local Nash equilibria.
Datasets
The framework was evaluated on TaxCalcBench TY24, a benchmark providing synthetic U.S. federal tax-form instances.
- Ground Truth: Generated by a deterministic tax engine.
- Evaluation Protocol: Focuses on 19 selected Form 1040 lines per case.
- Metrics: Accuracy is measured as the fraction of evaluated decision units (lines) that exactly match the deterministic ground truth.
Key Insights and Ideas
- The "Rising Tide" Effect: Training the verifier doesn't just help catch errors post-hoc; it actually forces the generator to produce better initial proposals. The probability of correct proposals being accepted without intervention (Case 1) rose significantly during training.
- Calibration Over Blind Obedience: Instead of teaching the generator to always defer to the verifier, DPA-GRPO improves the generator's calibration. It learns to reject bad or ungrounded critiques from the verifier (Case 6a), ensuring it doesn't break an already correct answer.
- Counterfactuals Replace Human Labels: By exploiting the binary decision trees of the game, the authors generate high-quality positive/negative training pairs automatically based on rule-based oracle rewards, bypassing the need for expensive preference data.
Key Results
The authors evaluated their method using Qwen3-4B and Qwen3-8B backbones, comparing DPA-GRPO against zero-shot generation and single-agent reinforcement learning baselines (like standard GRPO, DAPO, and GSPO):
- Qwen3-4B: Test accuracy improved from 0.41 (Zero-shot) and 0.52 (Standard GRPO) to 0.53 with DPA-GRPO.
- Qwen3-8B: Test accuracy improved from 0.53 (Zero-shot) and 0.54 (Standard GRPO) to 0.57 with DPA-GRPO.
- Error Reduction: DPA-GRPO drastically cut down on missed errors (Case 4), dropping the missed-error rate from 0.59 to 0.40 in the 4B model, and from 0.47 to 0.30 in the 8B model.
Limitations and Future Work
- Domain Specificity: The method was validated on a highly deterministic, clean dataset (TaxCalcBench). How it handles noisier, incomplete, or partially subjective compliance environments remains an open question.
- Computational Overhead: Co-training two separate models and generating multiple candidate revisions per step increases the computational footprint relative to standard generator-only training.
- No Global Convergence Guarantees: The theoretical proofs guarantee convergence to local Nash equilibria under stochastic approximation, but do not guarantee global optimality.
Summary updated