paper-with-me

홈 › Papers

LLM-Virus: Evolutionary Jailbreak Attack on Large Language Models

2024-12-28 · Miao Yu, Junfeng Fang, Yingjie Zhou, Xing Fan, Kun Wang, Shirui Pan, Qingsong Wen

While safety-aligned large language models (LLMs) are increasingly used as the cornerstone for powerful systems such as multi-agent frameworks to solve complex real-world problems, they still suffer from potential adversarial queries, such as jailbreak attacks, which attempt to induce harmful content. Researching attack methods allows us to better understand the limitations of LLM and make trade-offs between helpfulness and safety. However, existing jailbreak attacks are primarily based on opaque optimization techniques (e.g. token-level gradient descent) and heuristic search methods like LLM refinement, which fall short in terms of transparency, transferability, and computational cost. In light of these limitations, we draw inspiration from the evolution and infection processes of biological viruses and propose LLM-Virus, a jailbreak attack method based on evolutionary algorithm, termed evolutionary jailbreak. LLM-Virus treats jailbreak attacks as both an evolutionary and transfer learning problem, utilizing LLMs as heuristic evolutionary operators to ensure high attack efficiency, transferability, and low time cost. Our experimental results on multiple safety benchmarks show that LLM-Virus achieves competitive or even superior performance compared to existing attack methods.

📄 PDF Abstract BibTeX arXiv:2501.00055

Code (1)

Ymm-cll/LLM-Virus 공식 구현 pytorch

Tasks

Heuristic SearchTransfer Learning

Similar Papers 제목 키워드 기반

EvoJail: Evolutionary Diverse Jailbreak Prompt Generation for Large Language Models

2026-04-22 · Rui Tang, Kaiyu Xu, Pengsen Cheng, Hao Ren 외 arxiv

As LLMs continue to shape real-world applications, automated jailbreak generation becomes essential to reveal safety weaknesses and guide model improvement. Existing automatic jailbreak generation methods have not yet fu…

ForgeDAN: An Evolutionary Framework for Jailbreaking Aligned Large Language Models

2025-11-17 · Siyang Cheng, Gaotian Liu, Rui Mei, Yilin Wang 외 arxiv

The rapid adoption of large language models (LLMs) has brought both transformative applications and new security risks, including jailbreak attacks that bypass alignment safeguards to elicit harmful outputs. Existing aut…

Co-Evolutionary Multi-Modal Alignment via Structured Adversarial Evolution

2026-03-02 · Guoxin Shi, Haoyu Wang, Zaihui Yang, Yuxing Wang 외 arxiv

Adversarial behavior plays a central role in aligning large language models with human values. However, existing alignment methods largely rely on static adversarial settings, which fundamentally limit robustness, partic…

Evolving Jailbreaks: Automated Multi-Objective Long-Tail Attacks on Large Language Models

2026-03-20 · Wenjing Hong, Zhonghua Rong, Li Wang, Feng Chang 외 arxiv

Large Language Models (LLMs) have been widely deployed, especially through free Web-based applications that expose them to diverse user-generated inputs, including those from long-tail distributions such as low-resource …

BlackDAN: A Black-Box Multi-Objective Approach for Effective and Contextual Jailbreaking of Large Language Models

2024-10-13 · Xinyuan Wang, Victor Shea-Jay Huang, Renmiao Chen, Hao Wang 외

While large language models (LLMs) exhibit remarkable capabilities across various tasks, they encounter potential security risks such as jailbreak attacks, which exploit vulnerabilities to bypass security measures and ge…

Evolutionary Algorithms