跳到正文
数字商店
原文
Rohan Paul· @rohanpaul_ai · X·· 24 天前AI 评分47
AI 导读

Salesforce AI Research 论文对比了反向 KL 在线策略蒸馏(OPD)与群体相对策略优化(GRPO)的训练 FLOPs 效率,发现使用大型外部教师模型进行蒸馏的算力成本通常高于纯 GRPO,且常引发回复长度膨胀。研究建议先用 RL 训练各领域专家模型再蒸馏合入单一学生模型;在数学与代码双领域任务上,多专家蒸馏相比联合 GRPO 节省了 42.0% 的总 FLOPs。

正文 · 原文

New Salesforce paper finds that distilling from a big external teacher usually costs more compute than plain RL, while merging RL-trained domain experts saves 42%.

On-policy distillation lets a student learn from a teacher's per-token feedback on its own outputs, and many expect this dense signal to beat RL. But every training token also needs a teacher forward pass.

They compared distillation and GRPO by held-out accuracy per training FLOP, varying task difficulty, model sizes, domains, and training settings.

With an external post-trained teacher, GRPO generally won, and distillation often inflated response length. Distilling per-domain GRPO experts into 1 student matched joint GRPO on math plus code with 42.0% fewer total FLOPs.

To save compute, train per-domain experts with RL and distill them into 1 model, rather than distilling from a big external teacher.

来源:Rohan Paul · x.com