Detecting Unseen Jailbreak Sources: A Multi-Source Conformal Detection Perspective
Xunlei Qian, Yingqian Cui, Yuping Lin, Jun Wu, Yue Xing
Abstract
Jailbreak defenses for large language models are usually calibrated on a fixed set of known attack methods. However, new attack methods keep appearing after deployment, and existing detectors are observed to degrade under the new attacks (Piet et al., 2025). This paper studies how to detect, from a stream of attack prompts, that the prompts come from an attack source outside the known ones. We formulate it as a sequential test whose null hypothesis is that the stream comes from one of the known sources. Methodology-wise, we compute a conformal p-value against each known source, and reject the null only when the evidence against every known source is large. Using these source-wise p-values, we build Persist-3 and analyze its stationary false-alarm probability and detection power. The technical contribution of Persist-3 lies in a detection guarantee that uses only a finite window of recent observations. Our theoretical analysis reveals that its detection probability approaches one exponentially fast as the window grows, and thus a short window suffices to detect unseen sources that are well separated from all known sources. Empirically, we validate Persist-3 on top of two recent jailbreak defenses, MTK (Zhang et al., 2026) and Prompt Guard 2 (Chennabasappa et al., 2025), and observe a significant defense enhancement.
Create a lesson
Related papers
Dual-Phase Flow Matching for Probabilistic Source Detection and Measurement in Astronomical Images
Shared title terminology · Yicun Duan, Jeffrey Regier
Copula-Based Synthetic Data Generation: A Use-Inspired Perspective on Trade-offs
Shared title terminology · Antoine Faul, David Ginsbourger, Ben Spycher et al.
Is generative AI really changing public sector work? Evidence from a multi-country survey
Shared title terminology · Saba Esnaashari, Tvesha Sippy, Youmna Hashem et al.
Short-term associations between wild-bird and mammalian high pathogenic avian influenza detection in the United States
Shared title terminology · Hammed Olawale Fatoyinbo
Bayesian Spatio-temporal Modeling of Multi-Site Wastewater Surveillance Data
Shared title terminology · K. Ken Peng, Chengqian Xian, Charmaine B. Dean et al.
When Do Sports Leagues Stop Being Competitive? Bayesian Detection of Competitive-Balance Eras from Match-Level Data
Shared title terminology · Xinran Li, Maoran Xu, Guanyu Hu