用简单查询法从大模型中提取出训练过的新闻原文。
Extracting Memorized Training Data via Decomposition
- 通过分解指令逐步提取训练数据片段。
- 从3723篇纽约时报文章中复现73篇文章的完整句子。
- 无需微调模型,适合研究数据泄露风险的人看。
大型语言模型(LLMs)在社会中的广泛应用带来了新的信息安全隐患。这些模型基于海量数据训练,存在泄露原始训练内容的风险。尽管当前对齐机制能抑制部分风险行为,但无法完全阻止数据泄露。已有研究显示,通过分布外查询或对抗性技术可诱导模型泄露数据。本文提出一种基于查询的分解方法,成功从两个前沿大模型中提取新闻文章。我们采用指令分解策略,逐段提取训练数据。在3723篇《纽约时报》文章中,成功复现至少一段原文的有73篇文章,且6篇文章的原文句占比超过20%。分析表明,该方法能可靠生成与训练数据高度一致的内容,证明其源于原始训练集。该方法简单、通用,无需微调或修改生产模型。若可规模化复制,将揭示新型安全漏洞,包括隐私泄露和数据滥用风险,需在模型开发与应用中予以重视。
原文摘要 · Abstract (English)
The widespread use of Large Language Models (LLMs) in society creates new information security challenges for developers, organizations, and end-users alike. LLMs are trained on large volumes of data, and their susceptibility to reveal the exact contents of the source training datasets poses security and safety risks. Although current alignment procedures restrict common risky behaviors, they do not completely prevent LLMs from leaking data. Prior work demonstrated that LLMs may be tricked into divulging training data by using out-of-distribution queries or adversarial techniques. In this paper, we demonstrate a simple, query-based decompositional method to extract news articles from two frontier LLMs. We use instruction decomposition techniques to incrementally extract fragments of training data. Out of 3723 New York Times articles, we extract at least one verbatim sentence from 73 articles, and over 20% of verbatim sentences from 6 articles. Our analysis demonstrates that this method successfully induces the LLM to generate texts that are reliable reproductions of news articles, meaning that they likely originate from the source training dataset. This method is simple, generalizable, and does not fine-tune or change the production model. If replicable at scale, this training data extraction methodology could expose new LLM security and safety vulnerabilities, including privacy risks and unauthorized data leaks. These implications require careful consideration from model development to its end-use.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。