NLP Verification: Towards a General Methodology for Certifying Robustness
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
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2018Efficient Neural Network Robustness Certification with General Activation Functionscited by 445
- 2021A Survey of Data Augmentation Approaches for NLPcited by 409
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
- 2019Provably Robust Deep Learning via Adversarially Trained Smoothed Classifierscited by 330
- 2017Style Transfer from Non-Parallel Text by Cross-Alignmentcited by 248
32 more
- 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 245
- 2021Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Complete and Incomplete Neural Network Robustness Verificationcited by 228
- 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 222
- 2019Algorithms for Verifying Deep Neural Networkscited by 221
- 2021Data Augmentation Can Improve Robustnesscited by 194
- 2018Certified Adversarial Robustness with Additive Noisecited by 180
- 2019Branch and Bound for Piecewise Linear Neural Network Verificationcited by 138
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2020SoK: Certified Robustness for Deep Neural Networkscited by 105
- 2022General Cutting Planes for Bound-Propagation-Based Neural Network Verificationcited by 103
- 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
- 2021PRIMA: General and Precise Neural Network Certification via Scalable Convex Hull Approximationscited by 77
- 2020SAFER: A Structure-free Approach for Certified Robustness to Adversarial Word Substitutionscited by 73
- 2021Introduction to Neural Network Verificationcited by 63
- 2023First Three Years of the International Verification of Neural Networks Competition (VNN-COMP)cited by 58
- 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
- 2021Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitutioncited by 56
- 2020Black-Box Certification with Randomized Smoothing: A Functional Optimization Based Frameworkcited by 46
- 2019Fastened CROWN: Tightened Neural Network Robustness Certificatescited by 39
- 2019POPQORN: Quantifying Robustness of Recurrent Neural Networkscited by 37
- 2020Higher-Order Certification for Randomized Smoothingcited by 37
- 2020Scalable Quantitative Verification For Deep Neural Networkscited by 31
- 2019Provable Certificates for Adversarial Examples: Fitting a Ball in the Union of Polytopescited by 25
- 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
- 2021Certified Robustness to Programmable Transformations in LSTMscited by 18
- 2021The R-U-A-Robot Dataset: Helping Avoid Chatbot Deception by Detecting User Questions About Human or Non-Human Identitycited by 16
- 2022TASA: Deceiving Question Answering Models by Twin Answer Sentences Attackcited by 15
- 2023Logic of Differentiable Logics: Towards a Uniform Semantics of DLcited by 15
- 2021InvBERT: Reconstructing Text from Contextualized Word Embeddings by inverting the BERT pipelinecited by 11
- 2022Risk-graded Safety for Handling Medical Queries in Conversational AIcited by 11
- 2023ANTONIO: Towards a Systematic Method of Generating NLP Benchmarks for Verificationcited by 6
- 2021Automating Cryptographic Protocol Language Generation from Structured Specificationscited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 10; 2026: 4.
16 papers.
Sort:
- 2025Explaining, Fast and Slow: Abstraction and Refinement of Provable Explanationscited by 13
- 2025A Neurosymbolic Approach to Natural Language Formalization and Verificationcited by 9
- 2025Shh, don't say that! Domain Certification in LLMscited by 7
- 2024Towards Formal Verification of Deep Neural Networks for Object Detectioncited by 4
- 2025Beyond Benchmarks: On The False Promise of AI Regulationcited by 4
- 2025Proof Minimization in Neural Network Verificationcited by 4
- 2025PICID: Proof-Driven Clause Learning in Neural Network Verificationcited by 3
- 2025How Catastrophic is Your LLM? Certifying Risk in Conversationcited by 2
- 2025Floating-Point Neural Network Verification at the Software Levelcited by 2
- 2025BEAVER: An Efficient Deterministic LLM Verifiercited by 2
- 2026Proof-Carrying Certificates for LLM Pipelines: A Trust-Boundary Architecturecited by 2
- 2025A General Framework for Property-Driven Machine Learningcited by 1
4 more
- 2026Formally Verified Patent Analysis via Dependent Type Theory: Machine-Checkable Certificates from a Hybrid AI + Lean 4 Pipelinecited by 1
- 2024Extensional Properties of Recurrent Neural Networkscited by 0
- 2026Precise Verification of Transformers through ReLU-Catalyzed Abstraction Refinementcited by 0
- 2026Certified but Private: Scalable Zero-Knowledge Proofs for Neural Network Guaranteescited by 0
- 2026Certified but Private: Scalable Zero-Knowledge Proofs for Neural Network Guarantees17 Aug 2026
- 2026Precise Verification of Transformers through ReLU-Catalyzed Abstraction Refinement14 May 2026
- 2026Proof-Carrying Certificates for LLM Pipelines: A Trust-Boundary Architecture13 May 2026
- 2026Formally Verified Patent Analysis via Dependent Type Theory: Machine-Checkable Certificates from a Hybrid AI + Lean 4 Pipeline20 Apr 2026
- 2025BEAVER: An Efficient Deterministic LLM Verifier5 Dec 2025
- 2025A Neurosymbolic Approach to Natural Language Formalization and Verification12 Nov 2025
- 2025Proof Minimization in Neural Network Verification11 Nov 2025
- 2025Floating-Point Neural Network Verification at the Software Level27 Oct 2025
- 2025How Catastrophic is Your LLM? Certifying Risk in Conversation4 Oct 2025
- 2025Explaining, Fast and Slow: Abstraction and Refinement of Provable Explanations10 Jun 2025
- 2025A General Framework for Property-Driven Machine Learning1 May 2025
- 2025PICID: Proof-Driven Clause Learning in Neural Network Verification15 Mar 2025
4 more
- 2025Shh, don't say that! Domain Certification in LLMs26 Feb 2025
- 2025Beyond Benchmarks: On The False Promise of AI Regulation26 Jan 2025
- 2024Extensional Properties of Recurrent Neural Networks30 Oct 2024
- 2024Towards Formal Verification of Deep Neural Networks for Object Detection1 Jul 2024
- 2025Explaining, Fast and Slow: Abstraction and Refinement of Provable Explanationscited by 13
- 2025A Neurosymbolic Approach to Natural Language Formalization and Verificationcited by 9
- 2025Shh, don't say that! Domain Certification in LLMscited by 7
- 2024Towards Formal Verification of Deep Neural Networks for Object Detectioncited by 4
- 2025Beyond Benchmarks: On The False Promise of AI Regulationcited by 4
- 2025Proof Minimization in Neural Network Verificationcited by 4
- 2025PICID: Proof-Driven Clause Learning in Neural Network Verificationcited by 3
- 2025How Catastrophic is Your LLM? Certifying Risk in Conversationcited by 2
- 2025Floating-Point Neural Network Verification at the Software Levelcited by 2
- 2025BEAVER: An Efficient Deterministic LLM Verifiercited by 2
- 2026Proof-Carrying Certificates for LLM Pipelines: A Trust-Boundary Architecturecited by 2
- 2025A General Framework for Property-Driven Machine Learningcited by 1
12 most cited of 16 All 16 (JSON)
- 2026Certified but Private: Scalable Zero-Knowledge Proofs for Neural Network Guarantees17 Aug 2026
- 2026Precise Verification of Transformers through ReLU-Catalyzed Abstraction Refinement14 May 2026
- 2026Proof-Carrying Certificates for LLM Pipelines: A Trust-Boundary Architecture13 May 2026
- 2026Formally Verified Patent Analysis via Dependent Type Theory: Machine-Checkable Certificates from a Hybrid AI + Lean 4 Pipeline20 Apr 2026
- 2025BEAVER: An Efficient Deterministic LLM Verifier5 Dec 2025
- 2025A Neurosymbolic Approach to Natural Language Formalization and Verification12 Nov 2025
- 2025Proof Minimization in Neural Network Verification11 Nov 2025
- 2025Floating-Point Neural Network Verification at the Software Level27 Oct 2025
- 2025How Catastrophic is Your LLM? Certifying Risk in Conversation4 Oct 2025
- 2025Explaining, Fast and Slow: Abstraction and Refinement of Provable Explanations10 Jun 2025
- 2025A General Framework for Property-Driven Machine Learning1 May 2025
- 2025PICID: Proof-Driven Clause Learning in Neural Network Verification15 Mar 2025
12 newest of 16 All 16 (JSON)