Toward Understanding the Transferability of Adversarial Suffixes in Large Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ball, Sarah, Hasrati, Niki, Robey, Alexander, Schwarzschild, Avi, Kreuter, Frauke, Kolter, Zico, Risteski, Andrej
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912669786701824
author Ball, Sarah
Hasrati, Niki
Robey, Alexander
Schwarzschild, Avi
Kreuter, Frauke
Kolter, Zico
Risteski, Andrej
author_facet Ball, Sarah
Hasrati, Niki
Robey, Alexander
Schwarzschild, Avi
Kreuter, Frauke
Kolter, Zico
Risteski, Andrej
contents Discrete optimization-based jailbreaking attacks on large language models aim to generate short, nonsensical suffixes that, when appended onto input prompts, elicit disallowed content. Notably, these suffixes are often transferable -- succeeding on prompts and models for which they were never optimized. And yet, despite the fact that transferability is surprising and empirically well-established, the field lacks a rigorous analysis of when and why transfer occurs. To fill this gap, we identify three statistical properties that strongly correlate with transfer success across numerous experimental settings: (1) how much a prompt without a suffix activates a model's internal refusal direction, (2) how strongly a suffix induces a push away from this direction, and (3) how large these shifts are in directions orthogonal to refusal. On the other hand, we find that prompt semantic similarity only weakly correlates with transfer success. These findings lead to a more fine-grained understanding of transferability, which we use in interventional experiments to showcase how our statistical analysis can translate into practical improvements in attack success.
format Preprint
id arxiv_https___arxiv_org_abs_2510_22014
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Toward Understanding the Transferability of Adversarial Suffixes in Large Language Models
Ball, Sarah
Hasrati, Niki
Robey, Alexander
Schwarzschild, Avi
Kreuter, Frauke
Kolter, Zico
Risteski, Andrej
Computation and Language
Artificial Intelligence
Discrete optimization-based jailbreaking attacks on large language models aim to generate short, nonsensical suffixes that, when appended onto input prompts, elicit disallowed content. Notably, these suffixes are often transferable -- succeeding on prompts and models for which they were never optimized. And yet, despite the fact that transferability is surprising and empirically well-established, the field lacks a rigorous analysis of when and why transfer occurs. To fill this gap, we identify three statistical properties that strongly correlate with transfer success across numerous experimental settings: (1) how much a prompt without a suffix activates a model's internal refusal direction, (2) how strongly a suffix induces a push away from this direction, and (3) how large these shifts are in directions orthogonal to refusal. On the other hand, we find that prompt semantic similarity only weakly correlates with transfer success. These findings lead to a more fine-grained understanding of transferability, which we use in interventional experiments to showcase how our statistical analysis can translate into practical improvements in attack success.
title Toward Understanding the Transferability of Adversarial Suffixes in Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2510.22014