ENFOR-SA: End-to-end Cross-layer Transient Fault Injector for Efficient and Accurate DNN Reliability Assessment on Systolic Arrays
Rafael Billig Tonetto, Marcello Traiola, Fernando Fernandes dos Santos, Angeliki Kritikakou
TL;DR
ENFOR-SA addresses the high cost of RTL-accurate fault injection for modern DNNs on systolic-array accelerators by introducing an end-to-end cross-layer framework that couples PyTorch-level inference with RTL fault injection focused on the SA Mesh. It employs a non-intrusive Verilator-based injection strategy and a compile-time Mesh isolation step to preserve RTL fidelity while avoiding the overhead of full-SoC RTL simulation. The approach achieves RTL-accurate fault analysis with approximately a 569-fold speedup over full RTL and only about a 6% slowdown compared with software-based injections, outperforming a state-of-the-art cross-layer tool by around 2x in injection performance. Open-sourced and scalable, ENFOR-SA enables accurate reliability assessment across diverse DNNs and SA configurations, facilitating practical resilience design for modern DNN accelerators.
Abstract
Recent advances in deep learning have produced highly accurate but increasingly large and complex DNNs, making traditional fault-injection techniques impractical. Accurate fault analysis requires RTL-accurate hardware models. However, this significantly slows evaluation compared with software-only approaches, particularly when combined with expensive HDL instrumentation. In this work, we show that such high-overhead methods are unnecessary for systolic array (SA) architectures and propose ENFOR-SA, an end-to-end framework for DNN transient fault analysis on SAs. Our two-step approach employs cross-layer simulation and uses RTL SA components only during fault injection, with the rest executed at the software level. Experiments on CNNs and Vision Transformers demonstrate that ENFOR-SA achieves RTL-accurate fault injection with only 6% average slowdown compared to software-based injection, while delivering at least two orders of magnitude speedup (average $569\times$) over full-SoC RTL simulation and a $2.03\times$ improvement over a state-of-the-art cross-layer RTL injection tool. ENFOR-SA code is publicly available at https://github.com/rafaabt/ENFOR-SA.
