结合概率和概率的神经网络异构逼近
Combining Gradients and Probabilities for Heterogeneous Approximation of Neural Networks
摘要:
这项工作探讨了异构近似乘法器配置神经网络,产生高精度和低能耗的搜索。我们讨论了加性高斯噪声添加到精确的神经网络计算的有效性,作为一个代理模型的行为模拟近似乘子。连续和可微属性的解决方案空间跨越的加性高斯噪声模型被用作启发式,产生有意义的估计层的鲁棒性,而不需要组合优化技术。相反,注入精确计算的噪声量是在使用反向传播的网络训练期间学习的。乘法器误差的概率模型,提出了弥合域之间的差距,该模型估计近似乘法器误差的标准差,连接在加性高斯噪声空间的解决方案,以实际的硬件实例。我们的实验表明,异构近似和神经网络再训练的组合将CIFAR-10数据集上不同ResNet变体的乘法能耗降低了70%至79%,Top-1精度损失低于一个百分点。对于更复杂的Tiny ImageNet任务,我们的VGG16模型实现了53%的能耗降低,Top-5准确率下降了0.5个百分点。我们进一步证明,我们的误差模型可以预测的近似乘法器的参数,在常用的加性高斯噪声(AGN)模型的背景下,具有高精度。我们的软件实现可在www.example.com上获得。
英文摘要:
This work explores the search for heterogeneous approximate multiplier configurations for neural networks that produce high accuracy and low energy consumption. We discuss the validity of additive Gaussian noise added to accurate neural network computations as a surrogate model for behavioral simulation of approximate multipliers. The continuous and differentiable properties of the solution space spanned by the additive Gaussian noise model are used as a heuristic that generates meaningful estimates of layer robustness without the need for combinatorial optimization techniques. Instead, the amount of noise injected into the accurate computations is learned during network training using backpropagation. A probabilistic model of the multiplier error is presented to bridge the gap between the domains; the model estimates the standard deviation of the approximate multiplier error, connecting solutions in the additive Gaussian noise space to actual hardware instances. Our experiments show that the combination of heterogeneous approximation and neural network retraining reduces the energy consumption for multiplications by 70% to 79% for different ResNet variants on the CIFAR-10 dataset with a Top-1 accuracy loss below one percentage point. For the more complex Tiny ImageNet task, our VGG16 model achieves a 53 % reduction in energy consumption with a drop in Top-5 accuracy of 0.5 percentage points. We further demonstrate that our error model can predict the parameters of an approximate multiplier in the context of the commonly used additive Gaussian noise (AGN) model with high accuracy. Our software implementation is available under https://github.com/etrommer/agn-approx.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。