mlsanityData to 7 Oct 2026

Faith: An Efficient Framework for Transformer Verification on GPUs

arXiv 2209.12708 ↗First posted 23 Sep 2022cs.LG cs.PFcited by 0

Not on the map. Why?

Abstract (arXiv)

Transformer verification draws increasing attention in machine learning research and industry. It formally verifies the robustness of transformers against adversarial attacks such as exchanging words in a sentence with synonyms. However, the performance of transformer verification is still not satisfactory due to bound-centric computation which is significantly different from standard neural networks. In this paper, we propose Faith, an efficient framework for transformer verification on GPUs. We first propose a semantic-aware computation graph transformation to identify semantic information such as bound computation in transformer verification. We exploit such semantic information to enable efficient kernel fusion at the computation graph level. Second, we propose a verification-specialized kernel crafter to efficiently map transformer verification to modern GPUs. This crafter exploits a set of GPU hardware supports to accelerate verification specialized operations which are usually memory-intensive. Third, we propose an expert-guided autotuning to incorporate expert knowledge on GPU backends to facilitate large search space exploration. Extensive evaluations show that Faith achieves 2.1× to 3.4× (2.6× on average) speedup over state-of-the-art frameworks.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 36 of its 56 references that are in the map. First posted on arXiv 23 Sep 2022.

Builds on

36 of 56 references.

References · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  8. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  9. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  10. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  11. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  12. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
24 more
  1. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  2. 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 739
  3. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  4. 2018Efficient Neural Network Robustness Certification with General Activation Functionscited by 439
  5. 2018Generating Natural Language Adversarial Examplescited by 422
  6. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  7. 2020Learning Texture Transformer Network for Image Super-Resolutioncited by 346
  8. 2019Cross-Modal Self-Attention Network for Referring Image Segmentationcited by 263
  9. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
  10. 2021HOTR: End-to-End Human-Object Interaction Detection with Transformerscited by 183
  11. 2020Glancing Transformer for Non-Autoregressive Neural Machine Translationcited by 103
  12. 2020Robustness Verification for Transformerscited by 76
  13. 2019TANDA: Transfer and Adapt Pre-Trained Transformer Models for Answer Sentence Selectioncited by 74
  14. 2020TurboTransformers: An Efficient GPU Serving System For Transformer Modelscited by 71
  15. 2018SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networkscited by 55
  16. 2020GNNAdvisor: An Adaptive and Efficient Runtime System for GNN Acceleration on GPUscited by 51
  17. 2020SentiBERT: A Transferable Transformer-Based Architecture for Compositional Sentiment Semanticscited by 30
  18. 2018Relay: A New IR for Machine Learning Frameworkscited by 24
  19. 2019Syntactically Supervised Transformers for Faster Neural Machine Translationcited by 19
  20. 2021QGTC: Accelerating Quantized Graph Neural Networks via GPU Tensor Corecited by 18
  21. 2021APNN-TC: Accelerating Arbitrary Precision Neural Networks on Ampere GPU Tensor Corescited by 12
  22. 2022Identifying Ambiguous Similarity Conditions via Semantic Matchingcited by 4
  23. 2020TADOC: Text Analytics Directly on Compressioncited by 3
  24. 2021G-TADOC: Enabling Efficient GPU-Based Text Analytics without Decompressioncited by 1

Built on by

Not cited yet.