Jailbreak Attack Initializations as Extractors of Compliance Directions

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Levi, Amit, Himelstein, Rom, Nemcovsky, Yaniv, Mendelson, Avi, Baskin, Chaim
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912634047037440
author Levi, Amit
Himelstein, Rom
Nemcovsky, Yaniv
Mendelson, Avi
Baskin, Chaim
author_facet Levi, Amit
Himelstein, Rom
Nemcovsky, Yaniv
Mendelson, Avi
Baskin, Chaim
contents Safety-aligned LLMs respond to prompts with either compliance or refusal, each corresponding to distinct directions in the model's activation space. Recent works show that initializing attacks via self-transfer from other prompts significantly enhances their performance. However, the underlying mechanisms of these initializations remain unclear, and attacks utilize arbitrary or hand-picked initializations. This work presents that each gradient-based jailbreak attack and subsequent initialization gradually converge to a single compliance direction that suppresses refusal, thereby enabling an efficient transition from refusal to compliance. Based on this insight, we propose CRI, an initialization framework that aims to project unseen prompts further along compliance directions. We demonstrate our approach on multiple attacks, models, and datasets, achieving an increased attack success rate (ASR) and reduced computational overhead, highlighting the fragility of safety-aligned LLMs. A reference implementation is available at: https://amit1221levi.github.io/CRI-Jailbreak-Init-LLMs-evaluation.
format Preprint
id arxiv_https___arxiv_org_abs_2502_09755
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Jailbreak Attack Initializations as Extractors of Compliance Directions
Levi, Amit
Himelstein, Rom
Nemcovsky, Yaniv
Mendelson, Avi
Baskin, Chaim
Cryptography and Security
Machine Learning
Safety-aligned LLMs respond to prompts with either compliance or refusal, each corresponding to distinct directions in the model's activation space. Recent works show that initializing attacks via self-transfer from other prompts significantly enhances their performance. However, the underlying mechanisms of these initializations remain unclear, and attacks utilize arbitrary or hand-picked initializations. This work presents that each gradient-based jailbreak attack and subsequent initialization gradually converge to a single compliance direction that suppresses refusal, thereby enabling an efficient transition from refusal to compliance. Based on this insight, we propose CRI, an initialization framework that aims to project unseen prompts further along compliance directions. We demonstrate our approach on multiple attacks, models, and datasets, achieving an increased attack success rate (ASR) and reduced computational overhead, highlighting the fragility of safety-aligned LLMs. A reference implementation is available at: https://amit1221levi.github.io/CRI-Jailbreak-Init-LLMs-evaluation.
title Jailbreak Attack Initializations as Extractors of Compliance Directions
topic Cryptography and Security
Machine Learning
url https://arxiv.org/abs/2502.09755