Skip to content

Intention analysis makes LLMs effective jailbreak defendersIntention Analysis Makes LLMs A Good Jailbreak Defender

arXiv· arXiv:2401.06561· Yuqi Zhang, Liang Ding, Lefei Zhang, Dacheng Tao·Indexed by this site · 17 days ago· Originally publishedDefenses
AI summary

The paper proposes a reasoning-stage defense method called Intention Analysis, which reduces the success rate of jailbreak attacks by first analyzing the true intent of user input and then generating policy-compliant responses. The method is executed in two stages, is used only in the reasoning stage, and does not modify model parameters; the authors state it can improve safety without harming helpfulness. Across multiple LLMs and jailbreak benchmarks, the method reduces the attack success rate by an average of 48.2%; with this method, Vicuna-7B's attack success rate is even lower than GPT-3.5's. The authors also state that the method is somewhat robust to errors in the generated intent, and that its mechanism is to suppress the LLM's tendency to follow jailbreak prompts.

Read originalarxiv.org