Entropy-Adaptive Fine-Tuning: Resolving Confident Conflicts to Mitigate Forgetting
Muxi Diao, Lele Yang, Wuxuan Gong, Yutong Zhang, Zhonghao Yan, Yufei Han, Kongming Liang, Weiran Xu, Zhanyu Ma
TL;DR
This work investigates catastrophic forgetting in Supervised Fine-Tuning (SFT) for domain adaptation and contrasts it with on-policy RL, identifying a distributional gap manifested as Confident Conflicts (low probability and low entropy) that drives destructive gradient updates. It introduces Entropy-Adaptive Fine-Tuning (EAFT), a soft token-entropy gating mechanism that down-weights conflicting samples while focusing learning on high-entropy, uncertain tokens, using a Top-$K$ entropy approximation for efficiency. Across math, medical, and agent domains, and over models from 4B to 32B parameters (Qwen, GLM), EAFT achieves a Pareto improvement: it matches or exceeds target-domain performance while significantly mitigating forgetting of general capabilities and preserving robust knowledge. The approach is domain-agnostic, computationally efficient, and offers a principled way to balance adaptation with retention in large language models, with limitations noted and avenues for uncertainty calibration and broader knowledge-editing contexts suggested.
Abstract
Supervised Fine-Tuning (SFT) is the standard paradigm for domain adaptation, yet it frequently incurs the cost of catastrophic forgetting. In sharp contrast, on-policy Reinforcement Learning (RL) effectively preserves general capabilities. We investigate this discrepancy and identify a fundamental distributional gap: while RL aligns with the model's internal belief, SFT forces the model to fit external supervision. This mismatch often manifests as "Confident Conflicts" tokens characterized by low probability but low entropy. In these instances, the model is highly confident in its own prediction but is forced to learn a divergent ground truth, triggering destructive gradient updates. To address this, we propose Entropy-Adaptive Fine-Tuning (EAFT). Unlike methods relying solely on prediction probability, EAFT utilizes token-level entropy as a gating mechanism to distinguish between epistemic uncertainty and knowledge conflict. This allows the model to learn from uncertain samples while suppressing gradients on conflicting data. Extensive experiments on Qwen and GLM series (ranging from 4B to 32B parameters) across mathematical, medical, and agentic domains confirm our hypothesis. EAFT consistently matches the downstream performance of standard SFT while significantly mitigating the degradation of general capabilities.
