SDD:针对恶意微调的自降解防御
SDD: Self-Degraded Defense against Malicious Fine-tuning
AI总结:
针对开源大语言模型易被恶意微调绕过安全防护的问题,提出自降解防御框架SDD,通过让模型对有害提示生成高质量无关回复,使恶意微调后模型通用能力大幅下降而无法执行有害指令,实验验证了其防御有效性。
摘要:
开源大语言模型(LLMs)常采用安全对齐方法抵御有害指令,但近期研究表明,在有害数据上对这些LLM进行恶意微调可轻易绕过这类防护机制。为应对该问题,我们从理论层面揭示了恶意微调奏效的原因,并明确了潜在防御策略。基于理论分析,我们提出自降解防御(Self-Degraded Defense, SDD)框架,该框架促使LLM对有害提示生成高质量但不相关的回复。当攻击者尝试恶意微调时,经SDD对齐的LLM的通用能力会显著下降,使其无法遵循有害指令。我们的实验结果证实了SDD抵御此类攻击的有效性。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。