Assessing Robustness of Text Classification through Maximal Safe Radius Computation
Not on the map. Why?
Abstract (arXiv)
Neural network NLP models are vulnerable to small modifications of the input that maintain the original meaning but result in a different prediction. In this paper, we focus on robustness of text classification against word substitutions, aiming to provide guarantees that the model prediction does not change if a word is replaced with a plausible alternative, such as a synonym. As a measure of robustness, we adopt the notion of the maximal safe radius for a given input text, which is the minimum distance in the embedding space to the decision boundary. Since computing the exact maximal safe radius is not feasible in practice, we instead approximate it by computing a lower and upper bound. For the upper bound computation, we employ Monte Carlo Tree Search in conjunction with syntactic filtering to analyse the effect of single and multiple word substitutions. The lower bound computation is achieved through an adaptation of the linear bounding techniques implemented in tools CNN-Cert and POPQORN, respectively for convolutional and recurrent network models. We evaluate the methods on sentiment analysis and news classification models for four datasets (IMDB, SST, AG News and NEWS) and a range of embeddings, and provide an analysis of robustness trends. We also apply our framework to interpretability analysis and compare it with LIME.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 5; 2023: 3; 2024: 0; 2025: 1.
11 papers.
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
- 2021On Guaranteed Optimal Robust Explanations for NLP Modelscited by 54
- 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
- 2021The King is Naked: on the Notion of Robustness for Natural Language Processingcited by 16
- 2022A.I. Robustness: a Human-Centered Perspective on Technological Challenges and Opportunitiescited by 8
- 2023When to Trust AI: Advances and Challenges for Certification of Neural Networkscited by 6
- 2022Systematicity, Compositionality and Transitivity of Deep NLP Models: a Metamorphic Testing Perspectivecited by 5
- 2022On Sensitivity of Deep Learning Based Text Classification Algorithms to Practical Input Perturbationscited by 2
- 2022Emergent Linguistic Structures in Neural Networks are Fragilecited by 2
- 2025Jailbreaking Large Language Models in Infinitely Many Wayscited by 2
- 2023Perturbation-based Self-supervised Attention for Attention Bias in Text Classificationcited by 1
- 2025Jailbreaking Large Language Models in Infinitely Many Ways18 Jan 2025
- 2023When to Trust AI: Advances and Challenges for Certification of Neural Networks20 Sep 2023
- 2023Perturbation-based Self-supervised Attention for Attention Bias in Text Classification25 May 2023
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validation19 May 2023
- 2022Emergent Linguistic Structures in Neural Networks are Fragile31 Oct 2022
- 2022A.I. Robustness: a Human-Centered Perspective on Technological Challenges and Opportunities17 Oct 2022
- 2022Systematicity, Compositionality and Transitivity of Deep NLP Models: a Metamorphic Testing Perspective26 Apr 2022
- 2022A Survey of Adversarial Defences and Robustness in NLP12 Mar 2022
- 2022On Sensitivity of Deep Learning Based Text Classification Algorithms to Practical Input Perturbations2 Jan 2022
- 2021The King is Naked: on the Notion of Robustness for Natural Language Processing13 Dec 2021
- 2021On Guaranteed Optimal Robust Explanations for NLP Models8 May 2021