Swish-T:通过引入双曲正切偏置增强Swish激活函数以提升神经网络性能
机器学习
2026-04-06 v3 计算机视觉与模式识别
摘要
我们提出了Swish-T系列,是对现有非单调激活函数Swish的改进。Swish-T通过在原始Swish函数中添加双曲正切偏置来实现。这种修改创建了一个Swish-T变体系列,每个变体都旨在在不同任务中取得优异成绩,展现出特定优势,取决于应用背景。双曲正切偏置允许在初始训练阶段对负值进行更广泛的接受,比原始Swish函数提供更平滑的非单调曲线。我们最终提出了Swish-T函数,而Swish-T和Swish-T作为Swish-T的副产品,也表现出令人满意的性能。此外,我们的消融研究表明,将Swish-T作为非参数函数仍可实现高性能。Swish-T系列在各种模型和基准数据集上均获得了实证优势,包括MNIST、Fashion MNIST、SVHN、CIFAR-10和CIFAR-100。代码已公开于https://github.com/ictseoyoungmin/Swish-T-pytorch。
引用
@article{arxiv.2407.01012,
title = {Swish-T : Enhancing Swish Activation with Tanh Bias for Improved Neural Network Performance},
author = {Youngmin Seo and Jinha Kim and Unsang Park},
journal= {arXiv preprint arXiv:2407.01012},
year = {2026}
}
备注
11 pages, 6 figures Revised the derivative of the sigmoid function from 1-sigmoid to sigmoid(1-sigmoid) for correctness.Updated related equations in Section 3.2. Conclusions to Conclusion in Section 6