mlsanityData to 14 Oct 2026

NLP Verification: Towards a General Methodology for Certifying Robustness

arXiv 2403.10144 ↗First posted 15 Mar 2024cs.CL cs.AI cs.LGcited by 16

Not on the map. Why?

Abstract (arXiv)

Machine Learning (ML) has exhibited substantial success in the field of Natural Language Processing (NLP). For example large language models have empirically proven to be capable of producing text of high complexity and cohesion. However, they are prone to inaccuracies and hallucinations. As these systems are increasingly integrated into real-world applications, ensuring their safety and reliability becomes a primary concern. There are safety critical contexts where such models must be robust to variability or attack, and give guarantees over their output. Computer Vision had pioneered the use of formal verification of neural networks for such scenarios and developed common verification standards and pipelines, leveraging precise formal reasoning about geometric properties of data manifolds. In contrast, NLP verification methods have only recently appeared in the literature. While presenting sophisticated algorithms, these papers have not yet crystallised into a common methodology. They are often light on the pragmatical issues of NLP verification and the area remains fragmented. In this paper, we attempt to distil and evaluate general components of an NLP verification pipeline, that emerges from the progress in the field to date. Our contributions are two-fold. Firstly, we propose a general methodology to analyse the effect of the embedding gap, a problem that refers to the discrepancy between verification of geometric subspaces and the semantic meaning of sentences, which the geometric subspaces are supposed to represent. We propose a number of practical NLP methods that can help to quantify the effects of the embedding gap. Secondly, we give a general method for training and verification of neural networks that leverages a more precise geometric estimation of semantic similarity of sentences in the embedding space and helps to overcome the effects of the embedding gap in practice.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 44 of its 74 references that are in the map. First posted on arXiv 15 Mar 2024.

Builds on

44 of 74 references.

References · 44

  1. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  2. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  4. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  5. 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
  6. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  7. 2018Efficient Neural Network Robustness Certification with General Activation Functionscited by 445
  8. 2021A Survey of Data Augmentation Approaches for NLPcited by 409
  9. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
  10. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
  11. 2019Provably Robust Deep Learning via Adversarially Trained Smoothed Classifierscited by 330
  12. 2017Style Transfer from Non-Parallel Text by Cross-Alignmentcited by 248
32 more
  1. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 245
  2. 2021Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Complete and Incomplete Neural Network Robustness Verificationcited by 228
  3. 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 222
  4. 2019Algorithms for Verifying Deep Neural Networkscited by 221
  5. 2021Data Augmentation Can Improve Robustnesscited by 194
  6. 2018Certified Adversarial Robustness with Additive Noisecited by 180
  7. 2019Branch and Bound for Piecewise Linear Neural Network Verificationcited by 138
  8. 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
  9. 2020SoK: Certified Robustness for Deep Neural Networkscited by 105
  10. 2022General Cutting Planes for Bound-Propagation-Based Neural Network Verificationcited by 103
  11. 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
  12. 2021PRIMA: General and Precise Neural Network Certification via Scalable Convex Hull Approximationscited by 77
  13. 2020SAFER: A Structure-free Approach for Certified Robustness to Adversarial Word Substitutionscited by 73
  14. 2021Introduction to Neural Network Verificationcited by 63
  15. 2023First Three Years of the International Verification of Neural Networks Competition (VNN-COMP)cited by 58
  16. 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
  17. 2021Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitutioncited by 56
  18. 2020Black-Box Certification with Randomized Smoothing: A Functional Optimization Based Frameworkcited by 46
  19. 2019Fastened CROWN: Tightened Neural Network Robustness Certificatescited by 39
  20. 2019POPQORN: Quantifying Robustness of Recurrent Neural Networkscited by 37
  21. 2020Higher-Order Certification for Randomized Smoothingcited by 37
  22. 2020Scalable Quantitative Verification For Deep Neural Networkscited by 31
  23. 2019Provable Certificates for Adversarial Examples: Fitting a Ball in the Union of Polytopescited by 25
  24. 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
  25. 2021Certified Robustness to Programmable Transformations in LSTMscited by 18
  26. 2021The R-U-A-Robot Dataset: Helping Avoid Chatbot Deception by Detecting User Questions About Human or Non-Human Identitycited by 16
  27. 2022TASA: Deceiving Question Answering Models by Twin Answer Sentences Attackcited by 15
  28. 2023Logic of Differentiable Logics: Towards a Uniform Semantics of DLcited by 15
  29. 2021InvBERT: Reconstructing Text from Contextualized Word Embeddings by inverting the BERT pipelinecited by 11
  30. 2022Risk-graded Safety for Handling Medical Queries in Conversational AIcited by 11
  31. 2023ANTONIO: Towards a Systematic Method of Generating NLP Benchmarks for Verificationcited by 6
  32. 2021Automating Cryptographic Protocol Language Generation from Structured Specificationscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 10; 2026: 4.

16 papers.

Sort: