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

似曾相识:LLM在识别已见过的文件时表现出确定性

As If We've Met Before: LLMs Exhibit Certainty in Recognizing Seen Files

Huazhong University of Science and Technology(华中科技大学);National University of Singapore(国立新加坡大学);Macquarie University(麦考瑞大学)

Haodong Li, Jingqi Zhang, Xiao Cheng, Peihua Mai, Haoyu Wang, Yan Pang

AI总结:

COPYCHECK利用LLM的不确定性信号,通过双策略检测训练数据中的受版权内容,实现高准确率的版权检测。

摘要:

大型语言模型(LLM)卓越的语言能力源于在大量数据集上的广泛训练,通常包括受版权保护的内容,这引发了关于未经授权使用的重要担忧。尽管成员推断攻击(MIAs)提供了检测此类违规的潜在解决方案,但现有方法因LLM的固有过度自信、对地面真实训练数据的有限访问以及对经验确定阈值的依赖而面临关键限制和挑战。我们提出了COPYCHECK,一种利用不确定性信号来检测受版权保护内容是否被用于LLM训练集的新型框架。我们的方法将LLM的过度自信从缺点转化为优势,通过捕捉能可靠地区分“已见”(训练数据)和“未见”(非训练数据)内容的不确定性模式。COPYCHECK进一步实施了双策略:(1)将文件战略分割成更小的片段以减少对大规模训练数据的依赖;(2)基于不确定性引导的无监督聚类以消除对经验调整阈值的需求。实验结果表明,COPYCHECK在检测已见文件上实现了90.1%的平均平衡准确率(在LLaMA 7b上)和91.6%(在LLaMA2 7b上)。与最先进的基线相比,COPYCHECK在平衡准确率上实现了超过90%的相对提升,最高达到93.8%。它进一步在不同架构上表现出强大的泛化能力,保持在GPT-J 6B上的高性能。本工作首次将不确定性应用于LLM中的版权检测,为训练数据透明性提供了实用工具。

英文摘要:

The remarkable language ability of Large Language Models (LLMs) stems from extensive training on vast datasets, often including copyrighted material, which raises serious concerns about unauthorized use. While Membership Inference Attacks (MIAs) offer potential solutions for detecting such violations, existing approaches face critical limitations and challenges due to LLMs' inherent overconfidence, limited access to ground truth training data, and reliance on empirically determined thresholds. We present COPYCHECK, a novel framework that leverages uncertainty signals to detect whether copyrighted content was used in LLM training sets. Our method turns LLM overconfidence from a limitation into an asset by capturing uncertainty patterns that reliably distinguish between ``seen" (training data) and ``unseen" (non-training data) content. COPYCHECK further implements a two-fold strategy: (1) strategic segmentation of files into smaller snippets to reduce dependence on large-scale training data, and (2) uncertainty-guided unsupervised clustering to eliminate the need for empirically tuned thresholds. Experiment results show that COPYCHECK achieves an average balanced accuracy of 90.1% on LLaMA 7b and 91.6% on LLaMA2 7b in detecting seen files. Compared to the SOTA baseline, COPYCHECK achieves over 90% relative improvement, reaching up to 93.8\% balanced accuracy. It further exhibits strong generalizability across architectures, maintaining high performance on GPT-J 6B. This work presents the first application of uncertainty for copyright detection in LLMs, offering practical tools for training data transparency.

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

↑