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

Backdoor4Good: 对LLMs中有益后门应用的基准测试

Backdoor4Good: Benchmarking Beneficial Uses of Backdoors in LLMs

Singapore Management University(新加坡国立管理学院);The University of Melbourne(墨尔本大学);Fudan University(复旦大学)

Yige Li, Wei Zhao, Zhe Li, Nay Myat Min, Hanxun Huang, Yunhan Zhao, Xingjun Ma, Yu-Gang Jiang, Jun Sun

AI总结:

Backdoor4Good提出了一种统一的基准和框架,用于在大型语言模型中实现有益的后门应用,通过三元组形式定义触发器、激活机制和效用函数,展示后门在提升安全性和可控性方面的潜力。

摘要:

后门机制传统上被研究为安全威胁,会破坏机器学习模型的完整性。然而,同样的机制——通过输入触发器激活特定行为——也可以作为可控且可审计的接口,用于可信模型行为。在本工作中,我们提出了Backdoor4Good (B4G),一个统一的基准和框架,用于大型语言模型(LLMs)中的有益后门应用。不同于传统后门研究集中在攻击和防御上,B4G将后门条件用于增强安全、可控性和问责性的有益任务。它在三元组形式下正式化了有益后门学习,$(T, A, U)$代表触发器、激活机制和效用函数,并实现了涵盖四个以信任为中心的应用的基准。通过在Llama3.1-8B、Gemma-2-9B、Qwen2.5-7B和Llama2-13B上进行广泛的实验,我们显示有益后门可以实现高可控性、抗篡改性和隐蔽性,同时保持干净任务性能。我们的发现表明,后门不需要本质上是恶意的;当正确设计时,它们可以作为模块化、可解释和有益的构建块,用于可信的人工智能系统。我们的代码和数据集可在https://github.com/bboylyg/BackdoorLLM/B4G上获得。

英文摘要:

Backdoor mechanisms have traditionally been studied as security threats that compromise the integrity of machine learning models. However, the same mechanism -- the conditional activation of specific behaviors through input triggers -- can also serve as a controllable and auditable interface for trustworthy model behavior. In this work, we present \textbf{Backdoor4Good (B4G)}, a unified benchmark and framework for \textit{beneficial backdoor} applications in large language models (LLMs). Unlike conventional backdoor studies focused on attacks and defenses, B4G repurposes backdoor conditioning for Beneficial Tasks that enhance safety, controllability, and accountability. It formalizes beneficial backdoor learning under a triplet formulation $(T, A, U)$, representing the \emph{Trigger}, \emph{Activation mechanism}, and \emph{Utility function}, and implements a benchmark covering four trust-centric applications. Through extensive experiments across Llama3.1-8B, Gemma-2-9B, Qwen2.5-7B, and Llama2-13B, we show that beneficial backdoors can achieve high controllability, tamper-resistance, and stealthiness while preserving clean-task performance. Our findings demonstrate new insights that backdoors need not be inherently malicious; when properly designed, they can serve as modular, interpretable, and beneficial building blocks for trustworthy AI systems. Our code and datasets are available at https://github.com/bboylyg/BackdoorLLM/B4G.

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

↑