- Rating
- 4
- Clarity
- 4
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper studies why aligned LLMs remain vulnerable to jailbreak attacks and argues that prompt-side refusal alone is insufficient because the model's internal harm-recognition signal continues to fire during generation but is not enforced. Building on prior representation analysis of harmfulness and refusal directions at prompt positions, the authors extract analogous directions at response positions and identify late layers where the four directions form a non-redundant subspace. Then the authors proposed HARC, a LoRA fine-tuning objective adding margin-hinge coupling losses on the cosine projections onto the harmfulness and refusal directions at both prompt and response positions. Experiments cover Llama-3.1-8B and Qwen2.5-7B against six baselines across four jailbreak attacks, two over-refusal benchmarks, and five capability benchmarks. HARC reduces average ASR by 4 to 5 times while matching base-model over-refusal and preserving capability, and the layer-selection criterion transfers to Llama-3.1-70B and Qwen2.5-72B without retuning.
Strengths and weaknesses
Strengths
- The analysis is the strongest part. Extending the harm and refusal directions to response positions is a useful new lens, and the four-direction picture is a clean way to describe how DAN, PAIR, and CodeAttack differ internally.
- The method follows the analysis directly, and implementation details (extraction protocol, layer score, EMA recompute, loss weights) are well documented.
- Evaluation is broad: two model families, four attacks, two over-refusal benchmarks, five capability benchmarks, six baselines. The layer-selection score transfers to 70B and 72B without retuning.
- The paper reads well, and Figure 2 communicates the four-direction structure clearly.
Weaknesses
- HARC mainly targets inference-time jailbreaks only, but the deployment window is narrow by the paper's own admission: at 70B open-weight scale attackers also have weight access, and Appendix I shows adversaries break HARC in roughly 160 harmful examples; Whether HARC can work on closed-source SOTA APIs cannot be tested since HARC requires gradient access, as acknowledged by authors. This is the major concern for this paper.
- No experiment tests an inverse-HARC fine-tune that targets the coupling objective directly. Given the open-weight deployment claim and that Appendix I's generic FT-attack already breaks HARC, this targeted scenario is essential evidence currently missing.
- The paper seems to miss two related works, AdaSteer [3] and Lan et al. [4], which share a similar mechanism with this work. Can the authors provide more discussion and experiments for comparison?
- CodeAttack improvement is much smaller than the other attacks (Llama 0.290 vs 0.350 baseline; Qwen 0.340 vs 0.417), and Figure 4 also shows its cluster is reorganized much less than the others. The paper does not explain why this happens.
References
[1] Arditi et al. (2024). Refusal in Language Models Is Mediated by a Single Direction. NeurIPS 2024.
[2] Jiachen Zhao et al. (2025). LLMs Encode Harmfulness and Refusal Separately. NeurIPS 2025.
[3] Weixiang Zhao et al. (2025). AdaSteer: Your Aligned LLM is Inherently an Adaptive Jailbreak Defender. EMNLP 2025. arXiv:2504.09466.
[4] Lan et al. (2026). From Refusal Geometry to Safety Geometry: Harmfulness-Refusal Coupling under Dynamic Adversarial Fine-Tuning. Interspeech 2026. arXiv:2606.16349.
Questions
- Can the authors clarify where HARC's intended application window is, given that 70B open-weight attackers have weight access (Appendix I breaks HARC in 160 examples) and closed-source SOTA APIs cannot be tested (§7)?
- AdaSteer [3] and Lan et al. [4] seem to share a similar mechanism with this work (two-direction coupling for jailbreak defense), but neither is referenced. Can the authors discuss the relation and provide more experiments for comparison?
- Can the authors explain why CodeAttack is improved much less than the other attacks and why Figure 4 shows its cluster is reorganized less? Is the reason the prompt-side double-suppression noted in §3.2, or a separate mechanism?
Limitations
The paper acknowledges in §7 that adversaries with weight access break HARC in roughly 160 examples and that closed-API models cannot be tested, but does not flag the resulting narrow deployment window or the uncited prior art in the two-direction coupling line.
Paper formatting concerns
No paper formatting concerns.
Final justification
I thank the authors for the detailed response. All four concerns are addressed.
W1: The inference-time threat model and the separation of tamper resistance as a distinct problem are the right framing.
W2: The targeted fine-tuning attack was run and reported honestly as a limit rather than partial robustness.
W3: The AdaSteer comparison and citation are added, and the coefficient analysis is a useful addition.
W4: The prompt-side measurements on the original checkpoint and the negative result on full-response pooling give a complete account of CodeAttack.
I raise my score from 3 to 4.
Reviewer kr4o
We thank the reviewer for the detailed review and for the two references. We have run the requested experiment (W2) and provide a clearer positioning of our work below.
W1/Q1. Threat model and deployment setting
HARC is designed to defend against inference time jailbreaks. The intended use case is a practitioner who fine tunes a model with HARC and deploys it internally or serves it through an API. In this setting, the weights are never released, and downstream users interact with the model only through inference. An attacker who holds the original open weight checkpoint does not hold the HARC adapted model, so weight availability at the 70B scale does not remove the defense.
HARC is not intended to make weights resistant to malicious fine tuning. Appendix I is consistent with the reviewer's point on this. Under weight access, SFT and HARC collapse at comparable budgets, CB resists to approximately 400 examples, and RepBend retains a flat post attack ASR only while refusing nearly all benign prompts (XSTest and CoCoNot at 1.000 on Qwen). Tamper resistance is a distinct problem from inference time robustness, and we will position it as such in Section 7.
The closed source limitation follows from the same requirement. HARC needs gradient access to be applied, so we cannot evaluate it on models we are unable to fine tune.
W2. Targeted (inverse HARC) fine tuning attack
We have run this experiment. We add an inverted margin hinge that decouples vharm and vref at HARC's coupled layers, combined with refusal removal cross entropy. On Llama it reaches ASR≥0.5 at approximately 80 harmful examples, compared with approximately 120 for the generic attack under the same protocol. The targeted objective is more efficient, but the outcome is not qualitatively different.
The coupling objective is symmetric in respect and can be used as a fine tuning attack objective as well as a defense. This supports the threat model distinction in W1. HARC is effective against inference time jailbreaks and is not robust to adversarial modification of the checkpoint. We will include the completed trajectories in the revision, and will also note the dual use aspect in the ethics statement.
W3/Q2. AdaSteer and Lan et al.
AdaSteer predates our submission and should have been discussed. It extracts rejection and harmfulness directions on the starting model and applies per input adaptive steering coefficients at inference, leaving weights unchanged. HARC differs in two respects. It is a training time method that modifies the geometry rather than steering within fixed geometry, and it supervises response token positions in addition to prompt positions, which prompt conditioned inference time steering cannot do once generation has started. This is the same distinction that separates HARC from our existing inference time baseline, CAST.
We evaluated AdaSteer under our harness, using the same attacks, judges, and benchmarks as Table 1.
On robustness, HARC reaches lower mean ASR on both models. AdaSteer reaches lower over refusal than any method we test, including ours. The capability columns are where the comparison becomes informative. Mean capability falls from 0.668 to 0.532 on Llama and from 0.714 to 0.386 on Qwen, with GSM8K at 0.000 and MMLU at 0.208 on Qwen. We did not expect this from a method that leaves weights unchanged, so we measured what drives the steering coefficient α.
In our runs α responds to prompt length rather than to harmfulness.
The length effect is roughly two orders of magnitude larger than the harm effect on both models.
A GSM8K control isolates this. The same fifty questions are asked zero shot and eight shot, so only prompt length changes.
Math ability is largely intact on the short prompts and collapses on the long ones. The same length ordering explains the rest of the profile. Jailbreak prompts are long and are steered hard, which reads as robustness. Over refusal benchmarks are short and are barely steered, which reads as no usability cost. Few shot capability prompts are longest and are steered hardest, which is where the cost lands. MTBench is the shortest of the four capability benchmarks and is the one where AdaSteer holds up, which fits the same ordering.
We will add the full results to Table 1, the coefficient analysis to a new appendix, and the discussion to Section 6.
Lan et al. (arXiv:2606.16349) was posted in June 2026, after the submission deadline, and is therefore concurrent work. Based on the abstract, it studies harmfulness refusal coupling in the context of dynamic adversarial fine tuning, corresponding to the tamper resistance setting of our Appendix I. Our contribution is the extension of both directions to response token positions and the use of coupling as a training objective against inference time attacks. We will cite and discuss it as concurrent work in the revision.
W4/Q3. Why CodeAttack improves least
It is the prompt side double suppression. CodeAttack is not merely suppressed on both directions. It is encoded as less refusal worthy than an ordinary benign request at the positions HARC supervises, so the coupling loss has no signal to act on.
By measuring pharm=cos(htinst,vharm) and pref=cos(htpost,vref) on the original instruction tuned checkpoint at HARC's selected layers, with n=100 per set:
Every CodeAttack prompt projects below every benign prompt on vharm, and its refusal projection sits below the benign level. Within set standard deviation is 0.002, so the adversarial wrapper dominates the representation and leaves almost no variance for harmfulness payload. This is treated as benign prompt, since the benign hinge drives these samples below zero and the objective therefore pushes them away from refusal. The pattern is present in the original checkpoint, so it is a property of the CodeAttack encoding rather than an effect of HARC training. PAP is the contrast, the one wrapper that retains a partial prompt side signal and the one attack HARC does mitigate.
This also answers the Figure 4 observation. The gradient on each coupling term scales with the residual component along the directions, so a cluster with no projection at either supervised position has little for the loss to move.
The harm signal does exist further into the response, where HARC does not read it. AUROC for harmful versus benign CodeAttack continuations rises from 0.653 in HARC's 32 token window to 0.756 under max pooling over the full response on Llama, and from 0.564 to 0.776 on Qwen. The payload begins at median response token 354 on Llama and 333 on Qwen, outside the window in all cases.
Repairing the readout does not repair the objective. Retraining with response side coupling computed over the full response leaves CodeAttack ASR unchanged, 0.310 mean pooled and 0.460 with top k pooling at k=8 against 0.430 for the undefended model, and top k pooling costs PAP robustness, 0.655 to 0.710.
So it is the same mechanism, and it is structural rather than a tuning gap. Coupling is a conditional constraint and cannot act where the prompt side signal is absent or of the wrong sign. Whether this is better handled by adversarial training on wrapper families, by detecting the out of distribution signature directly, or by supervising where the signal actually appears is an open question, We'll raise it in Section 7.