Evaluating Privacy Leakage and Memorization Attacks on Large Language Models (LLMs) in Generative AI Applications
- 1 School of Computer Science Engineering & Technology, Bennett University, Greater Noida, India
- 2 School of Computer Science Engineering & Technology, Bennett University, Greater Noida, India
- 3 School of Computer Science Engineering & Technology, Bennett University, Greater Noida, India
- 4 School of Computer Science Engineering & Technology, Bennett University, Greater Noida, India
- 5 School of Computer Science Engineering & Technology, Bennett University, Greater Noida, India
- 6 School of Computer Science Engineering & Technology, Bennett University, Greater Noida, India
- 7 School of Computer Science Engineering & Technology, Bennett University, Greater Noida, India
- 8 Cloudemy Technology Labs, Chandigarh, India
- 9 School of Cybersecurity and Privacy, Georgia Institute of Technology, Atlanta, USA
Abstract
The recent interest in the deployment of Generative AI applications that use large language models (LLMs) has brought to the forefront significant privacy concerns, notably the leakage of Personally Identifiable Information (PII) and other confidential or protected information that may have been memorized during training, specifically during a fine-tuning or customization process. We describe different black-box attacks from potential adversaries and study their impact on the amount and type of information that may be recovered from commonly used and deployed LLMs. Our research investigates the relationship between PII leakage, memorization, and factors such as model size, architecture, and the nature of attacks employed. The study utilizes two broad categories of attacks: PII leakage-focused attacks (auto-completion and extraction attacks) and memorization-focused attacks (various membership inference attacks). The findings from these investigations are quantified using an array of evaluative metrics, providing a detailed understanding of LLM vulnerabilities and the effectiveness of different attacks.
- Minaee, S., Mikolov, T., Nikzad, N., Chenaghlu, M., Socher, R., et al. (2024) Large Language Models: A Survey. https://arxiv.org/abs/2402.06196
- Jeong, C. (2024) Fine-Tuning and Utilization Methods of Domainspecific Llms. https://arxiv.org/abs/2401.02981
- Hartmann, V., Suri, A., Bindschaedler, V., Evans, D., Tople, S. and West, R. (2023) SoK: Memorization in Generalpurpose Large Language Models. https://arxiv.org/abs/2310.18362
- Carlini, N., Ippolito, D., Jagielski, M., Lee, K., Tramer, F. and Zhang, C.Y. (2023) Quantifying Memorization across Neural Language Models. https://arxiv.org/abs/2202.07646
- Mireshghallah, F., Uniyal, A., Wang, T.H., Evans, D. and Berg-Kirkpatrick, T. (2022) An Empirical Analysis of Memorization in Fine-Tuned Autoregressive Language Models. In Goldberg, Y., Kozareva, Z., and Zhang, Y., (Eds.), Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing , Association for Computational Linguistics, 1816-1826. https://doi.org/10.18653/v1/2022.emnlp-main.119
- Tirumala, K., Markosyan, A.H., Zettlemoyer, L. and Aghajanyan, A. (2022) Memorization without Overfitting: Analyzing the Training Dynamics of Large Language Models. https://arxiv.org/abs/2205.10770
- Piwik, P.R.O. (2024) What Is PII, Non-PII, and Personal Data? [UPDATED]. https://piwik.pro/blog/what-is-pii-personal-data/
- Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the Protection of Natural Persons with Regard to the Processing of Personal Data and on the Free Movement of such Data, and Repealing Directive 95/46/EC (General Data Protection Regulation). Official Journal of the European Union.
- Fu, W.J., Wang, H.D., Gao, C., Liu, G.H., Li, Y. and Jiang, T. (2023) Practical Membership Inference Attacks against Fine-Tuned Large Language Models via Self-Prompt Calibration. https://arxiv.org/abs/2311.06062
- Nils, L., Ahmed, S., Robert, S., Shruti, T., Lukas, W. and Zanella-Béguelin, S. (2023) Analyzing Leakage of Personally Identifiable Information in Language Models. https://arxiv.org/abs/2302.00539
- Carlini, N., Tramer, F., Wallace, E., Jagielski, M., Herbert-Voss, A., Lee, K., et al. (2021) Extracting Training Data from Large Language Models. https://arxiv.org/abs/2012.07805
- Sun, A.Y., Zemour, E., Saxena, A., Vaidyanathan, U., Lin, E., Lau, C. and Mugunthan, V. (2024) Does Fine-Tuning GPT-3 with the OpenAI API Leak Personally-Identifiable Information? https://arxiv.org/abs/2307.16382