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

线性振荡:一种用于视觉Transformer的新型激活函数

Linear Oscillation: A Novel Activation Function for Vision Transformer

Juyoung Yun

AI总结:

本文提出线性振荡(LoC)激活函数,通过在线性项中引入正弦振荡实现“受控混淆”,在多种架构及Vision Transformer上均优于ReLU和Sigmoid,证明其能促进更稳健和细致的学习。

摘要:

激活函数是深度学习的核心关键,深刻影响着神经网络的表示能力和训练动态。它们不仅塑造表示的性质,还优化收敛速度并增强泛化潜力。认识到这一关键作用后,我们提出了线性振荡(LoC)激活函数,其定义为 $f(x) = x \times \sin(αx + β)$。与主要引入非线性的传统激活函数不同,LoC 将线性轨迹与振荡偏差无缝融合。“线性振荡”这一名称体现了其独特属性,即在保持线性激活的同时注入和谐的振荡,抓住了“混淆的重要性”这一本质。网络激活中的这种“受控混淆”概念被认为能够促进更稳健的学习,尤其是在需要辨别细微模式的情境中。我们的实证研究表明,当集成到多种神经架构中时,LoC 激活函数始终优于 ReLU 和 Sigmoid 等既有激活函数。采用 LoC 的前沿 Vision Transformer 模型所展现出的卓越性能进一步验证了其有效性。本研究阐明了 LoC 相较于其他主流激活函数的显著优势。它支持这样一种观点:在训练过程中间歇性地引入有意的复杂性或“混淆”,可以激发更深刻、更细致的学习。这凸显了审慎选择激活函数在塑造神经网络训练未来中的关键作用。

英文摘要:

Activation functions are the linchpins of deep learning, profoundly influencing both the representational capacity and training dynamics of neural networks. They shape not only the nature of representations but also optimize convergence rates and enhance generalization potential. Appreciating this critical role, we present the Linear Oscillation (LoC) activation function, defined as $f(x) = x \times \sin(αx + β)$. Distinct from conventional activation functions which primarily introduce non-linearity, LoC seamlessly blends linear trajectories with oscillatory deviations. The nomenclature "Linear Oscillation" is a nod to its unique attribute of infusing linear activations with harmonious oscillations, capturing the essence of the "Importance of Confusion". This concept of "controlled confusion" within network activations is posited to foster more robust learning, particularly in contexts that necessitate discerning subtle patterns. Our empirical studies reveal that, when integrated into diverse neural architectures, the LoC activation function consistently outperforms established counterparts like ReLU and Sigmoid. The stellar performance exhibited by the avant-garde Vision Transformer model using LoC further validates its efficacy. This study illuminates the remarkable benefits of the LoC over other prominent activation functions. It champions the notion that intermittently introducing deliberate complexity or "confusion" during training can spur more profound and nuanced learning. This accentuates the pivotal role of judiciously selected activation functions in shaping the future of neural network training.

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

↑