Skip to main content
QUICK REVIEW

[Paper Review] Preserving Privacy in Large Language Models: A Survey on Current Threats and Solutions

Michele Miranda, Elena Sofia Ruzzetti|arXiv (Cornell University)|Aug 10, 2024
Privacy-Preserving Technologies in DataComputer Science3 citations
TL;DR

This survey comprehensively analyzes privacy threats in large language models (LLMs), including data extraction, membership inference, and model inversion attacks, and evaluates solutions such as data anonymization, differential privacy, and machine unlearning across the entire ML pipeline. It establishes differential privacy as the gold standard for provable privacy guarantees, while highlighting challenges in utility trade-offs and the need for scalable, GDPR-compliant unlearning mechanisms.

ABSTRACT

Large Language Models (LLMs) represent a significant advancement in artificial intelligence, finding applications across various domains. However, their reliance on massive internet-sourced datasets for training brings notable privacy issues, which are exacerbated in critical domains (e.g., healthcare). Moreover, certain application-specific scenarios may require fine-tuning these models on private data. This survey critically examines the privacy threats associated with LLMs, emphasizing the potential for these models to memorize and inadvertently reveal sensitive information. We explore current threats by reviewing privacy attacks on LLMs and propose comprehensive solutions for integrating privacy mechanisms throughout the entire learning pipeline. These solutions range from anonymizing training datasets to implementing differential privacy during training or inference and machine unlearning after training. Our comprehensive review of existing literature highlights ongoing challenges, available tools, and future directions for preserving privacy in LLMs. This work aims to guide the development of more secure and trustworthy AI systems by providing a thorough understanding of privacy preservation methods and their effectiveness in mitigating risks.

Motivation & Objective

  • To systematically analyze current privacy threats in LLMs, including training data extraction, membership inference, and model inversion attacks.
  • To evaluate existing privacy-preserving techniques across the entire machine learning lifecycle—data preparation, training, inference, and post-training.
  • To assess the effectiveness and limitations of differential privacy as a mathematically rigorous privacy guarantee in LLMs.
  • To address the practical challenge of implementing the 'right to be forgotten' under regulations like GDPR through machine unlearning.
  • To identify open research challenges, including privacy-utility trade-offs, scalability to large models, and secret-keeping capabilities in LLMs.

Proposed method

  • Categorizing privacy threats into three main types: training data extraction (non-adversarial and adversarial prompting), membership inference, and model inversion attacks.
  • Surveying data-level solutions such as anonymization and de-identification techniques applied before model training.
  • Evaluating model-level defenses, including differential privacy during training (DP-SGD) and inference, and privacy-preserving fine-tuning.
  • Analyzing post-training mechanisms like machine unlearning to support data deletion requests under privacy laws.
  • Integrating solutions across the full pipeline: from data preprocessing to inference and model maintenance.
  • Benchmarking techniques against real-world constraints such as model utility, computational cost, and compliance with GDPR and similar regulations.

Experimental results

Research questions

  • RQ1What are the primary privacy threats facing large language models, particularly in sensitive domains like healthcare?
  • RQ2How effective are current techniques such as differential privacy and machine unlearning in mitigating these threats across different stages of the ML lifecycle?
  • RQ3What are the trade-offs between privacy guarantees and model utility in LLMs, especially when scaling to larger architectures?
  • RQ4How can LLMs support the 'right to be forgotten' under GDPR without requiring full retraining?
  • RQ5What are the open challenges in enabling LLMs to securely handle secrets—information meant to be shared only with authorized parties?

Key findings

  • Differential privacy provides a mathematically rigorous privacy guarantee and is considered the gold standard for privacy-preserving LLMs, though it involves a trade-off with model utility.
  • Adversarial prompting attacks can successfully extract memorized training data, including personally identifiable information, even from large models.
  • Membership inference attacks can determine whether specific data points were used in training, posing risks in healthcare and other sensitive domains.
  • Model inversion attacks can reconstruct sensitive attributes from model outputs, enabling unauthorized profiling of individuals.
  • Machine unlearning offers a practical but empirically validated approach to support data deletion requests, essential for GDPR compliance.
  • Current solutions are less effective for very large models, and there is a need for scalable, efficient, and automated unlearning systems with formal privacy guarantees.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.