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

Obliviate:面向大语言模型知识产权保护的高效去记忆方法

Obliviate: Efficient Unmemorization for Protecting Intellectual Property in Large Language Models

Microsoft Azure(微软Azure);Microsoft(微软)

Mark Russinovich, Ahmed Salem

AI总结:

本研究提出轻量级训练后方法Obliviate,通过KL散度惩罚调整目标词元输出分布、非目标词元一致性损失,精准抑制大模型受版权文本的逐字复现,在多模型上实现逐字回忆量降两个数量级且下游性能下降不超1%,为LLM版权合规提供实用高保真方案。

摘要:

近期AI企业与内容创作者之间的版权协议凸显了对语言模型受版权保护文本复制能力进行细粒度管控的需求。现有防御手段——从激进的遗忘学习到简单的输出过滤器——要么牺牲模型效用,要么无法充分应对逐字泄露问题。我们提出Obliviate,这是一种轻量级的训练后方法,能够精准抑制指定序列的精确复现,同时保留语义理解能力。Obliviate首先识别被记忆的文本片段,随后针对每个目标词元,通过Kullback-Leibler散度惩罚对模型的输出分布进行最小程度调整,以降低精确复现的概率。同时,我们对非目标词元施加一致性损失,以维持模型的流畅性和任务性能。我们使用合成记忆基准和真实受版权保护的文本片段(如《白鲸记》《弗兰肯斯坦》《爱丽丝梦游仙境》和《悲惨世界》),在4个流行的60-80亿参数模型(LLaMA-3.1、LLaMA-3.1-Instruct、Qwen-2.5和Yi-1.5)上评估Obliviate。在所有实验设置下,Obliviate将逐字回忆量降低了两个数量级(例如从数百个词降至不足12个),同时在HellaSwag、MMLU、TruthfulQA和Winogrande基准上的下游准确率下降最多不超过1%。此外,我们使用MUSE和CoTaEval基准,将Obliviate与不同的遗忘学习和版权保护技术进行了基准测试。这些结果表明,Obliviate是部署LLM时实现版权合规的一种实用、高保真的解决方案。

英文摘要:

Recent copyright agreements between AI companies and content creators underscore the need for fine-grained control over language models' ability to reproduce copyrighted text. Existing defenses-ranging from aggressive unlearning to simplistic output filters-either sacrifice model utility or inadequately address verbatim leakage. We introduce Obliviate, a lightweight post-training method that surgically suppresses exact reproduction of specified sequences while preserving semantic understanding. Obliviate first identifies memorized passages and then, for each target token, minimally adjusts the model's output distribution via a Kullback-Leibler divergence penalty to drive down the probability of exact reproduction. Simultaneously, we enforce a consistency loss on non-target tokens to retain the model's fluency and task performance. We evaluate Obliviate on four popular 6-8B-parameter models (LLaMA-3.1, LLaMA-3.1-Instruct, Qwen-2.5, and Yi-1.5) using synthetic memorization benchmarks and organic copyrighted excerpts (e.g., Moby Dick, Frankenstein, Alice in Wonderland and Les Miserables). Across all settings, Obliviate reduces verbatim recall by two orders of magnitude (e.g., from hundreds of words to fewer than 12) while degrading downstream accuracy by at most 1% on HellaSwag, MMLU, TruthfulQA, and Winogrande. Furthermore, we benchmark Obliviate aganist different unlearning and copyright techniques using the MUSE and CoTaEval benchmarks. These results position Obliviate as a practical, high-fidelity solution for copyright compliance in deployed LLMs.

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

↑