Error Checking for Sparse Systolic Tensor Arrays
Christodoulos Peltekis, Dionysios Filippas, Giorgos Dimitrakopoulos
TL;DR
The paper tackles online error detection for structured-sparse tensor arrays used in ML accelerators by extending Algorithm-Based Fault Tolerance (ABFT) to sparse tensor architectures. It places peripheral checksum logic and reusable tensor PEs to compute actual and predicted checksums for the matrix product $C = A W$, employing a digit-serial arithmetic scheme to manage wider accumulators. Key contributions include a scalable ABFTChecksum architecture for sparse tensors, a digit-serial checksum approach, and hardware evaluations showing modest area overhead (<5%) and power overhead (~7–9%), along with strong fault-detection performance on ResNet50 CNN workloads. This work enables reliable sparse-structure ML inference in safety-critical settings with minimal impact on performance and energy efficiency.
Abstract
Structured sparsity is an efficient way to prune the complexity of modern Machine Learning (ML) applications and to simplify the handling of sparse data in hardware. In such cases, the acceleration of structured-sparse ML models is handled by sparse systolic tensor arrays. The increasing prevalence of ML in safety-critical systems requires enhancing the sparse tensor arrays with online error detection for managing random hardware failures. Algorithm-based fault tolerance has been proposed as a low-cost mechanism to check online the result of computations against random hardware failures. In this work, we address a key architectural challenge with structured-sparse tensor arrays: how to provide online error checking for a range of structured sparsity levels while maintaining high utilization of the hardware. Experimental results highlight the minimum hardware overhead incurred by the proposed checking logic and its error detection properties after injecting random hardware faults on sparse tensor arrays that execute layers of ResNet50 CNN.
