- Rating
- 3
- Clarity
- 3
- Confidence
- 2
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
TraceGuard targets multi-turn jailbreak attacks against black-box LLM APIs. Building on the Linear Representation Hypothesis, the authors use an auxiliary encoder to extract intent-concept risk signals from prompts and responses, model their cross-turn trajectories with GRUs for per-turn online detection, and support few-shot prototype adaptation to unseen attacks. It is evaluated on 12 datasets and 5 target models, reporting detection above prompt-based and guard-model baselines with about 96% benign preservation.
Strengths and weaknesses
-
S1. Empirically driven design. The motivation is clear and well-articulated.
-
S2. Black-box method. It does not touch target-model internals.
-
S3. Broad empirical coverage. 12 datasets, 5 target models, and multiple seeds, with additional checks on closed-source transfer, alternative encoders, and over-safety.
-
W1. Insufficient adaptive-attack evaluation, and the threat model does not define attacker capability. Although the authors acknowledge in the limitations the method's dependence on the auxiliary encoder and predefined intent concepts.
-
W2. The main multi-turn baseline is used in a retrained, weakened form, so the 9.7% gain is not robust.
-
W3. The main comparison table reports no variance and no significance test.
-
W4. Unseen-attack test sets are small and same-sourced. ActorAttack and Crescendo each contain only 520 interactions, both generated by GPT-3.5-Turbo from the single AdvBench corpus; although the authors remove target-model overlap, the single source still limits diversity.
-
W5. The few-shot comparison has no external baseline. Citing confounders, the authors compare only against their own backbone, so the adaptation gain is always a self-comparison and its real effect cannot be seen.
Questions
Does the intent-concept space remain applicable in other domains such as multilingual, medical, or educational settings, and how transferable are these concept directions? What justified choosing Llama3-8B as the auxiliary encoder, and how does this choice affect applicability across target-model families?
Limitations
yes
Paper formatting concerns
No
Final justification
Thank the authors for their response. The clarifications have improved the quality of the paper to some extent; however, the core concerns remain insufficiently addressed.
We thank the reviewer for the constructive comments. We address the individual comments raised by the reviewer below.
Our response: We specify the attacker’s access constraints and objectives in Sec. 3.1. Specifically, we consider a black-box attacker who can iteratively query the target LLM, while having no access to model parameters and gradients, or TraceGuard. We will make the attacker’s capabilities and access constraints more explicit in the revised manuscript.
To address the reviewer’s concern, we conduct additional evaluations against adaptive attacks that go beyond our default threat model. These attacks are used only for evaluation and are not included in the training or calibration of either TraceGuard-S or TraceGuard-A. The experiments are based on Crescendo with 30 seed questions, using GPT-3.5-Turbo as the attack generator, GPT-4o-mini as the target model, and GPT-4o as the attack success rate (ASR) evaluator.
1. Score-aware adaptive attack. We assume the attacker can access TraceGuard-S predictions and adapt the attack trajectory by selecting low-pseq candidates while keeping the original Crescendo harmful goal unchanged. At each turn, the attacker generates three candidate prompts, prefers candidates with pseq<τ, and otherwise selects the lowest-pseq candidate with up to three-turn backtracking. We report the H-ACC of TraceGuard and the ASR under different adaptive settings:
The results show that adaptive attackers can reduce intermediate risk signals through trajectory manipulation, but this evasion substantially decreases jailbreak success, revealing an inherent trade-off between evasion and attack effectiveness.
2. Trajectory-disruption adaptive attack. We consider a black-box attacker without access to TraceGuard predictions. The attacker inserts benign-looking turns (e.g., ethical discussion, safety reminders, or refusal statements) into the interaction to disrupt trajectory-level risk evolution. We evaluate four strategies by inserting three benign-looking turns into different positions of the interaction: alternating insertion (every other turn), middle-block insertion (three consecutive turns in the middle), sandwich insertion (before and near the final attack turns), and prefix insertion (benign turns at the beginning).
These strategies weaken jailbreak effectiveness but fail to evade TraceGuard, as inserted benign-looking turns disrupt local risk evolution but cannot eliminate harmful intent expressed across the interaction trajectory.
Our response: For the multi-turn baseline NBF, we follow its original training procedure and retrain it on our training split for a fair comparison. We additionally report the officially released model results in Appendix C.4. The retrained version achieves 17.5% higher Overall ACC than the official model, suggesting that retraining provides a stronger baseline in our evaluation setting.
Our response: Our trainable methods are already evaluated over five random seeds with mean ± standard deviation (Table 9), while deterministic guard baselines use fixed inference settings. We will additionally include significance tests against baselines in the revised manuscript.
Our response: We acknowledge the reviewer’s concern regarding source diversity. For multi-turn jailbreak detection, diversity is reflected not only in seed questions but also in attack strategies and generated prompts. ActorAttack and Crescendo are automated attack frameworks that generate new multi-turn jailbreak prompts through different attack procedures rather than directly reusing prompts. Each interaction requires extensive model queries (20--25 for Crescendo and 25--30 for ActorAttack), indicating that the diversity arises from iterative attack generation rather than simple prompt rewriting. Beyond AdvBench-derived attacks, we also evaluate on CoSafe, which follows a different data construction process and provides complementary cross-source evidence. We will clarify this limitation in the revised manuscript.
Our response: To address the concern that the adaptation gain may be backbone-specific, we further evaluate our approach on NBF with Llama3-8B as the target model under a 10-shot setting. Specifically, we apply the same distribution-aware adaptation strategy to NBF, replacing TraceGuard-specific representation and prediction components with those of NBF. We compare with two standard few-shot adaptation baselines: classifier-head fine-tuning (FT, freezing the backbone and updating only the classifier) and ProtoNet [1]. All methods are adapted using the same support set, and no method-specific threshold tuning is performed.
The results demonstrate that our distribution-aware adaptation strategy generalizes to an external detector backbone and achieves a better harmful–benign accuracy trade-off than standard few-shot adaptation baselines.
[1] Snell et al. “Prototypical Networks for Few-shot Learning”
Our response: We have acknowledged the limitation that predefined intent concepts may not fully cover domain-specific or emerging harms (Lines 380--382). However, these concepts are designed to capture general harmful intent patterns rather than domain-specific knowledge, suggesting that they may transfer to domains sharing similar safety semantics.
Cross-Lingual Transferability. We translate 50 harmful Crescendo trajectories and 50 benign LMSYS samples into Chinese and Japanese, and apply the same concept directions without recalibration. TraceGuard-A achieves AUCs of 0.847 and 0.609, compared with 0.929 in English, indicating partial transferability limited by the auxiliary encoder’s multilingual capability.
Cross-Domain Transferability. We further evaluate cross-domain transfer on 50 MedSafetyBench [2] harmful samples and 50 EduHarm [3] educational grey-area samples using Crescendo attack. On GPT-4o-mini, TraceGuard achieves 82--86% detection accuracy on medical samples but 56% on educational cases, where ambiguous policy boundaries (e.g., academic integrity) differ from explicit harmful intent captured by current concepts.
We will clarify this transferability scope and limitation in the revised manuscript, and leave broader domain-specific concept expansion as future work.
[2] Han et al. “MedSafetyBench: Evaluating and Improving the Medical Safety of Large Language Models”
[3] Yi et al. “Unified Defense for Large Language Models against Jailbreak and Fine-Tuning Attacks in Education”
Our response: We choose Llama3-8B as the auxiliary encoder under the LRH assumption that LLM representations encode safety-related semantic differences between benign and harmful content. Its open-source nature, accessible hidden states, and strong semantic representation capability make it a practical and reproducible choice.
To evaluate the robustness of this choice, we replace Llama3-8B with alternative auxiliary encoders in Appendix D.5 (Table 12). The results show that safety signals remain transferable across target models, while performance differences mainly arise from auxiliary encoders’ capability in representing safety concepts and separating harmful-benign semantics.