BERT & Family Eat Word Salad: Experiments with Text Understanding

Ashim Gupta, Giorgi Kvernadze, Vivek Srikumar
1/10/2021
cs.CLcs.AI

Official code: utahnlp/word-salad (4 stars, last commit 2021-05-11).

Abstract

In this paper, we study the response of large models from the BERT family to incoherent inputs that should confuse any model that claims to understand natural language. We define simple heuristics to construct such examples.

Show full abstract

Our experiments show that state-of-the-art models consistently fail to recognize them as ill-formed, and instead produce high confidence predictions on them. As a consequence of this phenomenon, models trained on sentences with randomly permuted word order perform close to state-of-the-art models. To alleviate these issues, we show that if models are explicitly trained to recognize invalid inputs, they can be robust to such attacks without a drop in performance.

View on arXivView PDF

Code Implementations(1)

utahnlp/word-saladOfficial100%

Code for Paper BERT & Family Eat Word Salad: Experiments with Text Understanding at AAAI 2021

40Dec 16, 20205 years ago

Similar Papers

Cite this paper

@article{gupta2021bert,
  title  = {BERT & Family Eat Word Salad: Experiments with Text Understanding},
  author = {Ashim Gupta and Giorgi Kvernadze and Vivek Srikumar},
  year   = {2021},
  eprint = {2101.03453},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.03453}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.03453.svg)](https://codeofpaper.com/paper/2101.03453)

Discussion