arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.22948cs.CLcs.AIcs.CYcs.LG
收藏

SUV:通过正则化选择性遗忘实现可扩展的大语言模型版权合规

SUV: Scalable Large Language Model Copyright Compliance with Regularized Selective Unlearning

Purdue University(普渡大学)

Tianyang Xu, Xiaoze Liu, Feijie Wu, Xiaoqian Wang, Jing Gao

AI总结:

本文提出 SUV 选择性遗忘框架,通过侵权实例数据、DPO 替换逐字版权内容,并结合梯度投影与 Fisher 正则化保护通用能力,显著降低 LLM 版权风险。

摘要:

大语言模型(LLM)通过从海量数据集中学习,已经改变了自然语言处理,但这一快速进展也引发了法律审查,因为其无意中生成受版权保护内容的能力已经引发了多起引人注目的诉讼。在本工作中,我们提出 SUV(Selective Unlearning for Verbatim data,面向逐字数据的选择性遗忘),这是一个选择性遗忘框架,旨在防止 LLM 记忆受版权保护的内容,同时保留其整体效用。具体而言,所提方法构建了一个数据集,用于捕获目标 LLM 出现版权侵权案例的实例。借助该数据集,我们通过直接偏好优化(Direct Preference Optimization,DPO)从 LLM 中遗忘相关内容,该方法用合理且连贯的替代内容替换逐字复制的受版权保护内容。由于 DPO 可能损害 LLM 在其他无关任务上的性能,我们结合梯度投影和 Fisher 信息正则化来缓解这种性能下降。我们使用包含 500 本著名书籍(主要为受版权保护作品)的大规模数据集验证了该方法,并证明 SUV 显著减少了逐字记忆,同时对无关任务性能的影响可以忽略不计。在我们的数据集和公开基准上进行的大量实验证实了该方法的可扩展性和有效性,为缓解现实世界 LLM 应用中的版权风险提供了一种有前景的解决方案。

英文摘要:

Large Language Models (LLMs) have transformed natural language processing by learning from massive datasets, yet this rapid progress has also drawn legal scrutiny, as the ability to unintentionally generate copyrighted content has already prompted several prominent lawsuits. In this work, we introduce SUV (Selective Unlearning for Verbatim data), a selective unlearning framework designed to prevent LLM from memorizing copyrighted content while preserving its overall utility. In detail, the proposed method constructs a dataset that captures instances of copyrighted infringement cases by the targeted LLM. With the dataset, we unlearn the content from the LLM by means of Direct Preference Optimization (DPO), which replaces the verbatim copyrighted content with plausible and coherent alternatives. Since DPO may hinder the LLM's performance in other unrelated tasks, we integrate gradient projection and Fisher information regularization to mitigate the degradation. We validate our approach using a large-scale dataset of 500 famous books (predominantly copyrighted works) and demonstrate that SUV significantly reduces verbatim memorization with negligible impact on the performance on unrelated tasks. Extensive experiments on both our dataset and public benchmarks confirm the scalability and efficacy of our approach, offering a promising solution for mitigating copyright risks in real-world LLM applications.

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

↑