TL;DR
Reinforcement Learning with Verifiable Rewards (RLVR) helps language models solve complex reasoning tasks but suffers from sparse, sequence-level feedback. Self-Distilled Policy Gradient (SDPG) solves this by mathematically unifying full-vocabulary on-policy self-distillation with policy gradients, providing dense token-level guidance from privileged context (like hints or ground truths) while avoiding the memory overhead of external teacher models.
What Problem Does This Paper Address?
When training Large Language Models (LLMs) for mathematics or code generation, standard reinforcement learning methods like Group Relative Policy Optimization (GRPO) rely on rule-based verifiers. These verifiers provide a binary outcome reward (e.g., 1 for correct, 0 for incorrect) at the very end of a long generation sequence.
This creates two major challenges:
- Sparse Credit Assignment: The model receives a single scalar reward for the entire sequence, making it difficult to pinpoint exactly which reasoning step or token was correct or flawed.
- Early Training Instability: In the early stages of training, an overwhelming number of negative advantages can degrade the model's foundational language capabilities.
While on-policy distillation (OPD) can provide dense, token-level signals using a teacher model, traditional approaches require a separate, much larger teacher model, imposing a massive memory burden. Pure self-distillation methods (where the model acts as its own teacher by conditioning on privileged context) remove the external teacher but risk reinforcing locally plausible but globally incorrect reasoning paths if they lack a verifier to guide them.
Methods
The authors introduce SDPG (Self-Distilled Policy Gradient), a framework that elegantly blends outcome-based RLVR with exact full-vocabulary on-policy self-distillation.
Key components of the method include:
- Policy Gradient Equivalence: The authors prove that the student-side gradient of a reverse-KL full-vocabulary self-distillation loss is locally identical to a policy-gradient update where the token advantage is a centered log teacher/student ratio.
- Positive-Advantage Gating: To prevent the model from imitating the "teacher" branch on incorrect trajectories, SDPG gates the distillation loss. The dense self-distillation signal is only activated for rollouts that achieve a positive outcome advantage from the verifier ($A_{out}^{(i)} > 0$).
- Warmup-Decay $\beta$ Scheduler: Early in training, the alignment between the student and privileged teacher is poor, making the target noisy. SDPG warms up the distillation coefficient ($\beta$). Near the end of training, $\beta$ decays to zero, allowing the student model to break free from the privileged context bias and explore independently.
- Unnormalized KL (UKL) Regularization: To anchor the model to a fixed reference policy without introducing the estimation biases inherent in standard rollout-based KL regularizations, the authors leverage an unnormalized KL framework.
Datasets
- Training: The models were trained using the DAPO-Math-17k dataset, which consists of 13.9k English samples. The privileged context (solutions and alternative derivation instructions) was generated using Gemini 2.5 Pro.
- Evaluation: The fine-tuned models were evaluated on challenging mathematical reasoning benchmarks: AIME2024, AIME2025, and AMC23.
Key Insights and Ideas
- Self-Distillation is Secretly a Policy Gradient: The core theoretical insight is that minimizing the reverse KL divergence between a student and a context-privileged teacher acts exactly like a token-level policy gradient update.
- Verifiers are Essential for Distillation: Pure self-distillation easily suffers from mode collapse or reinforces incorrect paths. Gating the distillation loss based on verifier success ensures the dense token signal only reinforces globally correct trajectories.
- Phasing Out the Teacher Prevents Bias: Because the privileged context (e.g., the ground-truth answer) is missing at inference time, keeping the distillation signal active indefinitely limits the student. Decaying the distillation weight at the end of training resolves this mutual-information gap.
Key Results
The authors evaluated SDPG using Qwen3-4B and Qwen3-1.7B base models, comparing it against GRPO and RLSD (a state-of-the-art self-distilled RLVR baseline).
- Higher Accuracy: On the Qwen3-4B model, the Unnormalized Forward KL variant (SDPG-UFKL) achieved a peak accuracy of 0.408 on AIME24 and 0.335 on AIME25, substantially outperforming standard GRPO (0.316 / 0.279) and RLSD (0.395 / 0.304).
- Mitigating Entropy Collapse: Unlike pure self-distillation baselines where actor entropy collapses toward zero (a sign of mode collapse), SDPG-UFKL maintained high actor entropy throughout training.
- Faster Convergence: SDPG reached high-reward plateaus several hundred steps earlier than GRPO, demonstrating the efficiency of dense token-level supervision.
Limitations and Future Work
- Dependence on Initial Data Quality: Because of the positive-advantage gating mechanism, if a model is evaluated on an extremely difficult dataset where it initially gets zero correct answers, the distillation gate will never activate. The authors note that a dataset with moderate difficulty or a curriculum learning setup is necessary to kickstart the distillation signal.
Summary updated