arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.11206cs.CLcs.LG
收藏

兼容性感知的动态微调用于大型语言模型

Compatibility-Aware Dynamic Fine-Tuning for Large Language Models

SKL-IOTSC, CIS, University of Macau(澳门大学科技学院电脑与信息科学系及智慧城市物联网国家重点实验室);Auckland University of Technology(奥克兰理工大学)

Yucheng Zhou, Junwei Sheng, Qianning Wang, Jianbing Shen

AI总结:

提出兼容性感知动态微调(CADFT),通过模型似然度动态调整监督更新,抑制不兼容样本的高方差梯度,提升训练稳定性和泛化能力。

摘要:

监督微调(SFT)是对齐大型语言模型(LLMs)的主要范式,但它存在优化不稳定和泛化能力有限的问题。最近的研究将这一问题归因于病态的梯度缩放,并提出了动态微调(DFT)来在令牌级别进行修正。然而,DFT假设所有演示都是同样合适的学习目标,这一假设被大规模指令数据的强异质性所违反,其中演示-策略不匹配会在样本级别导致高方差更新。我们引入了兼容性感知动态微调(CADFT),这是DFT的一个原则性扩展,用于控制样本级别的优化方差。CADFT从模型似然度中推导出一个动态的、依赖于策略的兼容性信号,以调节监督更新,抑制来自不兼容演示的高方差梯度。我们进一步提出了一种延迟的、低频的兼容性引导重写策略,将持续不兼容的演示转化为可学习的目标。我们表明,CADFT可以被解释为一个方差控制的估计器,将DFT中的令牌级稳定性推广到样本级别。大量实验表明,CADFT在保持完全监督且不依赖显式奖励建模的同时,提高了稳定性、泛化能力和冷启动强化学习初始化。

英文摘要:

Supervised Fine-Tuning (SFT) is the predominant paradigm for aligning large language models (LLMs), yet it suffers from optimization instability and limited generalization. Recent work attributes this issue to pathological gradient scaling and proposes Dynamic Fine-Tuning (DFT) to correct it at the token level. However, DFT assumes all demonstrations are equally suitable learning targets, an assumption violated by the strong heterogeneity of large-scale instruction data, where demonstration-policy mismatch induces high-variance updates at the sample level. We introduce Compatibility-Aware Dynamic Fine-Tuning (CADFT), a principled extension of DFT that controls sample-level optimization variance. CADFT derives a dynamic, policy-dependent compatibility signal from model likelihoods to modulate supervised updates, suppressing high-variance gradients from incompatible demonstrations. We further propose a delayed, low-frequency compatibility-guided rewriting strategy to transform persistently incompatible demonstrations into learnable targets. We show that CADFT can be interpreted as a variance-controlled estimator that generalizes token-level stabilization in DFT to the sample level. Extensive experiments demonstrate improved stability, generalization, and cold-start reinforcement learning initialization, while remaining fully supervised and independent of explicit reward modeling.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑