Skip to main content
QUICK REVIEW

[Paper Review] Unique Security and Privacy Threats of Large Language Models: A Comprehensive Survey

Shang Wang, Tianqing Zhu|arXiv (Cornell University)|Jun 12, 2024
Privacy-Preserving Technologies in DataComputer Science7 citations
TL;DR

This survey provides a five-scenario taxonomy of unique privacy and security threats in large language models (LLMs) across pre-training, fine-tuning, RAG systems, deployment, and LLM-based agents, outlining threats and countermeasures.

ABSTRACT

With the rapid development of artificial intelligence, large language models (LLMs) have made remarkable advancements in natural language processing. These models are trained on vast datasets to exhibit powerful language understanding and generation capabilities across various applications, including chatbots, and agents. However, LLMs have revealed a variety of privacy and security issues throughout their life cycle, drawing significant academic and industrial attention. Moreover, the risks faced by LLMs differ significantly from those encountered by traditional language models. Given that current surveys lack a clear taxonomy of unique threat models across diverse scenarios, we emphasize the unique privacy and security threats associated with four specific scenarios: pre-training, fine-tuning, deployment, and LLM-based agents. Addressing the characteristics of each risk, this survey outlines and analyzes potential countermeasures. Research on attack and defense situations can offer feasible research directions, enabling more areas to benefit from LLMs.

Motivation & Objective

  • Motivate and analyze the unique privacy and security risks inherent to LLMs compared to traditional models.
  • Propose a fine-grained taxonomy of threat models aligned with five life-cycle scenarios.
  • Identify and discuss both unique LLM-specific risks and common risks across language models.
  • Summarize existing countermeasures and suggest directions for future defense research.

Proposed method

  • Organizes the LLM life cycle into five threat scenarios: pre-training, fine-tuning, retrieval-augmented generation (RAG), deployment, and LLM-based agents.
  • Provides a taxonomy of threats within each scenario, detailing attack goals, capabilities, and methods.
  • Maps each risk to corresponding countermeasures and defenses.
  • Reviews privacy and security risks alongside three additional scenarios: federated learning, machine unlearning, and watermarking.
  • Contrasts unique LLM risks with common risks across language models and discusses defense strategies.

Experimental results

Research questions

  • RQ1What unique privacy risks arise for LLMs during pre-training, fine-tuning, RAG, deployment, and agent deployment?
  • RQ2What are the corresponding security threats and their attacker models in each life-cycle stage?
  • RQ3What countermeasures exist or are feasible to mitigate these LLM-specific risks across the five scenarios, plus federated learning, unlearning, and watermarking?
  • RQ4How do these risks differ from traditional language models, and what research directions are suggested to advance robust defenses?

Key findings

  • LLMs introduce unique privacy risks such as memorization of training data and white-box data extraction when exposed to open interfaces.
  • LLMs face unique security risks including backdoors, poisoning, and jailbreaks tied to instruction-tuning and alignment processes.
  • RAG systems introduce risks via poisoned knowledge bases and jailbreak prompts targeting knowledge owners’ privacy.
  • Deployment of LLMs entails prompt-based attacks and prompt-stealing risks, with both unique and common model-level vulnerabilities.
  • LLM-based agents introduce autonomous risk due to their interactions and potential backdoors, requiring defense through guardrails and secure agent design.
  • The survey proposes taxonomy-driven mappings between risks and countermeasures across scenarios, highlighting research directions for safer LLM use.

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.