arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.03885cs.LGcs.AR
收藏

ClosNets:一种用于快速DNN训练的先验稀疏拓扑

ClosNets: a Priori Sparse Topologies for Faster DNN Training

Boston University(波士顿大学)

Mihailo Isakov, Michel A. Kinsy

摘要:

深度神经网络(DNN)中的全连接层通常是训练过程中的吞吐量和功耗瓶颈。这是由于它们的大小和低数据重用。修剪密集层可以显着减少这些网络的大小,但这种方法只能在训练后应用。在这项工作中,我们提出了一种新的全连接层,可以在不牺牲精度的情况下降低DNN的内存需求。我们用稀疏矩阵的乘积替换稠密矩阵,稀疏矩阵的拓扑是我们事先选择的。这使我们能够:(1)训练显著更小的网络而不损失准确性,以及(2)存储网络权重而不必存储连接索引。因此,由于网络规模较小,我们实现了显着的训练加速,并且每个时期的计算量减少。我们测试了几种稀疏层拓扑结构,发现Clos网络由于其高路径多样性,浅度和高模型精度而表现良好。使用ClosNets,我们能够将密集层的大小减少多达一个数量级,而不会影响模型的准确性。

英文摘要:

Fully-connected layers in deep neural networks (DNN) are often the throughput and power bottleneck during training. This is due to their large size and low data reuse. Pruning dense layers can significantly reduce the size of these networks, but this approach can only be applied after training. In this work we propose a novel fully-connected layer that reduces the memory requirements of DNNs without sacrificing accuracy. We replace a dense matrix with products of sparse matrices whose topologies we pick in advance. This allows us to: (1) train significantly smaller networks without a loss in accuracy, and (2) store the network weights without having to store connection indices. We therefore achieve significant training speedups due to the smaller network size, and a reduced amount of computation per epoch. We tested several sparse layer topologies and found that Clos networks perform well due to their high path diversity, shallowness, and high model accuracy. With the ClosNets, we are able to reduce dense layer sizes by as much as an order of magnitude without hurting model accuracy.

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

↑