Skip to main content
QUICK REVIEW

[Paper Review] Thales: Formulating and Estimating Architectural Vulnerability Factors for DNN Accelerators

Abhishek Tyagi, Yiming Gan|arXiv (Cornell University)|Dec 5, 2022
Radiation Effects in ElectronicsEngineering6 citations
TL;DR

This paper proposes a new metric, Resiliency Accuracy (RA), to quantify DNN inference accuracy under transient hardware faults, addressing the fundamental flaw in prior methods that assume equal fault probability across DNN variables. By modeling variable-specific fault probabilities and using importance sampling for efficient Monte Carlo estimation, the authors show that transient faults cause significantly greater accuracy degradation than previously estimated, enabling more resilient DNN accelerator design.

ABSTRACT

As Deep Neural Networks (DNNs) are increasingly deployed in safety critical and privacy sensitive applications such as autonomous driving and biometric authentication, it is critical to understand the fault-tolerance nature of DNNs. Prior work primarily focuses on metrics such as Failures In Time (FIT) rate and the Silent Data Corruption (SDC) rate, which quantify how often a device fails. Instead, this paper focuses on quantifying the DNN accuracy given that a transient error has occurred, which tells us how well a network behaves when a transient error occurs. We call this metric Resiliency Accuracy (RA). We show that existing RA formulation is fundamentally inaccurate, because it incorrectly assumes that software variables (model weights/activations) have equal faulty probability under hardware transient faults. We present an algorithm that captures the faulty probabilities of DNN variables under transient faults and, thus, provides correct RA estimations validated by hardware. To accelerate RA estimation, we reformulate RA calculation as a Monte Carlo integration problem, and solve it using importance sampling driven by DNN specific heuristics. Using our lightweight RA estimation method, we show that transient faults lead to far greater accuracy degradation than what todays DNN resiliency tools estimate. We show how our RA estimation tool can help design more resilient DNNs by integrating it with a Network Architecture Search framework.

Motivation & Objective

  • To address the inaccuracy of existing DNN resiliency metrics that assume uniform fault probability across model weights and activations.
  • To formulate a new metric, Resiliency Accuracy (RA), as a DNN-specific Architectural Vulnerability Factor (AVF) that reflects accuracy degradation under transient faults.
  • To develop an efficient estimation method for RA that reduces sampling variance and accelerates convergence using importance sampling with DNN-specific heuristics.
  • To demonstrate the impact of RA estimation on designing more resilient DNNs through integration with Neural Architecture Search (NAS).
  • To validate the proposed RA formulation and estimation method through large-scale RTL fault simulations and real hardware experiments.

Proposed method

  • Formulate RA as the expected inference accuracy weighted by the probability of each DNN variable (weights/activations) being corrupted by a transient fault, capturing variable-specific fault probabilities.
  • Map DNN software variables to hardware flip-flops (FFs) using regular data reuse patterns to derive fault probabilities across the accelerator.
  • Reframe RA estimation as a Monte Carlo integration problem to enable statistical sampling-based estimation.
  • Propose an importance sampling strategy using DNN-specific heuristics (e.g., MAC operation counts, layer sensitivity) to approximate the optimal sampling distribution and reduce variance.
  • Implement a lightweight RA estimation pipeline that avoids expensive RTL simulations while maintaining high accuracy.
  • Integrate the RA estimation into a NAS framework to guide the search for DNN architectures with higher fault resilience.

Experimental results

Research questions

  • RQ1How does the assumption of uniform fault probability across DNN variables lead to inaccurate Resiliency Accuracy (RA) estimation?
  • RQ2What is the correct formulation of RA that accounts for variable-specific fault probabilities in DNN accelerators?
  • RQ3How can RA be efficiently estimated with minimal sampling while maintaining accuracy?
  • RQ4To what extent do transient faults degrade DNN inference accuracy compared to prior estimates?
  • RQ5Can RA-guided NAS produce DNNs that are more resilient to transient hardware faults?

Key findings

  • The proposed RA formulation correctly models variable-specific fault probabilities, revealing that prior methods based on uniform sampling significantly underestimate the true impact of transient faults.
  • Importance sampling with DNN-specific heuristics reduces the number of required samples by several orders of magnitude compared to uniform sampling, accelerating RA estimation.
  • Hardware-validated simulations show that transient faults cause far greater accuracy degradation than estimated by existing tools, with RA dropping significantly more than previously reported.
  • Selective hardening of control path flip-flops yields the highest improvement in RA, indicating their critical role in fault resilience.
  • Integrating RA into NAS reduces the number of required evaluations per iteration and improves the final network’s fault resilience, with NAS time increasing by only 25.5% when using importance sampling.
  • The RA estimation framework correlates strongly with large-scale RTL fault simulations (over 2.6 billion fault injections), validating its accuracy and practicality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.