arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.03143stat.MLcs.LG
收藏

随机二元网络的路径样本-解析梯度估计

Path Sample-Analytic Gradient Estimators for Stochastic Binary Networks

Czech Technical University in Prague(布拉格捷克理工大学);Lomonosov Moscow State University(罗蒙诺索夫莫斯科国立大学)

Alexander Shekhovtsov, Viktor Yanush, Boris Flach

摘要:

在具有二进制激活和/或二进制权重的神经网络中,由于模型具有分段常数响应,所以通过梯度下降的训练是复杂的。我们考虑随机二元网络,通过在激活前添加噪声获得。期望的模型响应成为参数的平滑函数,其梯度是明确定义的,但准确估计它是具有挑战性的。我们提出了一种新的方法,这种估计问题相结合的采样和解析近似的步骤。该方法有一个显着减少的方差在一个小的偏差,这给出了一个非常实用的权衡与现有的无偏和有偏估计的价格。我们进一步表明,一个额外的线性化步骤导致一个深直通估计以前只知道作为一个特设启发式。我们通过实验证明了梯度估计的更高准确性,并证明了使用这两种方法在深度卷积模型中进行训练时更稳定,性能更好。

英文摘要:

In neural networks with binary activations and or binary weights the training by gradient descent is complicated as the model has piecewise constant response. We consider stochastic binary networks, obtained by adding noises in front of activations. The expected model response becomes a smooth function of parameters, its gradient is well defined but it is challenging to estimate it accurately. We propose a new method for this estimation problem combining sampling and analytic approximation steps. The method has a significantly reduced variance at the price of a small bias which gives a very practical tradeoff in comparison with existing unbiased and biased estimators. We further show that one extra linearization step leads to a deep straight-through estimator previously known only as an ad-hoc heuristic. We experimentally show higher accuracy in gradient estimation and demonstrate a more stable and better performing training in deep convolutional models with both proposed methods.

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

↑