从样本复杂性到机理洞察的神经网络学习动态的傅里叶视角
A Fourier perspective on the learning dynamics of neural networks: from sample complexities to mechanistic insights
AI总结:
本文从傅里叶视角研究神经网络学习动态,揭示了自然图像的近似平移不变性和功率谱特性,展示了简单神经网络在图像分类任务中先依赖幅度信息再利用相位信息的学习过程,并证明了在高维输入下仅基于相位信息的分类任务的难度,以及功率谱如何加速相位信息学习。
摘要:
通过梯度方法训练的神经网络表现出强烈的简单性偏差:它们在学习数据的更复杂特征之前,先学习更简单的统计特征。以往对此现象的研究主要集中在(准)各向同性输入的设置中。在本文中,我们从傅里叶视角研究简单性偏差,这使我们能够将自然图像的两个关键特性纳入分析:近似平移不变性和功率谱。我们首先实验表明,简单神经网络在图像分类任务中首先依赖于幅度信息——与像素对之间的相关性有关——然后再利用相位信息,后者编码边缘和高阶相关性。为此,我们引入了一个合成数据模型,用于平移不变输入,允许对幅度和相位进行精确控制,同时保持可处理性。我们严格证明了对于各向同性和高维输入,仅基于相位信息的分类任务是一个真正困难的任务:在线随机梯度下降(SGD)在n << N^3步内无法区分结构输入与噪声,但需要至少n >> N^3 log^2{N}步。相比之下,我们通过实验和理论证明,功率谱可以显著加速相位信息学习的速度,即使谱本身不帮助分类。对纹理任务的两层网络和ImageNet和CIFAR100的深度卷积网络的模拟证实了幅度和相位之间非平凡的相互作用,提供了深度神经网络高效学习自然图像分布的机理洞察。
英文摘要:
Neural networks trained with gradient-based methods exhibit a strong simplicity bias: they learn simpler statistical features of their data before moving to more complex features. Previous analyses of this phenomenon have largely focused on settings with (quasi-)isotropic inputs. In this work, we study the simplicity bias from a Fourier perspective, which allows us to include two key features of natural images in the analysis: approximate translation-invariance and power-law spectra. We first show experimentally that simple neural networks trained on image classification tasks first rely on amplitude information -- related to pair-wise correlations between pixels -- before exploiting phase information, which encodes edges and higher-order correlations. In view of this, we introduce a synthetic data model for translation-invariant inputs that allows precise control over amplitudes and phases while remaining tractable. We rigorously establish that for isotropic and high-dimensional inputs, classification based on phase information alone is a genuinely hard task: online stochastic gradient descent (SGD) cannot distinguish the structured inputs from noise within $n \ll N^3$ steps, but needs at least $n \gg N^3 \log^2{N}$ steps. In contrast, we show both experimentally and theoretically that power-law spectra can dramatically accelerate the speed of learning phase information, even if the spectra do not help with classification. Simulations with two-layer networks trained on textures and with deep convolutional networks on ImageNet and CIFAR100 confirm this non-trivial interaction between amplitudes and phases, providing mechanistic insights into how deep neural networks can learn natural image distributions efficiently.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。