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

Inner-Probe: 在LLM架构中发现与版权相关的数据生成

Inner-Probe: Discovering Copyright-related Data Generation in LLM Architecture

School of Computer Science and the State Key Laboratory of Multimedia Information Processing, Peking University(计算机科学系和多媒体信息处理国家重点实验室,北京大学);Institute for Artificial Intelligence, Peking University(人工智能研究院,北京大学);department of Electrical and Computer Engineering, University of California, Santa Cruz(电气与计算机工程系,加州大学圣克鲁兹分校);Alibaba DAMO Academy, Beijing(阿里巴巴达摩院,北京);College of Computing and Data Science, Nanyang Technological University(计算与数据科学学院,南洋理工大学);School of Integrated Circuits, Peking University(集成电路系,北京大学);YanXin MicroElectronics Co., Ltd.(YXME), Shanghai, China(燕芯微电子有限公司(YXME),上海,中国)

Qichao Ma, Rui-Jie Zhu, Peiye Liu, Renye Yan, Fahong Zhang, Ling Liang, Meng Li, Zhaofei Yu, Zongwei Wang, Yimao Cai, Tiejun Huang

AI总结:

Inner-Probe通过分析LLM生成过程中多头注意力机制,实现对受版权数据子集影响的高效检测与非受版权文本识别。

摘要:

大型语言模型(LLMs)利用广泛的知识数据库,并展现出强大的文本生成能力。然而,其对高质量受版权保护数据集的依赖引发了生成文本中存在版权侵权的担忧。当前研究通常采用提示工程或语义分类器来识别受版权保护的内容,但这些方法有两个显著的局限性:(1)难以确定具体子数据集(例如特定作者的作品)如何影响LLM的输出。(2)将整个训练数据库视为受版权保护,因此忽略了包含非受版权保护训练数据的可能性。我们提出了Inner-Probe,一个轻量级框架,用于评估受版权保护子数据集对LLM生成文本的影响。与传统方法仅依赖文本不同,我们发现LLM输出生成过程中多头注意力(MHA)的结果提供了更多信息。因此,Inner-Probe通过在监督方式下训练的轻量级LSTM网络,利用MHA结果进行子数据集贡献分析。借助此类先验知识,Inner-Probe通过使用无监督对比学习训练的拼接全局投影器,实现了非受版权文本的检测。Inner-Probe在Books3上对子数据集贡献分析的效率提高了3倍,Pile上比基线模型的准确率提高了15.04%至58.7%,并在非受版权数据过滤中实现了AUC的0.104提升。

英文摘要:

Large Language Models (LLMs) utilize extensive knowledge databases and show powerful text generation ability. However, their reliance on high-quality copyrighted datasets raises concerns about copyright infringements in generated texts. Current research often employs prompt engineering or semantic classifiers to identify copyrighted content, but these approaches have two significant limitations: (1) Challenging to identify which specific subdataset (e.g., works from particular authors) influences an LLM's output. (2) Treating the entire training database as copyrighted, hence overlooking the inclusion of non-copyrighted training data. We propose Inner-Probe, a lightweight framework designed to evaluate the influence of copyrighted sub-datasets on LLM-generated texts. Unlike traditional methods relying solely on text, we discover that the results of multi-head attention (MHA) during LLM output generation provide more effective information. Thus, Inner-Probe performs sub-dataset contribution analysis using a lightweight LSTM based network trained on MHA results in a supervised manner. Harnessing such a prior, Inner-Probe enables non-copyrighted text detection through a concatenated global projector trained with unsupervised contrastive learning. Inner-Probe demonstrates 3x improved efficiency compared to semantic model training in sub-dataset contribution analysis on Books3, achieves 15.04% - 58.7% higher accuracy over baselines on the Pile, and delivers a 0.104 increase in AUC for non-copyrighted data filtering.

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

↑