[Paper Review] Identifying and Mitigating Privacy Risks Stemming from Language Models: A Survey
This technical survey maps privacy attack surfaces in language models, reviews existing attacks and mitigations across pre-training, fine-tuning, and compression phases, and highlights open problems and gaps.
Large Language Models (LLMs) have shown greatly enhanced performance in recent years, attributed to increased size and extensive training data. This advancement has led to widespread interest and adoption across industries and the public. However, training data memorization in Machine Learning models scales with model size, particularly concerning for LLMs. Memorized text sequences have the potential to be directly leaked from LLMs, posing a serious threat to data privacy. Various techniques have been developed to attack LLMs and extract their training data. As these models continue to grow, this issue becomes increasingly critical. To help researchers and policymakers understand the state of knowledge around privacy attacks and mitigations, including where more work is needed, we present the first SoK on data privacy for LLMs. We (i) identify a taxonomy of salient dimensions where attacks differ on LLMs, (ii) systematize existing attacks, using our taxonomy of dimensions to highlight key trends, (iii) survey existing mitigation strategies, highlighting their strengths and limitations, and (iv) identify key gaps, demonstrating open problems and areas for concern.
Motivation & Objective
- Clarify how privacy attacks differ across LM phases and architectures.
- Survey existing privacy attacks using a taxonomy of dimensions (goal, attacker knowledge, phase attacked, model type).
- Review mitigation strategies (pre-, in-, and post-processing) and identify their strengths, limitations, and gaps.
Proposed method
- Proposes a taxonomy of salient dimensions for LM privacy attacks (attack goal, attacker knowledge, training phase, model architecture).
- Survey and categorize existing attacks (membership inference, model inversion/attribute inference, data extraction, model extraction) across black-box and white-box settings.
- Synthesize mitigation strategies into pre-processing, training-time, and post-processing approaches; discuss their effectiveness and limitations.
Experimental results
Research questions
- RQ1What are the key dimensions along which LM privacy attacks differ?
- RQ2What are the major attack families affecting LMs, and how do they vary by access level and model phase?
- RQ3What privacy-preserving techniques exist, and what gaps remain in mitigating LM privacy risks?
Key findings
- Memorization and data leakage increase with model size and data duplication, especially for recently seen fine-tuning data.
- Membership inference attacks affect supervised LMs, static embeddings, pre-trained, fine-tuned, and compressed LLMs under black-box and white-box settings; deduplicated training data reduces leakage.
- Model inversion and attribute inference can reconstruct private training data or attributes, with white-box and federated settings posing notable risks; certain attacks can recover sentences or attributes from fine-tuned models.
- Data extraction attacks can reveal verbatim training data even in black-box settings, particularly on pre-trained and fine-tuned LLMs.
- Model extraction attacks threaten API-released models by duplicating functionality and enabling further leakage via white-box attacks on the copied models.
- Mitigation approaches include data sanitization, deduplication, differential privacy, and knowledge unlearning, highlighting that sanitization alone is insufficient and should be combined with other methods.
- Gaps remain in evaluating privacy risks across all training phases (pre-training, fine-tuning, compression) and in developing robust, scalable privacy-preserving techniques.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.