Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottlenecks

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lu, Guoxin, Sha, Letian, Wang, Qing, Sun, Peijie, Zhou, Hao, Dai, Hua, Xiao, Fu
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915990760062976
author Lu, Guoxin
Sha, Letian
Wang, Qing
Sun, Peijie
Zhou, Hao
Dai, Hua
Xiao, Fu
author_facet Lu, Guoxin
Sha, Letian
Wang, Qing
Sun, Peijie
Zhou, Hao
Dai, Hua
Xiao, Fu
contents The safety alignment of Large Language Models (LLMs) remains vulnerable to Harmful Fine-tuning (HFT). While existing defenses impose constraints on parameters, gradients, or internal representations, we observe that they can be effectively circumvented under persistent HFT. Our analysis traces this failure to the inherent redundancy of the high-dimensional parameter space: attackers exploit optimization trajectories that are orthogonal to defense constraints to restore harmful capabilities while deceptively adhering to safety restrictions. To address this, we propose Safety Bottleneck Regularization (SBR). SBR shifts the defensive focus from the redundant parameter space to the unembedding layer, which serves as a geometric bottleneck. By anchoring the final hidden states of harmful queries to those of the safety-aligned model, SBR enables the model to maintain safe responses even under persistent HFT. Extensive experiments confirm SBR's effectiveness, demonstrating that utilizing just a single safety anchor is sufficient to reduce the Harmful Score to $<$10 while preserving competitive performance on benign downstream tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2605_05995
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottlenecks
Lu, Guoxin
Sha, Letian
Wang, Qing
Sun, Peijie
Zhou, Hao
Dai, Hua
Xiao, Fu
Cryptography and Security
Artificial Intelligence
Computation and Language
The safety alignment of Large Language Models (LLMs) remains vulnerable to Harmful Fine-tuning (HFT). While existing defenses impose constraints on parameters, gradients, or internal representations, we observe that they can be effectively circumvented under persistent HFT. Our analysis traces this failure to the inherent redundancy of the high-dimensional parameter space: attackers exploit optimization trajectories that are orthogonal to defense constraints to restore harmful capabilities while deceptively adhering to safety restrictions. To address this, we propose Safety Bottleneck Regularization (SBR). SBR shifts the defensive focus from the redundant parameter space to the unembedding layer, which serves as a geometric bottleneck. By anchoring the final hidden states of harmful queries to those of the safety-aligned model, SBR enables the model to maintain safe responses even under persistent HFT. Extensive experiments confirm SBR's effectiveness, demonstrating that utilizing just a single safety anchor is sufficient to reduce the Harmful Score to $<$10 while preserving competitive performance on benign downstream tasks.
title Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottlenecks
topic Cryptography and Security
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2605.05995