paper-with-me

Papers

Mitigating the Safety Alignment Tax with Null-Space Constrained Policy Optimization

2025-12-12 · Yifan Niu, Han Xiao, Dongyi Liu, Nuo Chen, Jia Li arxiv

As Large Language Models (LLMs) are increasingly deployed in real-world applications, it is important to ensure their behaviors align with human values, societal norms, and ethical principles. However, safety alignment under Reinforcement Learning (RL) often suffers from forgetting learned general abilities, which is also known as the alignment tax. To address this issue, we introduce Null-Space constrained Policy Optimization (NSPO), a novel RL framework for LLM safety alignment while preserving their core abilities. The safety policy gradients are geometrically projected into the null space of general tasks, thereby mitigating the safety alignment tax. In addition, we theoretically prove that NSPO preserves the model's original core capabilities, while still guaranteeing a descent direction for effective safety alignment. Extensive experiments demonstrate that NSPO outperforms existing methods by a large margin, achieving state-of-the-art safety performance without sacrificing accuracy on general tasks, including math, code, and instruction-following tasks. Notably, NSPO is data-efficient and only requires 40% of public human-annotated safety data from PKU-SafeRLHF to achieve promising safety performance, without a large amount of mixed general tasks data in existing alignment methods.

📄 PDF Abstract BibTeX arXiv:2512.11391

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning

Similar Papers 제목 키워드 기반

Jailbreaking the Matrix: Nullspace Steering for Controlled Model Subversion

2026-04-11 · Vishal Pramanik, Maisha Maliha, Susmit Jha, Sumit Kumar Jha arxiv

Large language models remain vulnerable to jailbreak attacks -- inputs designed to bypass safety mechanisms and elicit harmful responses -- despite advances in alignment and instruction tuning. We propose Head-Masked Nul…

A Guardrail for Safety Preservation: When Safety-Sensitive Subspace Meets Harmful-Resistant Null-Space

2025-10-16 · Bingjie Zhang, Yibo Yang, Zhe Ren, Dandan Guo 외 arxiv

Large language models (LLMs) have achieved remarkable success in diverse tasks, yet their safety alignment remains fragile during adaptation. Even when fine-tuning on benign data or with low-rank adaptation, pre-trained …

Multilingual Safety Alignment Via Sparse Weight Editing

2026-02-26 · Jiaming Liang, Zhaoxin Wang, Handing Wang arxiv

Large Language Models (LLMs) exhibit significant safety disparities across languages, with low-resource languages (LRLs) often bypassing safety guardrails established for high-resource languages (HRLs) like English. Exis…

Reinforcement Learning

NPAT Null-Space Projected Adversarial Training Towards Zero Deterioration

2024-09-18 · Hanyi Hu, Qiao Han, Kui Chen, Yao Yang

To mitigate the susceptibility of neural networks to adversarial attacks, adversarial training has emerged as a prevalent and effective defense strategy. Intrinsically, this countermeasure incurs a trade-off, as it sacri…

Data Augmentation

Safety Alignment via Constrained Knowledge Unlearning

2025-05-24 · Zesheng Shi, Yucheng Zhou, Jing Li

Despite significant progress in safety alignment, large language models (LLMs) remain susceptible to jailbreak attacks. Existing defense mechanisms have not fully deleted harmful knowledge in LLMs, which allows such atta…

knowledge editingSafety Alignment