TL;DR
This paper introduces Consensus Group Relative Policy Optimization (C-GRPO), a novel method that distills the high-quality but computationally expensive Minimum Bayes Risk (MBR) decoding into a single-pass generation policy. C-GRPO achieves comparable or better performance than MBR decoding on tasks like machine translation and summarization, all without the need for expensive inference-time reranking or explicit reference data.
What Problem Does This Paper Address?
State-of-the-art text generation methods often rely on a "sample-and-rerank" approach. This involves generating multiple candidate outputs, scoring them using a consensus-based utility function (like MBR decoding), and then selecting the best one. While this yields high-quality results, it's computationally prohibitive during inference, especially for latency-sensitive applications. Existing methods to overcome this either require costly gold references or teacher labels, or demand high-fidelity reward models, increasing dataset construction efforts. The core challenge is to achieve MBR-level quality without the inference-time computational burden and without relying on external supervision beyond a task-specific utility function.
Methods
The paper proposes Consensus Group Relative Policy Optimization (C-GRPO). The key idea is to leverage Group Relative Policy Optimization (GRPO), a reinforcement learning technique that uses group-relative advantages. C-GRPO formulates the consensus utility from MBR decoding as a group-relative objective within GRPO. Instead of reranking at inference, C-GRPO distills this consensus decision rule into the policy during training.
Here's how it works:
- Sampling: For a given input prompt, the current policy samples a group of candidate outputs.
- Consensus Utility: The utility of each candidate is computed based on its agreement with other candidates in the group (self-consensus). This is essentially an approximation of the MBR utility.
- GRPO Objective: This group-relative utility is used to define the advantage function in GRPO. The policy is then updated to increase the probability of generating candidates with higher consensus scores.
Crucially, C-GRPO only requires a task utility function (e.g., BLEURT for similarity) and on-policy samples. It does not need gold references, teacher labels, or explicit preference datasets. The paper also introduces C-Dr.GRPO, a variant that further improves stability.
Datasets
The experiments were conducted on the following datasets:
- Machine Translation: WMT 2021-2023 datasets for training and WMT 2024 for evaluation, covering English-Japanese, English-Chinese, and English-German language pairs.
- Text Summarization: XSum dataset.
- Japanese Bias Benchmark for QA (JBBQ): A dataset for evaluating social bias and decision-making accuracy in Japanese.
Key Insights and Ideas
- Distilling Consensus into a Single Pass: The most significant insight is that the complex, multi-step process of MBR decoding can be effectively "distilled" into a single-pass generation policy through GRPO. This bypasses the need for expensive inference-time reranking.
- Reference-Free Training: C-GRPO's ability to train without gold references or explicit preference labels is a major advantage, reducing data collection and annotation costs.
- Self-Consensus as a Signal: Using the sampled group itself as the reference for calculating consensus utility is a clever way to generate a training signal without external data.
- Group-Relative Advantage: The theoretical alignment of C-GRPO's objective with the MBR gradient suggests that it effectively learns to optimize for consensus, leading to convergence guarantees.
- Quality vs. Latency Trade-off Solved: C-GRPO offers a way to achieve high-quality generation without the latency penalty of traditional consensus methods.
Key Results
- Machine Translation: C-GRPO and C-Dr.GRPO achieved the highest average COMET scores across six WMT settings, outperforming MBR decoding and other baselines. For instance, on Llama, C-GRPO showed a large improvement on En-Ja (CMT: 0.530 → 0.759), and C-Dr.GRPO consistently surpassed MBR decoding.
- Text Summarization: On XSum, C-GRPO substantially improved ROUGE-Lsum scores (e.g., Llama: 0.361 → 0.419), demonstrating its ability to generate more reference-overlapping summaries in a single pass.
- Robustness: C-GRPO showed robust improvements across various model families (Llama, Mistral, Qwen) and scales, with degradation only observed on the smallest Qwen2 variants.
- Social Bias Mitigation: On the JBBQ task, C-GRPO improved accuracy, demonstrating its generalization beyond pure generation tasks and its ability to improve decision accuracy in multiple-choice QA.
- Efficiency: C-GRPO achieves strong performance with smaller candidate sets (G) compared to MBR decoding, which requires larger G for comparable results.
Limitations and Future Work
- Imperfect Utility Alignment: The paper acknowledges that if the utility function is imperfectly aligned with human judgments, C-GRPO might distill these shortcomings.
- Training Requirement: While inference is fast, C-GRPO still requires a training phase.
- Per-Instance Selection: C-GRPO trains a single-pass policy, so it doesn't guarantee identical per-instance selection behavior as an explicit reranking procedure.
- Theoretical Idealizations: The theoretical analysis relies on assumptions like the independence of the normalization term, which might not hold perfectly in practice.
- Broader Validation: The authors suggest future work should focus on broader validation across larger model scales, longer-form generation, and human evaluation.
Summary updated