University of Electronic Science and Technology of China proposes SafePTR, a training-free multimodal jailbreak defense framework
Start here
A team at UESTC proposes SafePTR, a training-free jailbreak defense framework for multimodal large models. The paper's analysis states that harmful tokens propagate across layers, but only 2-4 consecutive layers from the early to middle layers play a key role in attack success, and fewer than 1% of tokens can trigger a significant semantic shift; SafePTR prunes the Top-K (10%) visual and text tokens that deviate most from the safety reference at the vulnerable layers, and restores benign features through parallel branches in subsequent layers.
Generated by AI from reports · Updated 16 days ago
Progress timeline
- WeChat · Weijiqi LixinUESTC proposes SafePTR: a precise prune-restore mechanism for efficient defense against jailbreak attacks on multimodal large models
A team at UESTC proposes SafePTR (Safe Prune-then-Restore), a training-free jailbreak defense framework for multimodal large models. The paper's analysis states that although harmful tokens propagate across layers, only 2-4 consecutive early-to-middle layers (e.g., layers [7,9) of LLaVA-1.5-7B and layers [4,6) of DeepSeek-VL2) play a key role in attack success, and that fewer than 1% of tokens can trigger a significant semantic shift. SafePTR prunes the Top-K (10%) visual and text tokens with the largest deviation from the safety reference at the vulnerable layers, and restores benign features through a parallel branch in subsequent layers. The paper also notes that the method relies on intermediate hidden states, cannot be used for black-box models such as GPT-4, and provides limited improvement in defense against fraud-type attacks (ASR of 6.0% for LLaVA-1.5-7B).