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

直接偏好优化的稀疏性:NTK regime下的权重解耦

On the Sparsity of Direct Preference Optimization: Weight Disentanglement in the NTK Regime

The University of Tokyo(东京大学)

Kensuke Sasaki, Issei Sato

AI总结:

该研究针对DPO稀疏性无理论解释的问题,在NTK regime下分析其动态,提出双重稀疏性概念,关联其与权重解耦的关系,实验证实稀疏性来源并验证DPO可降低跨任务干扰。

摘要:

直接偏好优化(DPO)已被广泛用于使语言模型与人类偏好对齐。近期实证研究发现DPO会引发极为稀疏的参数更新,但尚未有针对该现象的理论解释。我们在神经正切核线性化框架下分析DPO的优化动态,发现DPO损失的逻辑结构会产生隐式最大间隔偏差。基于此观察,我们提出双重稀疏性概念:DPO更新方向是稀疏梯度特征向量(参数级稀疏性,源于偏好与非偏好响应间的梯度抵消)的稀疏线性组合(数据级稀疏性,由支持向量驱动)。我们在主定理中形式化该结构,将支持对的数量约束为与间隔相关的谱量,并提出将双重稀疏性与权重解耦(一种利于模型合并的条件)关联的框架。在GPT-2 Small和Medium,以及7-9B指令微调模型(Llama-3-8B、Mistral-7B、Gemma-2-9B)上,结合Anthropic HH-RLHF和UltraFeedback数据集的实验证实了两种稀疏性来源;在GPT-2上的实验显示,与监督微调相比,DPO可将跨任务干扰降低多达35倍。

英文摘要:

Direct Preference Optimization (DPO) has been widely adopted for aligning language models with human preferences. Recent empirical work has revealed that DPO induces remarkably sparse parameter updates, yet no theoretical explanation for this phenomenon has been offered. We analyze DPO's optimization dynamics under a neural tangent kernel linearization and show that the logistic structure of the DPO loss gives rise to an implicit maximum-margin bias. Building on this observation, we introduce the concept of dual sparsity: the DPO update direction is a sparse linear combination (data-level sparsity, driven by support vectors) of sparse gradient feature vectors (parameter-level sparsity, arising from gradient cancellation between preferred and dispreferred responses). We formalize this structure in our main theorem, bound the number of support pairs by a margin-dependent spectral quantity, and present a framework relating dual sparsity to weight disentanglement---a condition favorable for model merging. Experiments on GPT-2 Small and Medium and on 7--9B instruction-tuned models (Llama-3-8B, Mistral-7B, Gemma-2-9B) with the Anthropic HH-RLHF and UltraFeedback datasets confirm both sources of sparsity, and experiments on GPT-2 show that DPO reduces cross-task interference by up to $35{\times}$ compared to supervised fine-tuning.

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

↑