Jailbreak transferability stems from shared representationsJailbreak Transferability Emerges from Shared Representations
The authors claim that jailbreak transferability arises from representations shared across models: on 20 open-source models and 33 jailbreaks, representation similarity and source-side strength predict transfer, and benign distillation can causally increase transfer.
- Jailbreak prompts often transfer across models, but there is no consensus on why transfer occurs: whether it is an incidental flaw of safety training, a property of model families, or a fundamental property of representation learning. The authors argue that clarifying the mechanism is important both for building defenses and for understanding the boundaries of safety interventions.
- On 20 open-source models, 33 jailbreaks, and 313 harmful prompts, jailbreak strength and success rate were measured using the StrongREJECT judge and multiple sampling, model representation similarity was measured using mutual k-NN; then distillation using only benign data was used to increase teacher-student similarity, testing whether transfer rises causally with it.
- The authors report: model pairs with more similar representations have higher transfer AUROC, and highly similar pairs have no low transfer; benign distillation increases similarity (up to 0.28→0.42) and increases transfer for both the fixed jailbreak set and the adaptive attack optimized against the distilled model; persona-type jailbreaks transfer far more easily than cipher-type; distillation occasionally also makes the student safer against attacks such as AIM.
- Limitations listed by the authors: experiments cover only text-only decoder-only transformers; distillation uses only 3 teacher-student pairs, a single epoch, and a single hyperparameter setting; only one adaptive attack is used. The paper does not report the identity of the judge model, the absolute level at which distilled models themselves are jailbroken, and other such details.
- Evaluated models
- Llama3-8BLlama3-70BLlama3.1-8BLlama3.1-70BLlama3.2-1BLlama3.2-3BLlama3.3-70BGemma-2BGemma-7BGemma1.1-2BGemma1.1-7BGemma2-2BGemma2-9BGemma2-27BQwen2.5-0.5BQwen2.5-1.5BQwen2.5-3BQwen2.5-7BQwen2.5-14BQwen2.5-32B
- Benchmarks
- StrongREJECTAlpacaAdvBench
- Metrics
- jailbreak strength (µ)jailbreak success (δ)symmetric transfer AUROCmean transfer scoremutual k-nearest neighbors (mknn)
The paper evaluates 33 jailbreak attacks (each corresponding to 313 harmful prompts) on 20 open-weight models and finds that whether a jailbreak transfers across models depends mainly on two factors: the representation similarity of the models on benign prompts, and the strength of the jailbreak on the source model. The authors distill using only benign data from the target model, improving representation similarity across three cross-family teacher-student pairs, and jailbreak transfer rates rise accordingly, even though the student model never saw the teacher model's responses to harmful prompts. The analysis also shows that persona-playing jailbreaks transfer at significantly higher rates than encoding-based jailbreaks such as base64; in the distillation from Llama3.1-8B to Qwen2.5-7B, the distilled model is actually harder to break with AIM persona-type jailbreaks. The authors therefore argue that jailbreak transfer results from shared representation alignment, and recommend system-level defenses such as external classifiers outside the generation loop.
Why it was selectedThe paper measures the relationship between representation similarity and jailbreak transfer across 20 open-weight models, and provides causal evidence via distillation on benign data, which can serve as a reference when assessing cross-model jailbreak risk.
Paper analysis
What problem does this paper attempt to solve?
Why can jailbreaks transfer across models? The authors test whether it arises from representations shared across models rather than an incidental flaw of safety training.
Core question: why can jailbreak prompts transfer from one model to another with different architecture, data and provenance—is it an incidental flaw of safety training, a product of model families, or a fundamental property of representation learning?
- Setting and importance: deployed LLMs have safety mechanisms, but jailbreak prompts can bypass them; transferability means an attack designed for one model may affect other models. The authors consider understanding the mechanism key both to building robust defenses and to understanding the boundaries of safety interventions.
- Existing gaps: the authors state that the transfer phenomenon has been widely demonstrated, but there is no consensus on its cause (citing Meade et al., 2024; Schaeffer et al., 2024a); and evaluation methods (single sampling, refusal-phrase rules) are noisy, making studies hard to compare.
- Core hypothesis: the more similar models' contextual representations are on benign prompts, the more likely jailbreaks are to transfer; transfer is an emergent result of representation alignment, not a fragile byproduct of safety fine-tuning.
- Contributions: transfer measurements on 20 open-weight models, 33 jailbreak strategies and 313 harmful prompts; a distillation protocol using only benign data to causally increase representation similarity; and a qualitative analysis by attack type (persona-type and cipher-type have different transfer patterns).
What related research exists?
Related work is divided into three groups: jailbreak discovery and optimization, transferability of adversarial attacks, and mechanistic understanding of jailbreak success; this paper is positioned as correlational plus causal evidence for the causes of transfer.
Jailbreak discovery and optimization
- Wei et al. (2023), Liu et al. (2023)—handcrafted jailbreak attacks, showing that LLMs are easily manipulated into producing harmful responses.
- Zou et al. (2023b)—GCG gradient attack; the paper notes that such attacks often require white-box access and are not applicable to proprietary models, so black-box transferable attacks have attracted attention.
- Yang et al. (2023), Huang et al. (2023)—jailbreak design and defenses; Huang et al. (2023) is also cited to show that single-sample evaluation is fragile, and its two-step white-box attack idea is drawn on by this paper's adaptive attack.
Transferability of adversarial attacks
- Lukyanov et al. (2024)—Model Mimic Attack, using distillation to train a substitute model that produces transferable adversarial examples; Xiao et al. (2024)—DAP template-level attack; Lin et al. (2025)—PiF regularization; Liu et al. (2024)—SI-GCG. The paper only describes these and does not compare them one by one.
- Schaeffer et al. (2024a; 2024b), Gupta et al. (2025)—work explaining failures of jailbreak transfer on VLMs.
Understanding jailbreak success
- Arditi et al. (2024)—refusal is mediated by a one-dimensional subspace (this paper's adaptive attack uses its refusal direction ablation); Chen et al. (2024), Li et al. (2025a)—safety neurons and representations; Ameisen et al. (2025)—mechanism of Claude-specific jailbreaks; Kirch et al. (2025)—different jailbreaks exploit different mechanisms; Gorton & Lewis (2025)—adversarial examples arise from feature superposition.
Baselines and benchmarks: this paper is not a new attack method and has no comparison baselines; the evaluation benchmark is StrongREJECT (Souly et al., 2024, containing 33 jailbreak strategies and their judge), and the distillation data use Alpaca (Taori et al., 2023) and AdvBench (Zou et al., 2023b).
The authors position this paper as: going beyond demonstrating transfer or improving transfer attacks, to provide systematic correlational evidence and (via benign distillation) causal evidence for the causes of transfer, and to connect the results to the Platonic representation hypothesis (Huh et al., 2024a).
How does the paper address this problem?
Jailbreak strength is measured using the StrongREJECT judge plus multiple sampling, representation similarity is measured using mutual k-NN, and benign distillation is then used as a causal intervention.
Overall approach: first establish reliable transfer measurements on 20 models × 33 jailbreaks, and test whether two factors, "source-side jailbreak strength" and "model representation similarity", predict transfer; then use benign-only distillation to artificially increase teacher-student representation similarity and observe whether transfer increases accordingly, thereby advancing from correlation to causal evidence.
Measuring jailbreak efficacy
- A jailbreak strategy transforms a harmful prompt p into p̃; the judge function JUDGE maps prompt-response pairs to [0,1], where 0 is safe or irrelevant and 1 is fully harmful and useful; the StrongREJECT judge (Souly et al., 2024) is used, and post-processing such as base64 decoding and low-resource translation counts as part of the judging.
- Two metrics: strength μ(p̃, LLM) = 1/m∑j JUDGE(p, rj), i.e., the average judge score over m samples; success δ(p̃, LLM) = maxj JUDGE(p, rj), i.e., the highest score among m samples. Strength is used as a control variable in the transfer analysis to distinguish "transfer comes from a stronger attack" from "transfer comes from representation similarity".
Measuring representation similarity
- Uses mutual k-nearest neighbors (mknn) from Huh et al. (2024b): the hidden representation of the last token after layer ⌊ωL⌋ for a prompt is taken as the embedding, the k-nearest-neighbor graphs of two models on the same set of prompts are compared, and mknn is the Jaccard similarity of the two graphs, invariant to rotation and scaling.
- Embeddings use the first 10K benign prompts from Alpaca, ω=0.8 (following Lad et al., 2024), k=100 (following Huh et al., 2024a).
Measuring transfer
- Symmetric transfer AUROC: the AUROC of using source-model strength scores to predict target-model success labels (δ≥τ), averaged arithmetically over both directions.
- The distillation experiments use mean transfer score: for the subset of "strong jailbreaks" with source-side strength µ≥τ, the mean δ on the target model is computed; τ varies from 0.5 to 0.9.
Benign-only distillation protocol
- Three cross-family teacher-student pairs: Llama3.1-8B→Qwen2.5-7B, Qwen2.5-7B→Llama3.2-3B, Gemma2-27B→Qwen2.5-14B.
- Training corpus: teacher responses to Alpaca 52K benign instructions, plus student refusals to AdvBench harmful instructions (10 sampled refusals per harmful prompt, 5,120 pairs in total), used to maintain the student's safety mechanisms; the teacher is not queried with harmful instructions, simulating a scenario where an attacker avoids continuously requesting harmful responses from a proprietary API.
- SFT for one epoch, batch size 4, learning rate 10⁻⁵, gradient accumulation 8.
Adaptive (active) attack
- A two-step white-box attack inspired by Huang et al. (2024): first ablate the refusal direction of the distilled model (Arditi et al., 2024) to generate a harmful response, then use that response as the target and GCG (Zou et al., 2023b) to optimize an adversarial suffix for the original harmful prompt; the attack is run once on the original source model and once on the best checkpoint of each distillation run.
What experiments did the paper conduct?
Similarity is positively correlated with transfer AUROC, and high similarity has no low transfer; all three distillation pairs increase similarity and transfer; persona-type transfers far more easily than cipher-type.
Experimental setup
- Models tested: 20 open-weight instruction models, three families, 0.5B–70B: Llama3(8B,70B), Llama3.1(8B,70B), Llama3.2(1B,3B), Llama3.3(70B), Gemma(2B,7B), Gemma1.1(2B,7B), Gemma2(2B,9B,27B), Qwen2.5(0.5B,1.5B,3B,7B,14B,32B) (footnote 2, Table 1).
- Benchmark: StrongREJECT, 33 jailbreak strategies × 313 harmful instructions = 10,329 adversarial inputs; 380 model pairs in total.
- Sampling: 10 responses generated per input, temperature 0.6, top-k 50, top-p 0.95, generation limit 384 tokens.
- Judging: StrongREJECT judge (rubric in Appendix G.4); the paper does not state the specific model used for judging.
- Similarity: mknn with the first 10K Alpaca prompts, ω=0.8, k=100.
- Distillation: 3 teacher-student pairs, single epoch; the adaptive attack is one GCG variant.
Main results
The paper has no main results number table; the core results are in Figure 2, 4, 5, 6, with axes and annotations as follows:
Figure Content Information visible in the figure Figure 2 Similarity vs symmetric transfer AUROC for 380 model pairs Left panel y-axis about 0.4–0.8, annotated "No highly similar models have low transferability"; right panel is the ≥14B subset (y-axis about 0.6–0.8) with a least-squares fit line Figure 4 Similarity and training loss during distillation Similarity y-axis 0.3–0.45, rising early then plateauing; the text gives Gemma2-27B→Qwen2.5-14B rising from 0.28 to 0.42, and absolute gains of 0.10–0.12 for the other two pairs Figure 5 Mean transfer score on the fixed jailbreak set vs distillation rounds Three panels, five lines for τ=0.5–0.9; the authors state that in all panels and at all thresholds the transfer score rises with distillation from epoch 0 Figure 6 Adaptive attack transfer rate, before vs after distillation Solid bars (before distillation) and striped bars (after distillation); the authors state it is higher after distillation at all τ - The authors state: the higher the similarity, the better source-side strength predicts transfer; highly similar models have no low transfer (among low-similarity pairs there are also exceptions with high transfer).
- The authors state the correlation is tighter in the ≥14B subset, and believe the effect strengthens with scale.
- The authors state that the transfer curves in Figure 5 do not correspond one-to-one with the similarity curves in Figure 4, possibly because similarity measures only a single layer while transfer reflects global behavior.
Distillation reduces vulnerability to some attacks
- What was measured: during Llama3.1-8B→Qwen2.5-7B distillation, the strength and success rate of the AIM jailbreak on all 313 prompts (Figure 8).
- Results: the authors report that after distillation the model becomes safer than the teacher on AIM strength; on success rate it is safer than the teacher early on, and finally lower than the teacher but higher than the original student. Figure 7 gives a single qualitative example.
- Authors' interpretation: safety can be improved without explicit safety fine-tuning; the authors state this phenomenon also holds for other persona-type jailbreaks, which are more sensitive to model similarity and benign distillation.
Analysis by attack type (Appendix E)
- persona vs direct/cipher: at strength threshold ≥0.3, persona-type (pair, aim, pap_*, evil_confidant, dev_mode, refusal_suppression) transfers on average to 47% of models and 52% of families, while direct-type transfers to 8% and 9%; at threshold ≥0.5, persona-type is 17% and 20%, and direct-type is 4% for both.
- Differences across models: Qwen2.5 small and medium models (0.5–7B) have an average jailbreak strength of 0.31, with a cross-family median of 0.12; evil_confidant and aim achieve a 100% jailbreak success rate on Gemma2-9B and Gemma2-27B, but when not custom-exploited these models' success rates fall back.
- Ceiling and reliability: each of the 33 strategies reaches success ≥0.9 on at least one model; only 5 (15%) can make at least half the models exceed strength 0.30; the Pearson correlation between strength and success rate is r≈0.18.
Other ablations and analyses
- Evaluation robustness (Appendix D, Figure 9): distribution of the per-prompt judge-score range over 10 samples; the authors state that nearly one fifth of prompts have a range reaching the maximum of 1, and about one quarter ≥0.75, indicating that single sampling underestimates worst-case risk.
- Within-family distillation control: Llama3.1-8B→Llama3.2-3B barely changes similarity; the authors believe distillation-aligned representations have a ceiling determined by the models' representational capacity.
- Appendix F gives pairwise similarity heatmaps for ω=0.1–1.0 (Figure 13–22) and a PCA projection at ω=0.8 (Figure 12); Appendix G.5 (Table 2) lists example prompts for the 33 jailbreak types.
- Infrastructure (Appendix G.1): 8 NVIDIA H200 140GB GPUs, total runtime of all experiments under two weeks.
What are some points that can be further explored?
The authors list three limitations: text-only decoder-only models only, distillation with only 3 pairs and a single epoch, and only one adaptive attack.
Limitations and future directions noted by the authors
- Modality and architecture (Appendix B): all experiments are text-only decoder-only transformers; the authors believe future work should study whether the conclusions transfer to vision-language models, retrieval-augmented generation and mixtures-of-experts.
- Scope of distillation experiments (Appendix B): only 3 teacher-student pairs, each trained for one epoch, single hyperparameter setting; longer training, different data mixtures or more family pairings were not explored.
- Types of adaptive attacks (Appendix B): only one type of adaptive attack was used; the authors note that this kind of jailbreak may transfer more easily than other white-box attacks.
- Evaluation rigor (Appendix C): the authors state that weaker judges would misjudge non-refusals as successes and overestimate transferability, and encourage future work to adopt stronger judges and improve the evaluation pipeline for transfer studies.
- Defense implications (Appendix C): the authors argue that defenses should shift to external classifiers and system-level solutions outside the generation loop (such as constitutional classifiers); this is an advocacy point in the discussion, not an experimental conclusion.
Scope of experiments
- The models tested are 20 instruction models from three families, Llama3/3.1/3.2/3.3, Gemma/1.1/2, Qwen2.5 (0.5B–70B), all open-weight.
- Transfer evaluation covers 33 jailbreaks × 313 harmful prompts from StrongREJECT, with 10 sampled responses per input.
- The distillation intervention covers 3 cross-family teacher-student pairs; the adaptive attack is a single GCG variant, compared only on the best distillation checkpoint and the original model.
- The paper does not report the specific model used by the judge, nor the agreement between the judge and human judgment.
- The paper does not report the absolute level of the distilled models' own jailbreaking (e.g., overall strength/success rate before and after distillation); Figure 8 covers only one jailbreak, AIM.
Summarize the main content of the paper
The authors claim that jailbreak transfer is an emergent property of representational alignment: similarity and source-side strength predict transfer, and benign distillation causally increases transfer.
An analysis paper on the causes of jailbreak transfer, attempting to answer: is transfer an incidental flaw of safety training, or a fundamental property of representation learning.
- Question: jailbreaks against one model often affect other models, but there is no consensus on the cause; and evaluation methods such as single sampling and refusal rules are noisy.
- Method: 20 open-source models × 33 StrongREJECT jailbreaks × 313 harmful prompts, with 10 samples and a stronger judge to measure jailbreak strength and success rate; mknn (Alpaca 10K prompts, ω=0.8, k=100) to measure representation similarity; then benign-only distillation (the teacher answers only Alpaca benign instructions) to causally intervene on similarity.
- Correlational results: among 380 model pairs, the higher the representation similarity, the higher the symmetric transfer AUROC, and highly similar pairs have no low transfer (Figure 2); the authors state the correlation is tighter in the ≥14B subset.
- Causal results: all three cross-family distillation pairs increase similarity (Gemma2-27B→Qwen2.5-14B rises from 0.28 to 0.42), and increase transfer for both the fixed jailbreak set and the GCG adaptive attack optimized against the distilled model (Figure 5, 6).
- Type differences: persona-type jailbreaks at strength ≥0.3 transfer on average to 47% of models, while direct/cipher-type transfer to only 8% (Appendix E); the authors believe natural-language attacks exploit shared semantic representations, while cipher-type relies on idiosyncratic properties of individual models.
- Reverse effect: after distillation, Qwen2.5-7B's strength against the AIM jailbreak drops to safer than the teacher Llama3.1-8B (Figure 8); the authors state that a safety improvement was obtained without explicit safety fine-tuning.
The authors' conclusion: jailbreak transfer is best understood as an emergent property of representation alignment—models pulled closer in representation space inherit each other's vulnerabilities and, to some extent, each other's protections; on this basis the authors argue that defenses should shift to external classifiers and system-level solutions outside the generation loop.