InfoSFT: 通过信息感知的标记加权学习更多并忘记更少
InfoSFT: Learn More and Forget Less with Information-Aware Token Weighting
AI总结:
InfoSFT通过信息感知的标记加权方案改进监督微调,提升泛化能力并保留原有能力,适用于数学、代码和推理任务。
摘要:
监督微调(SFT)是教大语言模型(LLM)从离线专家演示中学习新行为的标准方法。然而,标准SFT均匀地拟合所有样本——包括基模型下可能性较低的样本——这会不成比例地推动训练更新偏向过拟合特定样本而不是学习目标行为。此外,适应这些低可能性样本会引发显著的策略变化,从而降低先前能力。现有方法通过过滤、重新生成或降低低可能性数据的权重来缓解这一问题,但往往抑制了基模型尚未学习的新行为。我们提出了InfoSFT,一种针对SFT目标的系统加权方案,将学习信号集中在信息最大、中等信心的标记上——这些标记既不过于熟悉基模型,也不过于不可能导致不稳定。只需对标准标记损失进行一行修改,InfoSFT在数学、代码和推理任务中,针对多种模型家族,相较于 vanilla SFT 和似然加权基线,显著提升了泛化能力,同时更好地保留了原有能力。
英文摘要:
Supervised fine-tuning (SFT) provides the standard approach for teaching LLMs new behaviors from offline expert demonstrations. However, standard SFT uniformly fits all samples -- including those with low likelihood under the base model -- which can disproportionately drive training updates toward overfitting specific samples rather than learning the target behavior. Moreover, adapting to these unlikely samples induces substantial policy shifts that degrade prior capabilities. Existing methods mitigate this by filtering, regenerating, or down-weighting low-likelihood data. In doing so, they often suppress precisely the novel behaviors the base model has yet to learn. We propose InfoSFT, a principled weighting scheme for the SFT objective that concentrates learning signals on maximally informative, medium-confidence tokens -- those neither overly familiar to the base model nor too unlikely to cause instability. Requiring only a one-line modification to the standard token-wise loss, InfoSFT demonstrably improves generalization over vanilla SFT and likelihood-weighted baselines across math, code, and chain-of-thought tasks with diverse model families, while better preserving pre-existing capabilities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。