BERT & Family Eat Word Salad: Experiments with Text Understanding
Ashim Gupta, Giorgi Kvernadze, Vivek Srikumar
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. 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Don't Retrain, Just Rewrite: Countering Adversarial Perturbations by Rewriting Text cites Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
- Rissanen Data Analysis: Examining Dataset Characteristics via Description Length cites BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
- Why is Winoground Hard? Investigating Failures in Visuolinguistic Compositionality cites Climbing towards NLU: On Meaning, Form, and Understanding in the Age of Data
Cited by top-tier papers8
- Better Uncertainty Calibration via Proper Scores for Classification and BeyondSebastian G. Gruber, Florian BuettnerNeurIPS 2022 · 88 citations
- Rissanen Data Analysis: Examining Dataset Characteristics via Description LengthEthan Perez, Douwe Kiela, Kyunghyun ChoICML 2021 · 25 citations
- Why is Winoground Hard? Investigating Failures in Visuolinguistic CompositionalityAnuj Diwan, Layne Berry, Eunsol Choi, David Harwath et al.EMNLP 2022 · 15 citations
- Don't Retrain, Just Rewrite: Countering Adversarial Perturbations by Rewriting TextAshim Gupta, Carter Wood Blum, Temma Choji, Yingjie Fei et al.ACL 2023 · 7 citations
- Studying word order through iterative shufflingNikolay Malkin, Sameera Lanka, Pranav Goel, Nebojsa JojicEMNLP 2021 · 2 citations
Builds on6
- Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 citations
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
- Climbing towards NLU: On Meaning, Form, and Understanding in the Age of DataEmily M. Bender, Alexander KollerACL 2020 · 914 citations
- Calibrating Deep Neural Networks using Focal LossJishnu Mukhoti, Viveka Kulharia, Amartya Sanyal, Stuart Golodetz et al.NeurIPS 2020 · 674 citations
- ELECTRA: Pre-training Text Encoders as Discriminators Rather Than GeneratorsKevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. ManningICLR 2020 · 541 citations
Related papers
- UnNatural Language InferenceKoustuv Sinha, Prasanna Parthasarathi, Joelle Pineau, Adina WilliamsACL 2021
- Out of Order: How important is the sequential order of words in a sentence in Natural Language Understanding tasks?Thang M. Pham, Trung Bui, Long Mai, Anh NguyenACL Findings 2021 · 81 citations
- Evaluating the Robustness of Neural Language Models to Input PerturbationsMilad Moradi, Matthias SamwaldEMNLP 2021 · 64 citations
- Robustness to Modification with Shared Words in Paraphrase IdentificationZhouxing Shi, Minlie HuangEMNLP Findings 2020 · 25 citations
- Interpreting the Robustness of Neural NLP Models to Textual PerturbationsYunxiang Zhang, Liangming Pan, Samson Tan, Min-Yen KanACL Findings 2022 · 13 citations
