ReD-CaNe:近似条件下胶囊网络弹性分析与设计的系统方法
ReD-CaNe: A Systematic Methodology for Resilience Analysis and Design of Capsule Networks under Approximations
摘要:
与传统的卷积神经网络(CNN)相比,胶囊网络(CapsNets)的最新进展显示出其优越的学习能力。然而,CapsNets极高的复杂性限制了它们在现实世界应用中的快速部署。此外,虽然CNN的弹性已经被广泛研究,以实现其节能实现,但CapsNets弹性的分析在很大程度上是一个未探索的领域,可以为研究克服CapsNets复杂性挑战的技术提供坚实的基础。遵循近似计算的趋势,以实现节能设计,我们对近似误差下的CapsNets推理进行了广泛的弹性分析。我们的方法对近似分量(如乘数)产生的误差进行建模,并分析它们对CapsNets分类精度的影响。这使得能够基于CapsNet推理的每个操作的弹性来选择近似组件。我们修改了TensorFlow框架,以模拟在CapsNet推理的不同计算操作中注入近似噪声(基于近似组件的模型)。我们的研究结果表明,CapsNet对动态路由(softmax和系数更新)期间发生的计算中注入的错误更具弹性,而不是卷积和激活函数等其他阶段。我们的分析对于设计具有近似组件的高效CapsNet硬件加速器非常有用。据我们所知,这是第一次在专门的CapsNet硬件上使用近似的概念验证。
英文摘要:
Recent advances in Capsule Networks (CapsNets) have shown their superior learning capability, compared to the traditional Convolutional Neural Networks (CNNs). However, the extremely high complexity of CapsNets limits their fast deployment in real-world applications. Moreover, while the resilience of CNNs have been extensively investigated to enable their energy-efficient implementations, the analysis of CapsNets' resilience is a largely unexplored area, that can provide a strong foundation to investigate techniques to overcome the CapsNets' complexity challenge. Following the trend of Approximate Computing to enable energy-efficient designs, we perform an extensive resilience analysis of the CapsNets inference subjected to the approximation errors. Our methodology models the errors arising from the approximate components (like multipliers), and analyze their impact on the classification accuracy of CapsNets. This enables the selection of approximate components based on the resilience of each operation of the CapsNet inference. We modify the TensorFlow framework to simulate the injection of approximation noise (based on the models of the approximate components) at different computational operations of the CapsNet inference. Our results show that the CapsNets are more resilient to the errors injected in the computations that occur during the dynamic routing (the softmax and the update of the coefficients), rather than other stages like convolutions and activation functions. Our analysis is extremely useful towards designing efficient CapsNet hardware accelerators with approximate components. To the best of our knowledge, this is the first proof-of-concept for employing approximations on the specialized CapsNet hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。