Lune

EMNLP2023顶会

Privacy Implications of Retrieval-Based Language Models

Yangsibo Huang, Samyak Gupta, Zexuan Zhong, Kai Li, Danqi Chen

摘要

Retrieval-based language models (LMs) have demonstrated improved interpretability, factuality, and adaptability compared to their parametric counterparts, by incorporating retrieved text from external datastores. While it is well known that parametric models are prone to leaking private data, it remains unclear how the addition of a retrieval datastore impacts model privacy. In this work, we present the first study of privacy risks in retrieval-based LMs, particularly kNN-LMs. Our goal is to explore the optimal design and training procedure in domains where privacy is of concern, aiming to strike a balance between utility and privacy. Crucially, we find that kNN-LMs are more susceptible to leaking private information from their private datastore than parametric models. We further explore mitigations of privacy risks. When privacy information is targeted and readily detected in the text, we find that a simple sanitization step would completely eliminate the risks, while decoupling query and key encoders achieves an even better utility-privacy trade-off. Otherwise, we consider strategies of mixing public and private data in both datastore and encoder training. While these methods offer modest improvements, they leave considerable room for future work. Together, our findings provide insights for practitioners to better understand and mitigate privacy risks in retrieval-based LMs. 1

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Exploiting Unintended Feature Leakage in Collaborative Learning 引用了 Deep Learning with Differential Privacy
  • Improving Language Models by Retrieving from Trillions of Tokens 引用了 Deep Learning with Differential Privacy
  • Improving Language Models by Retrieving from Trillions of Tokens 引用了 Extracting Training Data from Large Language Models
  • PIG: Privacy Jailbreak Attack on LLMs via Gradient-based Iterative In-Context Optimization 引用了 Extracting Training Data from Large Language Models
  • Mitigating the Privacy Issues in Retrieval-Augmented Generation (RAG) via Pure Synthetic Data 引用了 Extracting Training Data from Large Language Models
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Deep Learning with Differential Privacy
  • Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented Generation 引用了 Mitigating the Privacy Issues in Retrieval-Augmented Generation (RAG) via Pure Synthetic Data
  • Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented Generation 引用了 Deep Learning with Differential Privacy
  • Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented Generation 引用了 Extracting Training Data from Large Language Models
  • SILO Language Models: Isolating Legal Risk In a Nonparametric Datastore 引用了 Improving Language Models by Retrieving from Trillions of Tokens
  • SILO Language Models: Isolating Legal Risk In a Nonparametric Datastore 引用了 Deep Learning with Differential Privacy
  • SILO Language Models: Isolating Legal Risk In a Nonparametric Datastore 引用了 Extracting Training Data from Large Language 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 引用了 Deep Learning with Differential Privacy
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

  1. SILO Language Models: Isolating Legal Risk In a Nonparametric DatastoreSewon Min, Suchin Gururangan, Eric Wallace, Weijia Shi 等ICLR 2024 · 91 次引用
  2. Attention is All You Need to Defend Against Indirect Prompt Injection Attacks in LLMsYinan Zhong, Qianhao Miao, Yanjiao Chen, Jiangyi Deng 等NDSS 2026 · 13 次引用
  3. Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented GenerationHaoran Wang, Xiongxiao Xu, Baixiang Huang, Kai ShuKDD 2026 · 13 次引用
  4. PIG: Privacy Jailbreak Attack on LLMs via Gradient-based Iterative In-Context OptimizationYidan Wang, Yanan Cao, Yubing Ren, Fang Fang 等ACL 2025 · 12 次引用
  5. Mitigating the Privacy Issues in Retrieval-Augmented Generation (RAG) via Pure Synthetic DataShenglai Zeng, Jiankun Zhang, Pengfei He, Jie Ren 等EMNLP 2025 · 7 次引用

它引用的 Paper17

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
  2. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
  3. Exploiting Unintended Feature Leakage in Collaborative LearningLuca Melis, Congzheng Song, Emiliano De Cristofaro, Vitaly ShmatikovS&P 2019 · 1,736 次引用
  4. Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai 等ICML 2022 · 1,629 次引用
  5. The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用

相关 Paper

  1. The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)Shenglai Zeng, Jiankun Zhang, Pengfei He, Yiding Liu 等ACL Findings 2024 · 104 次引用
  2. Why do Nearest Neighbor Language Models Work?Frank F. Xu, Uri Alon, Graham NeubigICML 2023 · 33 次引用
  3. You can't pick your neighbors, or can you? When and How to Rely on Retrieval in the kNN-LMAndrew Drozdov, Shufan Wang, Razieh Rahimi, Andrew McCallum 等EMNLP Findings 2022 · 10 次引用
  4. Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and AdaptationJeongho Yoon, Chanhee Park, Yongchan Chun, Hyeonseok Moon 等ACL 2026
  5. Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation SystemsZhenting Qi, Hanlin Zhang, Eric P. Xing, Sham M. Kakade 等ICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖