深度网络的损失感知二值化
Loss-aware Binarization of Deep Networks
摘要:
深度神经网络模型虽然非常强大且非常成功,但在空间和时间方面的计算成本很高。最近,已经有一些关于二进制化网络权重和激活的尝试。这大大减小了网络的大小,并将底层乘法替换为加法甚至XNOR位操作。然而,现有的二值化方案都是基于简单的矩阵近似,忽略了二值化对损失的影响。在本文中,我们提出了一个近似牛顿算法与对角Hessian近似,直接最大限度地减少损失w.r.t.二进制化的权重。底层的近端步骤有一个有效的封闭形式的解决方案,和二阶信息可以有效地获得从二阶矩已经计算的亚当优化器。在前馈网络和递归网络上的实验表明,该算法的性能优于现有的二值化方案,并且对宽网络和深网络具有更好的鲁棒性。
英文摘要:
Deep neural network models, though very powerful and highly successful, are computationally expensive in terms of space and time. Recently, there have been a number of attempts on binarizing the network weights and activations. This greatly reduces the network size, and replaces the underlying multiplications to additions or even XNOR bit operations. However, existing binarization schemes are based on simple matrix approximation and ignore the effect of binarization on the loss. In this paper, we propose a proximal Newton algorithm with diagonal Hessian approximation that directly minimizes the loss w.r.t. the binarized weights. The underlying proximal step has an efficient closed-form solution, and the second-order information can be efficiently obtained from the second moments already computed by the Adam optimizer. Experiments on both feedforward and recurrent networks show that the proposed loss-aware binarization algorithm outperforms existing binarization schemes, and is also more robust for wide and deep networks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。