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

从 logits 到 latents:用于大语言模型遗忘的对比表示塑造

Contrastive Representation Shaping for LLM Unlearning

Purdue University(普渡大学)

Haoran Tang, Rajiv Khanna

AI总结:

CLReg 通过对比表示正则化减少大语言模型中遗忘与保留知识的纠缠,提升遗忘效果并降低隐私风险。

摘要:

大多数大语言模型(LLM)遗忘方法旨在通过最小化分布偏移来近似从头开始重新训练的行为,通常通过在预测空间中定义的对齐式目标实现。虽然在减少遗忘内容生成方面有效,但此类方法可能起到抑制作用:遗忘的概念可能仍然存在于表示中,并与保留的知识交织在一起。我们引入了 CLReg,一种对比表示正则化器,它在识别遗忘特征的同时,将它们推离保留特征,从而显式减少遗忘-保留干扰,同时在保留特征上最小化偏移。我们提供了首次理论见解,将表示塑造与纠缠减少联系起来。在各种遗忘基准和不同大小的 LLM 上,CLReg 减少了遗忘-保留表示纠缠,从而促进主流遗忘方法,而无需提出额外的隐私风险,启发了未来的工作,即通过重塑表示空间来移除遗忘概念。

英文摘要:

Most LLM unlearning methods aim to approximate retrain-from-scratch behaviors with minimal distribution shift, often via alignment-style objectives defined in the prediction space. While effective at reducing forgotten content generation, such approaches may act as suppression: forgotten concepts can persist in representations and remain entangled with retained knowledge. We introduce CLReg, a contrastive representation regularizer that identifies forget features while pushing them away from retain features, reducing forget--retain interference while empirically preserving the scale and shape of retain features. As light motivation for the mechanism, we provide a one-step analysis showing that CLReg decreases a simple entanglement proxy in the embedding space. Across unlearning benchmarks and LLMs of different sizes, CLReg decreases forget-retain representation entanglement to enhance mainstream unlearning methods without extra privacy risks, inspiring future unlearning work to remove forget concepts via representation shaping. Code is available at https://github.com/HaoranTang/CLReg.

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

↑