SABER: Uncovering Vulnerabilities in Safety Alignment via Cross-Layer Residual Connection

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Joshi, Maithili, Nandi, Palash, Chakraborty, Tanmoy
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915503134474240
author Joshi, Maithili
Nandi, Palash
Chakraborty, Tanmoy
author_facet Joshi, Maithili
Nandi, Palash
Chakraborty, Tanmoy
contents Large Language Models (LLMs) with safe-alignment training are powerful instruments with robust language comprehension capabilities. These models typically undergo meticulous alignment procedures involving human feedback to ensure the acceptance of safe inputs while rejecting harmful or unsafe ones. However, despite their massive scale and alignment efforts, LLMs remain vulnerable to jailbreak attacks, where malicious users manipulate the model to produce harmful outputs that it was explicitly trained to avoid. In this study, we find that the safety mechanisms in LLMs are predominantly embedded in the middle-to-late layers. Building on this insight, we introduce a novel white-box jailbreak method, SABER (Safety Alignment Bypass via Extra Residuals), which connects two intermediate layers $s$ and $e$ such that $s < e$, through a residual connection. Our approach achieves a 51% improvement over the best-performing baseline on the HarmBench test set. Furthermore, SABER induces only a marginal shift in perplexity when evaluated on the HarmBench validation set. The source code is publicly available at https://github.com/PalGitts/SABER.
format Preprint
id arxiv_https___arxiv_org_abs_2509_16060
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SABER: Uncovering Vulnerabilities in Safety Alignment via Cross-Layer Residual Connection
Joshi, Maithili
Nandi, Palash
Chakraborty, Tanmoy
Machine Learning
Computation and Language
Large Language Models (LLMs) with safe-alignment training are powerful instruments with robust language comprehension capabilities. These models typically undergo meticulous alignment procedures involving human feedback to ensure the acceptance of safe inputs while rejecting harmful or unsafe ones. However, despite their massive scale and alignment efforts, LLMs remain vulnerable to jailbreak attacks, where malicious users manipulate the model to produce harmful outputs that it was explicitly trained to avoid. In this study, we find that the safety mechanisms in LLMs are predominantly embedded in the middle-to-late layers. Building on this insight, we introduce a novel white-box jailbreak method, SABER (Safety Alignment Bypass via Extra Residuals), which connects two intermediate layers $s$ and $e$ such that $s < e$, through a residual connection. Our approach achieves a 51% improvement over the best-performing baseline on the HarmBench test set. Furthermore, SABER induces only a marginal shift in perplexity when evaluated on the HarmBench validation set. The source code is publicly available at https://github.com/PalGitts/SABER.
title SABER: Uncovering Vulnerabilities in Safety Alignment via Cross-Layer Residual Connection
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2509.16060