Skip to content

X-Boundary: establishing a precise safety boundary for LLMs, resisting multi-turn jailbreak without harming usabilityX-Boundary: Establishing Exact Safety Boundary to Shield LLMs from Multi-Turn Jailbreaks without Compromising Usability

arXiv· arXiv:2502.09990· Xiaoya Lu, Dongrui Liu, Yi Yu, Luxin Xu, Jing Shao·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The researchers propose the X-Boundary method, which, at the representation level, pushes harmful representations away from boundary safety representations and establishes a precise distinguishing boundary, resisting multi-turn jailbreak while reducing over-refusal. After comparing existing defense methods, the authors find that although some methods can improve LLM robustness against multi-turn jailbreak, they reduce general capabilities or cause over-refusal; from the perspective of mechanistic interpretability, these methods fail to establish a boundary that precisely distinguishes safety from harmful feature representations, causing boundary safety representations close to harmful representations to be destroyed. Based on this, X-Boundary pushes harmful representations away from boundary safety representations, thereby precisely erasing harmful representations without destroying safety representations. Experimental results show that the method achieves state-of-the-art on multi-turn jailbreak defense, reduces the over-refusal rate by about 20%, and maintains almost complete general capabilities; the authors also theoretically prove and experimentally verify that the method can accelerate training convergence. The code has been made public on GitHub.

Read originalarxiv.org