arrow
Return

ALBERTA: ALgorithm-Based Error Resilience in Transformer Architectures

delete2025-01-01
delete1
delete
OA
AI
H
H. Liu *
V
Vasu Singh
M
Michał Filipiuk
S
Siva Kumar Sastry Hari
DOI:10.1109/OJCS.2024.3400696delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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:
Transformers
Resilience
Computational modeling
Hardware
Computer architecture
Transient analysis
Measurement
Correction
detection
protection
resilience
robustness
safety
transformers

Journal

I
IEEE Open Journal of the Computer Society
IF:
8.2
Papers:
411
Citations:
810

Organization

N
nvidia corporation
Scholars:
767
Papers: 439
Citations: 1
Cited Papers

Cited Papers

Molecularly Imprinted Polymer‐Based Sensors for Amperometric Determination of Nonelectroactive Substances
err2009-02-12
err0
PREAI
errMaria Pesavento; Girolamo D'Agostino; Raffaela Biesuz; Giancarla Alberti
errShare
errSave
Transformers in Vision: A Survey
err2022-09-13
err1.1K
errOAAI
errKhan, Salman; Naseer, Muzammal; Hayat, Munawar; Zamir, Syed Waqas; Khan, Fahad Shahbaz; Shah, Mubarak
errShare
errSave
Clinical relevance of cytoskeleton associated proteins for ovarian cancer
err2018-08-09
err0
PREAI
errJohanna Schiewek; Udo Schumacher; Tobias Lange; Simon A. Joosse; Harriet Wikman; Klaus Pantel; Marina Mikhaylova; Matthias Kneussel; Stefan Linder; Barbara Schmalfeldt; Leticia Oliveira-Ferrer; Sabine Windhorst
errShare
errSave
researcher View more