- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
JEDI is a real-time, in-generation jailbreak defense for streaming LLMs that targets prefix exposure. Offline it extracts a Condition Vector (harmful drift) and an Intervention Vector (refusal); online it projects each hidden state onto the Condition Vector, accumulates risk with CUSUM, and on alarm injects the Intervention Vector with adaptive strength to steer toward refusal. Across 6 models and 11 attacks it reaches 93.6–99.4% DSR (95.7% avg), beats five baselines, preserves utility, and adds ~0.003s TTFT overhead. Code is provided anonymously.
Strengths and weaknesses
The paper addresses a real gap (defense under streaming/prefix exposure) with a well-motivated design and a thorough evaluation (6 models, 11 attacks, 5 baselines, utility/over-refusal benchmarks, latency, adaptive attacks, and ablations). Comments, mostly minor and fixable:
- Reproducibility (positive). The anonymized GitHub is appreciated.
- Research gaps. State the gap more explicitly and add 2–3 literature-driven research questions.
- Calibration/test isolation (please confirm). Confirm the prefix set and JustEval benign prompts are disjoint from XSTest/OR-Bench (only AlpacaEval is explicitly excluded), and that the four calibration-seen attacks don't inflate results. (DSR on those four is actually lower than on the seven unseen attacks - worth stating.)
- Model selection. Give the rationale for the six models (based on what criteria you define these test models?).
- Limitations placement. A Limitations section exists but is in Appendix E; move it to the main text per the NeurIPS checklist. https://neurips.cc/public/guides/PaperChecklist
Questions
- Confirm no calibration -> test leakage - that the prefix set and JustEval prompts are disjoint from XSTest and OR-Bench, not just AlpacaEval?
- Can you state the research gap explicitly and add a few research questions based on the literature review?
- What drove the choice of these six models (why this model and not another? Did you also have some hardware constraints which you forgot to mention?)?
Limitations
Present (Appendix E) and reasonably candid; please relocate to the main text per the NeurIPS checklist.
Paper formatting concerns
N/A
Final justification
I thank the authors for the thorough rebuttal, which addresses all four of my concerns.
Research gaps: The three literature-driven RQs (Earliness, Selectivity, Efficiency) clearly sharpen the paper's positioning — please fold this into the Introduction.
Calibration/test isolation: Satisfactorily confirmed — cross-dataset construction, a normalized overlap audit, and the finding that seen-attack DSR is actually lower than unseen-attack DSR (89.7% vs. 99.1%) together support no leakage. This analysis should be added to the paper, as it preempts an obvious concern.
Model selection: The compute-vs-methodology rationale (7B–14B scope, within-family scaling, lineage diversity) is reasonable; the corresponding scope limitation should appear in the main text, not just the rebuttal.
Limitations placement: Relocation to the main text resolves this.
Response to Reviewer
Thank you for the constructive comments and for noting our evaluation and reproducibility. We clarify the research gap, verify calibration--test isolation, explain model selection, and move Limitations to the main text.
We agree that the current manuscript motivates the gap and design principles but does not present a sufficiently explicit literature-to-question chain. The Introduction identifies prefix exposure and the latency limitations of input-side, post-hoc, and auxiliary-model defenses, while §2.3 synthesizes prior work as a safety–utility–efficiency trilemma. We will state the remaining gap more precisely: existing defenses address individual dimensions of the problem, but jointly achieving early in-generation detection, selective intervention under noisy token-level signals, and low online overhead in streaming generation remains underexplored.
We will then recast our existing Earliness, Selectivity, and Efficiency principles as three literature-driven research questions, retaining the citations already associated with each:
RQ1 (Earliness): Can pre-decoding hidden states provide an early signal of harmful semantic drift for in-generation intervention?
RQ2 (Selectivity): Can evidence accumulated across decoding steps support selective intervention despite noisy token-level risk signals?
RQ3 (Efficiency): Can detection and activation-level intervention be integrated into the decoding loop with low online overhead while preserving benign utility and streaming responsiveness?
These questions reorganize rather than expand the paper's scope. The existing evidence maps to them: Condition Vector separability and detection-delay analyses characterize the early signal and response timing; CUSUM calibration, XSTest/OR-Bench, and the safety–utility sweep evaluate system-level selectivity; and DSR, AlpacaEval, TTFT, and total-generation-time results jointly characterize the safety–utility–efficiency trade-off. We will also link the closing synthesis of §2.3 directly to these questions.
Yes. Calibration and evaluation are isolated at both dataset and sample levels. The 100 harmful calibration prompts come from HarmBench, whereas all 1,100 attack-evaluation prompts come from PandaGuard. For GCG, PAIR, AutoDAN, and TAP, “seen” denotes overlap only in the attack-generation method: their evaluation prompts come from a different dataset and are non-overlapping samples. The other seven methods are absent from calibration. The 100 benign calibration prompts come from JustEval, while XSTest and OR-Bench are evaluation-only. A normalized exact-overlap audit (Unicode/case/whitespace normalization) found zero matches between either the selected JustEval prompts or the compliance/refusal prefix set and XSTest/OR-Bench. AlpacaEval-source items were also excluded. Thus, none of these evaluation prompts contributes to vector extraction, layer selection, or threshold/CUSUM calibration.
The main DSR table provides an additional check against a systematic advantage for the calibration-seen methods. Because each attack has the same test-set size, their averages are directly comparable: JEDI obtains 89.7% mean DSR on the four seen methods and 99.1% on the seven unseen methods, making the seen group 9.4 percentage points lower. The unseen group is not easier: without defense, its mean DSR is 48.9%, versus 60.6% for the seen group; lower undefended DSR indicates more successful attacks. Relative to these baselines, JEDI improves DSR by 29.1 points on the seen group and 50.2 points on the unseen group. Thus, the unseen attacks start from a less safe baseline yet obtain both a higher final DSR and a larger absolute improvement. This pattern provides no empirical indication that shared attack-family names inflate the seen results.
Theoretically, attack-family exposure does not create a family-specific detector in JEDI. For each target model, the four calibration methods jointly contribute to one pooled harmful-compliance distribution, from which JEDI extracts a single Condition Vector and calibrates shared detector parameters; it does not learn per-attack vectors or use attack labels at test time. If Δa denotes the mean harmful-compliance shift for family a, the pooled direction can be viewed as c∝∑awaΔa, while the detectable signal for a test trajectory depends on its projection Δa⊤c and the temporal persistence of that projection. Being included in the mixture contributes to the estimate of c, but does not guarantee that independently generated test instances from that family align strongly with it. A seen family may have heterogeneous or family-specific latent components that are weakly represented by the pooled direction, whereas an unseen family may strongly express the cross-attack harmful semantics captured by c. In other words, “seen attack method” does not necessarily mean “in-distribution latent trajectory.”
End-to-end DSR also combines detection and correction: CUSUM requires persistent projected drift, and the subsequent correction uses one shared Intervention Vector rather than an attack-specific response. Therefore, attack success against an undefended model and detectability/steerability under JEDI are different quantities. An unseen attack may jailbreak the base model effectively but still produce an explicit, persistent harmful-compliance trajectory that JEDI can readily detect and redirect; a seen method can contain harder test instances with weaker, less persistent, or less redirectable trajectories.
We interpret this result conservatively: the lower seen-method DSR shows no empirical signature of a systematic seen-family advantage and is consistent with transferable cross-attack detection, but it is not itself proof of isolation. The no-leakage conclusion rests on the cross-dataset, sample-disjoint construction and the normalized overlap audit above.
Yes. Compute constrained the upper model-size scope, while methodological coverage determined which model families to include. Because JEDI reads and modifies per-token hidden states during decoding, we first restricted evaluation to publicly available checkpoints that support these white-box hooks. Within that feasible set, Vicuna-7B/13B and Qwen2.5-7B/14B provide two within-family scale comparisons; Mistral-7B broadens model-lineage coverage; and Qwen3-8B adds a newer release generation at a comparable scale. We limited the present study to 7B–14B so that the full six-model, 11-attack, five-baseline, utility, and latency evaluation remained tractable and reproducible on the single NVIDIA H100 setup reported in Appendix C. Thus, compute limited the evaluated scale range rather than determining the included families. Accordingly, our claims are limited to the evaluated, publicly available 7B–14B models and do not extend to larger or proprietary API models. Within this scope, JEDI achieves 93.6–99.4% DSR across all six models, indicating that the observed effectiveness is not confined to one tested family or size. We will add these criteria and this scope statement to the Experimental Setup.
Thank you for pointing this out. We agree that the limitations should be visible in the main paper. In the revised manuscript, we will relocate the standalone “Limitations and Future Work” section from Appendix E to the end of the main text, before the references. It will retain its discussion of difficult-to-detect harmful trajectories, possible benign-utility degradation, white-box hidden-state and decoding access, and proxy deployment as future work.