近端策略优化区域:教师存在于提示中,而非梯度中
Zone of Proximal Policy Optimization: Teacher in Prompts, Not Gradients
AI总结:
提出ZPPO方法,通过将教师知识注入提示而非策略梯度,解决小模型知识蒸馏中教师梯度主导和强化学习策略漂移问题,在多种规模模型上超越现有方法。
摘要:
知识蒸馏将教师的能力传递给小型学生模型,但在小模型场景下存在脆弱性:强制学生模仿更大教师的logits会使其集中于教师最尖锐的模式,从而损害训练语料库之外基准家族的泛化能力。强化学习通过基于学生自身rollout进行训练避免了logit模仿。然而,在每次rollout都失败(产生零优势并被静默丢弃)的问题上,将更强教师的响应注入策略梯度会破坏同策略假设并导致漂移。我们提出近端策略优化区域(ZPPO),受维果茨基最近发展区启发,将教师保留在提示中而非策略梯度中。在难题上,ZPPO构建两种重新表述的提示:二元候选包含问题(BCQ)将一个正确教师响应与一个错误学生响应配对作为匿名候选,学生必须区分;负候选包含问题(NCQ)将学生的错误rollout聚合到单个提示中,以揭示其共同的失败模式。提示重放缓冲区循环每个难题,直到其毕业(学生在该问题上的平均rollout准确率达到一半)或在有限容量下被FIFO逐出,从而在学生当前最近发展区内放大BCQ和NCQ。在Qwen3.5系列上,使用四个学生规模(0.8B-9B)和27B教师,后训练为视觉语言模型并在31个基准套件(16个VLM、10个LLM、5个视频)上评估,ZPPO优于离/同策略蒸馏和GRPO,且在最小规模上增益最大。
英文摘要:
Knowledge distillation transfers a teacher's competence to a small student but is brittle in the small-student regime: forcing the student to imitate logits from a much larger teacher hurts generalization on benchmark families beyond the training corpus. Reinforcement learning (RL) avoids logit imitation by training on the student's own rollouts. However, questions on which every rollout fails yield zero advantage and are silently discarded, and injecting a stronger teacher's response into the policy gradient to recover them breaks the on-policy assumption and induces drift. We introduce Zone of Proximal Policy Optimization (ZPPO), inspired by Vygotsky's zone of proximal development. ZPPO keeps the teacher inside the prompt rather than the policy gradient. On hard questions, where the student's mean rollout accuracy is below half, ZPPO constructs two reformulated prompts. A Binary Candidate-included Question (BCQ) pairs one correct teacher response with one incorrect student response as anonymized candidates the student uses as references. A Negative Candidate-included Question (NCQ) aggregates the student's wrong rollouts into a single prompt to surface their shared failure modes. A prompt replay buffer keeps each hard question eligible for re-sampling until it either graduates (the student's mean rollout accuracy on it reaches half or more) or is FIFO-evicted under finite capacity, amplifying BCQ and NCQ inside the student's current zone of proximal development. We post-train Qwen3.5 students at four scales (0.8B-9B) as VLMs with a 27B teacher and evaluate them on a 31-benchmark suite (16 VLM, 10 LLM, 5 Video); ZPPO outperforms off/on-policy distillation and GRPO, with the largest gains at the smallest scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。