ALBERTA: ALgorithm-Based Error Resilience in Transformer Architectures
Open Access
- 14 May 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Open Journal of the Computer Society
- Vol. 6, 85-96
Abstract
Vision Transformers are being increasingly deployed in safety-critical applications that demand high reliability. Ensuring the correct execution of these models in GPUs is critical, despite the potential for transient hardware errors. We propose a novel algorithm-based resilience framework called ALBERTA that allows us to perform end-to-end resilience analysis and protection of transformer-based architectures. First, our work develops an efficient process of computing and ranking the resilience of transformers layers. Due to the large size of transformer models, applying traditional network redundancy to a subset of the most vulnerable layers provides high error coverage albeit with impractically high overhead. We address this shortcoming by providing a software-directed, checksum-based error detection technique aimed at protecting the most vulnerable general matrix multiply (GEMM) layers in the transformer models that use either floating-point or integer arithmetic. Results show that our approach achieves over 99% coverage for errors (single bit-flip fault model) that result in a mismatch with $< $ 0.2% and $< $ 0.01% computation and memory overheads, respectively. Lastly, we present the applicability of our framework in various modern GPU architectures under different numerical precisions. We introduce an efficient self-correction mechanism for resolving erroneous detection with an average of less than 2% overhead per error.Keywords
All Related Versions
This publication has 31 references indexed in Scilit:
- Error Resilient Transformers: A Novel Soft Error Vulnerability Guided Approach to Error Checking and Suppression2023
- Deep learning in drug discovery: an integrative review and future challengesArtificial Intelligence Review, 2022
- StyleSwin: Transformer-based GAN for High-resolution Image Generation2022
- GoldenEye: A Platform for Evaluating Emerging Numerical Data Formats in DNN Accelerators2022
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows2021
- A Low-cost Fault Corrector for Deep Neural Networks through Range Restriction2021
- Revealing GPUs Vulnerabilities by Combining Register-Transfer and Software-Level Fault Injection2021
- Automated design of error-resilient and hardware-efficient deep neural networksNeural Computing and Applications, 2020
- Soft Error Resilience of Deep Residual Networks for Object RecognitionIEEE Access, 2020
- ImageNet: A large-scale hierarchical image database2009