Certified jailbreak detection with a contraction-constrained SSM safety head
Start here
The research proposes a safety-head certification method based on contraction-constrained state space models (SSM): when the l∞ norm of the state transition matrix satisfies the contraction condition (‖A‖∞<1), exact interval bound propagation (IBP) certification can be performed for linear time-invariant classifiers, the steady-state width of the reachable output interval is bounded, and samples can be certified as robustly classified; when the condition does not hold, the interval grows exponentially with sequence length, and no certification is possible under any practical perturbation radius. The authors enforce contraction with a hinge penalty, improving the certification ratio from 41% to 59% on toxic comment data.
Generated by AI from reports · Updated 2026-10-05
Related research
This event's paper
- Bounded Reachability & Jailbreak Detection via Contraction-Constrained State Space Models
arXiv · 2026-10-02 · Deep reading
Progress timeline
- arXiv: Jailbreaks, Prompt Injection, Poisoning & DefensesThe study proposes a method for bounded reachability and jailbreak detection based on contraction-constrained state space models
The paper studies when a safety head based on a state space model (SSM) can be certified to give the same prediction for all inputs within a bounded perturbation of the embedding space, proving that the key lies in the l∞ norm of the state transition matrix satisfying the contraction condition (‖A‖∞<1), under which exact interval bound propagation (IBP) certification can be performed on the linear time-invariant classifier. When the contraction condition holds, the steady-state width of the reachable output interval is bounded and samples can be certified as robustly classified; when it does not hold, the interval grows exponentially with sequence length and no certification is possible at any practical perturbation radius. The authors use a hinge penalty to enforce contraction, raising the certified rate from 41% to 59% on toxic comment data, and observe a phase transition at ‖A‖∞=1 consistent with theory. Applying the contraction-regularized S4 head to JailbreakBench jailbreak detection, zero-shot transfer gives DR=0.994 on AdvBench and DR=0.988 on HarmBench.