Guardado en:
Detalles Bibliográficos
Autores principales: Peng, Songping, Zhang, Zhiheng, Zeng, Daojian, Jiang, Lincheng, Gao, Xieping
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:https://arxiv.org/abs/2604.12384
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910128182132736
author Peng, Songping
Zhang, Zhiheng
Zeng, Daojian
Jiang, Lincheng
Gao, Xieping
author_facet Peng, Songping
Zhang, Zhiheng
Zeng, Daojian
Jiang, Lincheng
Gao, Xieping
contents Safety alignment in Large Language Models (LLMs) remains highly fragile during fine-tuning, where even benign adaptation can degrade pre-trained refusal behaviors and enable harmful responses. Existing defenses typically constrain either weights or activations in isolation, without considering their coupled effects on safety. In this paper, we first theoretically demonstrate that constraining either weights or activations alone is insufficient for safety preservation. To robustly preserve safety alignment, we propose Coupled Weight and Activation Constraints (CWAC), a novel approach that simultaneously enforces a precomputed safety subspace on weight updates and applies targeted regularization to safety-critical features identified by sparse autoencoders. Extensive experiments across four widely used LLMs and diverse downstream tasks show that CWAC consistently achieves the lowest harmful scores with minimal impact on fine-tuning accuracy, substantially outperforming strong baselines even under high harmful data ratios.
format Preprint
id arxiv_https___arxiv_org_abs_2604_12384
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Preventing Safety Drift in Large Language Models via Coupled Weight and Activation Constraints
Peng, Songping
Zhang, Zhiheng
Zeng, Daojian
Jiang, Lincheng
Gao, Xieping
Artificial Intelligence
I.2.7
Safety alignment in Large Language Models (LLMs) remains highly fragile during fine-tuning, where even benign adaptation can degrade pre-trained refusal behaviors and enable harmful responses. Existing defenses typically constrain either weights or activations in isolation, without considering their coupled effects on safety. In this paper, we first theoretically demonstrate that constraining either weights or activations alone is insufficient for safety preservation. To robustly preserve safety alignment, we propose Coupled Weight and Activation Constraints (CWAC), a novel approach that simultaneously enforces a precomputed safety subspace on weight updates and applies targeted regularization to safety-critical features identified by sparse autoencoders. Extensive experiments across four widely used LLMs and diverse downstream tasks show that CWAC consistently achieves the lowest harmful scores with minimal impact on fine-tuning accuracy, substantially outperforming strong baselines even under high harmful data ratios.
title Preventing Safety Drift in Large Language Models via Coupled Weight and Activation Constraints
topic Artificial Intelligence
I.2.7
url https://arxiv.org/abs/2604.12384