[Paper Review] Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagation
This paper proposes a formal verification method for neural text classifiers using Interval Bound Propagation (IBP) to guarantee robustness against synonym and character substitution attacks. By modeling perturbations as a simplex and training models with a modified objective, the approach achieves high verified accuracy with constant-time verification, outperforming adversarial training under exhaustive verification.
Neural networks are part of many contemporary NLP systems, yet their empirical successes come at the price of vulnerability to adversarial attacks. Previous work has used adversarial training and data augmentation to partially mitigate such brittleness, but these are unlikely to find worst-case adversaries due to the complexity of the search space arising from discrete text perturbations. In this work, we approach the problem from the opposite direction: to formally verify a system's robustness against a predefined class of adversarial attacks. We study text classification under synonym replacements or character flip perturbations. We propose modeling these input perturbations as a simplex and then using Interval Bound Propagation -- a formal model verification method. We modify the conventional log-likelihood training objective to train models that can be efficiently verified, which would otherwise come with exponential search complexity. The resulting models show only little difference in terms of nominal accuracy, but have much improved verified accuracy under perturbations and come with an efficiently computable formal guarantee on worst case adversaries.
Motivation & Objective
- To provide formal, provable robustness guarantees for text classification models against symbol substitution attacks.
- To address the limitations of adversarial training, which lacks guarantees against worst-case adversaries.
- To develop a verifiable training objective that enables efficient, scalable verification using Interval Bound Propagation (IBP).
- To investigate how perturbation space size and word embedding quality affect verification bounds.
- To demonstrate that verified robustness is achievable without sacrificing nominal accuracy.
Proposed method
- Model input perturbations (synonym or character substitutions) as a simplex in input space, representing all possible semantically invariant changes.
- Apply Interval Bound Propagation (IBP) to compute tight, efficient bounds on model outputs across the entire perturbation simplex.
- Modify the standard log-likelihood training objective to encourage models that are amenable to IBP verification, improving robustness during inference.
- Use counter-fitted word embeddings to reduce the volume of the perturbation simplex, leading to tighter IBP bounds and higher verified accuracy.
- Evaluate robustness via exhaustive verification oracles and compare with adversarial training and data augmentation baselines.
- Leverage axis-parallel bounding boxes to propagate interval bounds through each layer, enabling efficient worst-case analysis in logit space.
Experimental results
Research questions
- RQ1Can formal verification via IBP provide provable robustness guarantees for text classification models under synonym and character substitution attacks?
- RQ2How does the size of the perturbation space affect the effectiveness of IBP-based verification and adversarial training?
- RQ3To what extent do counter-fitted word embeddings improve the tightness of IBP bounds and verified accuracy?
- RQ4Does verifiable training lead to better robustness than adversarial training when evaluated under exhaustive verification?
- RQ5How does the computational cost of IBP verification compare to exhaustive search across different perturbation radii?
Key findings
- IBP-trained models achieve 98.4% verified accuracy on SST-character with δ=3, significantly outperforming adversarially trained models under exhaustive verification.
- The IBP verification cost is constant and negligible, while exhaustive verification requires up to 1.4 million forward passes for δ=3 on SST-character, making it infeasible at scale.
- Using counter-fitted embeddings increases IBP-verified accuracy by up to 33.2% for δ=1, demonstrating that reduced simplex volume improves bound tightness.
- Adversarial training fails to generalize to worst-case adversaries, as shown by its poor performance under exhaustive verification, revealing a false sense of robustness.
- Nominal test accuracy remains nearly unchanged (within 1%) across all models, indicating that verifiability does not compromise standard performance.
- The method scales efficiently: IBP verification is orders of magnitude faster than exhaustive search, enabling practical deployment of robust NLP systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.