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

基于分层权重中毒的预训练模型后门攻击

Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoning

Fudan University(复旦大学);Pazhou Lab(琶洲实验室)

Linyang Li, Demin Song, Xiaonan Li, Jiehang Zeng, Ruotian Ma, Xipeng Qiu

摘要:

\textbf{P} re- \textbf{T} rained \textbf{M}模型\textbf{s}已被广泛应用,最近被证明易受后门攻击的影响:发布的预训练权重可能会被某些触发器恶意毒化。当触发器被激活时,即使是经过微调的模型也会预测预定义的标签,从而造成安全威胁。这些由中毒方法产生的后门可以通过在微调期间改变超参数来消除,或者通过找到触发器来检测。在本文中,我们提出了一种更强的权重中毒攻击方法,引入了分层权重中毒策略来植入更深的后门;我们还引入了一种不易被检测到的组合触发器。文本分类实验结果表明,以往的防御方法无法抵抗本文提出的权重中毒方法,这表明本文提出的方法具有广泛的适用性,并为今后的模型鲁棒性研究提供了参考。

英文摘要:

\textbf{P}re-\textbf{T}rained \textbf{M}odel\textbf{s} have been widely applied and recently proved vulnerable under backdoor attacks: the released pre-trained weights can be maliciously poisoned with certain triggers. When the triggers are activated, even the fine-tuned model will predict pre-defined labels, causing a security threat. These backdoors generated by the poisoning methods can be erased by changing hyper-parameters during fine-tuning or detected by finding the triggers. In this paper, we propose a stronger weight-poisoning attack method that introduces a layerwise weight poisoning strategy to plant deeper backdoors; we also introduce a combinatorial trigger that cannot be easily detected. The experiments on text classification tasks show that previous defense methods cannot resist our weight-poisoning method, which indicates that our method can be widely applied and may provide hints for future model robustness studies.

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

↑