arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.04773cs.LGcs.AI
收藏

分布偏好优化:大语言模型遗忘的细粒度视角

Distribution Preference Optimization: A Fine-grained Perspective for LLM Unlearning

Tsinghua University(清华大学);The Hong Kong University of Science and Technology(香港科技大学);Jianghuai Advanced Technology Center(江淮先进技术中心);University of Technology Sydney(悉尼大学)

Kai Qin, Jiaqi Wu, Jianxiang He, Haoyuan Sun, Yifei Zhao, Xu Wang, Bin Liang, Yongzhe Chang, Cheng Li, Tiantian Zhang, Houde Liu

AI总结:

针对大语言模型遗忘中负偏好优化缺乏显式正信号的问题,提出分布偏好优化(DiPO),通过选择性放大或抑制模型高置信度输出logits构建偏好分布对,实现细粒度遗忘,在TOFU和MUSE基准上取得最优遗忘质量与模型效用的平衡。

摘要:

随着大型语言模型(LLMs)从海量语料库中展现出卓越能力,数据隐私和安全问题日益受到关注。LLM遗忘旨在移除特定数据的影响同时保持模型整体效用,正成为一个重要研究领域。主流遗忘方法之一是优化类方法,通过微调直接实现遗忘,例如负偏好优化(NPO)。然而,NPO的有效性受限于其固有缺乏显式正偏好信号。通过构建偏好响应引入此类信号的尝试通常需要领域知识或精心设计的提示,从根本上限制了其泛化能力。本文中,我们将焦点转移到分布层面,直接针对下一个词元的概率分布而非整个响应,推导出一种新颖的遗忘算法,称为分布偏好优化(DiPO)。我们证明,DiPO所需的偏好分布对(即模型输出词元上的分布)可以通过选择性放大或抑制模型高置信度输出logits来构建,从而有效克服NPO的局限性。我们从理论上证明了DiPO损失函数与期望遗忘方向的一致性。大量实验表明,DiPO在模型效用和遗忘质量之间实现了强平衡。值得注意的是,DiPO在TOFU基准上取得了最高的遗忘质量,并在MUSE基准上保持了领先的可扩展性和效用保持可持续性。

英文摘要:

As Large Language Models (LLMs) demonstrate remarkable capabilities learned from vast corpora, concerns regarding data privacy and safety are receiving increasing attention. LLM unlearning, which aims to remove the influence of specific data while preserving overall model utility, is becoming an important research area. One of the mainstream unlearning classes is optimization-based methods, which achieve forgetting directly through fine-tuning, exemplified by Negative Preference Optimization (NPO). However, NPO's effectiveness is limited by its inherent lack of explicit positive preference signals. Attempts to introduce such signals by constructing preferred responses often necessitate domain-specific knowledge or well-designed prompts, fundamentally restricting their generalizability. In this paper, we shift the focus to the distribution-level, directly targeting the next-token probability distribution instead of entire responses, and derive a novel unlearning algorithm termed \textbf{Di}stribution \textbf{P}reference \textbf{O}ptimization (DiPO). We show that the requisite preference distribution pairs for DiPO, which are distributions over the model's output tokens, can be constructed by selectively amplifying or suppressing the model's high-confidence output logits, thereby effectively overcoming NPO's limitations. We theoretically prove the consistency of DiPO's loss function with the desired unlearning direction. Extensive experiments demonstrate that DiPO achieves a strong trade-off between model utility and forget quality. Notably, DiPO attains the highest forget quality on the TOFU benchmark, and maintains leading scalability and sustainability in utility preservation on the MUSE benchmark.

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

↑