paper-with-me

홈 › Papers

ShieldLearner: A New Paradigm for Jailbreak Attack Defense in LLMs

2025-02-16 · Ziyi Ni, Hao Wang, Huacan Wang

Large Language Models (LLMs) have achieved remarkable success in various domains but remain vulnerable to adversarial jailbreak attacks. Existing prompt-defense strategies, including parameter-modifying and parameter-free approaches, face limitations in adaptability, interpretability, and customization, constraining their effectiveness against evolving threats. To address these challenges, we propose ShieldLearner, a novel paradigm that mimics human learning in defense. Through trial and error, it autonomously distills attack signatures into a Pattern Atlas and synthesizes defense heuristics into a Meta-analysis Framework, enabling systematic and interpretable threat detection. Furthermore, we introduce Adaptive Adversarial Augmentation to generate adversarial variations of successfully defended prompts, enabling continuous self-improvement without model retraining. In addition to standard benchmarks, we create a hard test set by curating adversarial prompts from the Wildjailbreak dataset, emphasizing more concealed malicious intent. Experimental results show that ShieldLearner achieves a significantly higher defense success rate than existing baselines on both conventional and hard test sets, while also operating with lower computational overhead, making it a practical and efficient solution for real-world adversarial defense.

📄 PDF Abstract BibTeX arXiv:2502.13162

Code (0)

등록된 구현이 없습니다.

Tasks

Adversarial Defense

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Scalable Defense against In-the-wild Jailbreaking Attacks with Safety Context Retrieval

2025-05-21 · Taiye Chen, Zeming Wei, Ang Li, Yisen Wang

Large Language Models (LLMs) are known to be vulnerable to jailbreaking attacks, wherein adversaries exploit carefully engineered prompts to induce harmful or unethical responses. Such threats have raised critical concer…

RAGRetrievalRetrieval-augmented Generation

AutoDefense: Multi-Agent LLM Defense against Jailbreak Attacks

2024-03-02 · Yifan Zeng, Yiran Wu, Xiao Zhang, Huazheng Wang 외

Despite extensive pre-training in moral alignment to prevent generating harmful information, large language models (LLMs) remain vulnerable to jailbreak attacks. In this paper, we propose AutoDefense, a multi-agent defen…

Instruction FollowingLLM real-life tasksMulti-agent Integration

JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMs

2024-02-08 · Junjie Chu, Yugeng Liu, Ziqing Yang, Xinyue Shen 외

Jailbreak attacks aim to bypass the LLMs' safeguards. While researchers have proposed different jailbreak attacks in depth, they have done so in isolation -- either with unaligned settings or comparing a limited range of…

Ethics

CAVGAN: Unifying Jailbreak and Defense of LLMs via Generative Adversarial Attacks on their Internal Representations

2025-07-08 · Xiaohu Li, Yunfeng Ning, Zepeng Bao, Mayi Xu 외

Security alignment enables the Large Language Model (LLM) to gain the protection against malicious queries, but various jailbreak attack methods reveal the vulnerability of this security mechanism. Previous studies have …

Generative Adversarial NetworkLarge Language ModelLLM Jailbreak

Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs

2024-06-13 · Zhao Xu, Fan Liu, Hao liu

Although Large Language Models (LLMs) have demonstrated significant capabilities in executing complex tasks in a zero-shot manner, they are susceptible to jailbreak attacks and can be manipulated to produce harmful outpu…

BenchmarkingGPU