Lune

ICLR2020Top-tier venue

Robustness Verification for Transformers

Zhouxing Shi, Huan Zhang, Kai-Wei Chang, Minlie Huang, Cho-Jui Hsieh

Abstract

Robustness verification that aims to formally certify the prediction behavior of neural networks has become an important tool for understanding the behavior of a given model and for obtaining safety guarantees. However, previous methods are usually limited to relatively simple neural networks. In this paper, we consider the robustness verification problem for Transformers. Transformers have complex self-attention layers that pose many challenges for verification, including cross-nonlinearity and cross-position dependency, which have not been discussed in previous work. We resolve these challenges and develop the first verification algorithm for Transformers. The certified robustness bounds computed by our method are significantly tighter than those by naive Interval Bound Propagation. These bounds also shed light on interpreting Transformers as they consistently reflect the importance of words in sentiment analysis.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

46 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound Propagation cites Automatic Perturbation Analysis for Scalable Certified Robustness and Beyond
  • Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound Propagation cites Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
  • Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound Propagation cites Formal Security Analysis of Neural Networks using Symbolic Intervals
  • Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification cites Automatic Perturbation Analysis for Scalable Certified Robustness and Beyond
  • Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification cites Formal Security Analysis of Neural Networks using Symbolic Intervals
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers46

  1. Automatic Perturbation Analysis for Scalable Certified Robustness and BeyondKaidi Xu, Zhouxing Shi, Huan Zhang, Yihan Wang et al.NeurIPS 2020 · 415 citations
  2. Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness VerificationShiqi Wang, Huan Zhang, Kaidi Xu, Xue Lin et al.NeurIPS 2021 · 359 citations
  3. On the Robustness of Vision Transformers to Adversarial ExamplesKaleel Mahmood, Rigel Mahmood, Marten van DijkICCV 2021 · 261 citations
  4. Robust Encodings: A Framework for Combating Adversarial TyposErik Jones, Robin Jia, Aditi Raghunathan, Percy LiangACL 2020 · 92 citations
  5. Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound PropagationZhouxing Shi, Yihan Wang, Huan Zhang, J. Zico Kolter et al.NeurIPS 2022 · 73 citations

Builds on4

  1. VL-BERT: Pre-training of Generic Visual-Linguistic RepresentationsWeijie Su, Xizhou Zhu, Yue Cao, Bin Li et al.ICLR 2020 · 1,825 citations
  2. Formal Security Analysis of Neural Networks using Symbolic IntervalsShiqi Wang, Kexin Pei, Justin Whitehouse, Junfeng Yang et al.USENIX Security 2018 · 523 citations
  3. Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial ExamplesMinhao Cheng, Jinfeng Yi, Pin-Yu Chen, Huan Zhang et al.AAAI 2020 · 268 citations
  4. Robustness to Modification with Shared Words in Paraphrase IdentificationZhouxing Shi, Minlie HuangEMNLP Findings 2020 · 25 citations

Related papers

  1. Precise Verification of Transformers Through ReLU-Catalyzed Abstraction RefinementHengjie Liu, Zhenya Zhang, Jianjun ZhaoCAV 2026
  2. Parameterized Abstract Interpretation for Transformer VerificationPei Huang, Dennis Wei, Omri Isac, Haoze Wu et al.AAAI 2026
  3. Cert-RNN: Towards Certifying the Robustness of Recurrent Neural NetworksTianyu Du, Shouling Ji, Lujia Shen, Yao Zhang et al.CCS 2021 · 25 citations
  4. Towards Verified Robustness under Text Deletion InterventionsJohannes Welbl, Po-Sen Huang, Robert Stanforth, Sven Gowal et al.ICLR 2020 · 7 citations
  5. Faith: An Efficient Framework for Transformer Verification on GPUsBoyuan Feng, Tianqi Tang, Yuke Wang, Zhaodong Chen et al.USENIX ATC 2022
Dusk over the sea between two cliffs drawn in fine vertical lines