梯度下降为何逐步学复杂解?新理论揭示鞍点到鞍点的演化机制。
Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architectures
- 通过分析鞍点间动态,解释不同网络架构如何渐进学习更复杂的结构。
- 线性网络学低秩解,ReLU网络学更多拐点,注意力模型学更多头。
- 适用于全连接、卷积与注意力模型,适合研究优化机制的学者。
用梯度下降训练的神经网络常随时间学习越来越复杂的解,这种现象称为简单性偏差。尽管在各类架构中广泛观察到,现有理论缺乏统一框架。本文提出一个理论框架,解释一类通用神经网络中的简单性偏差,涵盖全连接、卷积和注意力架构。其中“简单”指隐藏单元、卷积核或注意力头数量少。我们证明:线性网络学低秩解,ReLU网络学更多拐点,卷积网络学更多卷积核,自注意力模型学更多注意力头。通过分析固定点、不变流形及梯度下降动态,发现鞍点到鞍点的演化机制:迭代地在不变流形附近演化,接近鞍点后切换至另一不变流形。分析还区分了数据诱导与初始化诱导的鞍点动态:前者导致低秩权重,后者导致稀疏权重。基于该理论,可预测数据分布与初始值对学习过程中平台期持续时间与数量的影响。总体而言,本理论为理解梯度下降为何逐步学习更复杂解提供了统一框架。
原文摘要 · Abstract (English)
Neural networks trained with gradient descent often learn solutions of increasing complexity over time, a phenomenon known as simplicity bias. Despite being widely observed across architectures, existing theoretical treatments lack a unifying framework. We present a theoretical framework that explains a simplicity bias arising from saddle-to-saddle learning dynamics for a general class of neural networks, incorporating fully-connected, convolutional, and attention-based architectures. Here, simple means expressible with few hidden units, i.e., hidden neurons, convolutional kernels, or attention heads. Specifically, we show that linear networks learn solutions of increasing rank, ReLU networks learn solutions with an increasing number of kinks, convolutional networks learn solutions with an increasing number of convolutional kernels, and self-attention models learn solutions with an increasing number of attention heads. By analyzing fixed points, invariant manifolds, and dynamics of gradient descent learning, we show that saddle-to-saddle dynamics operates by iteratively evolving near an invariant manifold, approaching a saddle, and switching to another invariant manifold. Our analysis also disentangles data-induced and initialization-induced saddle-to-saddle dynamics. In particular, the former leads to low-rank weights while the latter to sparse weights. Equipped with the theory, we predict the effects of data distribution and weight initialization on the duration and number of plateaus in learning. Overall, our theory offers a framework for understanding when and why gradient descent progressively learns increasingly complex solutions.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。