arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.00399cs.CLcs.CR
收藏

重新思考语言模型后门检测评估

Rethinking Backdoor Detection Evaluation for Language Models

University of Southern California(南加州大学);University of California, Davis(加州大学戴维斯分校)

Jun Yan, Wenjie Jacky Mo, Xiang Ren, Robin Jia

AI总结:

本文通过操纵后门植入过程中的训练强度等因素,发现现有基于触发器反演或元分类器的后门检测方法在更激进或更保守的训练设置下检测能力显著下降,揭示了现有检测器稳健性不足及当前基准构建的局限。

摘要:

后门攻击是指模型在接收到攻击者指定的触发器时表现出恶意行为,这对依赖公开发布语言模型的从业者构成了重大安全风险。作为应对措施,后门检测方法旨在检测一个已发布的模型是否包含后门。尽管现有的后门检测方法在标准基准上对检测被植入后门的模型具有较高的准确率,但它们能否在真实环境中稳健地识别后门仍不清楚。在本文中,我们通过在植入后门过程中操纵不同因素来考察后门检测器的稳健性。我们发现,基于触发器反演或元分类器的现有方法的成功在很大程度上取决于模型在中毒数据上的训练强度。具体而言,以更激进或更保守的训练方式植入的后门比默认方式植入的后门显著更难检测。我们的结果凸显了现有后门检测器缺乏稳健性,以及当前基准构建中的局限性。

英文摘要:

Backdoor attacks, in which a model behaves maliciously when given an attacker-specified trigger, pose a major security risk for practitioners who depend on publicly released language models. As a countermeasure, backdoor detection methods aim to detect whether a released model contains a backdoor. While existing backdoor detection methods have high accuracy in detecting backdoored models on standard benchmarks, it is unclear whether they can robustly identify backdoors in the wild. In this paper, we examine the robustness of backdoor detectors by manipulating different factors during backdoor planting. We find that the success of existing methods based on trigger inversion or meta classifiers highly depends on how intensely the model is trained on poisoned data. Specifically, backdoors planted with more aggressive or more conservative training are significantly more difficult to detect than the default ones. Our results highlight a lack of robustness of existing backdoor detectors and the limitations in current benchmark construction.

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

↑