Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Hugging Face Researchers Unveil RSTG: Selective Distillation Boosts RL Fine-Tuning of LLMs

AI By Crimson AI Hugging Face Papers 6 August 2026 · 00:00 13 views
Share: X Telegram

A new paper from Hugging Face introduces RSTG, a method that selectively applies teacher distillation to improve reinforcement learning with verifiable rewards, outperforming naive GRPO+OPD by +4.02% on math and +3.05% on code.

Hugging Face Researchers Unveil RSTG: Selective Distillation Boosts RL Fine-Tuning of LLMs

Key points

Reinforcement learning with verifiable rewards (RLVR) has become a standard approach for post-training large language models (LLMs). However, a widely used method called Group Relative Policy Optimization (GRPO) suffers from sparse reward signals and loses gradients entirely when all responses in a group receive identical rewards. This can stall learning.

To address this, researchers from Hugging Face propose a new method called RSTG (Recovering Learning Signals via Adaptive Teacher Guidance). RSTG builds on on-policy distillation (OPD), which provides dense, token-level supervision from a teacher model. But naive combinations of GRPO and OPD often degrade performance due to three issues: not all samples benefit from distillation, overly fast fitting to the teacher reduces exploration, and OPD's advantages are asymmetric, suppressing most tokens.

RSTG applies distillation selectively. At the sample level, it restricts OPD to negative zero-variance prompts, weighting each sample by the teacher's confidence. At the token level, it targets only tokens with high student entropy or large teacher-student divergence. Additionally, it augments training with SFT on correct teacher-generated trajectories, injecting positive gradients where RL provides none.

Experiments show that RSTG substantially outperforms naive GRPO+OPD, achieving a +4.02% improvement on math tasks and +3.05% on code tasks. The paper is available on Hugging Face and has been recommended alongside related works in the field.

MethodMath ImprovementCode Improvement
RSTG vs Naive GRPO+OPD+4.02%+3.05%
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 31 Aug 2026

Hugging Face Unveils StepGuard: Step-Level Guardrails for Safer AI Agents

StepGuard, a new step-level guard model from Hugging Face, audits agent actions before execution, reducing attack success rates by...

1
Research paper
Hugging Face 31 Aug 2026

Hugging Face Researchers Unveil ABot-Recon for Stable Long-Horizon 3D Reconstruction

ABot-Recon, a new streaming 3D reconstruction model from Hugging Face, achieves stable long-horizon performance using only local t...

1
Research paper
Hugging Face 31 Aug 2026

ContextPilot: Teaching Agents Proactive Context Management via Fine-Grained RL

Hugging Face researchers introduce ContextPilot, a framework that enhances long-horizon agent reasoning by expanding context-editi...

1