arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.18511cs.CRcs.AI
收藏

ELBA-Bench:面向大型语言模型的高效学习后门攻击基准

ELBA-Bench: An Efficient Learning Backdoor Attacks Benchmark for Large Language Models

School of Computer Science, Wuhan University(武汉大学计算机学院);National University of Singapore(新加坡国立大学);Beihang University(北京航空航天大学);Nanyang Technological University(南洋理工大学)

Xuxu Liu, Siyuan Liang, Mengya Han, Yong Luo, Aishan Liu, Xiantao Cai, Zheng He, Dacheng Tao

AI总结:

提出ELBA-Bench,一个统一的后门攻击基准框架,涵盖12种攻击方法、18个数据集和12个LLM,通过1300多个实验揭示了PEFT攻击的优势与泛化性,并提供了标准化研究工具箱。

摘要:

生成式大型语言模型在自然语言处理中至关重要,但它们容易受到后门攻击,其中微妙的触发器会破坏其行为。尽管针对LLM的后门攻击不断涌现,但现有基准在攻击覆盖范围、指标系统完整性、后门攻击对齐方面仍然有限。而且,由于资源访问限制,现有的预训练后门攻击在实践中是理想化的。因此,我们建立了ELBA-Bench,一个全面且统一的框架,允许攻击者通过参数高效微调(例如,LoRA)或无微调技术(例如,上下文学习)注入后门。ELBA-Bench提供了超过1300个实验,涵盖12种攻击方法、18个数据集和12个LLM的实现。大量实验为各种攻击策略的优势和局限性提供了新的宝贵发现。例如,PEFT攻击在分类任务中始终优于无微调方法,同时通过优化的触发器展现出强大的跨数据集泛化能力,从而增强了鲁棒性;与任务相关的后门优化技术或攻击提示,连同干净和对抗性演示,可以提高后门攻击成功率,同时保持模型在干净样本上的性能。此外,我们引入了一个为标准化后门攻击研究设计的通用工具箱,旨在推动这一关键领域的进一步进展。

英文摘要:

Generative large language models are crucial in natural language processing, but they are vulnerable to backdoor attacks, where subtle triggers compromise their behavior. Although backdoor attacks against LLMs are constantly emerging, existing benchmarks remain limited in terms of sufficient coverage of attack, metric system integrity, backdoor attack alignment. And existing pre-trained backdoor attacks are idealized in practice due to resource access constraints. Therefore we establish $\textit{ELBA-Bench}$, a comprehensive and unified framework that allows attackers to inject backdoor through parameter efficient fine-tuning ($\textit{e.g.,}$ LoRA) or without fine-tuning techniques ($\textit{e.g.,}$ In-context-learning). $\textit{ELBA-Bench}$ provides over 1300 experiments encompassing the implementations of 12 attack methods, 18 datasets, and 12 LLMs. Extensive experiments provide new invaluable findings into the strengths and limitations of various attack strategies. For instance, PEFT attack consistently outperform without fine-tuning approaches in classification tasks while showing strong cross-dataset generalization with optimized triggers boosting robustness; Task-relevant backdoor optimization techniques or attack prompts along with clean and adversarial demonstrations can enhance backdoor attack success while preserving model performance on clean samples. Additionally, we introduce a universal toolbox designed for standardized backdoor attack research, with the goal of propelling further progress in this vital area.

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

↑