SDD: Self-Degraded Defense against Malicious Fine-tuning
Open-source Large Language Models (LLMs) often employ safety alignment methods to resist harmful instructions.However, recent research shows that maliciously fine-tuning these LLMs on harmful data can easily bypass these safeguards.To counter this, we theoretically uncover why malicious fine-tuning succeeds and identify potential defense strategies.Building on the theoretical analysis, we introduce the Self-Degraded Defense (SDD) framework.SDD encourages LLMs to produce high-quality but irrelevant responses to harmful prompts.When attackers attempt malicious fine-tuning, the general capability of the LLM aligned by SDD will significantly decrease, rendering it incapable of following harmful instructions.Our experimental results confirm SDD's effectiveness against such attacks.Our code is available at https://github.com/ZeroNLP/SDD.
Authors
- W.W. Lu
- Zixuan Chen (ORCID: https://orcid.org/0000-0003-0758-9738)
- Xin Lin (ORCID: https://orcid.org/0000-0002-6230-438X)
- Ziqian Zeng (ORCID: https://orcid.org/0000-0003-0060-7956)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.acl-long.1412
- Primary Topic
- Physical Unclonable Functions (PUFs) and Hardware Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Fundamental Research Funds for the Central Universities
- Basic and Applied Basic Research Foundation of Guangdong Province