面向基于交叉阵列的模拟存内加速器中ADC效率提升的剪枝方法
Pruning for Improved ADC Efficiency in Crossbar-based Analog In-memory Accelerators
AI总结:
本文提出交叉阵列适配剪枝方法D.U.B.,通过限制稀疏度为2的离散幂并鼓励列间非结构化与平衡稀疏性,有效降低模数转换器能耗,在VGG11和ResNet18上实现最高7.13倍ADC能效提升且准确率下降不到1%。
摘要:
深度学习在许多应用中取得了成功,但计算需求高,需要定制加速器进行部署。基于交叉阵列的模拟存内架构因具有高数据复用率,且通过在内存中结合存储与计算实现高效率,对加速深度神经网络(DNN)极具吸引力。然而,它们需要模数转换器(ADC)来传输交叉阵列的输出。ADC消耗了每个交叉阵列处理单元大量的能量和面积,从而削弱了潜在的效率优势。剪枝是一项被广泛研究的提升DNN效率的技术,但需要进行修改才能在交叉阵列上有效。在本文中,我们提出了交叉阵列适配剪枝,以针对ADC特有的低效问题。这通过识别三个关键特性(称为D.U.B.)来实现,这些特性诱导的稀疏性可用于降低ADC能耗而不牺牲准确率。第一个特性通过将稀疏度水平限制为2的离散幂,确保稀疏性有效转化为硬件效率。另外两个特性鼓励同一交叉阵列中的列实现非结构化和平衡的稀疏性,以分摊准确率的下降。随后,通过对同一交叉阵列内相邻列的$L_{0}$范数的方差进行正则化,实现了所需的D.U.B.稀疏性。我们提出的实现方法可直接用于端到端的基于梯度的训练。我们将该算法应用于在CIFAR-10和ImageNet数据集上训练的VGG11和ResNet18模型的卷积层,在准确率下降不到1%的情况下,分别实现了高达7.13倍和1.27倍的ADC能效提升。
英文摘要:
Deep learning has proved successful in many applications but suffers from high computational demands and requires custom accelerators for deployment. Crossbar-based analog in-memory architectures are attractive for acceleration of deep neural networks (DNN), due to their high data reuse and high efficiency enabled by combining storage and computation in memory. However, they require analog-to-digital converters (ADCs) to communicate crossbar outputs. ADCs consume a significant portion of energy and area of every crossbar processing unit, thus diminishing the potential efficiency benefits. Pruning is a well-studied technique to improve the efficiency of DNNs but requires modifications to be effective for crossbars. In this paper, we motivate crossbar-attuned pruning to target ADC-specific inefficiencies. This is achieved by identifying three key properties (dubbed D.U.B.) that induce sparsity that can be utilized to reduce ADC energy without sacrificing accuracy. The first property ensures that sparsity translates effectively to hardware efficiency by restricting sparsity levels to Discrete powers of 2. The other 2 properties encourage columns in the same crossbar to achieve both Unstructured and Balanced sparsity in order to amortize the accuracy drop. The desired D.U.B. sparsity is then achieved by regularizing the variance of $L_{0}$ norms of neighboring columns within the same crossbar. Our proposed implementation allows it to be directly used in end-to-end gradient-based training. We apply the proposed algorithm to convolutional layers of VGG11 and ResNet18 models, trained on CIFAR-10 and ImageNet datasets, and achieve up to 7.13x and 1.27x improvement, respectively, in ADC energy with less than 1% drop in accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。