Publication Type
Conference Proceeding Article
Version
publishedVersion
Publication Date
8-2026
Abstract
Safety alignment of large language models (LLMs) has been gaining increasing attention. However, current safety-aligned LLMs suffer from the fragile and imbalanced safety mechanisms, which can still be induced to generate unsafe responses, exhibit over-safety by rejecting safe user inputs, and fail to preserve general utility after safety alignment. To this end, we propose a novel post safety alignment (PSA) method to address these inherent and emerging safety challenges, including safety enhancement, over-safety mitigation, and utility preservation. In specific, we introduce SafePatching, a novel framework for comprehensive PSA, where two distinct safety patches are developed on the harmful data to enhance safety and mitigate over-safety concerns, and then seamlessly integrated into the target LLM backbone without compromising its utility. Extensive experiments on four representative aligned LLMs, including LLaMA-2/3, Gemma and Mistral, show that SafePatching achieves a more comprehensive PSA than baseline methods, further optimizing the balance between being helpful and harmless in current aligned LLMs. Also, SafePatching demonstrates its superiority in continual PSA scenarios.
Keywords
AI Ethics, Trust, Fairness: Safety and robustness, Natural Language Processing: Language models
Discipline
Artificial Intelligence and Robotics
Research Areas
Data Science and Engineering
Areas of Excellence
Digital transformation
Publication
Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence,(IJCAI-26), Bremen, Germany, August 15 - 21
First Page
880
Last Page
888
ISBN
978-1-956792-09-6
Identifier
10.24963/ijcai.2026/99
City or Country
USA
Citation
ZHAO, Weixiang; HU, Yulin; DENG, Yang; GUO, Jiahe; SUI, Xingyu; ZHAO, Yanyan; QIN, Bing; and LIU, Ting.
Towards comprehensive post safety alignment of large language models via safety patching. (2026). Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence,(IJCAI-26), Bremen, Germany, August 15 - 21. 880-888.
Available at: https://ink.library.smu.edu.sg/sis_research/11451
Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.