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

分析监督微调对模型知识的影响:从token和参数层面

Analyzing the Effects of Supervised Fine-Tuning on Model Knowledge from Token and Parameter Levels

Fudan University(复旦大学);Lenovo Research(联想研究);Shanghai Key Lab of Intelligent Information Processing(上海智能信息处理重点实验室);Shanghai Innovation Institute(上海创新研究院)

Junjie Ye, Yuming Yang, Yang Nan, Shuo Li, Qi Zhang, Tao Gui, Xuanjing Huang, Peng Wang, Zhongchao Shi, Jianping Fan

AI总结:

研究发现监督微调对模型知识的影响显著,通过分析token和参数层面发现大部分参数更新不促进知识增强,恢复更新可提升封闭书问题回答性能。

摘要:

大型语言模型(LLMs)在预训练过程中获得大量世界知识,这种知识会受到后训练技术如监督微调(SFT)的影响。然而,SFT对模型知识的影响仍处于探索阶段,限制了我们对微调模型中知识变化行为的控制能力。为解决这一缺口,我们评估了来自LLaMA-2和LLaMA-3家族的五种LLM在封闭书问题回答(CBQA)任务上的表现。令人惊讶的是,使用1920个样本微调的模型比仅使用240个样本微调的模型表现差14%。此外,微调数据中知识掌握程度的变化会导致性能波动超过12%。为了研究这些影响,我们分析了模型在token和参数层面的行为。我们的分析发现,SFT过程中高达90%的参数更新并不促进知识增强。恢复这些更新可以提高CBQA任务上的性能,这取决于微调数据的特征。这些见解为开发更有效地增强模型知识的微调策略提供了实用指导。

英文摘要:

Large language models (LLMs) acquire substantial world knowledge during pre-training, which is further shaped by post-training techniques such as supervised fine-tuning (SFT). However, the impact of SFT on a model's knowledge remains underexplored, limiting our ability to control knowledge change behavior in fine-tuned models. To address this gap, we evaluate closed-book question answering (CBQA) performance across five LLMs from the LLaMA-2 and LLaMA-3 families. Surprisingly, models fine-tuned on 1,920 samples perform up to 14% worse than those fine-tuned on only 240 samples. Furthermore, varying the level of knowledge mastery in the fine-tuning data leads to performance fluctuations of over 12%. To investigate these effects, we analyze model behavior at both the token and parameter levels. Our analysis reveals that up to 90% of parameter updates during SFT do not contribute to knowledge enhancement. Restoring these updates can improve performance on the CBQA task, depending on the characteristics of the fine-tuning data. These insights offer practical guidance for developing fine-tuning strategies that more effectively strengthen model knowledge.

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

↑