arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.14957cs.LGcs.AIstat.ML
收藏

理解神经网络中频率偏置的动态

Understanding the dynamics of the frequency bias in neural networks

Pontificia Universidad Católica de Chile(智利天主教大学)

Juan Molina, Mircea Petrache, Francisco Sahli Costabal, Matías Courdurier

AI总结:

本研究通过偏微分方程揭示两层神经网络在神经正切核机制下的频率偏置动态,证明合理选择初始化权重分布可消除或控制该偏置,并在傅里叶特征模型及多层网络中验证。

摘要:

近期研究表明,传统神经网络(NN)架构在学习过程中表现出显著的频率偏置。即,神经网络先学习低频特征,再学习高频特征。在本研究中,我们严格推导了一个偏微分方程(PDE),用以揭示神经正切核(Neural Tangent Kernel)机制下两层神经网络的误差频率动态。此外,利用这一见解,我们明确展示了如何通过适当选择初始化权重的分布来消除或控制频率偏置。我们将研究聚焦于傅里叶特征(Fourier Features)模型,这是一种第一层具有正弦和余弦激活函数、频率从指定分布中采样的神经网络。在此设置下,我们通过实验验证了理论结果,并使用有限元方法将神经网络动态与偏微分方程的解进行比较。最后,我们实证表明,同一原理可推广到多层神经网络。

英文摘要:

Recent works have shown that traditional Neural Network (NN) architectures display a marked frequency bias in the learning process. Namely, the NN first learns the low-frequency features before learning the high-frequency ones. In this study, we rigorously develop a partial differential equation (PDE) that unravels the frequency dynamics of the error for a 2-layer NN in the Neural Tangent Kernel regime. Furthermore, using this insight, we explicitly demonstrate how an appropriate choice of distributions for the initialization weights can eliminate or control the frequency bias. We focus our study on the Fourier Features model, an NN where the first layer has sine and cosine activation functions, with frequencies sampled from a prescribed distribution. In this setup, we experimentally validate our theoretical results and compare the NN dynamics to the solution of the PDE using the finite element method. Finally, we empirically show that the same principle extends to multi-layer NNs.

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

↑