The Root Causes and Defense Methods of the Security Degradation of Large-Scale Models after Fine-Tuning
Abstract
After undergoing safety alignment, large language models may still lose their safety safeguards during third-party fine-tuning, resulting in a degradation of safety. Previous studies have advanced rapidly on both the offensive and defensive sides. However, the defensive effectiveness is limited by training parameters and attack patterns, lacks a unified explanation, and is difficult to support pre-event risk control. Therefore, this paper traces the evolution from explicit harmful fine-tuning to benign data-induced degradation attacks, with the characterization of root causes of similarity as the main thread. The attacks are classified into an evolving process with decreasing thresholds, and the defenses are categorized according to the intervention positions as alignment reinforcement, fine-tuning constraints, and post-processing fixes, etc. The evidence and failure conditions of each route's representative work under the experimental settings are compared, and the relationship between the characterization of similarity and security degradation is further analyzed. The review analysis results indicate that the attack methods are evolving from explicit harmful data to covert and benign forms. The current defense effectiveness is still significantly influenced by the training configuration and the form of the attack data. The degree of similarity in representation between the upstream safety-aligned data and the downstream fine-tuning data is significantly correlated with the degree of safety degradation. Therefore, this indicator is expected to be used for risk assessment before fine-tuning and to provide quantifiable prior information for the subsequent design of defense mechanisms.
References
- Qi, X., Zeng, Y., Xie, T., Chen, P. Y., Jia, R., Mittal, P., & Henderson, P. (2023). Fine-tuning aligned language models compromises safety, even when users do not intend to!, 2023. https://doi.org/10.48550/arXiv.2310.03693
- Hsiung, L., Pang, T., Tang, Y. C., Song, L., Ho, T. Y., Chen, P. Y., & Yang, Y. (2026, July). Why LLM safety guardrails collapse after fine-tuning: A similarity analysis between alignment and fine-tuning datasets. InProceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)(pp. 16601-16619). https://doi.org/10.18653/v1/2026.acl-long.756
- Huang, T., Hu, S., Ilhan, F., Tekin, S. F., & Liu, L. (2025). Virus: Harmful fine-tuning attack for large language models bypassing guardrail moderation. arXiv preprint arXiv: 2501.17433.https: //doi.org/10.48550/arXiv.2501.17433
- Guan, Z., Hu, M., Zhu, R., Li, S., & Vullikanti, A. (2025). Benign samples matter! Fine-tuning on outlier benign samples severely breaks safety. arXiv preprint arXiv: 2505.06843.https: //doi.org/10.48550/arXiv.2505.06843
- Huang, T., Hu, S., Ilhan, F., Tekin, S., & Liu, L. (2025, May). Booster: Tackling harmful fine-tuning for large language models via attenuating harmful perturbation. InInternational Conference on Learning Representations (Volume 2025), 67202–67226. https://doi.org/10.48550/arXiv.2409.01586
- Nguyen, Q., Le, T., Wu, J., Bui, A., & Harandi, M. (2026, April). Antibody: Strengthening defense against harmful fine-tuning for large language models via attenuating harmful gradient influence. InInternational Conference on Learning Representations (Volume 2026), 121713–121741. https://doi.org/10.48550/arXiv.2603.00498
- Huang, T., Bhattacharya, G., Joshi, P., Kimball, J., & Liu, L. (2024). Antidote: Post-fine-tuning safety alignment for large language models against harmful fine-tuning.arXiv preprint arXiv:2408.09600. https://doi.org/10.48550/arXiv.2408.09600
- Lu, N., Liu, S., Wu, J., Chen, W., Zhang, Z., Ong, Y.-S., Wang, Q., & Tang, K. (2025). Safe delta: Consistently preserving safety when fine-tuning LLMs on diverse datasets.International Conference on Machine Learning (ICML). https://doi.org/10.48550/arXiv.2505.12038
- Liu, X., Chen, S., Dong, X., Liu, Y., Zhao, X., Wang, H., Yan, Y., Chen, H., & Chen, Z. (2026). Representation interventions enable lifelong knowledge memory control in LLMs. InProceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 5414–5436. Association for Computational Linguistics. https://doi.org/10.18653/v1/2026.acl-long.246
- Jeong, J., Bae, S., Jung, Y., Hwang, J., & Yang, E. (2025). Playing the fool: Jailbreaking LLMs and multimodal LLMs with out-of-distribution strategy. InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 29937–29946. IEEE. https: //doi.org/10.1109/CVPR52734.2025.02786