Skip to main navigation Skip to search Skip to main content

Universal Jailbreak Suffixes Are Strong Attention Hijackers

Research output: Contribution to journal › Article › peer-review

Abstract

We study suffix-based jailbreaks—a powerful family of attacks against large language models (LLMs) that optimize adversarial suffixes to circumvent safety alignment. Focusing on the widely used foun-dational GCG attack (Zou et al., 2023b), we observe that suffixes vary in efficacy: some are markedly more universal—generalizing to many unseen harmful instructions—than others. We first show that a shallow, critical mechanism drives GCG’s effectiveness. This mechanism builds on the information flow from the adversarial suffix to the final chat template tokens before generation. Quantifying the dominance of this mechanism during generation, we find GCG irregularly and aggressively hijacks the contex-tualization process. Crucially, we tie hijacking to the universality phenomenon, with more universal suffixes being stronger hijackers. Subsequently, we show that these insights have practical implications: GCG’s universality can be efficiently enhanced (up to ×5 in some cases) at no additional computational cost, and can also be surgically mitigated, at least halving the attack’s success with minimal utility loss.1

Original languageEnglish
Pages (from-to)1028-1050
Number of pages23
JournalTransactions of the Association for Computational Linguistics
Volume14
DOIs
StatePublished - 2026

ASJC Scopus subject areas

  • Communication
  • Linguistics and Language
  • Human-Computer Interaction
  • Computer Science Applications
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'Universal Jailbreak Suffixes Are Strong Attention Hijackers'. Together they form a unique fingerprint.

Cite this