[Paper Review] Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models
The paper surveys the landscape of attacks on large language models (LLMs), proposes a taxonomy, and reviews attack methods alongside defense strategies and future directions.
Large Language Models (LLMs) have become a cornerstone in the field of Natural Language Processing (NLP), offering transformative capabilities in understanding and generating human-like text. However, with their rising prominence, the security and vulnerability aspects of these models have garnered significant attention. This paper presents a comprehensive survey of the various forms of attacks targeting LLMs, discussing the nature and mechanisms of these attacks, their potential impacts, and current defense strategies. We delve into topics such as adversarial attacks that aim to manipulate model outputs, data poisoning that affects model training, and privacy concerns related to training data exploitation. The paper also explores the effectiveness of different attack methodologies, the resilience of LLMs against these attacks, and the implications for model integrity and user trust. By examining the latest research, we provide insights into the current landscape of LLM vulnerabilities and defense mechanisms. Our objective is to offer a nuanced understanding of LLM attacks, foster awareness within the AI community, and inspire robust solutions to mitigate these risks in future developments.
Motivation & Objective
- Introduce a novel taxonomy of attacks on LLMs to organize the research landscape.
- Detail existing attack methods and mitigation approaches with implementation insights.
- Analyze white-box and black-box attack scenarios and their implications for LLM security.
- Discuss challenges and propose directions for robust defenses and policy considerations.
Proposed method
- Develop a taxonomy of LLM attacks and defenses guided by sources across jailbreaks, prompt engineering, data poisoning, and human/automated adversaries.
- Incorporate examples from white-box and black-box settings to illustrate attack mechanisms and attacker capabilities.
- Systematically review prompt injection, data manipulation, and safety-alignment bypass techniques with cited works.
- Categorize mitigation strategies into external guardrails (input/output filtering) and internal training-time defenses (safety tuning, RLHF, context distillation).
- Provide a synthesis of challenges and future research directions including real-time monitoring, multimodal defenses, benchmarking, and explainability.
Experimental results
Research questions
- RQ1What are the main categories and subcategories of attacks threatening LLMs?
- RQ2How effective are different attack modalities (e.g., jailbreaking, prompt injection, data poisoning) across settings?
- RQ3What defense strategies exist, and what are their strengths and limitations across external and internal deployments?
- RQ4What are the key challenges and future directions to improve LLM security and trust?
Key findings
- The paper proposes a novel taxonomy to structure LLM security research.
- It synthesizes white-box and black-box attack dynamics and their practical implications.
- It details subthemes such as jailbreaking, prompt injection, data poisoning, and human versus automated adversaries.
- It reviews mitigation strategies including input/output filtering, guardrails, and safety-tuning approaches within RLHF pipelines.
- It highlights gaps and future directions such as real-time monitoring, multimodal defenses, benchmarking, and explainability for LLMs.
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.