arXiv:2605.20005cs.LG2026-05

通过自适应学习率防止大模型微调时遗忘预训练知识

Fine-Tuning Without Forgetting via Loss-Adaptive Learning Rates

  • 根据损失值动态调整学习率,高损失批次降低学习率
  • 在多个基准上平均减少93%遗忘,同时保持任务性能
  • 适合需要保留预训练知识的低资源语言或科学任务

在新数据上微调大语言模型可提升任务表现,但会削弱预训练阶段学到的能力,即灾难性遗忘。现有方法通过修改微调目标来抑制高损失样本,但这些样本对新任务学习至关重要,尤其在预训练覆盖不足时。我们发现:每步遗忘程度受学习率与当前训练损失平方根乘积的限制,高损失批次更易引发遗忘。基于此,提出FINCH方法,对高损失批次降低学习率,并随模型收敛逐步提高,不改变原有微调目标。在知识获取、科学推理和低资源语言适配等基准上,FINCH平均减少93%遗忘,且任务性能与标准微调相当。在Qwen3-4B知识获取任务中,将TruthfulQA退化降低5倍,逆转HaluEval退化,更好保持置信度校准。结果表明,学习率调度是塑造微调行为的有效工具,远超单纯优化目标任务。

原文摘要 · Abstract (English)

Fine-tuning large language models on new data improves task performance but degrades capabilities learned during pretraining, a phenomenon known as catastrophic forgetting. Existing methods mitigate this by modifying the fine-tuning objective to suppress high-loss tokens or sequences, but these tokens are essential for learning new tasks, especially those with poor pretraining coverage. In such settings, hard tokens should still contribute to learning, so forgetting must be controlled without suppressing them. We identify a simple mechanism for doing so: per-step forgetting is bounded by the product of the learning rate and the square root of the current training loss. This suggests that high-loss batches are especially prone to inducing forgetting. Motivated by this observation, we introduce FINCH, a loss-adaptive learning-rate schedule that reduces the learning rate on high-loss batches and increases it as the model converges, while leaving the fine-tuning objective unchanged. Across knowledge acquisition, science, and low-resource language adaptation benchmarks, FINCH reduces forgetting by 93% on average while matching the task performance of standard fine-tuning. On Qwen3-4B knowledge acquisition, FINCH cuts TruthfulQA degradation by 5x and reverses HaluEval degradation, while better preserving confidence calibration. Overall, our results show that learning-rate schedules are an effective tool to shape model behavior during fine-tuning, beyond just target-task optimization.

微调遗忘抑制学习率调度大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。