TL;DR
Large Language Models (LLMs) often change their answers in multiple-choice or pairwise evaluations simply if you swap the order of the options—a phenomenon known as selection bias. This paper introduces Permutation-Aware Group Relative Policy Optimization (PA-GRPO), a reinforcement learning framework that trains LLMs to be invariant to option order and labels. By evaluating advantages across a group of permutations and explicitly rewarding semantic consistency, PA-GRPO significantly reduces selection bias across multiple benchmarks without sacrificing overall accuracy.
What Problem Does This Paper Address?
When LLMs are deployed as multiple-choice problem solvers or automated evaluators (LLM-as-a-Judge), they should ideally focus entirely on semantic content. However, they frequently suffer from selection bias, which manifests as position bias (a tendency to favor the first option listed) or label bias (a preference for specific letters like "A").
Existing solutions fall short:
- Inference-time calibration (e.g., shifting output probabilities post-hoc) adds high computational overhead and merely adjusts surface-level probabilities without fixing the model's underlying reasoning flaws.
- Internal interventions (e.g., masking biased attention heads) are invasive and risk degrading the model's general capabilities.
- Standard Reinforcement Learning (like GRPO) treats different option arrangements as completely independent training samples. If a model finds a "shortcut" that works well on a specific ordering, the RL framework reinforces it, a failure mode the authors term permutation-blindness.
Methods
The authors propose PA-GRPO, which explicitly targets permutation invariance during training. Instead of optimizing a single prompt in isolation, PA-GRPO constructs a Permutation Group for each instance, generating multiple candidate permutations of the same question.
The framework introduces two primary mechanisms to enforce consistency:
- Cross-Permutation Advantage: Standard GRPO calculates a response's advantage relative to other outputs from the same prompt. PA-GRPO elevates this baseline to the mean reward across all sampled outputs across all permutations in the group. A response only receives a positive advantage if it performs well globally across different option arrangements.
- Consistency-Aware Reward: The reward function is decoupled into a preliminary reward (evaluating correctness, length, and format) and a consistency reward. The consistency reward explicitly penalizes the model if its semantic choices diverge across different permutations of the same question.
To keep training computationally efficient, the authors use a structured subset of 5 permutations for Multiple-Choice Questions (4 cyclic shifts + 1 reverse order) and the full symmetric set of 2 permutations for pairwise judging.
Datasets
- Training: The authors utilized the Chatbot Arena dataset for pairwise judge tasks and the MMLU training set for multiple-choice reasoning tasks. Crucially, they filtered the training data to specifically retain instances where the base model yielded inconsistent predictions across permutations, ensuring the strongest signal for learning permutation invariance.
- Evaluation: The model was rigorously tested across seven benchmarks:
- LLM-as-a-Judge: MT-Bench, JudgeBench, PreferenceBench, and RewardBench.
- Multiple-Choice Questions (MCQ): ARC-Challenge, TinyMMLU, and GPQA.
Key Insights and Ideas
- Permutation-Blindness in RL Alignment: Standard RL alignment algorithms optimize for a specific prompt layout. If picking "A" happens to yield a high reward on a specific ordering, the model learns a shortcut. PA-GRPO forces the model to compete against its own performance on alternative permutations, suppressing localized, biased strategies.
- Targeted Data Filtering: Training on data where the model is already robust provides little value. By filtering training sets to only include instances where the model exhibits selection bias, the authors efficiently targeted the intrinsic reasoning flaw.
- Group Size Trade-offs: While expanding the permutation group size ($P$) improves robustness, the authors found that a structured subset ($P=5$) effectively disrupts adjacency bias for MCQs. Scaling to the full $P=24$ permutation space yields diminishing returns relative to the five-fold increase in computational cost.
Key Results
The method was validated using three backbone models: Llama-3.1-8B-Instruct, Qwen3-8B, and Qwen3-32B.
- Substantial Consistency Gains: For Llama-3.1-8B-Instruct, PA-GRPO raised MT-Bench accuracy to 77.6% and consistency to 88.0% (outperforming standard GRPO's 80.6% consistency).
- Hard Tasks Benefit Most: On GPQA (a difficult graduate-level benchmark), Qwen3-8B's Consistent Accuracy shot up from 43.8% (standard GRPO) to 56.7% with PA-GRPO.
- Outperforming Baselines: PA-GRPO consistently beat both inference-time calibration methods (PriDe, CalibraEval) and training-time methods (PIF) across almost all metrics, particularly on "Consistent Accuracy" (which requires the model to be both consistent and correct).
Limitations and Future Work
- Discrete-Choice Only: The method relies on well-defined permutation groups, making it highly suitable for MCQs and pairwise choices, but difficult to extend to open-ended generation where semantic equivalence is harder to mathematically define.
- English and Open-Weights Centered: The evaluations were limited to English benchmarks and open-weights models.
- Other Biases Unexplored: The interaction between permutation invariance and other common LLM artifacts, such as verbosity bias or cultural biases in multilingual settings, remains an open question for future research.
Summary updated