Skip to content

Privacy implications of retrieval-based language modelsPrivacy Implications of Retrieval-Based Language Models

arXiv· arXiv:2305.14888· Yangsibo Huang, Samyak Gupta, Zexuan Zhong, Kai Li, Danqi Chen·Indexed by this site · 24 days ago· Originally publishedAttacks
AI summary

The study finds that retrieval-based language models (especially kNN-LM) are more prone than parametric models to leaking private information from their private datastores, and the authors call this the first study of privacy risks in retrieval-based language models. On mitigation, when the private information target is explicit and easy to detect in text, a simple sanitization step can fully eliminate the risk; decoupling the query and key encoders achieves a better utility-privacy trade-off. Strategies that mix public and private data in datastore and encoder training yield only moderate improvement, with substantial room for improvement remaining. Code is open-sourced at https://github.com/Princeton-SysML/kNNLM_privacy .

Read originalarxiv.org