Jailbreaking and Mitigation of Vulnerabilities in Large Language Models

Benji Peng, Keyu Chen, Qian Niu, Ziqian Bi, Ming Liu +7 more
10/20/2024
cs.CRcs.AIcs.LG

No confident code implementation found for this paper. 8 possible matches can be shown below.

Abstract

Large Language Models (LLMs) have transformed artificial intelligence by advancing natural language understanding and generation, enabling applications across fields beyond healthcare, software engineering, and conversational systems. Despite these advancements in the past few years, LLMs have shown considerable vulnerabilities, particularly to prompt injection and jailbreaking attacks. This review analyzes the state of research on these vulnerabilities and presents available defense strategies. We roughly categorize attack approaches into prompt-based, model-based, multimodal, and multilingual, covering techniques such as adversarial prompting, backdoor injections, and cross-modality exploits. We also review various defense mechanisms, including prompt filtering, transformation, alignment techniques, multi-agent defenses, and self-regulation, evaluating their strengths and shortcomings. We also discuss key metrics and benchmarks used to assess LLM safety and robustness, noting challenges like the quantification of attack success in interactive contexts and biases in existing datasets. Identifying current research gaps, we suggest future directions for resilient alignment strategies, advanced defenses against evolving attacks, automation of jailbreak detection, and consideration of ethical and societal impacts. This review emphasizes the need for continued research and cooperation within the AI community to enhance LLM security and ensure their safe deployment.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 8 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{peng2024jailbreaking,
  title  = {Jailbreaking and Mitigation of Vulnerabilities in Large Language Models},
  author = {Benji Peng and Keyu Chen and Qian Niu and Ziqian Bi and Ming Liu and Pohsun Feng and Tianyang Wang and Lawrence K. Q. Yan and Yizhu Wen and Yichao Zhang and Caitlyn Heqi Yin and Xinyuan Song},
  year   = {2024},
  eprint = {2410.15236},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.15236v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.15236.svg)](https://codeofpaper.com/paper/2410.15236)

Discussion