A Layered Input-Output Defense for Open-Weight Language Models under Adaptive Jailbreak Attack
Abstract
Defenses that rewrite a language model's prompt or check its response are cheap and usually evaluated against a fixed set of attack prompts. That leaves out the attacker who tries again. We compare training-free defenses on two open-weight models under a fixed benchmark and under an attacker allowed ten attempts. Attack success rises by 8 to 40 percentage points once the attacker may try again, so a fixed benchmark overstates what these defenses provide, and on one model it ranks two of them in the wrong order. On Qwen, most of that rise remains when the attacker never sees the responses. We also combine existing input and output defenses into a layered defense that hardens every request and checks every response before release. It records the lowest attack success on both models and leaves refusal of unsafe requests unchanged, though false refusal rises by 10 to 18 points. An adaptive attacker still defeats it on up to 45.0% of behaviors. We release 664 attacks that succeeded against defended models.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
- Comments
- Accepted at the 2027 IEEE Symposium Series on Computational Intelligence (SSCI 2027). 7 pages, 2 figures, 4 tables
Related papers
Weight-Space Backdoors in Open-Weight LLMs: Cross-Architecture Attacks and Blind Model Forensics
Shared title terminologycs.CRMohammed Tanveer
Kernel-Layer Runtime Defense for LLM Agents Against Indirect Prompt Injection
Shared title terminologycs.CRAravinda Kashyap, Basavesh Ammanaghatta Shivakumar, Danfeng Yao et al.
Bounded Autonomy: A Trust-Anchored Defense Against Resource-Exhaustion Attacks on Tool-Augmented LLM Agents
Shared title terminologycs.CRZiyuan Chen, Yueming Lyu, Songze Li et al.
Mitigating Nested GTP Attacks: A Closed-Loop eBPF Defense for 5G and Beyond Networks
Shared title terminologycs.CRAbdulAziz AbdulGhaffar, Ashraf Matrawy
Benchmarking Web Agent Defenses Against Adaptive Visual Prompt Injection
Shared title terminologycs.CRHaichuan Zhang, Zhiyuan Zhong, Shih-Chieh Dai et al.
Persistent Jailbreak Backdoor Attack
Shared title terminologycs.CRHaichuan Zhang, Xinyu Sun, Shih-Chieh Dai et al.