# AnchorRep: Defending LLMs Against Cross-Model Adversarial Transfer via Representation Repulsion

DevFeed: [AnchorRep: Defending LLMs Against Cross-Model Adversarial Transfer via Representation Repulsion](<https://devfeed.tech/articles/anchorrep-defending-llms-against-cross-model-adversarial-transfer-via-representation-repulsion-120088.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.32602>)

Author: Gal Wertheizer, Rom Himelstein, Tomer Peretz, Avi Mendelson

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Adversarial attacks](<https://devfeed.tech/topics/adversarial-attacks.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Representation learning](<https://devfeed.tech/topics/representation-learning.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>)

Tags: [adversarial](<https://devfeed.tech/tags/adversarial.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [defense](<https://devfeed.tech/tags/defense.md>), [llms](<https://devfeed.tech/tags/llms.md>), [lora](<https://devfeed.tech/tags/lora.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mistral](<https://devfeed.tech/tags/mistral.md>), [robustness](<https://devfeed.tech/tags/robustness.md>)

## AI overview

AnchorRep aims to reduce cross-model jailbreak transfer by using a lightweight LoRA adapter to push a defended model's representations of harmful prompts away from those of a frozen anchor model. It trains on a small set of harmful prompts without adversarial examples. Across five models from four architectural families, the authors report attack success at or below 1.1% on 2,000 transferred attacks, with 0% on two models and Mistral falling from 36% to 1.1%. They report that other defenses can cause up to 77% degenerate benign output or raise over-refusal by up to 18%; the proposed Benign Garble Rate measures degenerate outputs missed by standard refusal metrics. These are abstract-reported results; the supplied text does not provide full experimental details.

## Source excerpt

arXiv:2609.32602v2 Announce Type: replace-cross Abstract: Adversarial attacks optimized on a single open-weight 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. AnchorRep targets this geometry directly with a lightweight 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 <=1.1% on 2,000 transferred attacks (0% on two), including the largest drop on Mistral (36% -> 1.1%). Existing defenses can reduce transfer, but only at high cost either inducing up to 77% degenerate benign output or increasing over-refusal by up to 18%. Because such degenerate benign outputs are not captured by standard refusal-based metrics, we introduce the 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