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

BERT-Defense:一种基于BERT的认知启发正交对抗攻击概率模型

BERT-Defense: A Probabilistic Model Based on BERT to Combat Cognitively Inspired Orthographic Adversarial Attacks

Center of Cognitive Science(认知科学中心);Natural Language Learning Group(自然语言学习组);Technische Universität Darmstadt(达姆施塔特工业大学)

Yannik Keller, Jan Mackensen, Steffen Eger

摘要:

对抗攻击暴露了深度学习系统的重要盲点。虽然单词级和重复级攻击场景主要处理查找欺骗NLP模型的输入的语义释义,但字符级攻击通常会将错别字插入输入流。人们普遍认为,这些更容易通过拼写纠正模块进行防御。在这项工作中,我们表明,标准的拼写检查器和Pappii等人的方法。(2019),训练以防止插入,删除和交换,在Eger和Benz(2020)最近提出的字符级基准上表现不佳,其中包括更具挑战性的攻击,如视觉和语音扰动以及丢失的分词分割。相比之下,我们表明,一种未经训练的迭代方法,它将上下文无关的字符级别信息与来自BERT的掩蔽语言建模的上下文相关信息相结合,可以与来自Amazon Mechanical Turk(AMT)的通过3次学习监督的人类人群工作者相提并论。

英文摘要:

Adversarial attacks expose important blind spots of deep learning systems. While word- and sentence-level attack scenarios mostly deal with finding semantic paraphrases of the input that fool NLP models, character-level attacks typically insert typos into the input stream. It is commonly thought that these are easier to defend via spelling correction modules. In this work, we show that both a standard spellchecker and the approach of Pruthi et al. (2019), which trains to defend against insertions, deletions and swaps, perform poorly on the character-level benchmark recently proposed in Eger and Benz (2020) which includes more challenging attacks such as visual and phonetic perturbations and missing word segmentations. In contrast, we show that an untrained iterative approach which combines context-independent character-level information with context-dependent information from BERT's masked language modeling can perform on par with human crowd-workers from Amazon Mechanical Turk (AMT) supervised via 3-shot learning.

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

↑