On the Robustness of Language Encoders against Grammatical Errors
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
Citing papers per year: 2021: 5; 2022: 5; 2023: 3; 2024: 3; 2025: 2.
18 papers.
Sort:
By area:
- 2021On the Adversarial Robustness of Vision Transformerscited by 104
- 2022On the Paradox of Learning to Reason from Datacited by 93
- 2023Red Teaming Language Model Detectors with Language Modelscited by 55
- 2022RuCoLA: Russian Corpus of Linguistic Acceptabilitycited by 26
- 2022Acceptability Judgements via Examining the Topology of Attention Mapscited by 19
- 2021Adversarial Reinforced Instruction Attacker for Robust Vision-Language Navigationcited by 15
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggerscited by 13
- 2021Contrastive Fine-tuning Improves Robustness for Neural Rankerscited by 12
- 2022Discovering Differences in the Representation of People using Contextualized Semantic Axescited by 12
- 2025Out of Style: RAG's Fragility to Linguistic Variationcited by 10
- 2023BERTwich: Extending BERT's Capabilities to Model Dialectal and Noisy Textcited by 6
- 2024We're Calling an Intervention: Exploring Fundamental Hurdles in Adapting Language Models to Nonstandard Textcited by 6
6 more
- 2024COBIAS: Assessing the Contextual Reliability of Bias Benchmarks for Language Modelscited by 3
- 2021NATURE: Natural Auxiliary Text Utterances for Realistic Spoken Language Evaluationcited by 2
- 2021Variation and generality in encoding of syntactic anomaly information in sentence embeddingscited by 2
- 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimationcited by 2
- 2023SenTest: Evaluating Robustness of Sentence Encoderscited by 0
- 2025Open-DeBias: Toward Mitigating Open-Set Bias in Language Modelscited by 0
- 2025Open-DeBias: Toward Mitigating Open-Set Bias in Language Models28 Sep 2025
- 2025Out of Style: RAG's Fragility to Linguistic Variation11 Apr 2025
- 2024We're Calling an Intervention: Exploring Fundamental Hurdles in Adapting Language Models to Nonstandard Text10 Apr 2024
- 2024COBIAS: Assessing the Contextual Reliability of Bias Benchmarks for Language Models22 Feb 2024
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggers21 Feb 2024
- 2023SenTest: Evaluating Robustness of Sentence Encoders29 Nov 2023
- 2023BERTwich: Extending BERT's Capabilities to Model Dialectal and Noisy Text31 Oct 2023
- 2023Red Teaming Language Model Detectors with Language Models31 May 2023
- 2022RuCoLA: Russian Corpus of Linguistic Acceptability23 Oct 2022
- 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimation22 Oct 2022
- 2022Discovering Differences in the Representation of People using Contextualized Semantic Axes21 Oct 2022
- 2022On the Paradox of Learning to Reason from Data23 May 2022
6 more
- 2022Acceptability Judgements via Examining the Topology of Attention Maps19 May 2022
- 2021Variation and generality in encoding of syntactic anomaly information in sentence embeddings12 Nov 2021
- 2021NATURE: Natural Auxiliary Text Utterances for Realistic Spoken Language Evaluation9 Nov 2021
- 2021Adversarial Reinforced Instruction Attacker for Robust Vision-Language Navigation23 Jul 2021
- 2021Contrastive Fine-tuning Improves Robustness for Neural Rankers27 May 2021
- 2021On the Adversarial Robustness of Vision Transformers29 Mar 2021
- 2022On the Paradox of Learning to Reason from Datacited by 93
- 2022On the Paradox of Learning to Reason from Data23 May 2022
- 2025Out of Style: RAG's Fragility to Linguistic Variationcited by 10
- 2025Out of Style: RAG's Fragility to Linguistic Variation11 Apr 2025
- 2023Red Teaming Language Model Detectors with Language Modelscited by 55
- 2023Red Teaming Language Model Detectors with Language Models31 May 2023
- 2021On the Adversarial Robustness of Vision Transformerscited by 104
- 2022RuCoLA: Russian Corpus of Linguistic Acceptabilitycited by 26
- 2022Acceptability Judgements via Examining the Topology of Attention Mapscited by 19
- 2021Adversarial Reinforced Instruction Attacker for Robust Vision-Language Navigationcited by 15
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggerscited by 13
- 2021Contrastive Fine-tuning Improves Robustness for Neural Rankerscited by 12
- 2022Discovering Differences in the Representation of People using Contextualized Semantic Axescited by 12
- 2023BERTwich: Extending BERT's Capabilities to Model Dialectal and Noisy Textcited by 6
- 2024We're Calling an Intervention: Exploring Fundamental Hurdles in Adapting Language Models to Nonstandard Textcited by 6
- 2024COBIAS: Assessing the Contextual Reliability of Bias Benchmarks for Language Modelscited by 3
- 2021NATURE: Natural Auxiliary Text Utterances for Realistic Spoken Language Evaluationcited by 2
- 2021Variation and generality in encoding of syntactic anomaly information in sentence embeddingscited by 2
12 most cited of 15 All 15 (JSON)
- 2025Open-DeBias: Toward Mitigating Open-Set Bias in Language Models28 Sep 2025
- 2024We're Calling an Intervention: Exploring Fundamental Hurdles in Adapting Language Models to Nonstandard Text10 Apr 2024
- 2024COBIAS: Assessing the Contextual Reliability of Bias Benchmarks for Language Models22 Feb 2024
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggers21 Feb 2024
- 2023SenTest: Evaluating Robustness of Sentence Encoders29 Nov 2023
- 2023BERTwich: Extending BERT's Capabilities to Model Dialectal and Noisy Text31 Oct 2023
- 2022RuCoLA: Russian Corpus of Linguistic Acceptability23 Oct 2022
- 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimation22 Oct 2022
- 2022Discovering Differences in the Representation of People using Contextualized Semantic Axes21 Oct 2022
- 2022Acceptability Judgements via Examining the Topology of Attention Maps19 May 2022
- 2021Variation and generality in encoding of syntactic anomaly information in sentence embeddings12 Nov 2021
- 2021NATURE: Natural Auxiliary Text Utterances for Realistic Spoken Language Evaluation9 Nov 2021
12 newest of 15 All 15 (JSON)