mlsanityData to 7 Oct 2026

On the Robustness of Language Encoders against Grammatical Errors

arXiv 2005.05683 ↗First posted 12 May 2020cs.CLcited by 18

Not on the map. Why?

Abstract (arXiv)

We conduct a thorough study to diagnose the behaviors of pre-trained language encoders (ELMo, BERT, and RoBERTa) when confronted with natural grammatical errors. Specifically, we collect real grammatical errors from non-native speakers and conduct adversarial attacks to simulate these errors on clean text data. We use this approach to facilitate debugging models on downstream applications. Results confirm that the performance of all tested models is affected but the degree of impact varies. To interpret model behaviors, we further design a linguistic acceptability task to reveal their abilities in identifying ungrammatical sentences and the position of errors. We find that fixed contextual encoders with a simple classifier trained on the prediction of sentence correctness are able to locate error positions. We also design a cloze test for BERT and discover that BERT captures the interaction between errors and specific tokens in context. Our results shed light on understanding the robustness and behaviors of language encoders against grammatical errors.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 May 2020.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2021: 5; 2022: 5; 2023: 3; 2024: 3; 2025: 2.

18 papers.

Sort:

By area:

  1. 2021On the Adversarial Robustness of Vision Transformerscited by 104
  2. 2022On the Paradox of Learning to Reason from Datacited by 93
  3. 2023Red Teaming Language Model Detectors with Language Modelscited by 55
  4. 2022RuCoLA: Russian Corpus of Linguistic Acceptabilitycited by 26
  5. 2022Acceptability Judgements via Examining the Topology of Attention Mapscited by 19
  6. 2021Adversarial Reinforced Instruction Attacker for Robust Vision-Language Navigationcited by 15
  7. 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggerscited by 13
  8. 2021Contrastive Fine-tuning Improves Robustness for Neural Rankerscited by 12
  9. 2022Discovering Differences in the Representation of People using Contextualized Semantic Axescited by 12
  10. 2025Out of Style: RAG's Fragility to Linguistic Variationcited by 10
  11. 2023BERTwich: Extending BERT's Capabilities to Model Dialectal and Noisy Textcited by 6
  12. 2024We're Calling an Intervention: Exploring Fundamental Hurdles in Adapting Language Models to Nonstandard Textcited by 6
6 more
  1. 2024COBIAS: Assessing the Contextual Reliability of Bias Benchmarks for Language Modelscited by 3
  2. 2021NATURE: Natural Auxiliary Text Utterances for Realistic Spoken Language Evaluationcited by 2
  3. 2021Variation and generality in encoding of syntactic anomaly information in sentence embeddingscited by 2
  4. 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimationcited by 2
  5. 2023SenTest: Evaluating Robustness of Sentence Encoderscited by 0
  6. 2025Open-DeBias: Toward Mitigating Open-Set Bias in Language Modelscited by 0