通过位置选择性自蒸馏从语言反馈中训练LLM评判器

·

研究论文 · 2026/10/02

本文研究如何利用自然语言反馈训练LLM评判器,尤其针对主观任务,其中评判结果高度依赖于所引用的评估标准及其权重。主流方法(如GRPO)仅根据最终评判的准确性为整个生成序列分配单一标量奖励,无法为选择标准的token提供单独信用,也忽略了偏好标签附带的丰富语言反馈(如偏好理由)。自蒸馏(SD)可利用这些语言反馈:同一模型在反馈条件下作为教师,提供密集的位置级监督。然而,并非所有位置都提供同等有用的信号。通过教师与学生之间的逐位置熵变,我们识别出两种模式:上下文锐化(教师将概率集中在某个与反馈一致的标准表达上)和上下文扩散(教师将概率分布在多个与反馈一致的备选表达上)。我们认为,锐化鼓励记忆特定标准表达,而扩散通过保留这些备选表达促进语义理解。基于这种不对称性,我们引入基于熵变的位置掩码,保留熵变分布的低尾部分。实验表明,掩码高熵变位置比朴素SD提升了分布外泛化能力。最终的自蒸馏评判器在评估的主观子类别上比结果监督强化学习训练的评判器高出2-9个百分点,同时在客观子类别上保持竞争力。

该研究为利用自然语言反馈训练主观任务评判器提供了新方法,通过熵变分析优化自蒸馏,显著提升泛化性能,对LLM评估领域有重要参考价值。

We study training LLM judges from natural language feedback, especially for subjective tasks where the verdict depends strongly on which evaluation criteria the judge invokes and how it weighs them. The dominant approach, outcome-supervised RL (e.g., GRPO), credits every token in the rollout with a single scalar determined only by the accuracy of the final verdict, providing no separate credit at the criterion-choice tokens and ignoring the rich language feedback (e.g., preference rationales) that naturally accompanies preference labels. Self-Distillation (SD) is one natural way to use this language feedback: the same model, conditioned on this feedback, acts as a teacher providing dense, position-level supervision. However, not all positions carry equally useful signal. Using the per-position entropy shift between teacher and student, we identify two regimes: context sharpening, where the teacher concentrates probability on a particular feedback-aligned criterion expression, and context spreading, where the teacher distributes probability across multiple feedback-aligned alternatives. We interpret these patterns as follows: sharpening encourages memorization of a particular criterion expression, whereas spreading promotes semantic understanding by preserving these alternatives. Motivated by this asymmetry, we introduce position masking based on the entropy shift that retains the lower tail of the entropy-shift distribution. Experiments show that masking higher-entropy-shift positions improves out-of-distribution generalization over naive SD. The resulting self-distilled judges outperform judges trained with outcome-supervised RL by 2-9 percentage points on the evaluated subjective subcategories, while remaining competitive on objective ones.

阅读原文

参与讨论