Analyzing Leakage of Personally Identifiable Information in Language Models
Nils Lukas, Ahmed Salem, Robert Sim, Shruti Tople, Lukas Wutschitz, Santiago Zanella-Béguelin
摘要
Language Models (LMs) have been shown to leak information about training data through sentence-level membership inference and reconstruction attacks. Understanding the risk of LMs leaking Personally Identifiable Information (PII) has received less attention, which can be attributed to the false assumption that dataset curation techniques such as scrubbing are sufficient to prevent PII leakage. Scrubbing techniques reduce but do not prevent the risk of PII leakage: in practice scrubbing is imperfect and must balance the trade-off between minimizing disclosure and preserving the utility of the dataset. On the other hand, it is unclear to which extent algorithmic defenses such as differential privacy, designed to guarantee sentence- or user-level privacy, prevent PII disclosure. In this work, we introduce rigorous game-based definitions for three types of PII leakage via black-box extraction, inference, and reconstruction attacks with only API access to an LM. We empirically evaluate the attacks against GPT-2 models fine-tuned with and without defenses in three domains: case law, health care, and e-mails. Our main contributions are (i) novel attacks that can extract up to 10 more PII sequences than existing attacks, (ii) showing that sentence-level differential privacy reduces the risk of PII disclosure but still leaks about 3% of PII sequences, and (iii) a subtle connection between record-level membership inference and PII reconstruction. Code to reproduce all experiments in the paper is available at https://github.com/microsoft/analysing_pii_leakage.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 110 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Large Language Model Unlearning via Embedding-Corrupted Prompts 引用了 Beyond Memorization: Violating Privacy via Inference with Large Language Models
- Large Language Model Unlearning via Embedding-Corrupted Prompts 引用了 ProPILE: Probing Privacy Leakage in Large Language Models
- Large Language Model Unlearning via Embedding-Corrupted Prompts 引用了 Language Models are Few-Shot Learners
- Membership Inference Attacks Against Machine Learning Models 引用了 Deep Learning with Differential Privacy
- Beyond Memorization: Violating Privacy via Inference with Large Language Models 引用了 ProPILE: Probing Privacy Leakage in Large Language Models
- Beyond Memorization: Violating Privacy via Inference with Large Language Models 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- ProPILE: Probing Privacy Leakage in Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
- ProPILE: Probing Privacy Leakage in Large Language Models 引用了 Language Models are Few-Shot Learners
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Membership Inference Attacks Against Machine Learning Models
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Deep Learning with Differential Privacy
- Jailbroken: How Does LLM Safety Training Fail? 引用了 Language Models are Few-Shot Learners
- Jailbroken: How Does LLM Safety Training Fail? 引用了 Extracting Training Data from Large Language Models
- Extracting Training Data from Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
- Extracting Training Data from Large Language Models 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Extracting Training Data from Large Language Models 引用了 Language Models are Few-Shot Learners
- Extracting Training Data from Large Language Models 引用了 Deep Learning with Differential Privacy
- Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attacks 引用了 Membership Inference Attacks Against Machine Learning Models
- Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attacks 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attacks 引用了 Language Models are Few-Shot Learners
- Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attacks 引用了 Extracting Training Data from Large Language Models
引用它的顶会 Paper110
- Jailbroken: How Does LLM Safety Training Fail?Alexander Wei, Nika Haghtalab, Jacob SteinhardtNeurIPS 2023 · 2,230 次引用
- ProPILE: Probing Privacy Leakage in Large Language ModelsSiwon Kim, Sangdoo Yun, Hwaran Lee, Martin Gubri 等NeurIPS 2023 · 229 次引用
- Beyond Memorization: Violating Privacy via Inference with Large Language ModelsRobin Staab, Mark Vero, Mislav Balunovic, Martin T. VechevICLR 2024 · 211 次引用
- Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction AttacksVaidehi Patil, Peter Hase, Mohit BansalICLR 2024 · 167 次引用
- Large Language Model Unlearning via Embedding-Corrupted PromptsChris Yuhao Liu, Yaxuan Wang, Jeffrey Flanigan, Yang LiuNeurIPS 2024 · 138 次引用
它引用的 Paper18
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
相关 Paper
- R.R.: Unveiling LLM Training Privacy through Recollection and RankingWenlong Meng, Zhenyuan Guo, Lenan Wu, Chen Gong 等ACL Findings 2025 · 2 次引用
- Combing for Credentials: Active Pattern Extraction from Smart ReplyBargav Jayaraman, Esha Ghosh, Melissa Chase, Sambuddha Roy 等S&P 2024 · 11 次引用
- Private Memorization Editing: Turning Memorization into a Defense to Strengthen Data Privacy in Large Language ModelsElena Sofia Ruzzetti, Giancarlo A. Xompero, Davide Venditti, Fabio Massimo ZanzottoACL 2025 · 9 次引用
- Reconstruct Your Previous Conversations! Comprehensively Investigating Privacy Leakage Risks in Conversations with GPT ModelsJunjie Chu, Zeyang Sha, Michael Backes, Yang ZhangEMNLP 2024 · 3 次引用
- Information Leakage in Embedding ModelsCongzheng Song, Ananth RaghunathanCCS 2020 · 200 次引用
