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

SFT Doesn't Always Hurt General Capabilities: Revisiting Domain-Specific Fine-Tuning in LLMs

About

Supervised Fine-Tuning (SFT) on domain-specific datasets is a common approach to adapt Large Language Models (LLMs) to specialized tasks but is often believed to degrade their general capabilities. In this work, we revisit this trade-off and present both empirical and theoretical insights. First, we show that SFT does not always hurt: using a smaller learning rate can substantially mitigate general performance degradation while preserving comparable target-domain performance. We then provide a theoretical analysis that explains these phenomena and further motivates a new method, Token-Adaptive Loss Reweighting (TALR). Building on this, and recognizing that smaller learning rates alone do not fully eliminate general-performance degradation in all cases, we evaluate a range of strategies for reducing general capability loss, including L2 regularization, LoRA, model averaging, FLOW, and our proposed TALR. Experimental results demonstrate that while no method completely eliminates the trade-off, TALR consistently outperforms these baselines in balancing domain-specific gains and general capabilities. Finally, we distill our findings into practical guidelines for adapting LLMs to new domains: (i) using a small learning rate to achieve a favorable trade-off, and (ii) when a stronger balance is further desired, adopt TALR as an effective strategy.

Jiacheng Lin, Zhongruo Wang, Kun Qian, Tian Wang, Arvind Srinivasan, Hansi Zeng, Ruochen Jiao, Xie Zhou, Jiri Gesi, Dakuo Wang, Yufan Guo, Kai Zhong, Weiqi Zhang, Sujay Sanghavi, Changyou Chen, Hyokun Yun, Lihong Li• 2025

Related benchmarks

TaskDatasetResultRank
Science Question AnsweringScienceQA--
916
Medical Question AnsweringMedMCQA
Accuracy34.35
591
Medical Question AnsweringMedQA
Accuracy31.81
179
Hallucination DetectionHaluEval--
135
Code GenerationHumanEval+
Pass@170.12
122
Medical Question AnsweringMMLU Med
Accuracy41.04
111
Hallucination EvaluationHaluEval--
51
Code GenerationLCB v6
Pass@111.85
48
Code GenerationMBPP+
Pass@165.34
48
Mathematical ReasoningAIME24
Avg@167.93
45
Showing 10 of 34 rows

Other info

Follow for update