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

Junjie Ye, Yuming Yang, Yang Nan, Shuo Li, Qi Zhang +5 more
9/20/2025
cs.CLcs.AI

No official code found. Best implementation: UmeanNever/ParamRestore (5 stars, MIT, last commit 2026-04-15).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

[EMNLP 2025 Main] Official Repo for Paper "Analyzing the Effects of Supervised Fine-Tuning on Model Knowledge from Token and Parameter Levels"

50PythonFeb 4, 20266 months agoMIT

Similar Papers

Cite this paper

@article{ye2025analyzing,
  title  = {Analyzing the Effects of Supervised Fine-Tuning on Model Knowledge from Token and Parameter Levels},
  author = {Junjie Ye and Yuming Yang and Yang Nan and Shuo Li and Qi Zhang and Tao Gui and Xuanjing Huang and Peng Wang and Zhongchao Shi and Jianping Fan},
  year   = {2025},
  eprint = {2509.16596},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.16596v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.16596.svg)](https://codeofpaper.com/paper/2509.16596)

Discussion