arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.00391cs.LGcs.NEstat.ML
收藏

噪声激活函数

Noisy Activation Functions

University of Montreal(蒙特利尔大学);University of Oxford(牛津大学)

Caglar Gulcehre, Marcin Moczulski, Misha Denil, Yoshua Bengio

摘要:

由于激活函数的饱和行为,神经网络中使用的常见非线性激活函数可能会导致训练困难,这可能会隐藏香草-SGD不可见的依赖关系(仅使用一阶梯度)。使用软饱和激活函数来模拟数字逻辑电路的离散切换的门控机制是这方面的很好的例子。我们建议利用注入适当的噪声,使梯度可以很容易地流动,即使无噪声的应用程序的激活函数将产生零梯度。大的噪声将主导无噪声梯度,并允许随机梯度下降探索更多。通过仅将噪声添加到激活函数的有问题的部分,我们允许优化过程探索激活函数的退化(饱和)和良好行为部分之间的边界。我们还建立了与模拟退火的联系,当噪声量被退火时,更容易优化硬目标函数。我们通过实验发现,用噪声变体替换这种饱和的激活函数有助于在许多情况下进行训练,在不同的数据集和任务上产生最先进的或有竞争力的结果,特别是当训练似乎是最困难的时候,例如,当课程学习是必要的,以获得良好的结果。

英文摘要:

Common nonlinear activation functions used in neural networks can cause training difficulties due to the saturation behavior of the activation function, which may hide dependencies that are not visible to vanilla-SGD (using first order gradients only). Gating mechanisms that use softly saturating activation functions to emulate the discrete switching of digital logic circuits are good examples of this. We propose to exploit the injection of appropriate noise so that the gradients may flow easily, even if the noiseless application of the activation function would yield zero gradient. Large noise will dominate the noise-free gradient and allow stochastic gradient descent toexplore more. By adding noise only to the problematic parts of the activation function, we allow the optimization procedure to explore the boundary between the degenerate (saturating) and the well-behaved parts of the activation function. We also establish connections to simulated annealing, when the amount of noise is annealed down, making it easier to optimize hard objective functions. We find experimentally that replacing such saturating activation functions by noisy variants helps training in many contexts, yielding state-of-the-art or competitive results on different datasets and task, especially when training seems to be the most difficult, e.g., when curriculum learning is necessary to obtain good results.

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

↑