Lune

S&P2020顶会

Privacy Risks of General-Purpose Language Models

Xudong Pan, Mi Zhang, Shouling Ji, Min Yang

摘要

Recently, a new paradigm of building general-purpose language models (e.g., Google’s Bert and OpenAI’s GPT-2) in Natural Language Processing (NLP) for text feature extraction, a standard procedure in NLP systems that converts texts to vectors (i.e., embeddings) for downstream modeling, has arisen and starts to find its application in various downstream NLP tasks and real world systems (e.g., Google’s search engine [6]). To obtain general-purpose text embeddings, these language models have highly complicated architectures with millions of learnable parameters and are usually pretrained on billions of sentences before being utilized. As is widely recognized, such a practice indeed improves the state-of-the-art performance of many downstream NLP tasks. However, the improved utility is not for free. We find the text embeddings from general-purpose language models would capture much sensitive information from the plain text. Once being accessed by the adversary, the embeddings can be reverse-engineered to disclose sensitive information of the victims for further harassment. Although such a privacy risk can impose a real threat to the future leverage of these promising NLP tools, there are neither published attacks nor systematic evaluations by far for the mainstream industry-level language models. To bridge this gap, we present the first systematic study on the privacy risks of 8 state-of-the-art language models with 4 diverse case studies. By constructing 2 novel attack classes, our study demonstrates the aforementioned privacy risks do exist and can impose practical threats to the application of general-purpose language models on sensitive data covering identity, genome, healthcare and location. For example, we show the adversary with nearly no prior knowledge can achieve about 75% accuracy when inferring the precise disease site from Bert embeddings of patients’ medical descriptions. As possible countermeasures, we propose 4 different defenses (via rounding, differential privacy, adversarial training and subspace projection) to obfuscate the unprotected embeddings for mitigation purpose. With extensive evaluations, we also provide a preliminary analysis on the utility-privacy trade-off brought by each defense, which we hope may foster future mitigation researches.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 45 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Exploiting Unintended Feature Leakage in Collaborative Learning 引用了 Membership Inference Attacks Against Machine Learning Models
  • Exploiting Unintended Feature Leakage in Collaborative Learning 引用了 Deep Learning with Differential Privacy
  • Membership Inference Attacks Against Machine Learning Models 引用了 Stealing Machine Learning Models via Prediction APIs
  • Membership Inference Attacks Against Machine Learning Models 引用了 Deep Learning with Differential Privacy
  • ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models 引用了 Stealing Machine Learning Models via Prediction APIs
  • LLM-PBE: Assessing Data Privacy in Large Language Models 引用了 Exploiting Unintended Feature Leakage in Collaborative Learning
  • LLM-PBE: Assessing Data Privacy in Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • LLM-PBE: Assessing Data Privacy in Large Language Models 引用了 Deep Learning with Differential Privacy
  • Backdoor Pre-trained Models Can Transfer to All 引用了 Membership Inference Attacks Against Machine Learning Models
  • Information Leakage in Embedding Models 引用了 Exploiting Unintended Feature Leakage in Collaborative Learning
  • Information Leakage in Embedding Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • Information Leakage in Embedding Models 引用了 ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
  • Information Leakage in Embedding Models 引用了 Deep Learning with Differential Privacy
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper45

  1. Information Leakage in Embedding ModelsCongzheng Song, Ananth RaghunathanCCS 2020 · 200 次引用
  2. "It's a Fair Game", or Is It? Examining How Users Navigate Disclosure Risks and Benefits When Using LLM-Based Conversational AgentsZhiping Zhang, Michelle Jia, Hao-Ping (Hank) Lee, Bingsheng Yao 等CHI 2024 · 92 次引用
  3. Backdoor Pre-trained Models Can Transfer to AllLujia Shen, Shouling Ji, Xuhong Zhang, Jinfeng Li 等CCS 2021 · 72 次引用
  4. LLM-PBE: Assessing Data Privacy in Large Language ModelsQinbin Li, Junyuan Hong, Chulin Xie, Jeffrey Tan 等VLDB 2024 · 66 次引用
  5. PromptCARE: Prompt Copyright Protection by Watermark Injection and VerificationHongwei Yao, Jian Lou, Zhan Qin, Kui RenS&P 2024 · 43 次引用

它引用的 Paper15

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
  2. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
  3. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
  4. Exploiting Unintended Feature Leakage in Collaborative LearningLuca Melis, Congzheng Song, Emiliano De Cristofaro, Vitaly ShmatikovS&P 2019 · 1,736 次引用
  5. ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning ModelsAhmed Salem, Yang Zhang, Mathias Humbert, Pascal Berrang 等NDSS 2019 · 1,141 次引用

相关 Paper

  1. Transferable Embedding Inversion Attack: Uncovering Privacy Risks in Text Embeddings without Model QueriesYu-Hsiang Huang, Yu-Che Tsai, Hsiang Hsiao, Hong-Yi Lin 等ACL 2024 · 5 次引用
  2. Combing for Credentials: Active Pattern Extraction from Smart ReplyBargav Jayaraman, Esha Ghosh, Melissa Chase, Sambuddha Roy 等S&P 2024 · 11 次引用
  3. Analyzing Leakage of Personally Identifiable Information in Language ModelsNils Lukas, Ahmed Salem, Robert Sim, Shruti Tople 等S&P 2023
  4. Evaluating LLM-based Personal Information Extraction and CountermeasuresYupei Liu, Yuqi Jia, Jinyuan Jia, Neil Zhenqiang GongUSENIX Security 2025
  5. Stealing part of a production language modelNicholas Carlini, Daniel Paleka, Krishnamurthy Dj Dvijotham, Thomas Steinke 等ICML 2024 · 157 次引用
黄昏的海面,两侧是细线勾勒的悬崖