arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1602.08194stat.MLcs.LGcs.NE
收藏

通过随机哈希实现可扩展和可持续的深度学习

Scalable and Sustainable Deep Learning via Randomized Hashing

Rice University(莱斯大学)

Ryan Spring, Anshumali Shrivastava

摘要:

当前的深度学习架构正在变得越来越大,以便从复杂的数据集中学习。这些架构需要庞大的矩阵乘法运算来训练数百万个参数。相反,另一个日益增长的趋势是将深度学习引入低功耗嵌入式设备。从计算和能源的角度来看,与深度网络的训练和测试相关的矩阵运算非常昂贵。我们提出了一种新的基于哈希的技术,以大幅减少训练和测试深度网络所需的计算量。我们的方法结合了最近的想法,从自适应辍学和随机散列最大内积搜索,以有效地选择具有最高激活的节点。我们的深度学习新算法通过在显著更少的(稀疏)节点上操作,降低了正向和反向传播的总体计算成本。因此,我们的算法只使用了总乘法的5%,同时平均保持在原始模型精度的1%以内。所提出的基于散列的反向传播的一个独特性质是更新总是稀疏的。由于稀疏的梯度更新,我们的算法非常适合异步和并行训练,从而随着核心数量的增加而接近线性加速。我们证明了我们提出的算法的可扩展性和可持续性(能源效率),通过严格的实验评估几个真实的数据集。

英文摘要:

Current deep learning architectures are growing larger in order to learn from complex datasets. These architectures require giant matrix multiplication operations to train millions of parameters. Conversely, there is another growing trend to bring deep learning to low-power, embedded devices. The matrix operations, associated with both training and testing of deep networks, are very expensive from a computational and energy standpoint. We present a novel hashing based technique to drastically reduce the amount of computation needed to train and test deep networks. Our approach combines recent ideas from adaptive dropouts and randomized hashing for maximum inner product search to select the nodes with the highest activation efficiently. Our new algorithm for deep learning reduces the overall computational cost of forward and back-propagation by operating on significantly fewer (sparse) nodes. As a consequence, our algorithm uses only 5% of the total multiplications, while keeping on average within 1% of the accuracy of the original model. A unique property of the proposed hashing based back-propagation is that the updates are always sparse. Due to the sparse gradient updates, our algorithm is ideally suited for asynchronous and parallel training leading to near linear speedup with increasing number of cores. We demonstrate the scalability and sustainability (energy efficiency) of our proposed algorithm via rigorous experimental evaluations on several real datasets.

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

↑