Skip to content
WeChat · Weijiqi Lixin·Indexed by this site · Originally published· Defenses →

UESTC proposes SafePTR: a precise prune-restore mechanism for efficient defense against jailbreak attacks on multimodal large models

电子科大: SafePTR,精准修剪 - 恢复机制,高效防御多模态大模型越狱攻击

AI summary

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).

Read originalmp.weixin.qq.com