mlsanityData to 7 Oct 2026

Learning the Legibility of Visual Text Perturbations

arXiv 2303.05077 ↗First posted 9 Mar 2023cs.CL cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

Many adversarial attacks in NLP perturb inputs to produce visually similar strings ('ergo' rightarrow 'εrgo') which are legible to humans but degrade model performance. Although preserving legibility is a necessary condition for text perturbation, little work has been done to systematically characterize it; instead, legibility is typically loosely enforced via intuitions around the nature and extent of perturbations. Particularly, it is unclear to what extent can inputs be perturbed while preserving legibility, or how to quantify the legibility of a perturbed string. In this work, we address this gap by learning models that predict the legibility of a perturbed string, and rank candidate perturbations based on their legibility. To do so, we collect and release LEGIT, a human-annotated dataset comprising the legibility of visually perturbed text. Using this dataset, we build both text- and vision-based models which achieve up to 0.91 F1 score in predicting whether an input is legible, and an accuracy of 0.86 in predicting which of two given perturbations is more legible. Additionally, we discover that legible perturbations from the LEGIT dataset are more effective at lowering the performance of NLP models than best-known attack strategies, suggesting that current models may be vulnerable to a broad range of perturbations beyond what is captured by existing visual attacks. Data, code, and models are available at https://github.com/dvsth/learning-legibility-2023.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 20 of its 37 references that are in the map. First posted on arXiv 9 Mar 2023.

Builds on

20 of 37 references.

References · 20

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020End-to-End Object Detection with Transformerscited by 7,384
  4. 2020Learning to summarize from human feedbackcited by 2,562
  5. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  6. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
  7. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
  8. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  9. 2018Generating Natural Language Adversarial Examplescited by 422
  10. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  11. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  12. 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
8 more
  1. 2021TrOCR: Transformer-based Optical Character Recognition with Pre-trained Modelscited by 278
  2. 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
  3. 2019Text Processing Like Humans Do: Visually Attacking and Shielding NLP Systemscited by 99
  4. 2018On Adversarial Examples for Character-Level Neural Machine Translationcited by 85
  5. 2021Bad Characters: Imperceptible NLP Attackscited by 69
  6. 2020From Hero to Z'eroe: A Benchmark of Low-Level Adversarial Attackscited by 36
  7. 2020Beyond User Self-Reported Likert Scale Ratings: A Comparison Model for Automatic Dialog Evaluationcited by 22
  8. 2022Perturbations in the Wild: Leveraging Human-Written Text Perturbations for Realistic Adversarial Attack and Defensecited by 12

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 2.

3 papers.