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