使生成模型退化:数据投毒攻击的力量
Turning Generative Models Degenerate: The Power of Data Poisoning Attacks
AI总结:
本研究系统探讨了通过前缀微调对大型语言模型进行数据投毒攻击,发现超参数和触发器设计是关键因素,且现有防御无效,为AI安全防御提供参考。
摘要:
由第三方训练的大型语言模型(LLMs)的日益普及引发了重大的安全担忧。特别是,恶意行为者可以通过投毒攻击引入后门,以生成不良输出。尽管此类攻击在图像领域和分类任务中已被广泛研究,但在自然语言生成(NLG)任务中仍未得到充分探索。为弥补这一空白,我们针对LLMs的微调阶段,通过前缀微调(prefix-tuning)这一参数高效微调(PEFT)方法,对各种投毒技术进行了调查。我们评估了它们在两项生成任务——文本摘要和文本补全——中的有效性,并引入了新的指标来量化此类NLG投毒攻击的成功率和隐蔽性。通过实验,我们发现前缀微调的超参数和触发器设计是影响攻击成功率和隐蔽性的最关键因素。此外,我们证明现有的流行防御措施对我们的投毒攻击无效。我们的研究首次系统地探讨了通过PEFT在微调期间针对NLG任务的投毒攻击,覆盖了广泛的触发器和攻击设置。我们希望我们的发现能帮助AI安全社区开发针对此类威胁的有效防御措施。
英文摘要:
The increasing use of large language models (LLMs) trained by third parties raises significant security concerns. In particular, malicious actors can introduce backdoors through poisoning attacks to generate undesirable outputs. While such attacks have been extensively studied in image domains and classification tasks, they remain underexplored for natural language generation (NLG) tasks. To address this gap, we conduct an investigation of various poisoning techniques targeting the LLM's fine-tuning phase via prefix-tuning, a Parameter Efficient Fine-Tuning (PEFT) method. We assess their effectiveness across two generative tasks: text summarization and text completion; and we also introduce new metrics to quantify the success and stealthiness of such NLG poisoning attacks. Through our experiments, we find that the prefix-tuning hyperparameters and trigger designs are the most crucial factors to influence attack success and stealthiness. Moreover, we demonstrate that existing popular defenses are ineffective against our poisoning attacks. Our study presents the first systematic approach to understanding poisoning attacks targeting NLG tasks during fine-tuning via PEFT across a wide range of triggers and attack settings. We hope our findings will aid the AI security community in developing effective defenses against such threats.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。