Revisiting On-policy Adversarial Black-Box Distillation: Calibrating Groupwise Reward Geometry for Effective Advantage Construction

Xiao Cui, Mo Zhu, Yulei Qin, Yuze Wu, Wengang Zhou, Houqiang LiNeurIPS 2026

TL;DR

When distilling giant, API-only LLMs into nimble local models using reinforcement learning, the "critic" model scoring the student's attempts has a blind spot: it learns to tell the teacher apart from the student, not to tell good student answers apart from mediocre ones. This causes the student's reward scores to clump together, turning its learning signal into noisy static. The authors fix this mismatch by gently sculpting the mathematical "shape" of these reward groups—making small models dramatically smarter while adding practically zero extra compute time.

What Problem Does This Paper Address?

Suppose you want to teach a compact, local 3B-parameter model to reason like a frontier giant such as GPT-5. Because GPT-5 lives behind an API, you don't get access to its internal probabilities or hidden states—only its text outputs. This is black-box distillation.

Simply fine-tuning the student on the teacher's text (off-policy learning) leads to brittle models that stumble once they have to generate text on their own. A much better, modern approach is on-policy adversarial distillation (like GAD). Here, the student generates a small group of candidate answers for a prompt. Instead of paying to query the teacher API endlessly, a local critic model scores those answers, and an RL algorithm called GRPO (Group Relative Policy Optimization) updates the student by comparing its answers against each other.

Here lies the catch—what the authors call the groupwise reward geometry mismatch. The critic is trained with a standard Bradley-Terry loss to give the teacher a high score and the student a low score. It has zero incentive to spread out the scores among the student's own answers. If the student generates eight answers and the critic gives them all roughly the same low score, the critic passes its test! Meanwhile, GRPO tries to normalize those nearly identical scores to figure out which student attempt was best. Dividing by a tiny standard deviation blows up random critic noise, scrambling the rankings and sabotaging policy updates.

Real-world and toy analyses showing how standard Bradley-Terry critic training allows within-group student rewards to collapse, breaking rankings and degrading optimization.

Methods

To bridge the gap between what the critic emits and what GRPO needs, the authors introduce Groupwise Reward Geometry Conditioning (GRGC), a two-stage pipeline built onto the standard GAD + GRPO loop.

Overview of the GRGC pipeline, showing critic-side OT calibration during critic training and policy-side power modulation before GRPO updates.

What is novel here are two lightweight interventions acting purely on scalar reward numbers:

  1. Critic-side Geometry Calibration (CGC): During critic training, the authors add an auxiliary Optimal Transport (OT) loss. For every prompt group of $N=8$ student responses, it sorts their rewards and nudges them to match the spacing of a standard bell curve (Gaussian quantiles) centered at the group's current average. Why a bell curve? It prevents reward collapse while keeping smooth, natural gaps—avoiding rigid equal spacing or extreme outlier gaps.
  2. Policy-side Group Modulation (PGM): Before handing the conditioned rewards over to GRPO, the system standardizes them ($z_i$) and applies a signed power transform: $\hat{r}_i = \text{sign}(z_i)|z_i|^\gamma$ (with $\gamma = 1.5$). Because $\gamma > 1$, this keeps the critic's exact ranking intact while stretching out meaningful differences between good and bad answers, giving the student a crisp, decisive learning signal early in training.

Datasets

No new benchmarks are introduced; the authors use established datasets to test both conversational breadth and instruction-following:

  • Training: Preprocessed subsets of LMSYS-Chat-1M (diverse, organic user-chatbot conversations) and Dolly-Train (human-authored instruction data).
  • Evaluation: Held-out LMSYS (479 samples) for in-distribution testing, alongside DollyEval (500 samples), SelfInst (242 instructions), and VicunaEval (80 complex open-ended queries) for out-of-distribution generalization.

Key Insights and Ideas

  • The Critic Actively Prefers Collapse: Using Jensen’s inequality, the authors mathematically prove that for any fixed average student score, the standard Bradley-Terry loss achieves its lowest (best) value when all student responses receive the exact same score. Collapse isn't an accident; the math quietly encourages it.
  • More Samples Won't Save You: You might think doubling the batch size or generating 16 responses per prompt instead of 8 would naturally fix low variance. The authors test this and show it barely moves the needle for the baseline—proving the issue is structural to the loss function, not a sampling fluke.
  • Two Stages Beat One: Calibrating the critic alone works well eventually, but starts slow because organized rewards aren't necessarily sharply separated early on. Pairing critic calibration with policy-side power stretching yields immediate, stable gains.

Key Results

Across API teachers (GPT-5-Chat and thinking-enabled Doubao-Seed-2.0) and student families (Qwen2.5 1.5B/3B and Llama-3.2 1B/3B), GRGC consistently outperforms SeqKD and GAD:

  • Big Win-Rate Jumps: When distilling GPT-5-Chat into Qwen2.5-3B on LMSYS, GRGC boosts the reference win rate from GAD's 25.1% to 45.3% (and from 8.2% to 26.6% out-of-distribution on DollyEval). Llama-3.2-3B sees a similar leap on LMSYS from 15.9% to 40.1%.
  • Eliminating Collapsed Groups: Across a 1,500-step run, ~15–16% of GAD's prompt groups suffer from severe low dispersion, compared to under 1.9% with GRGC (where every remaining "collapsed" group was literally eight identical text strings!).
  • Free Lunch on Compute: Because sorting and rescaling 8 numbers per prompt requires no extra neural network passes, total training overhead is 0.11% for a 1.5B model and 0.06% for a 3B model (just 0.04 seconds per step).

Limitations and Future Work

Not discussed in the paper. (Note: Any explicit limitations section is likely located in the appendix, which lies outside the provided 11-page main text.)

Summary updated

Abstract

Black-box distillation is a practical route for transferring capabilities from API-accessible large language models that expose only text outputs into smaller student models. Recent on-policy adversarial methods such as GAD improve over SeqKD by forming an adversarial loop between a critic and a student, where the critic provides rewards for GRPO-based student policy optimization over the student's sampled responses. However, GRPO computes advantages from the within-group relative rewards of student samples for the same prompt, whereas the critic is trained primarily to distinguish teacher responses from student responses. This objective mismatch can produce reward groups with collapsed scale or fragile margins, leading to brittle grouped optimization signals. We propose Groupwise Reward Geometry Conditioning (GRGC), a two-stage framework that improves advantage construction by shaping student-side reward groups during both critic training and policy optimization. To improve critic-side conditioning, Gaussian groupwise Optimal Transport calibration regularizes the critic during training to produce reward groups with non-collapsed spread and smooth rank-wise gaps by matching sorted prompt-wise rewards to group-centered Gaussian quantiles. Building on this conditioned reward geometry, policy-side group power modulation reshapes the prompt-wise reward groups before they are converted into advantages, preserving the critic-induced ordering while increasing optimization-relevant margin separability. Extensive experiments across diverse teachers, student model families and scales, and training datasets demonstrate the effectiveness of GRGC on both in-distribution and out-of-distribution evaluations, while introducing negligible overhead over GAD. The code is available at https://github.com/2018cx/GRGC.
BibTeX
@inproceedings{cui2026revisiting,
  author = {Xiao Cui and Mo Zhu and Yulei Qin and Yuze Wu and Wengang Zhou and Houqiang Li},
  title = {{Revisiting On-policy Adversarial Black-Box Distillation: Calibrating Groupwise Reward Geometry for Effective Advantage Construction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1jWdRb1zSZ},
}
Figure