skip to main content
10.1145/3583781.3590226acmconferencesArticle/Chapter ViewAbstractPublication PagesglsvlsiConference Proceedingsconference-collections
research-article

SiFI-AI: A Fast and Flexible RTL Fault Simulation Framework Tailored for AI Models and Accelerators

Published: 05 June 2023 Publication History

Abstract

For AI-based systems in safety-critical domains, it is inevitable to understand the impact of random hardware faults affecting the target hardware accelerators. The high degree of data reuse makes Deep Neural Network (DNN) accelerators susceptible to significant fault propagation and hence hazardous predictions. Therefore, we present SiFI-AI, a simulation framework for fault injection in DNN accelerators. SiFI-AI proposes a hybrid simulation approach combining fast AI inference with cycle-accurate RTL simulation. Time-expensive RTL simulation is only used to accurately target registers in the hardware through condition-based fault injection. This enables to reveal vulnerable DNN layers and the related fault origin. In a resilience study with 1.5~M fault injection experiments, we analyze representative DNNs and a state-of-the-art DNN accelerator to identify vulnerable layers. The study only takes 1.15 days which is 7x faster than state-of-the-art. Our experiments show the high impact of control register faults and that narrow and deep layers are 10x more resilient compared to the wide and shallow layers of a DNN.

References

[1]
Alon Amid, et al. 2020. Chipyard: Integrated Design, Simulation, and Implementation Framework for Custom SoCs. IEEE Micro, Vol. 40, 4 (2020), 10--21.
[2]
Josie E. Rodriguez Condia, Fernando Fernandes dos Santos, Matteo Sonza Reorda, and Paolo Rech. 2021. Combining Architectural Simulation and Software Fault Injection for a Fast and Accurate CNNs Reliability Evaluation on GPUs. In 2021 IEEE 39th VLSI Test Symposium (VTS). 1--7.
[3]
Jia Deng, et al. 2009. ImageNet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition. 248--255.
[4]
Nael Fasfous, et al. 2021. Binary-LoRAX: Low-Latency Runtime Adaptable XNOR Classifier for Semi-Autonomous Grasping with Prosthetic Hands., 13430--13437 pages.
[5]
Hasan Genc, et al. 2021. Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration. In Proceedings of the 58th Annual Design Automation Conference (DAC).
[6]
Brunno F. Goldstein, et al. 2020. Reliability Evaluation of Compressed Deep Learning Models. In 2020 IEEE 11th Latin American Symposium on Circuits & Systems (LASCAS). 1--5.
[7]
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep Residual Learning for Image Recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 770--778.
[8]
Yi He, Prasanna Balaprakash, and Yanjing Li. 2020. FIdelity: Efficient Resilience Analysis Framework for Deep Learning Accelerators. In 2020 53rd Annual IEEE/ACM International Symposium on Microarchitecture (MICRO). 270--281.
[9]
Fin Hendrik Bahnsen, Vanessa Klebe, and Goerschwin Fey. 2021. Effect Analysis of Low-Level Hardware Faults on Neural Networks using Emulated Inference. In 2021 10th International Conference on Modern Circuits and Systems Technologies (MOCAST). 1--6.
[10]
Endri Kaja, et al. 2021. Extending Verilator to Enable Fault Simulation. In MBMV 2021; 24th Workshop. 1--6.
[11]
Guanpeng Li, et al. 2017. Understanding Error Propagation in Deep Learning Neural Network (DNN) Accelerators and Applications. In SC17: International Conference for High Performance Computing, Networking, Storage and Analysis. 1--12.
[12]
Abdulrahman Mahmoud, et al. 2020. PyTorchFI: A Runtime Perturbation Tool for DNNs. In 2020 50th Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops (DSN-W). 25--31.
[13]
Brandon Reagen, et al. 2018. Ares: A framework for quantifying the resilience of deep neural networks. In 2018 55th ACM/ESDA/IEEE Design Automation Conference (DAC). 1--6.
[14]
Behzad Salami, Osman S. Unsal, and Adrian Cristal Kestelman. 2018. On the Resilience of RTL NN Accelerators: Fault Characterization and Mitigation. In 2018 30th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD). 322--329.
[15]
Vivienne Sze, Yu-Hsin Chen, Tien-Ju Yang, and Joel Emer. 2017. Efficient Processing of Deep Neural Networks: A Tutorial and Survey. https://arxiv.org/abs/1703.09039
[16]
Christian Szegedy, et al. 2015. Going deeper with convolutions. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 1--9.
[17]
Yung-Yu Tsai and Jin-Fu Li. 2021. Evaluating the Impact of Fault-Tolerance Capability of Deep Neural Networks Caused by Faults. In 2021 IEEE 34th International System-on-Chip Conference (SOCC). 272--277.
[18]
Iris Walter, et al. 2021. Embedded Face Recognition for Personalized Services in the Assistive Robotics., 339--350 pages.

Cited By

View all

Index Terms

  1. SiFI-AI: A Fast and Flexible RTL Fault Simulation Framework Tailored for AI Models and Accelerators

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      GLSVLSI '23: Proceedings of the Great Lakes Symposium on VLSI 2023
      June 2023
      731 pages
      ISBN:9798400701252
      DOI:10.1145/3583781
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 05 June 2023

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. ai accelerators
      2. dnn resilience
      3. fault-tolerance and simulation

      Qualifiers

      • Research-article

      Funding Sources

      • Bundesministerium für Bildung und Forschung

      Conference

      GLSVLSI '23
      Sponsor:
      GLSVLSI '23: Great Lakes Symposium on VLSI 2023
      June 5 - 7, 2023
      TN, Knoxville, USA

      Acceptance Rates

      Overall Acceptance Rate 312 of 1,156 submissions, 27%

      Upcoming Conference

      GLSVLSI '25
      Great Lakes Symposium on VLSI 2025
      June 30 - July 2, 2025
      New Orleans , LA , USA

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)112
      • Downloads (Last 6 weeks)5
      Reflects downloads up to 22 Jan 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (2024)ALPRI-FI: A Framework for Early Assessment of Hardware Fault Resiliency of DNN AcceleratorsElectronics10.3390/electronics1316324313:16(3243)Online publication date: 15-Aug-2024
      • (2024)ZuSE-KI-Mobil AI Chip Design Platform: An Overview2024 IEEE Nordic Circuits and Systems Conference (NorCAS)10.1109/NorCAS64408.2024.10752454(1-7)Online publication date: 29-Oct-2024
      • (2024)BayWatch: Leveraging Bayesian Neural Networks for Hardware Fault Tolerance and Monitoring2024 IEEE International Symposium on Defect and Fault Tolerance in VLSI and Nanotechnology Systems (DFT)10.1109/DFT63277.2024.10753546(1-6)Online publication date: 8-Oct-2024
      • (2023)Leveraging Mixed-Precision CNN Inference for Increased Robustness and Energy Efficiency2023 IEEE 36th International System-on-Chip Conference (SOCC)10.1109/SOCC58585.2023.10256738(1-6)Online publication date: 5-Sep-2023

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media