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

排序权重分段:用于存内计算交叉阵列上能效非结构化稀疏深度神经网络的排序权重分段方法

Sorted Weight Sectioning for Energy-Efficient Unstructured Sparse DNNs on Compute-in-Memory Crossbars

Harvard University(哈佛大学)

Matheus Farias, H. T. Kung

AI总结:

本文提出排序权重分段(SWS)算法,通过将排序后的DNN权重段映射到位切片存内计算交叉阵列,利用小权重和零权重稀疏性,减少ADC数量与分辨率,在非结构化稀疏BERT模型上实现89.5%的ADC能耗降低,同时保持精度。

摘要:

我们提出排序权重分段(SWS):一种权重分配算法,将排序后的深度神经网络(DNN)权重段放置在位切片存内计算(CIM)交叉阵列上,以降低模数转换器(ADC)的能耗。数据转换是交叉阵列操作中能耗最高的过程。SWS利用(1)小权重和(2)零权重(权重稀疏性)有效降低此成本。DNN权重遵循钟形分布,大多数权重接近零。使用SWS,对于低幅度权重的段,我们仅需低阶交叉阵列列。这减少了所用ADC的数量和分辨率,指数级降低ADC能耗,而不会显著降低DNN精度。非结构化稀疏化进一步锐化权重分布,且精度损失较小。然而,它在硬件跟踪零值方面带来挑战:在未排序的交叉阵列中,若无索引匹配,我们无法将零行切换到其他层权重。SWS通过将零值离线重映射到更早的段来有效处理非结构化稀疏模型,从而揭示完全稀疏潜力并最大化能效。我们的方法在非结构化稀疏BERT模型上将ADC能耗降低了89.5%。总体而言,本文提出了一种新颖算法,以促进针对非结构化稀疏DNN工作负载的能效CIM交叉阵列。

英文摘要:

We introduce $\textit{sorted weight sectioning}$ (SWS): a weight allocation algorithm that places sorted deep neural network (DNN) weight sections on bit-sliced compute-in-memory (CIM) crossbars to reduce analog-to-digital converter (ADC) energy consumption. Data conversions are the most energy-intensive process in crossbar operation. SWS effectively reduces this cost leveraging (1) small weights and (2) zero weights (weight sparsity). DNN weights follow bell-shaped distributions, with most weights near zero. Using SWS, we only need low-order crossbar columns for sections with low-magnitude weights. This reduces the quantity and resolution of ADCs used, exponentially decreasing ADC energy costs without significantly degrading DNN accuracy. Unstructured sparsification further sharpens the weight distribution with small accuracy loss. However, it presents challenges in hardware tracking of zeros: we cannot switch zero rows to other layer weights in unsorted crossbars without index matching. SWS efficiently addresses unstructured sparse models using offline remapping of zeros into earlier sections, which reveals full sparsity potential and maximizes energy efficiency. Our method reduces ADC energy use by 89.5% on unstructured sparse BERT models. Overall, this paper introduces a novel algorithm to promote energy-efficient CIM crossbars for unstructured sparse DNN workloads.

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

↑