Proceedings

Understanding PII Leakage in Large Language Models: A Systematic Survey

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Survey Track. Pages 10409-10417.

https://doi.org/10.24963/ijcai.2025/1156

Abstract

Large Language Models (LLMs) have demonstrated exceptional success across a variety of tasks, particularly in natural language processing, leading to their growing integration into numerous facets of daily life. However, this widespread deployment has raised substantial privacy concerns, especially regarding personally identifiable information (PII), which can be directly associated with specific individuals. The leakage of such information presents significant real-world privacy threats. In this paper, we conduct a systematic investigation into existing research on PII leakage in LLMs, encompassing commonly utilized PII datasets, evaluation metrics, and current studies on both PII leakage attacks and defensive strategies. Finally, we identify unresolved challenges in the current research landscape and suggest future research directions.

  1. GPT-J (6B, 2021/06)
  2. GPT-NeoX (20B, 2022/02) OPT (1.3B/2.7B/6.7B, 2022/03) Llama (7B/65B, 2023/02)
  3. Pythia (70M/1.4B/6.9B/12B, 2023/02) ChatGLM (6B, 2023/03)
  4. RedPajama-INCITE (3B/7B, 2023/05) Falcon (7B/40B, 2023/06) Llama-2 (7B/13B/70B, 2023/07) vicuna-v1.5 (7B/13B, 2023/08)
  5. Mistral (7B, 2023/09) OLMo (7B, 2024/02) Phi-3 (3.8B/7B, 2024/04) Llama-3 (8B/70B, 2024/04) Llama-3.1 (8B, 2024/07) Llama-3.2 (1B/3B, 2024/09)
  6. K im et al ., 20 24 ] [
  7. N iu et al ., 20 23 ] [
  8. P an da et al ., 20 24 ] [
  9. N ak ka et al ., 20 24 a] [
  10. S un et al ., 20 24 ] [
  11. N ak ka et al ., 20 24 b]
  12. S iy an et al ., 20 24 ] Codex (2021/08) GPT-3.5-turbo (2022/11) New Bing (2023/02) GPT-4 (2023/03)
  13. Open-Source Model Closed-Source Model On PII Extraction Attack On PII Extraction Defense References [Afreen et al., 2020]
  14. Asad Afreen, Moosa Aslam, and Saad Ahmed. Analysis of fileless malware and its evasive be- havior. In ICCWS, pages 1-8. IEEE, 2020.
  15. [Akkus et al., 2024] Atilla Akkus, Mingjie Li, Junjie Chu, Michael Backes, Yang Zhang, and Sinem Sav. Generated data with fake privacy: Hidden dangers of fine-tuning large language models on generated data. arXiv:2409.11423, 2024.
  16. [Ashuach et al., 2024] Tomer Ashuach, Martin Tutek, and Yonatan Belinkov. Revs: Unlearning sensitive informa- tion in language models via rank editing in the vocabulary space. arXiv:2406.09325, 2024.
  17. [Bai et al., 2024] Yang Bai, Ge Pei, Jindong Gu, Yong Yang, and Xingjun Ma. Special characters attack: Toward scal- able training data extraction from large language models. arXiv:2405.05990, 2024.
  18. [Biderman et al., 2024] Stella Biderman, Usvsn Prashanth, Lintang Sutawika, Hailey Schoelkopf, Quentin Anthony, Shivanshu Purohit, and Edward Raff. Emergent and pre- dictable memorization in large language models. NeurIPS, 36, 2024.
  19. [Borkar, 2023] Jaydeep Borkar. What can we learn from data leakage and unlearning for law? arXiv:2307.10476, 2023.
  20. [Carlini et al., 2019] Nicholas Carlini, Chang Liu, Úlfar Er- lingsson, Jernej Kos, and Dawn Song. The secret sharer: Evaluating and testing unintended memorization in neural networks. In USENIX Security, pages 267-284, 2019.
  21. [Carlini et al., 2021] Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Kather- ine Lee, Adam Roberts, Tom Brown, Dawn Song, et al. Extracting training data from large language models. In USENIX Security, pages 2633-2650, 2021.
  22. [Carlini et al., 2022] Nicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee, Florian Tramer, and Chiyuan Zhang. Quantifying memorization across neural language models. arXiv:2202.07646, 2022.
  23. [Carlini et al., 2023] Nicolas Carlini, Jamie Hayes, Milad Nasr, Matthew Jagielski, Vikash Sehwag, Florian Tramer, Borja Balle, Daphne Ippolito, and Eric Wallace. Extract- ing training data from diffusion models. In USENIX Secu- rity, pages 5253-5270, 2023.
  24. [Chen et al., 2024a] Ruizhe Chen, Tianxiang Hu, Yang Feng, and Zuozhu Liu. Learnable privacy neurons local- ization in language models. arXiv:2405.10989, 2024.
  25. [Chen et al., 2024b] Xiaoyi Chen, Siyuan Tang, Rui Zhu, Shijun Yan, Lei Jin, Zihao Wang, Liya Su, Zhikun Zhang, XiaoFeng Wang, and Haixu Tang. The janus interface: How fine-tuning in large language models amplifies the privacy risks. In ACM CCS, pages 1285-1299, 2024.
  26. [Chong et al., 2024] Chun Jie Chong, Chenxi Hou, Zhihao Yao, and Seyed Mohammadjavad Seyed Talebi. Casper: Prompt sanitization for protecting user privacy in web- based large language models. arXiv:2408.07004, 2024.
  27. [Deng et al., 2024] Gelei Deng, Yi Liu, Yuekang Li, Kai- long Wang, Ying Zhang, Zefeng Li, Haoyu Wang, Tianwei Zhang, and Yang Liu. Masterkey: Automated jailbreaking of large language model chatbots. In ISOC NDSS, 2024.
  28. [Deshmukh et al., 2023] Ajinkya Deshmukh, Saumya Ban- thia, and Anantha Sharma. Life of pii-a pii obfuscation transformer. arXiv:2305.09550, 2023.
  29. [Frikha et al., 2024] Ahmed Frikha, Nassim Walha, Kr- ishna Kanth Nakka, Ricardo Mendes, Xue Jiang, and Xue- bing Zhou. Incognitext: Privacy-enhancing conditional text anonymization via llm-based private attribute random- ization. arXiv:2407.02956, 2024.
  30. [Hoory et al., 2021] Shlomo Hoory, Amir Feder, Avichai Tendler, Sofia Erell, Alon Peled-Cohen, Itay Laish, Hootan Nakhost, Uri Stemmer, et al. Learning and eval- uating a differentially private pre-trained language model. In EMNLP, pages 1178-1189, 2021.
  31. [Huang et al., 2022] Jie Huang, Hanyin Shao, and Kevin Chen-Chuan Chang. Are large pre-trained language mod- els leaking your personal information? In EMNLP, pages 2038-2047, December 2022.
  32. [Jang et al., 2022] Joel Jang, Dongkeun Yoon, Sohee Yang, Sungmin Cha, Moontae Lee, Lajanugen Logeswaran, and Minjoon Seo. Knowledge unlearning for mitigating pri- vacy risks in language models. arXiv:2210.01504, 2022.
  33. [Kandpal et al., 2022] Nikhil Kandpal, Eric Wallace, and Colin Raffel. Deduplicating training data mitigates privacy risks in language models. In International Conference on Machine Learning, pages 10697-10707. PMLR, 2022.
  34. [Kim et al., 2024] Siwon Kim, Sangdoo Yun, Hwaran Lee, Martin Gubri, Sungroh Yoon, and Seong Joon Oh. Propile: Probing privacy leakage in large language mod- els. NeurIPS, 36, 2024.
  35. [Li et al., 2023] Haoran Li, Dadi Guo, Wei Fan, Mingshi Xu, Jie Huang, Fanpu Meng, and Yangqiu Song. Multi-step jailbreaking privacy attacks on chatgpt. In EMNLP, pages 4138-4153, 2023.
  36. [Li et al., 2024] Qinbin Li, Junyuan Hong, Chulin Xie, Jef- frey Tan, Rachel Xin, Junyi Hou, Xavier Yin, Zhun Wang, Dan Hendrycks, Zhangyang Wang, et al. Llm- pbe: Assessing data privacy in large language models. arXiv:2408.12787, 2024.
  37. [Lukas et al., 2023] Nils Lukas, Ahmed Salem, Robert Sim, Shruti Tople, Lukas Wutschitz, and Santiago Zanella- Béguelin. Analyzing leakage of personally identifiable in- formation in language models. In 2023 IEEE Symposium on Security and Privacy (SP), pages 346-363. IEEE, 2023.
  38. [McCallister et al., 2010] Erika McCallister, Timothy Grance, and Karen A Scarfone. Sp 800-122. guide to protecting the confidentiality of personally identifiable information (pii), 2010.
  39. [Meng et al., 2022] Kevin Meng, Arnab Sen Sharma, Alex Andonian, Yonatan Belinkov, and David Bau. Mass- editing memory in a transformer. arXiv:2210.07229, 2022.
  40. [More et al., 2024] Yash More, Prakhar Ganesh, and Gol- noosh Farnadi. Towards more realistic extraction attacks: An adversarial perspective. arXiv:2407.02596, 2024.
  41. [Nakka et al., 2024a] Krishna Kanth Nakka, Ahmed Frikha, Ricardo Mendes, Xue Jiang, and Xuebing Zhou. Pii- compass: Guiding llm training data extraction prompts to- wards the target pii via grounding. In Proceedings of the Fifth Workshop on Privacy in Natural Language Process- ing, pages 63-73, 2024.
  42. [Nakka et al., 2024b] Krishna Kanth Nakka, Ahmed Frikha, Ricardo Mendes, Xue Jiang, and Xuebing Zhou. Pii- scope: A benchmark for training data pii leakage assess- ment in llms. arXiv:2410.06704, 2024.
  43. [Nasr et al., 2023] Milad Nasr, Nicholas Carlini, Jonathan Hayase, Matthew Jagielski, A Feder Cooper, Daphne Ippolito, Christopher A Choquette-Choo, Eric Wallace, Florian Tramèr, and Katherine Lee. Scalable extrac- tion of training data from (production) language models. arXiv:2311.17035, 2023.
  44. [Niu et al., 2023] Liang Niu, Shujaat Mirza, Zayd Maradni, and Christina Pöpper. {CodexLeaks}: Privacy leaks from code generation language models in {GitHub} copilot. In USENIX Security, 2023.
  45. [Ouyang et al., 2022] Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. NeurIPS, 2022.
  46. [Panda et al., 2024] Ashwinee Panda, Christopher A. Choquette-Choo, Zhengming Zhang, Yaoqing Yang, and Prateek Mittal. Teach llms to phish: Stealing private information from language models. In ICLR, 2024.
  47. [Radford et al., 2019] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
  48. [Rashid et al., 2025] Md Rafi Ur Rashid, Jing Liu, Toshiaki Koike-Akino, Ye Wang, and Shagufta Mehnaz. Forget to flourish: Leveraging machine-unlearning on pretrained language models for privacy leakage. Proceedings of the AAAI Conference on Artificial Intelligence, 39, 2025.
  49. [Shao et al., 2024] Hanyin Shao, Jie Huang, Shen Zheng, and Kevin Chen-Chuan Chang. Quantifying association capabilities of large language models and its implications on privacy leakage. In EACL, pages 814-825, 2024.
  50. [Shen et al., 2024] Xinyue Shen, Zeyuan Chen, Michael Backes, Yun Shen, and Yang Zhang. "do anything now"': Characterizing and evaluating in-the-wild jailbreak prompts on large language models. In ACM CCS, 2024.
  51. [Siyan et al., 2024] Li Siyan, Vethavikashini Chithrra Raghuram, Omar Khattab, Julia Hirschberg, and Zhou Yu. Papillon: Privacy preservation from internet-based and local language model ensembles. arXiv preprint arXiv:2410.17127, 2024.
  52. [Staab et al., 2024] Robin Staab, Mark Vero, Mislav Balunović, and Martin Vechev. Beyond memorization: Violating privacy via inference with large language models. In ICLR, 2024.
  53. [Sun et al., 2024] Xiongtao Sun, Gan Liu, Zhipeng He, Hui Li, and Xiaoguang Li. Deprompt: Desensitization and evaluation of personal identifiable information in large lan- guage model prompts. arXiv:2408.08930, 2024.
  54. [Venditti et al., 2024] Davide Venditti, Elena Sofia Ruzzetti, Giancarlo A Xompero, Cristina Giannone, Andrea Favalli, Raniero Romagnoli, and Fabio Massimo Zanzotto. En- hancing data privacy in large language models through pri- vate association editing. arXiv:2406.18221, 2024.
  55. [Wang et al., 2023] Boxin Wang, Weixin Chen, Hengzhi Pei, Chulin Xie, Mintong Kang, Chenhui Zhang, Chejian Xu, Zidi Xiong, Ritik Dutta, Rylan Schaeffer, et al. Decod- ingtrust: A comprehensive assessment of trustworthiness in gpt models. In NeurIPS, 2023.
  56. [Wu et al., 2023] Xinwei Wu, Junzhuo Li, Minghui Xu, Wei- long Dong, Shuangzhi Wu, Chao Bian, and Deyi Xiong. Depn: Detecting and editing privacy neurons in pretrained language models. arXiv:2310.20138, 2023.
  57. [Yan et al., 2024] Biwei Yan, Kun Li, Minghui Xu, Yueyan Dong, Yue Zhang, Zhaochun Ren, and Xiuzhen Cheng. On protecting the data privacy of large language models (llms): A survey. arXiv:2403.05156, 2024.
  58. [Yao et al., 2024] Yifan Yao, Jinhao Duan, Kaidi Xu, Yuan- fang Cai, Zhibo Sun, and Yue Zhang. A survey on large language model (llm) security and privacy: The good, the bad, and the ugly. High-Confidence Computing, page 100211, 2024.
  59. [Yu et al., 2021] Da Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi, Huseyin A Inan, Gautam Kamath, Janard- han Kulkarni, Yin Tat Lee, et al. Differentially private fine-tuning of language models. arXiv:2110.06500, 2021.
  60. [Yu et al., 2024] Jiahao Yu, Xingwei Lin, Zheng Yu, and Xinyu Xing. {LLM-Fuzzer}: Scaling assessment of large language model jailbreaks. In USENIX Security, pages 4657-4674, 2024.
  61. [Zhang et al., 2023] Zhexin Zhang, Jiaxin Wen, and Minlie Huang. Ethicist: Targeted training data extraction through loss smoothed soft prompting and calibrated confidence estimation. In ACL, pages 12674-12687, 2023.
  62. [Zhou et al., 2024] Jijie Zhou, Eryue Xu, Yaoyao Wu, and Tianshi Li. Rescriber: Smaller-llm-powered user-led data minimization for navigating privacy trade-offs in llm- based conversational agent. arXiv:2410.11876, 2024.
  63. [Zou et al., 2023] Andy Zou, Zifan Wang, Nicholas Carlini, Milad Nasr, J Zico Kolter, and Matt Fredrikson. Universal and transferable adversarial attacks on aligned language models. arXiv:2307.15043, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards