[Paper Review] Privacy in Large Language Models: Attacks, Defenses and Future Directions
This survey analyzes privacy attacks on LLMs, reviews defense strategies, and outlines future privacy challenges and directions.
The advancement of large language models (LLMs) has significantly enhanced the ability to effectively tackle various downstream NLP tasks and unify these tasks into generative pipelines. On the one hand, powerful language models, trained on massive textual data, have brought unparalleled accessibility and usability for both models and users. On the other hand, unrestricted access to these models can also introduce potential malicious and unintentional privacy risks. Despite ongoing efforts to address the safety and privacy concerns associated with LLMs, the problem remains unresolved. In this paper, we provide a comprehensive analysis of the current privacy attacks targeting LLMs and categorize them according to the adversary's assumed capabilities to shed light on the potential vulnerabilities present in LLMs. Then, we present a detailed overview of prominent defense strategies that have been developed to counter these privacy attacks. Beyond existing works, we identify upcoming privacy concerns as LLMs evolve. Lastly, we point out several potential avenues for future exploration.
Motivation & Objective
- Motivate and define privacy concerns in large language models (LLMs) given training on vast Internet data.
- Systematically categorize and analyze privacy attacks on LLMs by attacker capabilities.
- Survey current defense mechanisms against privacy attacks and evaluate their effectiveness and limitations.
- Identify emerging privacy vulnerabilities as LLMs evolve and propose future research directions.
Proposed method
- Classify privacy attacks on LLMs into backdoor, prompt injection, training data extraction, membership inference, attribute inference, embedding inversion, gradient leakage, and other categories.
- Summarize attacks with respect to attacker access (training data, model outputs, embeddings, gradients, etc.) and attack stage.
- Review and synthesize defense techniques including differential privacy, secure multi-party computation, and federated learning, discussing their privacy guarantees and utility trade-offs.
- Highlight limitations of current defenses and practical considerations for deploying privacy-preserving LLMs.
- Outline future directions and potential vulnerabilities to guide subsequent research.
Experimental results
Research questions
- RQ1What are the main privacy attack vectors affecting LLMs and what attacker capabilities enable them?
- RQ2What defense strategies exist against these privacy attacks, and what are their strengths and limitations?
- RQ3How do privacy concerns manifest across training, fine-tuning, and inference phases of LLMs, including integrations with external tools?
- RQ4What future privacy vulnerabilities are likely as LLMs evolve and how can they be mitigated?
- RQ5How can differential privacy, SMPC, and federated learning be effectively applied to LLM privacy with acceptable utility?
Key findings
- LLMs memorization of training data poses privacy risks through training data extraction and membership inference attacks.
- Prompt injection and backdoor attacks can cause LLMs to leak or misbehave, compromising privacy and security in integrated applications.
- A wide range of embedding, gradient, and side-channel attacks reveal sensitive information even under seemingly private settings.
- Current defenses such as differential privacy and secure computation offer privacy guarantees but often degrade model utility, signaling a privacy-utility trade-off.
- Privacy vulnerabilities persist across data provisioning, model fine-tuning, and deployment, underscoring the need for holistic, layered defense strategies.
- The survey identifies emerging attack surfaces and unstudied risks as LLMs continue to evolve and integrate with external tools.
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.