AnchorRep: Defending LLMs Against Cross-Model Adversarial Transfer via Representation Repulsion
Gal Wertheizer, Rom Himelstein, Tomer Peretz, Avi Mendelson
NeurIPS 2026
TL;DR. AnchorRep defends LLMs against cross-model jailbreak transfer by training a LoRA adapter to repel harmful-prompt representations from a frozen anchor model, reducing transfer attack success to 0–2% without any adversarial examples.
Abstract. Adversarial attacks optimized on a single open-weight large language model (LLM) can transfer to and jailbreak architecturally different models, allowing an attacker with white-box access to one model to compromise independently deployed systems. This creates a shared vulnerability across models, yet existing defenses are not designed for this cross-model threat. We find that cross-model transfer aligns with shared internal representation geometry, making it a natural defense target. \textbf{AnchorRep} targets this geometry directly with a lightweight low-rank adaptation (LoRA) adapter that pushes the defended model's internal representations of harmful prompts away from those of a frozen anchor model on the same prompts. Training uses a small set of harmful prompts and no adversarial examples. Across five models and four architectural families, AnchorRep reduces cross-model attack success rate to $\leq$1.1% on 2{,}000 transferred attacks (0% on two), including the largest drop on Mistral (). Existing defenses can reduce transfer, but only at high cost: they induce up to 77% degenerate benign output or increase over-refusal by up to 18%. Because such degenerate benign outputs are not captured by standard refusal-based metrics, we introduce the \textbf{Benign Garble Rate} to quantify them. Our results suggest that cross-model robustness can be achieved by shaping representation geometry, without requiring attack-specific training.
\smallskip \noindent\faGithub~Code, configs and logs: \href{https://github.com/galwert/AnchorRep}{https://github.com/galwert/AnchorRep}
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:49 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a defense against cross-model adversarial transfer attacks. Motivated by the observation that attack transferability correlates with shared internal representation geometry, the authors train a lightweight LoRA adapter to push the defended model's internal representations of harmful prompts away from those of a frozen, architecturally distinct anchor model. This is achieved through Centered Kernel Alignment (CKA)-based repulsion. To preserve model utility while encouraging safe refusal behavior, the CKA objective is combined with auxiliary loss terms. Notably, AnchorRep does not require adversarial examples during training and uses only 30 raw harmful prompts.
Strengths:
- Extensive evaluation across multiple models and architectures.
- Methodological efficiency: AnchorRep achieves a very low transfer attack success rate (ASR) without requiring training on complex, optimized adversarial prompts.
Weaknesses:
- Potential vulnerability to non-geometric attacks.
- Possible brittleness of the learned refusal direction.
- Several acknowledged limitations, including the reliance on a single anchor model for representation repulsion and the limited scope of protection against all types of adversarial manipulation.
- The paper should provide a clearer definition of the Benign Garble Rate (BGR) metric and clarify whether it is introduced as a novel contribution.
- More discussion is needed on the trade-offs between robustness, utility, and generalization.
Pre-discussion Suggestions: I'd recommend that the authors focus on: (1) better motivating the rationale behind the proposed approach; (2) more clearly positioning the contributions of this work relative to existing defenses; (3) clarifying whether the concerns raised are genuine limitations or stem from misunderstandings; and (4) providing a clearer description of the threat model and intended application scenarios.
The AC also has two additional questions:
- Training objective. Since the training objective involves five hyperparameters, it would be helpful for the authors to discuss the sensitivity of the method to these choices and whether finding a suitable hyperparameter configuration is challenging across different models or deployment settings.
- Dependence on training samples. Although the method requires only a small number of harmful prompts for training, this requirement may make it less attractive than fully unsupervised defense methods. It would therefore be valuable to discuss the impact of the required training samples, including the effects of the number of samples, their diversity, and potential domain or task shifts on the method's effectiveness.
Final justification
All reviewers acknowledge that most concerns have been addressed and have reached a consensus in favor of borderline acceptance.
I'd consider both technical contributions and findings are valuable.
Read meta-review
Meta-review
This paper proposes a defense against cross-model adversarial transfer attacks. Motivated by the observation that attack transferability correlates with shared internal representation geometry, the authors train a lightweight LoRA adapter to push the defended model's internal representations of harmful prompts away from those of a frozen, architecturally distinct anchor model. This is achieved through Centered Kernel Alignment (CKA)-based repulsion. To preserve model utility while encouraging safe refusal behavior, the CKA objective is combined with auxiliary loss terms. Notably, AnchorRep does not require adversarial examples during training and uses only 30 raw harmful prompts.
Strengths:
- Extensive evaluation across multiple models and architectures.
- Methodological efficiency: AnchorRep achieves a very low transfer attack success rate (ASR) without requiring training on complex, optimized adversarial prompts.
Weaknesses:
- Potential vulnerability to non-geometric attacks.
- Possible brittleness of the learned refusal direction.
- Several acknowledged limitations, including the reliance on a single anchor model for representation repulsion and the limited scope of protection against all types of adversarial manipulation.
- The paper should provide a clearer definition of the Benign Garble Rate (BGR) metric and clarify whether it is introduced as a novel contribution.
- More discussion is needed on the trade-offs between robustness, utility, and generalization.
Pre-discussion Suggestions: I'd recommend that the authors focus on: (1) better motivating the rationale behind the proposed approach; (2) more clearly positioning the contributions of this work relative to existing defenses; (3) clarifying whether the concerns raised are genuine limitations or stem from misunderstandings; and (4) providing a clearer description of the threat model and intended application scenarios.
The AC also has two additional questions:
- Training objective. Since the training objective involves five hyperparameters, it would be helpful for the authors to discuss the sensitivity of the method to these choices and whether finding a suitable hyperparameter configuration is challenging across different models or deployment settings.
- Dependence on training samples. Although the method requires only a small number of harmful prompts for training, this requirement may make it less attractive than fully unsupervised defense methods. It would therefore be valuable to discuss the impact of the required training samples, including the effects of the number of samples, their diversity, and potential domain or task shifts on the method's effectiveness.
Final justification
All reviewers acknowledge that most concerns have been addressed and have reached a consensus in favor of borderline acceptance.
I'd consider both technical contributions and findings are valuable.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors address the domain of transfer attacks targeting LLMs. In this setting, an adversary has access to a white-box model used to elicit sensitive responses from other independently deployed systems. The authors posit that this phenomenon relates to shared representation geometry and propose AnchorRep, which targets this geometry directly using a lightweight LoRA adapter. This adapter encourages the defended model's representations of harmful prompts to diverge from those of a frozen anchor model. The authors observe that defending the model in this manner can affect performance on benign examples. To address this issue, they introduce the Benign Garble Rate (BGR). Experimentally, they show that cross-modal robustness can be achieved by shaping representation geometry while maintaining utility on benign examples.
Strengths and weaknesses
Strengths
- The paper provides a clear explanation of the threat model. The authors also clearly state their motivations for employing Centered Kernel Alignment (CKA) as part of the defensive strategy. AnchorRep trains a lightweight LoRA adapter that encourages divergence by minimizing CKA loss on harmful prompts.
- Reducing CKA alone can lead to degradation in benign outputs. To address this, the authors optimize using four auxiliary loss functions: refusal-direction loss, coherency loss, KL-divergence loss, and LM loss.
- The authors present experimental results across a wide variety of LLMs, five models from four different families, demonstrating the effectiveness of the proposed approach. The results indicate that AnchorRep reduces the attack success rate while preserving utility.
Weaknesses
- There is considerable room to improve the presentation in this manuscript. Certain sections read more like an information dump rather than flowing smoothly. Furthermore, thorough proofreading is necessary as I found multiple errors throughout the paper. To enhance readability, a suggested approach would be to write out the full abbreviation upon its first introduction. Additionally, the experimental setup needs clearer explanation. For instance, providing more details regarding training and evaluation metrics would be helpful.
- The authors claim the introduction of the Benign Garble Rate (BGR) as a main contribution. However, this metric is not fully defined or motivated within the paper.
- A discussion concerning the operational cost of applying this defense mechanism would also benefit the manuscript by providing context on trade-offs.
Questions
- What was the process for selecting prompt volumes for different loss functions?
- How is "garbled" formally defined?
- What is the computational cost associated with implementing AnchorRep
Limitations
Yes
Final justification
Increasing final verdict to Borderline Accept after going through the rebuttal.
Formatting concerns
N/A
2 comments
Dear Reviewer,
Since the author-reviewer discussion period is ending soon, we would greatly appreciate your feedback on whether our response has adequately addressed your concerns. If not, we would be happy to provide any additional clarification.
Best regards,
The Authors.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces AnchorRep, a novel defense mechanism to counter cross-model adversarial transfer in LLMs. The core insight is that attack transfer correlates with shared internal representation geometry across models. AnchorRep leverages a lightweight LoRA adapter to directly disrupt this geometry by using Centered Kernel Alignment (CKA) repulsion to push the defended model's harmful prompt representations away from those of a frozen anchor model. Crucially, it achieves this without requiring adversarial examples for training. The method, enhanced by auxiliary losses for utility preservation, significantly reduces cross-model attack success rates across diverse LLMs and attack types, while maintaining benign output quality. This demonstrates that shaping representation geometry offers an effective, generalizable, and attack-agnostic defense against transfer attacks.
Strengths and weaknesses
Strengths
- AnchorRep introduces a new defense paradigm based on directly disrupting shared representational geometry (via CKA repulsion) rather than focusing on specific attack patterns. This fundamental approach allows for broad generalization across attack types and models.
- The method demonstrates impressive effectiveness in reducing cross-model attack success rates to very low levels across five diverse LLMs and four architectural families, without requiring attack-specific training data.
- Unlike many existing defenses that achieve safety at a significant cost to utility (e.g., garbled output or over-refusal), AnchorRep consistently maintains high utility, achieving 0% Benign Garble Rate (BGR) and small over-refusal shifts.
- The defense proves effective against various structurally distinct attack types (GCG, Embedding PGD, PAIR, AutoDAN, TAP) and generalizes across different harmful prompt categories, suggesting it targets a deeper, shared adversarial structure.
- The paper proposes BGR as a crucial new metric to quantify degenerate benign output, addressing a significant blind spot in standard refusal-based metrics and highlighting a failure mode observed in existing defenses.
Weaknesses
- The defense is partially bypassed by continuous-space embedding PGD attacks (especially on larger 14B models) and semantic-reframing attacks (TAP on Llama-3), indicating limitations in its scope of protection against all adversarial manipulation types.
- The current design uses a single anchor model for repulsion. The paper acknowledges that this might be insufficient against sophisticated, defense-aware adversaries who could optimize attacks across multiple surrogate geometries. Multi-anchor configurations were explored but found unstable.
- The optimal gamma () (anchor repulsion weight) is highly model-sensitive, requiring careful tuning based on the initial defender-anchor CKA and BGR, which could complicate deployment to new models.
- The defense's effectiveness is highly dependent on targeting a "mid-depth layer" (50th percentile). Intervening too shallowly leads to garbling, while too deeply fails to suppress attacks, indicating a narrow optimal intervention window.
- Restricting LoRA adapters to a subset of layers significantly degrades defense effectiveness, implying that full-network perturbation is a necessary binding cost, which might limit flexibility in parameter reduction.
Questions
-
How does CKA repulsion, by pushing harmful prompt representations away from an anchor, semantically disrupt "actionable harmful content" while preserving surface fluency, leading to low BGR and the "hollow compliance" phenomenon?
-
Please detail the specific role and design motivation of each auxiliary loss term (Lrefusal, Lcoherency, LKL, LLM) in preventing "degenerate benign output" or "over-refusal" when CKA repulsion is used alone. How does Lcoherency specifically anchor adapted representations via weighted MSE to balance the "push-pull" system?
-
Why is full-network LoRA identified as a "binding cost" essential for defense effectiveness, rather than localized adapters? Does this imply inherent limitations in parameter efficiency or deployment flexibility, and are there future strategies to mitigate this cost while maintaining defense efficacy?
-
Explain why selecting an anchor model that is "architecturally distinct" from the defender (e.g., different tokenizer, pre-training data) maximizes the representational contrast for CKA repulsion, leading to stronger defense. What are the implications of this choice for training stability and convergence speed?
Limitations
- AnchorRep is primarily designed for cross-model transfer attacks and its effectiveness against same-model adaptive embedding-space attacks is noted as genuinely limited.
- The authors acknowledge that a single-anchor repulsion strategy could be susceptible to defense-aware adversaries who might optimize across multiple surrogates.
- The untestability of performance under non-English prompts and diverse refusal templates is mentioned.
- While CKA computation itself is lightweight, scaling to 70B+ models still requires multi-GPU sharding for the forward pass, indicating potential practical challenges for very large models.
Final justification
I will keep my score.
Formatting concerns
- Some tables extend beyond the page margins.
- There are repetitive statements in the abstract. "We find that transfer aligns with shared internal representation geometry, making it a natural defense target. We find that cross-model transfer aligns with shared internal representation geometry, making it a natural defense target. "
2 comments
Rebuttal
Dear Reviewer zqtf,
Thank you for the technical depth of your review; two points led us to correct our own characterizations.
Hollow Compliance vs BGR (Q1)
BGR measures damaged fluency, whereas hollow compliance preserves fluency while suppressing harmful content. CKA repulsion severs the harmful pathway; coherency and KL preserve fluency. BGR appears when the fluency infrastructure is damaged (CKA-only prototype, Circuit Breakers on Mistral). We will surface this in Section Method.
Auxiliary Loss Roles (Q2)
All five terms are load-bearing: every single-weight perturbation violates a utility budget. L_CKA (gamma) provides the push away from the anchor; L_refusal (alpha) supplies the destination direction; L_coherency (beta) is a weighted MSE that pulls benign representations back; L_KL (epsilon) preserves the output distribution; L_LM (delta) adds direct LM supervision when the base model's refusal is weak.
Architecturally-Distinct Anchor (Q4)
Cross-family is the safer default; within a family the relationship reverses. Across 420 configurations (Appendix D), cross-family pairs give the largest ASR reductions (e.g., Mistral+Llama-2: -73% self-ASR) because between-family RSA is low (<=0.20). Within a family (RSA>0.5), more similar anchors give stronger defenses (rho=-0.50). Stability holds throughout (BGR<=1.1%). We will surface this in the main body.
Multi-Anchor Configurations (W2)
Multi-anchor is stable; our "unstable" characterization was wrong, from an incomplete sweep. Thank you for pressing on this. Retrained with two pairings (single seed 42, Appendix B):
| Config | Verified defended ASR | BGR | Delta MT |
|---|---|---|---|
| Canonical single-anchor Llama-3 | 0.43% (paper) | 0.68% | -0.04 |
| Two-anchor (Phi-3 + Mistral) | 0.40% | 0.38% | -0.04 |
| Two-anchor (Phi-3 + Qwen-1.5-7B) | 0.20% | 0.18% | -0.01 |
Both match or improve on canonical. Not the default because the initial sweep was all we had when canonical was frozen. We will extend this validation across defenders and seeds in the revised manuscript.
Narrow Mid-Depth Window (W4)
Narrow because safety features are narrowly localized: the layer-position table (Appendix E) shows the 43-47% band = safety/semantic boundary. The 50% setting is empirically robust across all five defenders, consistent with prior work (Arditi 2024, Tenney 2019, Geva 2022).
LoRA Subset Binding Cost (Q3, W5)
Binding cost is a rank artifact, not a fundamental requirement (a precise critique). Table E.4 is matched-rank, not matched-parameter. To disentangle we trained r=128 across 8 mid layers (12-19), matching canonical at ~1024 rank-layers (single seed 42, Appendix B):
| Metric | Canonical (r=32, all layers, 100% params) | Subset (r=32, 9 mid layers, 28% params) | Matched (r=128, 8 mid layers, ~100% params) |
|---|---|---|---|
| Verified defended ASR | 0.43% (paper) | 38% (paper) | 0.30% |
| BGR | 0.68% | 0.5% | 0.68% |
| Delta MT | -0.04 | +0.14 | +0.12 |
At matched parameter count, concentrated LoRA improves on canonical (0.30% vs 0.43%) and sits far below fixed-rank subset (0.30% vs 38%), with the same utility gain. Not the default because the rank/parameter distinction surfaced during rebuttal preparation. We will extend this validation across defenders and seeds in the revised manuscript.
gamma Tuning Burden (W3)
Genuine limitation. Automating gamma (from base-model CKA or via meta-learning) is a real follow-up we will state explicitly in the revised Section Discussion.
PGD / TAP Partial Bypass (W1)
Measured in Table 3. PGD bypasses the token distribution; TAP operates at higher abstraction than the mid-layer geometry.
Sincerely, The Authors
Dear Reviewer,
Since the author-reviewer discussion period is ending soon, we would greatly appreciate your feedback on whether our response has adequately addressed your concerns. If not, we would be happy to provide any additional clarification.
Best regards,
The Authors.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work introduces AnchorRep, an empirical defense designed to protect LLMs against cross-model adversarial transfer attacks (jailbreaks optimized on one source model that successfully compromise a different target model). Based on the finding that transferability aligns with shared internal representation geometry, the authors train a lightweight LoRA adapter to push the defended model's internal representations of harmful prompts away from the representations of a frozen, architecturally distinct anchor model. This is achieved via Centered Kernel Alignment (CKA) repulsion. To preserve utility and direct the model to a safe refusal state, CKA is combined with auxiliary losses. AnchorRep does not require any adversarial examples during training and needs just 30 raw harmful prompts. The authors also introduce the Benign Garble Rate (BGR) to quantify when a defense degrades model utility by generating fluent gibberish on safe prompts. Experiments across five models demonstrate that AnchorRep reduces transfer Attack Success Rate (ASR) to ~ 1.1% while maintaining 0% BGR and low over-refusal.
Strengths and weaknesses
I like this paper due to the simplicity of proposed defense. This work addresses the central challenge of cross-model adversarial transfer, which represents a critical and highly scalable vulnerability in the open-weight LLM ecosystem.
Strengths:
- Rigorous experimental evidence: The claims in the paper are well supported by extensive multi-model, multi-architecture evaluations. The root-cause analysis (linking transferability to CKA similarity) is a strong foundation for the proposed defense.
- Methodological Efficiency: It is really impressive that AnchorRep can achieve very low transfer ASR without needing to train on complex, optimized adversarial strings. This can potentially avoid the standard cat-and-mouse overfitting problem seen in traditional adversarial training.
- The BGR metric seems like practically very useful metric and also something that the scientific community should use to evaluate future defenses.
Weaknesses: I have the following concerns about the current state of the paper
- Vulnerability to Non-Geometric Attacks: As the authors note, the method struggles against continuous embedding-space attacks (Embedding PGD) and semantic-reframing attacks (TAP), as these do not traverse the specific token-gradient geometry targeted by CKA repulsion.
- Refusal Direction Brittleness: The defense relies on a pre-computed "refusal direction" mapped from 10 specific English templates. It remains unclear how robust this specific geometric landing pad is to multilingual attacks or deeply complex formatting.
Questions
-
Multilingual Robustness: The refusal direction r is calculated using a small set of English-only templates (e.g., "I can't help with that request"). How does AnchorRep handle cross-model attacks framed in different languages? Does the CKA repulsion safely redirect non-English harmful prompts into this English-derived refusal subspace, or does the defense break down?
-
The TAP Anomaly on Phi-3: In Table 3, the ASR for the TAP attack on the Phi-3 model is +6%, meaning the defended model is actively more vulnerable to this attack than the baseline. Could you elaborate on why this regression occurs? Does reshaping the mid-layer geometry inadvertently disrupt Phi-3's natural guardrails against semantic reframing? If some model is already quite good at defending against these attacks, could AnchorRep disrupt their safety and worse ASRs?
-
Defense-Aware Joint Optimization: If a white-box attacker knows both the target model and the specific anchor model used for the defense, could they jointly optimize a continuous attack that explicitly evades the anchor's trajectory while still finding a pathway to non-refusal to harmful queries in the target?
Limitations
Yes, the authors have adequately and honestly addressed the limitations of their work. They explicitly state that the defense does not protect against continuous embedding-space attacks (e.g., Embedding PGD) and that semantic-reframing attacks (like TAP) can partially bypass the defense. Furthermore, their discuss hollow compliance (where the model generates non-actionable hallucinations like fictional sci-fi devices instead of standard refusals) in detail highlighting the unexpected side effects of their representation-engineering approach.
Formatting concerns
N/A
2 comments
Rebuttal
Dear Reviewer xyar,
Thank you for your careful review; your questions on TAP-Phi-3 and defense-aware optimization led us to re-examine our analysis.
Cross-Language Handling of Refusal Direction (Q1)
The defense preserves or improves ASR in all three languages (100 aligned prompts each; base -> defended):
| Model | EN | ES | ZH |
|---|---|---|---|
| Llama-3-8B base | 1% | 3% | 5% |
| Llama-3-8B defended | 1% | 3% | 3% |
| Mistral-7B base | 5% | 12% | 5% |
| Mistral-7B defended | 0% | 2% | 2% |
Llama-3 unchanged (0, 0, -2 pp); Mistral has real gaps that the defense closes (-5, -10, -3 pp), largest where base multilingual safety is weakest. Caveat: no author reads ES or ZH; those columns were LLM-judged. Within-column deltas hold (same judge both arms).
TAP-Phi-3 +6% Regression, Verification Audit (Q2)
We discovered an inconsistency: TAP-Phi-3 was the one Table 3 cell not run through our manual protocol. After manual verification the cell is -4 pp (baseline 28%, defended 24%), not +6 pp. Thank you for catching it. The gap reflects the hollow-compliance failure mode the paper identifies: TAP often produces academically phrased but non-actionable responses that confuse automated topic classifiers. All other main-body cells were already manually verified (Appendix B).
Reliability: on a 100-item blind subsample an independent rater agreed 93% (kappa = 0.50), slightly stricter, so reported ASRs are if anything conservative.
Non-Geometric Attacks (W1)
Genuine limitation, measured in Table 3. PGD does not pass through the token distribution we operate on; TAP operates at higher abstraction than our mid-layer target.
Refusal-Direction Brittleness (W2)
The direction is stable. Across 11 conditions (5 seeds; template counts 3/10/20; prompt counts 5/15/30; alternative-phrased 10 templates) cos >= 0.94; seed variance 0.995 +/- 0.002. Retraining on the joint extreme (cos=0.85) yields verified ASR in the canonical range.
Defense-Aware Joint Optimization (Q3)
Partly answered by the paper: Table 3 evaluates GCG with white-box adapter access. The gap is anchor knowledge. To reduce that surface we trained a Llama-3 defender on two architecturally-distinct anchors with CKA averaged across them (single seed 42, verified ASR under Appendix B):
| Config | Verified defended ASR | BGR | Delta MT |
|---|---|---|---|
| Canonical single-anchor Llama-3 | 0.43% (paper) | 0.68% | -0.04 |
| Two-anchor (Phi-3 + Mistral) | 0.40% | 0.38% | -0.04 |
| Two-anchor (Phi-3 + Qwen-1.5-7B) | 0.20% | 0.18% | -0.01 |
Both match or improve on canonical across all three axes. Not the default because the small initial sweep appeared unstable; the fuller exploration came after canonical was frozen. We will extend this validation across defenders and seeds in the revised manuscript.
Sincerely, The Authors
Dear Reviewer,
Since the author-reviewer discussion period is ending soon, we would greatly appreciate your feedback on whether our response has adequately addressed your concerns. If not, we would be happy to provide any additional clarification.
Best regards,
The Authors.
Comments on the paper
2 comments
Authors' Overview
We thank all reviewers for their careful reading and for acknowledging the paper's strengths:
- R-xyar: "It is really impressive that AnchorRep can achieve very low transfer ASR without needing to train on complex, optimized adversarial strings."
- R-zqtf: "AnchorRep introduces a new defense paradigm based on directly disrupting shared representational geometry (via CKA repulsion)."
- R-WPkd: "The authors present experimental results across a wide variety of LLMs, five models from four different families."
New experiments (multilingual robustness, TAP-Phi-3 verification audit, refusal-direction stability, multi-anchor training, matched-parameter LoRA sparsity, seed variance) are summarized below and included as new appendices in the revised version.
Response to Meta-Review
Dear Area Chair,
Thank you for the constructive framing. We address your questions and the four suggestions below.
Categorization of concerns
- Limitations we concede: embedding-space PGD, semantic-reframing (TAP), per-model gamma. All measured in Table 3 and Appendix Limitations; mitigation is future work.
- Analysis errors we correct: multi-anchor mischaracterized as "unstable" from an incomplete sweep; LoRA subset in Table E.4 was matched-rank rather than matched-parameter; TAP-Phi-3 in Table 3 reported raw automated verdict while the rest of the paper is manually verified.
- Insufficiently surfaced material: BGR (defined in Appendix A.2, only glossed in main text) and computational cost (Appendices K, M, uncross-referenced). We will lift BGR's definition into Section 2 and add a cost summary in Section 3.
(1) Motivating the rationale
AnchorRep generalizes because it disrupts a shared transfer geometry, not because it memorizes attack patterns. Evidence: the defense holds across 20 held-out source models (Table 1), multiple anchor choices (xyar Q3), and non-English prompts (xyar Q1). Mechanism: attacks converge on a shared mid-layer subspace, and repelling the defender from an architecturally-distinct anchor disrupts it (Appendix Cross-Prompt Suffix Universality), without adversarial examples.
(2) Positioning against existing defenses
AnchorRep is the only defense in the comparison set that targets cross-model transfer directly, without adversarial-example training. Circuit Breakers (Zou 2024), RepBend (Yousefpour 2025), and RepE/RMU (Zou 2023, Li 2024) modify internal representations using adversarial training data; LAT (Casper 2024, Sheshadri 2024) trains against embedding-space perturbations. AnchorRep is external and geometric: the anchor supplies the direction, CKA supplies the invariant, and training uses only 30 harmful prompts. The distinction is already discussed in Related Work (paragraph 2); we will further clarify it by adding a "Requires adversarial examples" column to Table 1.
(3) Threat model
Attacker: gradient-based token-level attacks (GCG, AutoDAN, PAIR) with white-box source access. Anchor: frozen; the canonical setup does not require the attacker to know it; anchor-secrecy is obscurity, not security, and we do not rely on it.
- Design target: white-box source, black-box defended target.
- Evaluated beyond: Table 3 grants white-box access to the defended model including the LoRA adapter. Under white-box GCG the defense substantially reduces attack success; embedding-space PGD partially bypasses, most clearly at 14B (a limitation, not a scoping choice).
- Outside scope: joint optimization with white-box anchor access; the multi-anchor experiment (xyar Q3) is our step toward that case.
(4) BGR novelty
BGR operationalizes an under-reported failure mode (surface-fluent but content-degenerate benign output) that refusal metrics, MT-Bench, and MMLU all miss. Concrete case: Circuit Breakers on Llama-3 hits 77.1% BGR while Delta MT (-0.18) and Delta MMLU (-1.6) both look in-budget (Table 1). We will scope BGR this way in the revised text.
(5) Robustness / utility / generalization
Robustness and utility trade off through a single knob (gamma); generalization is empirical. Gamma is per-model, selected via a small BGR-early-stopping grid (Appendix J): raising it reduces ASR and eventually raises BGR, while lowering preserves utility and weakens defense. Generalization holds for 20 held-out source models (Table 1) and is preliminary for non-English attacks (xyar Q1). We will summarize this at the close of Section Discussion.
AC Q1: Training-objective sensitivity
The selected configuration sits at a local optimum. The five-weight objective is characterized in the hyperparameter ablation grid (Appendix J.5): every single-weight perturbation violates at least one utility budget, and only the selected configuration satisfies all budgets simultaneously. Across defenders, alpha=0.15 and beta=1.0 are shared; gamma (0.5-2.0, dominant), delta (0-0.08), epsilon (0.4-1.5) are per-model. Automating this small search is future work.
AC Q2: Dependence on training samples
AnchorRep learns a representational subspace to repel, not exhaustive attack patterns: CKA operates on the geometry of mid-layer activations, so training prompts need only span the shared harmful-representation manifold, not enumerate attack strings. 30 suffice: four disjoint subsets yield defended-ASR std <= 1.91% (Appendix K). Benign/borderline pool choice matters more: swapping XSTest for WildGuardMix drives BGR from 0% to 29% (Appendix J), which is why we selected the curated set. Unsupervised alternatives are a natural follow-up.
Sincerely, The Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Dear Reviewer WPkd,
Thank you for your careful reading and constructive suggestions; your points on BGR and cost analysis materially affect how the contribution reads and we agree.
BGR Definition and Motivation (W2, Q2)
BGR is defined but only in the appendix; the main text has a one-line gloss (Section 3), the wrong place for a claimed contribution. We will move the definition to Section 2. BGR = (garbled responses) / (total prompts) on the 1,320-prompt OR-Bench Hard subset, via a five-stage pipeline (neural gibberish classifier + stopword-ratio + single-token-dominance + character-repetition). Motivation: a utility-side complement to ASR capturing "surface-fluent but degenerate" failures that refusal metrics, MT-Bench, and MMLU miss (Table 1: Circuit Breakers on Llama-3 = 77.1% BGR with Delta MT -0.18, Delta MMLU -1.6, both in-budget).
Computational Cost (W3, Q3)
Training requires only 15-30 minutes on a single 48 GB L40S GPU, with zero inference overhead after LoRA merge. CKA adds under 5% wall-clock per step. Analysis in Appendix K, M; we will add a summary to Section Experimental Setup.
Prompt Volume Selection (Q1)
Each volume is empirically motivated (Section 3.1). 30 harmful: four 30-prompt subsets yield defended-ASR std <= 1.91% (Appendix K). 500 benign WikiText-2: standard pool, batch-4 stability. 200 XSTest borderline: switching to WildGuardMix (~4K) drives BGR from 0% to 29% (Appendix J). 15 harmful x 10 refusal templates: grounded in refusal-as-low-rank-subspace (Arditi 2024, Zou 2023).
Presentation and Proofreading
Agreed. Revised version: (i) remove duplicate abstract sentence, (ii) expand every acronym at first use, (iii) fix table margin overflow, (iv) restructure Section 3 and Appendix, (v) additional proofreading pass.
We hope these clarifications address your concerns and would be grateful if you would reconsider your evaluation.
Sincerely, The Authors