新激活函数融合对称Swish与GELU,提升模型泛化能力
SG-Blend: Learning an Interpolation Between Improved Swish and GELU for Robust Neural Representations
- 通过可学习参数动态混合改进的对称Swish与GELU
- 在多模态任务中性能全面优于现有基线,计算开销极低
- 适合追求稳定高效训练的NLP与视觉模型开发者
激活函数设计仍是优化深度神经网络的关键。尽管Swish和GELU表现优异,但常存在领域特异性最优解。本文提出SG-Blend,一种将新型一阶对称Swish(SSwish)与经典GELU通过可学习参数动态插值得到的新激活函数。该方法结合了SSwish的可控非单调性与对称性,以及GELU的平滑概率特性,旨在实现模型表达力与梯度稳定性之间的更优平衡。我们在多种模态和架构上进行了全面评估,结果表明在所有自然语言处理与计算机视觉任务中均取得性能提升,且计算开销几乎可忽略。实验验证了SG-Blend作为通用即插即用替换方案的潜力,显著优于当前主流基线。代码已公开于https://anonymous.4open.science/r/SGBlend-6CBC。
原文摘要 · Abstract (English)
The design of activation functions remains a pivotal component in optimizing deep neural networks. While prevailing choices like Swish and GELU demonstrate considerable efficacy, they often exhibit domain-specific optima. This work introduces SG-Blend, a novel activation function that blends our proposed SSwish, a first-order symmetric variant of Swish and the established GELU through dynamic interpolation. By adaptively blending these constituent functions via learnable parameters, SG-Blend aims to harness their complementary strengths: SSwish's controlled non-monotonicity and symmetry, and GELU's smooth, probabilistic profile, to achieve a more universally robust balance between model expressivity and gradient stability. We conduct comprehensive empirical evaluations across diverse modalities and architectures, showing performance improvements across all considered natural language and computer vision tasks and models. These results, achieved with negligible computational overhead, underscore SG-Blend's potential as a versatile, drop-in replacement that consistently outperforms strong contemporary baselines. The code is available at https://anonymous.4open.science/r/SGBlend-6CBC.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。