arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.11283cs.LG
收藏

AdvBDGen:针对LLM对齐的对抗强化提示特定模糊后门生成器

AdvBDGen: Adversarially Fortified Prompt-Specific Fuzzy Backdoor Generator Against LLM Alignment

University of Maryland(马里兰大学);JPMorgan AI Research(摩根大通人工智能研究);University of Maryland Capital One(马里兰大学Capital One)

Pankayaraj Pathmanathan, Udari Madhushani Sehwag, Michael-Andrei Panaitescu-Liess, Furong Huang

AI总结:

本文提出AdvBDGen框架,利用对抗强化的生成器-判别器自动生成提示特定的隐蔽后门触发器,仅用3%微调数据即可植入LLM,实现跨模型迁移、抗扰动和难移除的越狱攻击,揭示了对齐过程中后门防御的紧迫性。

摘要:

随着基于人类反馈的强化学习(RLHF)在对齐大语言模型(LLM)中的日益普及,对齐过程中后门植入的风险也随之增加,导致意外和有害的行为。现有的后门触发器通常局限于固定的词语模式,使其在数据清洗过程中可被检测,并在中毒后易于移除。在本工作中,我们探索使用提示特定的改写作为后门触发器,以增强其在LLM对齐过程中的隐蔽性和抗移除能力。我们提出AdvBDGen,一个经过对抗强化的生成式微调框架,能够自动生成有效、隐蔽且跨模型可迁移的提示特定后门。AdvBDGen采用生成器-判别器对,并通过对抗方进行强化,以确保后门的可植入性和隐蔽性。它仅需使用3%的微调数据即可构建并成功植入复杂触发器。一旦植入,这些后门可在推理过程中越狱LLM,与传统的常量触发器相比,在面对扰动时表现出更强的稳定性,并且更难被移除。这些发现凸显了研究界迫切需要开发更强大的防御机制,以应对LLM对齐中的对抗性后门威胁。

英文摘要:

With the growing adoption of reinforcement learning with human feedback (RLHF) for aligning large language models (LLMs), the risk of backdoor installation during alignment has increased, leading to unintended and harmful behaviors. Existing backdoor triggers are typically limited to fixed word patterns, making them detectable during data cleaning and easily removable post-poisoning. In this work, we explore the use of prompt-specific paraphrases as backdoor triggers, enhancing their stealth and resistance to removal during LLM alignment. We propose AdvBDGen, an adversarially fortified generative fine-tuning framework that automatically generates prompt-specific backdoors that are effective, stealthy, and transferable across models. AdvBDGen employs a generator-discriminator pair, fortified by an adversary, to ensure the installability and stealthiness of backdoors. It enables the crafting and successful installation of complex triggers using as little as 3% of the fine-tuning data. Once installed, these backdoors can jailbreak LLMs during inference, demonstrate improved stability against perturbations compared to traditional constant triggers, and are more challenging to remove. These findings underscore an urgent need for the research community to develop more robust defenses against adversarial backdoor threats in LLM alignment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑