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

U-SWIM:面向存内计算神经加速器的通用选择性写验证方法

U-SWIM: Universal Selective Write-Verify for Computing-in-Memory Neural Accelerators

University of Notre Dame(圣母大学)

Zheyu Yan, Xiaobo Sharon Hu, Yiyu Shi

AI总结:

本文提出U-SWIM方法,利用二阶导数和一次前反向传播精准识别需写验证的权重,在保持DNN精度的同时实现最高10倍编程加速。

摘要:

采用新兴非易失性存储器(NVM)器件实现存内计算(CiM)的架构,因其出色的能效而成为深度神经网络(DNN)加速的有力竞争者。然而,使用这些新兴器件时面临一个重大挑战:它们在权重映射过程中可能出现显著差异。若不加以缓解,这会严重影响DNN精度。针对不完美权重映射,一种被广泛接受的补救方法是迭代写验证方法,即验证电导值并在需要时调整器件。在所有现有文献中,该流程被应用于每一个器件,导致显著的编程时间开销。我们的研究表明,只有一小部分权重需要对其对应器件进行写验证处理,即可保持DNN精度,从而实现显著的编程加速。在此基础上,我们提出了USWIM,一种基于二阶导数的新方法。它利用一次前向传播和反向传播迭代来精确定位需要写验证的权重。通过在多种DNN设计和数据集上的广泛测试,USWIM相较于传统的穷举式写验证方法实现了高达10倍的编程加速,同时保持相似的精度水平。此外,与我们早期的SWIM技术相比,USWIM表现更优,在处理具有非均匀差异的器件时展现出7倍的加速。

英文摘要:

Architectures that incorporate Computing-in-Memory (CiM) using emerging non-volatile memory (NVM) devices have become strong contenders for deep neural network (DNN) acceleration due to their impressive energy efficiency. Yet, a significant challenge arises when using these emerging devices: they can show substantial variations during the weight-mapping process. This can severely impact DNN accuracy if not mitigated. A widely accepted remedy for imperfect weight mapping is the iterative write-verify approach, which involves verifying conductance values and adjusting devices if needed. In all existing publications, this procedure is applied to every individual device, resulting in a significant programming time overhead. In our research, we illustrate that only a small fraction of weights need this write-verify treatment for the corresponding devices and the DNN accuracy can be preserved, yielding a notable programming acceleration. Building on this, we introduce USWIM, a novel method based on the second derivative. It leverages a single iteration of forward and backpropagation to pinpoint the weights demanding write-verify. Through extensive tests on diverse DNN designs and datasets, USWIM manifests up to a 10x programming acceleration against the traditional exhaustive write-verify method, all while maintaining a similar accuracy level. Furthermore, compared to our earlier SWIM technique, USWIM excels, showing a 7x speedup when dealing with devices exhibiting non-uniform variations.

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

↑