Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Mitigating Forgetting in LLM Fine-Tuning via Low-Perplexity Token Learning

About

Maintaining consistent model performance across domains is a fundamental challenge in machine learning. While recent work has explored using LLM-generated data for fine-tuning, its impact on cross-domain generalization remains poorly understood. This paper presents a systematic analysis revealing that fine-tuning with LLM-generated data not only improves target task performance but also reduces non-target task degradation compared to fine-tuning with ground truth data. Through analyzing the data sequence in tasks of various domains, we demonstrate that this enhancement of non-target task robustness stems from the reduction of high perplexity tokens found in LLM-generated sequences. Following our findings, we showed that masking high perplexity tokens in ground truth training data achieves similar non-target task performance preservation, comparable to using LLM-generated data. Extensive experiments across different model families and scales, including Gemma 2 IT 2B, Llama 3 8B Instruct, and three additional models, agree with our findings. To the best of our knowledge, this is the first work to provide an empirical explanation based on token perplexity reduction to mitigate catastrophic forgetting in LLMs after fine-tuning, offering valuable insights for developing more robust fine-tuning strategies.

Chao-Chung Wu, Zhi Rui Tam, Chieh-Yen Lin, Yun-Nung Chen, Shao-Hua Sun, Hung-yi Lee• 2025

Related benchmarks

TaskDatasetResultRank
Instruction FollowingIFEval
IFEval Accuracy56.8
836
Science Question AnsweringScienceQA--
791
Commonsense ReasoningHellaSwag
HellaSwag Accuracy55.7
711
Mathematical ReasoningCountdown
Accuracy7.8
252
CodingHumanEval
Pass@171.3
168
CodingHumanEval+
Pass@164.6
164
CodingMBPP
Accuracy69.6
145
Hallucination DetectionHaluEval--
131
Code GenerationHumanEval
HumanEval Score71.93
128
CodingMBPP+
Pass@159.8
117
Showing 10 of 48 rows

Other info

Follow for update