arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.14873cs.LG
收藏

傅里叶分析网络如何运作?一种机制分析及新的双激活层提案

How Does Fourier Analysis Network Work? A Mechanism Analysis and a New Dual-Activation Layer Proposal

Sam Jeong, Hae Yong Kim

AI总结:

本文分析了傅里叶分析网络(FAN)中正弦激活对性能的积极贡献及余弦激活的负面影响,提出双激活层(DAL)以提升训练动态和收敛速度,实验显示其在噪声信号分类、MNIST数字识别和ECG生物识别任务中表现更优。

摘要:

傅里叶分析网络(FAN)最近被提出作为一种通过将部分修正线性单元(ReLU)激活函数替换为正弦和余弦函数来提升神经网络性能的简单方法。尽管已有研究报道了在不同任务中取得的小但一致的收益,但这些改进背后的机制仍不清楚。本文显示,仅正弦激活对性能有积极贡献,而余弦激活则可能有害。我们的分析表明,改进并非源于正弦函数的周期性,而是源于其在x=0附近的行为,其中非零导数缓解了消失梯度问题。我们进一步表明,FAN主要缓解了死ReLU问题,即神经元始终接收负输入,产生零梯度并停止学习。尽管现代ReLU-like激活函数如Leaky ReLU、GELU和Swish减少了ReLU的零梯度区域,但它们仍包含输入域,其中梯度仍显著减小,导致优化变慢和收敛缓慢。FAN通过引入更稳定的梯度路径解决了这一限制。这一分析将FAN的益处理解从频谱解释转移到了训练动态的具体分析,从而开发出更高效的双激活层(DAL)以加速收敛。我们评估了DAL在三个任务中的表现:噪声正弦信号与纯噪声的分类、MNIST数字分类以及基于心电图(ECG)的生物识别。在所有情况下,DAL模型都比使用传统激活函数的模型收敛更快,并在验证准确率上达到相等或更高的水平。

英文摘要:

Fourier Analysis Network (FAN) was recently proposed as a simple way to improve neural network performance by replacing part of Rectified Linear Unit (ReLU) activations with sine and cosine functions. Although several studies have reported small but consistent gains across tasks, the underlying mechanism behind these improvements has remained unclear. In this work, we show that only the sine activation contributes positively to performance, whereas the cosine activation tends to be detrimental. Our analysis reveals that the improvement is not a consequence of the sine function's periodic nature; instead, it stems from the function's local behavior near x = 0, where its non-zero derivative mitigates the vanishing-gradient problem. We further show that FAN primarily alleviates the dying-ReLU problem, in which a neuron consistently receives negative inputs, produces zero gradients, and stops learning. Although modern ReLU-like activations, such as Leaky ReLU, GELU, and Swish, reduce ReLU's zero-gradient region, they still contain input domains where gradients remain significantly diminished, contributing to slower optimization and hindering rapid convergence. FAN addresses this limitation by introducing a more stable gradient pathway. This analysis shifts the understanding of FAN's benefits from a spectral interpretation to a concrete analysis of training dynamics, leading to the development of the Dual-Activation Layer (DAL), a more efficient convergence accelerator. We evaluate DAL on three tasks: classification of noisy sinusoidal signals versus pure noise, MNIST digit classification, and Electrocardiogram (ECG)-based biometric recognition. In all cases, DAL models converge faster and achieve equal or higher validation accuracy compared to models with conventional activations.

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

↑