arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1707.03684cs.CV
收藏

用于高效硬件实现的深度神经网络的结构化稀疏三进制权重编码

Structured Sparse Ternary Weight Coding of Deep Neural Networks for Efficient Hardware Implementations

Seoul National University(首尔大学)

Yoonho Boo, Wonyong Sung

摘要:

深度神经网络(DNN)通常需要大量的实时推理操作。特别是,全连接层包含大量的权重,因此它们通常需要许多片外存储器访问来进行推理。我们提出了一种用于深度神经网络的权重压缩方法,该方法仅在权重的预定位置处允许+1或-1的值,使得可以容易地进行使用表的解码。例如,结构化稀疏(8,2)编码允许八个权重中最多两个非零值。这种方法不仅可以实现无乘法DNN实现,而且与浮点网络相比,还可以将权重存储压缩高达x32。权值分布归一化和逐步剪枝技术被应用于减轻性能下降。实验使用完全连接的深度神经网络和卷积神经网络进行。

英文摘要:

Deep neural networks (DNNs) usually demand a large amount of operations for real-time inference. Especially, fully-connected layers contain a large number of weights, thus they usually need many off-chip memory accesses for inference. We propose a weight compression method for deep neural networks, which allows values of +1 or -1 only at predetermined positions of the weights so that decoding using a table can be conducted easily. For example, the structured sparse (8,2) coding allows at most two non-zero values among eight weights. This method not only enables multiplication-free DNN implementations but also compresses the weight storage by up to x32 compared to floating-point networks. Weight distribution normalization and gradual pruning techniques are applied to mitigate the performance degradation. The experiments are conducted with fully-connected deep neural networks and convolutional neural networks.

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

↑