arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.02649cs.ARcs.CRcs.LG
收藏

Thales:DNN加速器架构脆弱性因子的公式化与估计

Thales: Formulating and Estimating Architectural Vulnerability Factors for DNN Accelerators

University of Rochester(罗切斯特大学);PerceptIn;Arm Research(Arm研究院)

Abhishek Tyagi, Yiming Gan, Shaoshan Liu, Bo Yu, Paul Whatmough, Yuhao Zhu

AI总结:

本文提出Thales方法,通过准确捕获瞬态故障下DNN变量的故障概率并利用蒙特卡洛积分加速估计弹性准确率(RA),揭示了瞬态故障导致的准确率下降远超现有工具估计,并可与网络架构搜索框架集成以设计更具弹性的DNN。

摘要:

随着深度神经网络(DNN)被日益部署在自动驾驶和生物特征认证等安全关键与隐私敏感的应用中,理解DNN的容错特性变得至关重要。先前的工作主要关注单位时间故障数(FIT)率和静默数据损坏(SDC)率等指标,这些指标量化了设备发生故障的频率。相反,本文专注于量化在已发生瞬态错误的情况下DNN的准确率,这能告诉我们当瞬态错误发生时网络的表现如何。我们将此指标称为弹性准确率(RA)。我们表明,现有的RA公式化在根本上是不准确的,因为它错误地假设在硬件瞬态故障下,软件变量(模型权重/激活值)具有相等的故障概率。我们提出了一种算法,能够捕获瞬态故障下DNN变量的故障概率,从而提供了经硬件验证的正确RA估计。为了加速RA估计,我们将RA计算重新表述为蒙特卡洛积分问题,并使用由DNN特定启发式方法驱动的重点采样来求解。使用我们轻量级的RA估计方法,我们表明瞬态故障导致的准确率下降远大于当今DNN弹性工具所估计的程度。我们展示了如何将我们的RA估计工具与网络架构搜索框架集成,从而帮助设计更具弹性的DNN。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑