arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.09598cs.LGcs.AIcs.CVcs.NE
收藏

SERF:使用log-Softplus误差激活函数更好地训练深度神经网络

SERF: Towards better training of deep neural networks using log-Softplus ERror activation Function

University of Toronto(多伦多大学);Stony Brook University(纽约州立大学石溪分校)

Sayan Nag, Mayukh Bhattacharyya

摘要:

激活函数在确定训练动力学和神经网络性能方面起着关键作用。广泛采用的激活函数ReLU尽管简单有效,但缺点很少,包括垂死的ReLU问题。为了解决这些问题,我们提出了一种新的激活函数称为农奴这是自正则化和非单调的性质。和Mish一样,Serf也属于Swish函数家族。基于对具有不同最先进架构的计算机视觉(图像分类和目标检测)和自然语言处理(机器翻译,情感分类和多模态蕴涵)任务的几个实验,观察到Serf大大优于ReLU(基线)和其他激活函数,包括Swish和Mish,在更深的架构上具有明显更大的优势。消融研究进一步表明,基于Serf的架构在不同的场景中表现得比Swish和Mish更好,验证了Serf在不同深度、复杂性、优化器、学习速率、批量大小、初始化器和辍学率的有效性和兼容性。最后,我们研究了Swish和Serf之间的数学关系,从而显示了Serf的一阶导数中固有的预处理函数的影响,它提供了正则化效果,使梯度更平滑,优化更快。

英文摘要:

Activation functions play a pivotal role in determining the training dynamics and neural network performance. The widely adopted activation function ReLU despite being simple and effective has few disadvantages including the Dying ReLU problem. In order to tackle such problems, we propose a novel activation function called Serf which is self-regularized and nonmonotonic in nature. Like Mish, Serf also belongs to the Swish family of functions. Based on several experiments on computer vision (image classification and object detection) and natural language processing (machine translation, sentiment classification and multimodal entailment) tasks with different state-of-the-art architectures, it is observed that Serf vastly outperforms ReLU (baseline) and other activation functions including both Swish and Mish, with a markedly bigger margin on deeper architectures. Ablation studies further demonstrate that Serf based architectures perform better than those of Swish and Mish in varying scenarios, validating the effectiveness and compatibility of Serf with varying depth, complexity, optimizers, learning rates, batch sizes, initializers and dropout rates. Finally, we investigate the mathematical relation between Swish and Serf, thereby showing the impact of preconditioner function ingrained in the first derivative of Serf which provides a regularization effect making gradients smoother and optimization faster.

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

↑