arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.10973cs.LGcs.AI
收藏

保持旋转的监督微调

Rotation-Preserving Supervised Fine-Tuning

Mila - Quebec AI Institute(魁北克AI研究所);Polytechnique Montréal(蒙特利尔理工学院);Université de Montréal(蒙特利尔大学);McGill University(麦吉尔大学);CIFAR AI Chair(CIFAR人工智能主席);Google DeepMind(谷歌DeepMind)

Hangzhan Jin, Tianwei Ni, Lu Li, Pierre-Luc Bacon, Mohammad Hamdaqa, Doina Precup

AI总结:

本文提出RPSFT方法,通过保持预训练奇异子空间的投影旋转来提升模型在领域内和领域外任务间的平衡性能,改进了标准SFT的不足。

摘要:

监督微调(SFT)在领域内表现提升,但会损害领域外泛化能力。先前工作指出这种退化与预训练权重矩阵主导奇异子空间的变化有关。然而,直接利用Hessian或Fisher信息识别损失敏感方向在大语言模型规模下计算成本高。本文提出保持预训练奇异子空间的投影旋转作为Fisher敏感方向的高效代理,称为保持旋转的监督微调(RPSFT)。RPSFT惩罚每个预训练权重矩阵投影的前k个奇异向量块的变化,限制不必要的旋转同时保持任务适应。在数学推理数据上训练的不同模型家族和规模中,RPSFT在领域内/领域外平衡方面优于标准SFT和强SFT基线,更好地保持预训练表示,并为下游RL微调提供更强的初始化。代码可在https://github.com/jinhangzhan/RPSFT获取。

英文摘要:

Supervised fine-tuning (SFT) improves in-domain performance but can degrade out-of-domain (OOD) generalization. Prior work suggests that this degradation is related to changes in dominant singular subspaces of pretrained weight matrices. However, directly identifying loss-sensitive directions with Hessian or Fisher information is computationally expensive at LLM scale. In this work, we propose preserving projected rotations in pretrained singular subspaces as an efficient proxy for Fisher-sensitive directions, which we call Rotation-Preserving Supervised Fine-Tuning (RPSFT). RPSFT penalizes changes in the projected top-$k$ singular-vector block of each pretrained weight matrix, limiting unnecessary rotation while preserving task adaptation. Across model families and sizes trained on math reasoning data, RPSFT improves the in-domain/OOD trade-off over standard SFT and strong SFT baselines, better preserves pretrained representations, and provides stronger initializations for downstream RL fine-tuning. Code is available at \href{https://github.com/jinhangzhan/RPSFT.git}{https://github.com/jinhangzhan/RPSFT}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑