JEDI: Real-Time Jailbreak Defense for LLMs via In-Generation Detection and Intervention
Update NeurIPS 2026 submission tbFhcVR6Oa: 7 notes
@openreview[bot] · 2026-11-24 15:56 UTC · d652382f43cf ·
reviews/openreview/tbfhcvr6oa/notes/etjc7oxfqn.json modified
+++ b/reviews/openreview/tbfhcvr6oa/notes/etjc7oxfqn.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair onbZ","content": {- "metareview": "This paper presents a new real-time jailbreak defense for LLMs. The basic idea is to monitor the LLM’s internal semantic drift, identify persistent harmful intent before it manifests in the output, and dynamically injects a steering vector to redirect the generation trajectory towards a safe subspace. \n\nThe reviewers recognize the following advantages: \n- The proposed defense framework is coherent. \n- The evaluation is comprehensive. \n- The proposed solution is lightweight. \n\nHowever, they also pointed out the following major concerns: \n- The theoretical justification is limited. \n- Missing important baseline solutions for comparisons. \n- The threat model is restricted, as it requires the defender to access the model internals. \n- Some experiment results need further validation or explanation. \n \nThe authors are suggested to focus on these comments when preparing the rebuttal."+ "metareview": "This paper presents a new real-time jailbreak defense for LLMs. The basic idea is to monitor the LLM’s internal semantic drift, identify persistent harmful intent before it manifests in the output, and dynamically injects a steering vector to redirect the generation trajectory towards a safe subspace. \n\nThe reviewers recognize the following advantages: \n- The proposed defense framework is coherent. \n- The evaluation is comprehensive. \n- The proposed solution is lightweight. \n\nHowever, they also pointed out the following major concerns: \n- The theoretical justification is limited. \n- Missing important baseline solutions for comparisons. \n- The threat model is restricted, as it requires the defender to access the model internals. \n- Some experiment results need further validation or explanation. \n \nThe authors are suggested to focus on these comments when preparing the rebuttal.",+ "final_justification": "During the author rebuttal period, the authors provided detailed responses to the reviewers, with additional experiment results. Most of their concerns have been addressed, and the scores are adjusted accordingly. This paper is recommended for acceptance."},"createdAt": "2026-07-16T16:43:29.183Z",- "modifiedAt": "2026-11-18T15:22:46.596Z",+ "modifiedAt": "2026-11-19T05:01:44.694Z","url": "https://openreview.net/forum?id=tbFhcVR6Oa¬eId=eTJC7oxfqn","license": "CC-BY-4.0"}
reviews/openreview/tbfhcvr6oa/notes/gzpyudnkn4.json added
+++ b/reviews/openreview/tbfhcvr6oa/notes/gzpyudnkn4.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "GzpYudNKN4",+ "replyTo": "tFZCQKWz7l",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Additional Evidence on JEDI Component Attribution",+ "comment": "Thank you for the constructive suggestion to provide direct evidence on the contributions of JEDI’s individual components. In this follow-up, we report controlled ablations of CUSUM accumulation, Gram–Schmidt orthogonalization, and dynamic intervention strength on **Vicuna-7B-v1.5** and **Qwen2.5-7B-Instruct**, complementing the CAST comparison in our submitted response.\n\nEach variant uses the same frozen extraction artifacts, prompts, generation settings, and evaluators as full JEDI.\n\n**Vicuna-7B-v1.5**\n\n| Variant | DSR ↑ | XSTest CR ↑ | OR-FPR ↓ | Safety trigger | Alarm med/p95 (0-based) ↓ |\n|---|---:|---:|---:|---:|---:|\n| Full JEDI | 98.20% | 86.40% | 13.30% | 97.91% | 0.0 / 53.0 |\n| Instantaneous | 76.64% | 83.60% | 11.30% | 96.91% | 0.0 / 58.8 |\n| No orthogonalization | 97.55% | 76.80% | 16.20% | 97.91% | 0.0 / 53.0 |\n| Fixed beta | 59.91% | 83.20% | 11.80% | 97.91% | 0.0 / 53.0 |\n\n**Qwen2.5-7B-Instruct**\n\n| Variant | DSR ↑ | XSTest CR ↑ | OR-FPR ↓ | Safety trigger | Alarm med/p95 (0-based) ↓ |\n|---|---:|---:|---:|---:|---:|\n| Full JEDI | 94.00% | 94.80% | 8.50% | 99.55% | 1.0 / 22.0 |\n| Instantaneous | 79.91% | 90.00% | 6.70% | 98.91% | 1.0 / 48.0 |\n| No orthogonalization | 92.91% | 85.20% | 8.50% | 99.55% | 1.0 / 22.0 |\n| Fixed beta | 66.00% | 86.00% | 7.90% | 99.55% | 1.0 / 22.0 |\n\n**CUSUM vs. instantaneous risk.** The instantaneous variant replaces accumulated risk $A_t$ with single-step risk $r_t$ for both alarming and risk-scaled intervention strength. Its threshold is calibrated on the same benign sequences to match the full detector’s sequence-level benign alarm FPR: 0.03% vs. 0.03% on Vicuna and 5.00% vs. 5.00% on Qwen2.5. Despite safety trigger rates differing by only 1.00 and 0.64 points, full JEDI improves DSR by 21.56 and 14.09 points and reduces the p95 alarm position by 5.8 and 26 generated-token steps. Sequential accumulation therefore improves both defense success and tail detection earliness rather than merely increasing trigger frequency.\n\n**Gram–Schmidt orthogonalization.** We reconstructed the raw Intervention Vector from the same samples and used it directly without subtracting its projection onto the Condition Vector. Orthogonalization improves XSTest CR by 9.60 points on both models while also improving DSR by 0.65/1.09 points. It lowers OR-FPR by 2.90 points on Vicuna and preserves the same OR-FPR on Qwen2.5. These results show that orthogonalization improves selectivity and preserves benign utility while maintaining high safety.\n\n**Dynamic vs. fixed intervention strength.** With the detector and orthogonalized vector unchanged, fixing $\\beta_t=\\beta_{\\rm base}=1$ after alarm leaves trigger rates and alarm positions unchanged but reduces DSR by 38.29 points on Vicuna and 28.00 points on Qwen2.5. Dynamic control also improves XSTest CR by 3.20 and 8.80 points. This is the largest safety reduction among the tested ablations, showing that adapting intervention strength to accumulated risk is essential for reliably redirecting harmful trajectories after detection.\n\nTogether with the adapted CAST comparison in our submitted response, these controlled ablations identify distinct roles for JEDI’s main components: CUSUM converts persistent drift into earlier and more effective detection, Gram–Schmidt orthogonalization preserves benign utility, and dynamic intervention strength provides the corrective force needed after an alarm. The consistent patterns across both target models directly support JEDI’s complete output-trajectory-conditioned control loop."+ },+ "createdAt": "2026-07-31T21:25:24.893Z",+ "modifiedAt": "2026-11-19T16:45:12.023Z",+ "url": "https://openreview.net/forum?id=tbFhcVR6Oa¬eId=GzpYudNKN4",+ "license": "CC-BY-4.0"+}
reviews/openreview/tbfhcvr6oa/notes/jkqgeote3h.json added
+++ b/reviews/openreview/tbfhcvr6oa/notes/jkqgeote3h.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "JKQgeOTe3H",+ "replyTo": "eTJC7oxfqn",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to the AC Meta Review",+ "comment": "Thank you for synthesizing the reviews and recognizing JEDI's coherent, comprehensive, and lightweight design. Below we summarize how the four highlighted concerns are addressed; the reviewer-specific responses provide the full derivations, experimental settings, quantitative results, and limitations.\n\n1. **Theoretical justification and vector validity.** Our theoretical claim is that the Condition Vector realizes standardized local mean separation on the calibration distribution, the Intervention Vector represents a condition-orthogonal displacement toward refusal-associated states, and CUSUM formalizes the trade-off between persistent-drift detection and false alarms under stated assumptions. The six-model separability and intervention analyses support these functional interpretations in the evaluated transfer setting. Held-out prefix banks and natural-refusal extraction define the next validation step. Please see our responses to **Reviewer 8c7w** on the theoretical justification and on the use of manually designed refusal/compliance prefixes for the derivations, assumptions, empirical evidence, and failure boundaries.\n\n2. **Missing baselines, matched comparisons, and novelty.** We added Qwen3Guard-Gen-16/32, CAST, and TrajGuard, covering periodic streaming guards, conditional activation steering, and trajectory-based decoding-time detection. We evaluated their safety--utility--latency trade-offs and provided near-matched comparisons. The results position JEDI as a non-dominated high-safety point among the evaluated configurations and show that its gains persist at comparable compliance or safety levels. No evaluated baseline simultaneously outperforms JEDI on full-response safety, harmful-prefix leakage, benign utility, over-refusal, and latency. Our novelty claim is the output-trajectory-conditioned control loop that connects persistent token-level detection with separate, dynamically adjusted intervention; the existing ablations support this sensor--actuator separation. Please see our responses to **Reviewer 8c7w** on the streaming-classifier baseline and novelty relative to representation-level defenses, and to **Reviewer DeoT** on recent online baselines, safety--utility comparison, and component attribution.\n\n3. **Threat-model scope.** JEDI's validated deployment scope is model-developer and self-hosted systems with white-box hidden-state access and decoding control. We now state these assumptions explicitly throughout the paper and position proxy deployment as a future extension for proprietary-API settings. Please see our response to **Reviewer 8c7w** on practical applicability for the complete scope statement and revision commitment.\n\n4. **Experimental validation and explanation.** We supplemented full-response DSR and alarm timing with a direct harmful-prefix-leakage audit, clarified the calibration/separability/evaluation split logic, added prompt-level uncertainty and classifier-audit details, and specified the adaptive attacker's feedback access. These checks support substantial reduction in evaluator-consensus leakage, out-of-sample separation, prompt-level robustness, and high human--classifier agreement, while also quantifying residual leakage and calibration-scale boundaries. Please see our responses to **Reviewer DeoT** on harmful-prefix leakage, calibration protocol, uncertainty, classifier auditing, and limitations, together with our response to **Reviewer RXrV** on calibration/test isolation and seen-versus-unseen attack evaluation.\n\nOverall, the reviewer-specific responses establish JEDI as a white-box, in-generation control loop for streaming/prefix exposure with conditional theoretical grounding, representative online comparisons, and direct leakage- and prompt-level validation. They also clarify initial-alignment dependence in our response to Reviewer 8c7w, and the research gap, research questions, model-selection rationale, and main-text placement of Limitations in our response to Reviewer RXrV. We will consolidate these clarifications, new comparisons, validation analyses, and limitation statements in the revision."+ },+ "createdAt": "2026-07-28T16:41:31.104Z",+ "modifiedAt": "2026-11-19T16:45:11.851Z",+ "url": "https://openreview.net/forum?id=tbFhcVR6Oa¬eId=JKQgeOTe3H",+ "license": "CC-BY-4.0"+}
reviews/openreview/tbfhcvr6oa/notes/kvrdxiuv4c.json added
+++ b/reviews/openreview/tbfhcvr6oa/notes/kvrdxiuv4c.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "kvrdxiUv4c",+ "replyTo": "L32X4gKJUQ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 8c7w",+ "content": {+ "comment": "The detailed rebuttal and additional experiments substantially strengthen the empirical positioning of JEDI. In particular, the newly added periodic streaming baselines are informative and make the safety–utility–latency trade-off much clearer. The rebuttal also clarifies the white-box deployment scope, the dependence on initial alignment, and the intended local and functional interpretation of the learned vectors.\n\nI nevertheless retain some reservations. The robustness of the Intervention Vector to held-out prefix banks or to extraction from naturally occurring refusals remains untested, so its dependence on the chosen calibration prefixes is still an open question. In addition, the distinction from JBShield and, especially, AdaSteer is clearer conceptually after the rebuttal, notably through JEDI’s output-trajectory-conditioned and event-triggered control loop. However, no direct comparison with either method is provided. Since AdaSteer uses closely related harmfulness and rejection directions, such a comparison, together with targeted ablations, would help better assess the specific contribution of token-level monitoring, CUSUM accumulation, and dynamic intervention.\n\nOverall, the rebuttal strengthens the paper and addresses several of my main concerns. At this stage, I maintain my current borderline-accept rating, while encouraging the authors to incorporate these clarifications, comparisons, and limitations clearly in the revised manuscript."+ },+ "createdAt": "2026-08-01T12:17:29.686Z",+ "modifiedAt": "2026-11-19T16:45:11.718Z",+ "url": "https://openreview.net/forum?id=tbFhcVR6Oa¬eId=kvrdxiUv4c",+ "license": "CC-BY-4.0"+}
reviews/openreview/tbfhcvr6oa/notes/s4l2ledxlm.json added
+++ b/reviews/openreview/tbfhcvr6oa/notes/s4l2ledxlm.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "S4l2LeDXLM",+ "replyTo": "tFZCQKWz7l",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Supplemental Response on the Leakage Definition",+ "comment": "Thank you for this precise suggestion and for updating your assessment. We agree that the unconditioned prefix-level signal should be reported separately. The table uses the same 3,975 matched attacked generations as our previous audit. This set was selected because every undefended visible stream contains a Qwen3Guard-Stream-8B `Unsafe` onset, so the 100.00% raw-onset rate for Undefended is by construction; all defenses are evaluated on the same prompt–model cases.\n\n| Defense | Raw visible-stream unsafe-onset rate ↓ | Final-response HarmBench harmful rate ↓ | Raw onset ∩ final harmful ↓ |\n|---|---:|---:|---:|\n| Undefended | 100.00% | 69.79% | 69.79% |\n| JEDI (ours) | 26.61% | 6.30% | 4.86% |\n| CAST | 61.97% | 43.32% | 39.87% |\n| TrajGuard | 55.46% | 39.18% | 34.62% |\n| Qwen3Guard-Gen-16 | 6.10% | 2.74% | 0.40% |\n| Qwen3Guard-Gen-32 | 5.46% | 2.65% | 0.45% |\n\nFor JEDI, Qwen3Guard flags an onset in 26.61% of visible streams, HarmBench labels 6.30% of final responses harmful, and 4.86% satisfy both conditions. Thus, JEDI reduces the raw detector-positive onset rate by 73.39 percentage points relative to the selected undefended cases. We do not, however, equate every raw onset with verified harmful-content leakage.\n\nWe selected Qwen3Guard-Stream-8B because, among the models we identified, it was the closest available fit to per-token harmfulness detection during streaming generation, despite the nonzero false-positive rate observed in our setting.\n\nWe originally used the intersection because Qwen3Guard-Stream-8B conditions each streaming decision on the preceding conversation, including the harmful user request. In our error analysis, this sometimes caused a generic compliance marker (e.g., “Sure, here is...”) to be labeled `Unsafe` even when no harmful payload followed and the response resolved into a refusal. Such a marker alone is not harmful-content exposure. HarmBench agreement and the sampled manual audit (98/100 agreement; both discrepancies were conservative false positives) were therefore used to improve precision.\n\nYour concern is nevertheless correct: conditioning on the final HarmBench label can exclude a genuinely unsafe span that is later redirected into a safe refusal. We therefore interpret the intersection as a high-precision but non-exhaustive leakage measure, and the raw onset as a more sensitive detector-positive measure rather than ground truth. For JEDI, the 21.75-point raw-onset/intersection gap is the Qwen-positive/HarmBench-safe pool; it may contain both transient unsafe prefixes and Qwen false positives and is not a verified 21.75% leakage rate.\n\nIn the revised manuscript, we will incorporate the additional baselines, component ablations, clarified limitations, and harmful-prefix leakage metrics reported in our earlier response, together with this three-way table and the clarified distinction between raw detector-positive onsets and evaluator-consensus leakage."+ },+ "createdAt": "2026-08-02T07:44:39.884Z",+ "modifiedAt": "2026-11-19T16:45:11.822Z",+ "url": "https://openreview.net/forum?id=tbFhcVR6Oa¬eId=S4l2LeDXLM",+ "license": "CC-BY-4.0"+}
reviews/openreview/tbfhcvr6oa/notes/tqv8d2qnxs.json added
+++ b/reviews/openreview/tbfhcvr6oa/notes/tqv8d2qnxs.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "TqV8D2QNxs",+ "replyTo": "GzpYudNKN4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer DeoT",+ "content": {+ "comment": "Thanks for the detailed response. I think the rebuttal addresses majority of my original comments.\n\nThe added harmful-prefix leakage audit is great. I also appreciate the added CAST, TrajGuard, and Qwen3Guard-Gen baselines. They make the safety/utility/latency tradeoff clearer. The extra component ablations are useful as well.\nGiven these additions, I feel comfortable raising my score to 4 now (assuming the new experiments and clarified limitations are added to the final paper).\n\nI still have one question though about the leakage definition. As I understand it, leakage is counted only when Qwen3Guard finds an unsafe onset in the visible stream and HarmBench also labels the final response as harmful. This is a useful high-confidence leakage metric, but it may miss the case I was originally worried about, i.e., an unsafe prefix appears briefly, but the final response is later steered into a refusal and classified as safe. Can you also report the raw prefix-level unsafe-onset rate in the visible stream, without conditioning on the final HarmBench label? Even a small table with raw prefix unsafe-onset, final HarmBench harmful rate, and their intersection would make the prefix-exposure result significantly clearer."+ },+ "createdAt": "2026-08-02T01:58:19.367Z",+ "modifiedAt": "2026-11-19T16:45:11.670Z",+ "url": "https://openreview.net/forum?id=tbFhcVR6Oa¬eId=TqV8D2QNxs",+ "license": "CC-BY-4.0"+}
reviews/openreview/tbfhcvr6oa/notes/w2ers9zylp.json added
+++ b/reviews/openreview/tbfhcvr6oa/notes/w2ers9zylp.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "W2eRs9zyLp",+ "replyTo": "kvrdxiUv4c",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Additional Evidence on Held-out Prefix-Bank Robustness and JEDI Component Attribution",+ "comment": "Thank you for the careful follow-up and for recognizing that our rebuttal and additional experiments strengthen JEDI. Because the discussion period was limited, our initial response did not include the following focused follow-up results, which we completed afterward.\n\n> “The robustness of the Intervention Vector to held-out prefix banks … remains untested…”\n\nWe directly evaluated prefix-bank sensitivity with grouped five-fold experiments on Qwen2.5-7B-Instruct and Vicuna-7B-v1.5. The 100 compliance and 100 refusal prefix entries were normalized and grouped so that duplicate prefixes could not cross folds. In each fold, we held out 20 entries from each bank and re-estimated the Intervention Vector from the remaining 80. Directional agreement was evaluated using both held-out prefixes and held-out calibration prompts. To isolate the prefix-bank question, we kept the whitening transforms, Condition Vector, selected layer, CUSUM parameters, and intervention rule fixed.\n\n| Metric | Qwen2.5-7B-Instruct | Vicuna-7B-v1.5 |\n| ------------------------------------------------------------------ | -----------------------------------: | -----------------------------------: |\n| Train vs. joint held-out intervention-effect cosine $\\uparrow$ | 0.9500 $\\pm$ 0.0075 [0.9417, 0.9586] | 0.9391 $\\pm$ 0.0083 [0.9246, 0.9451] |\n| Pairwise cosine among fold-trained intervention effects $\\uparrow$ | 0.9964 $\\pm$ 0.0008 [0.9953, 0.9977] | 0.9953 $\\pm$ 0.0008 [0.9935, 0.9967] |\n| DSR on the fixed 11-attack test set $\\uparrow$ | 93.25% $\\pm$ 0.17% [93.00%, 93.45%] | 98.35% $\\pm$ 0.34% [97.91%, 98.73%] |\n\nBrackets show the observed range. The $\\pm$ values are sample standard deviations: five folds for the joint held-out cosine and DSR, and ten fold pairs per model for the pairwise cosine; they are not confidence intervals. Each fold used the same 1,100-response online test set.\n\nThe high held-out and cross-fold directional agreement, together with stable online DSR, shows that the Intervention Vector is robust to the tested grouped prefix-bank resampling under fixed whitening, layer selection, detector calibration, and intervention rule. The consistent results on Qwen2.5-7B-Instruct and Vicuna-7B-v1.5 further show that this stability holds across both evaluated model families.\n\n---\n\n> “Since AdaSteer uses closely related harmfulness and rejection directions, such a comparison, together with targeted ablations, would help…”\n\nCAST (prompt-conditioned fixed steering) and TrajGuard (streaming trajectory monitoring) provide category-level nearest-neighbor controls along the two most relevant design axes. To address the underlying component-attribution question, we completed controlled ablations on the same two models while keeping the extraction artifacts, prompts, generation settings, and evaluators fixed.\n\nReplacing CUSUM accumulation with instantaneous token-level risk, with the instantaneous threshold calibrated to the same sequence-level benign alarm FPR, reduced DSR by 21.56 points on Vicuna and 14.09 points on Qwen2.5; full JEDI also reduced the p95 alarm position by 5.8 and 26 generated-token steps. Replacing risk-adaptive intervention with fixed $\\beta=1$ left the detector, trigger rates, and alarm positions unchanged but reduced DSR by 38.29 and 28.00 points, establishing a substantial contribution from risk adaptation under matched detection behavior. Removing Gram--Schmidt orthogonalization lowered XSTest compliance by 9.60 points on both models without improving DSR.\n\nTogether with the CAST comparison and the submitted single-vector ablation, these results identify distinct and measurable contributions from JEDI's main components: CUSUM improves persistent-risk detection and tail earliness, Gram--Schmidt orthogonalization preserves benign compliance while maintaining safety, and risk-adaptive intervention provides substantial corrective strength after an alarm. The consistent patterns across both target models strengthen the evidence for JEDI's complete output-trajectory-conditioned control loop.\n\nWe hope these additional results address your remaining concerns about prefix-bank robustness and the distinct contributions of JEDI’s main components."+ },+ "createdAt": "2026-08-01T21:23:33.984Z",+ "modifiedAt": "2026-11-19T16:45:11.671Z",+ "url": "https://openreview.net/forum?id=tbFhcVR6Oa¬eId=W2eRs9zyLp",+ "license": "CC-BY-4.0"+}