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

破解BERT:通过对抗攻击了解其命名实体识别漏洞

Breaking BERT: Understanding its Vulnerabilities for Named Entity Recognition through Adversarial Attack

Leiden Institute of Advanced Computer Science, Leiden University(莱顿大学高级计算机科学研究所)

Anne Dirkson, Suzan Verberne, Wessel Kraaij

摘要:

通用和特定领域的BERT模型都被广泛用于自然语言处理(NLP)任务。本文研究了BERT模型在对抗攻击中对命名实体识别(NER)输入数据变化的脆弱性。实验结果表明,BERT模型容易受到实体上下文变化的影响,有20.2%~ 45.0%的实体预测完全错误,另有29.3%~ 53.3%的实体预测部分错误。BERT模型似乎最容易受到实体的本地上下文的变化的影响,并且通常单个变化就足以欺骗模型。从头开始训练的特定于领域的BERT模型(SciBERT)比原始BERT模型或保留BERT词汇的特定于领域的模型(BioBERT)更脆弱。我们还发现,BERT模型是特别容易受到紧急实体。我们的研究结果图表BERT模型NER的弱点,并强调进一步研究发现和减少这些弱点的重要性。

英文摘要:

Both generic and domain-specific BERT models are widely used for natural language processing (NLP) tasks. In this paper we investigate the vulnerability of BERT models to variation in input data for Named Entity Recognition (NER) through adversarial attack. Experimental results show that BERT models are vulnerable to variation in the entity context with 20.2 to 45.0% of entities predicted completely wrong and another 29.3 to 53.3% of entities predicted wrong partially. BERT models seem most vulnerable to changes in the local context of entities and often a single change is sufficient to fool the model. The domain-specific BERT model trained from scratch (SciBERT) is more vulnerable than the original BERT model or the domain-specific model that retains the BERT vocabulary (BioBERT). We also find that BERT models are particularly vulnerable to emergent entities. Our results chart the vulnerabilities of BERT models for NER and emphasize the importance of further research into uncovering and reducing these weaknesses.

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

↑