BERT失去耐心将无法抵御对抗性减速
BERT Lost Patience Won't Be Robust to Adversarial Slowdown
AI总结:
本文提出WAFFLE攻击,系统评估多出口语言模型对对抗性减速的鲁棒性,发现机制越复杂越脆弱,对抗训练无效但ChatGPT输入净化有效,呼吁开发高效鲁棒的多出口模型。
摘要:
在本文中,我们系统地评估了多出口语言模型在面对对抗性减速时的鲁棒性。为了审计其鲁棒性,我们设计了一种减速攻击,该攻击能够生成绕过早期出口点的自然对抗文本。我们以由此产生的WAFFLE攻击为工具,利用GLUE基准对三种多出口机制进行了针对对抗性减速的全面评估。随后,我们展示了在白盒和黑盒设置下,我们的攻击显著降低了这三种方法所提供的计算节省。机制越复杂,就越容易受到对抗性减速的影响。我们还对扰动后的文本输入进行了语言分析,识别出我们的攻击所产生的常见扰动模式,并将其与标准的对抗文本攻击进行了比较。此外,我们表明对抗训练无法有效抵御我们的减速攻击,但使用对话模型(例如ChatGPT)进行输入净化可以有效去除扰动。这一结果表明,未来需要开展研究以开发高效且鲁棒的多出口模型。我们的代码可在以下地址获取:https://github.com/ztcoalson/WAFFLE
英文摘要:
In this paper, we systematically evaluate the robustness of multi-exit language models against adversarial slowdown. To audit their robustness, we design a slowdown attack that generates natural adversarial text bypassing early-exit points. We use the resulting WAFFLE attack as a vehicle to conduct a comprehensive evaluation of three multi-exit mechanisms with the GLUE benchmark against adversarial slowdown. We then show our attack significantly reduces the computational savings provided by the three methods in both white-box and black-box settings. The more complex a mechanism is, the more vulnerable it is to adversarial slowdown. We also perform a linguistic analysis of the perturbed text inputs, identifying common perturbation patterns that our attack generates, and comparing them with standard adversarial text attacks. Moreover, we show that adversarial training is ineffective in defeating our slowdown attack, but input sanitization with a conversational model, e.g., ChatGPT, can remove perturbations effectively. This result suggests that future work is needed for developing efficient yet robust multi-exit models. Our code is available at: https://github.com/ztcoalson/WAFFLE
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。