NADS:导航器引导的数据选择,用于缓解微调中的灾难性遗忘
NADS: Navigator-Guided Data Selection for Mitigating Catastrophic Forgetting in Fine-Tuning
AI总结:
本研究针对LLM微调中的灾难性遗忘问题,提出NADS框架,通过导航器模型评分合成候选并构建约束集,在平衡新任务性能与通用能力的同时降低选择开销。
摘要:
灾难性遗忘是在新任务上对大语言模型(LLM)进行单阶段微调的核心障碍,尤其是当原始预训练数据不可用时。合成数据提供了一种实用的缓解途径,但候选池通常存在噪声和冗余,因此有效选择至关重要。现有方法往往依赖间接代理信号,其与实际训练收益的对齐度有限,而在大型候选池上进行效用-多样性选择在计算上要求较高。为应对这些挑战,我们提出NAvigator引导的数据选择(NADS),这是一种针对LLM的微调框架。NADS首先遵循目标微调方案且不使用保留正则化,以获得导航器模型,该模型与预训练模型的偏差可揭示方案诱导的能力漂移。随后,它利用导航器与预训练模型之间的预测散度为每个合成候选评分,以获取感知遗忘的效用,并通过高效的效用-多样性选择策略构建约束集。最后,NADS在新任务数据上进行微调,同时在选定的约束上蒸馏预训练行为以保留通用能力。实验表明,NADS在新任务性能与通用能力保留之间实现了更强的平衡,同时降低了效用-多样性选择的开销。代码地址:this https URL。
英文摘要:
Catastrophic forgetting is a central obstacle in single-stage fine-tuning of large language models (LLMs) on a new task, especially when the original pretraining data are unavailable. Synthetic data offers a practical mitigation path, but candidate pools are often noisy and redundant, making effective selection essential. Existing methods often rely on indirect proxy signals whose alignment with actual training benefit can be limited, while utility--diversity selection over large candidate pools remains computationally demanding. To address these challenges, we propose NAvigator-guided Data Selection (NADS), a fine-tuning framework for LLMs. NADS first follows the target fine-tuning recipe without preservation regularization to obtain a navigator model, whose deviation from the pretrained model exposes recipe-induced capability drift. It then uses the predictive divergence between the navigator and the pretrained model to score forgetting-aware utility for each synthetic candidate, and constructs a constraint set through an efficient utility--diversity selection strategy. Finally, NADS fine-tunes on the new-task data while distilling pretrained behavior on the selected constraints to preserve general capabilities. Experiments show that NADS delivers a stronger balance between new-task performance and general capability preservation, while reducing utility--diversity selection overhead. Code at: https://github.com/zjh-vinky/NADS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。