Lune

NeurIPS2024顶会

The Feature Speed Formula: a flexible approach to scale hyper-parameters of deep neural networks

Lénaïc Chizat, Praneeth Netrapalli

2024年份
12被引次数
6顶会引用

摘要

Deep learning succeeds by doing hierarchical feature learning, yet tuning hyper-parameters (HP) such as initialization scales, learning rates etc., only give indirect control over this behavior. In this paper, we introduce a key notion to predict and control feature learning: the angle θℓ\theta_\ell between the feature updates and the backward pass (at layer index ℓ\ell). We show that the magnitude of feature updates after one GD step, at any training time, can be expressed via a simple and general feature speed formula in terms of this angle θℓ\theta_\ell, the loss decay, and the magnitude of the backward pass. This angle θℓ\theta_\ell is controlled by the conditioning of the layer-to-layer Jacobians and at random initialization, it is determined by the spectrum of a certain kernel, which coincides with the Neural Tangent Kernel when ℓ=depth\ell=\text{depth}. Given θℓ\theta_\ell, the feature speed formula provides us with rules to adjust HPs (scales and learning rates) so as to satisfy certain dynamical properties, such as feature learning and loss decay. We investigate the implications of our approach for ReLU MLPs and ResNets in the large width-then-depth limit. Relying on prior work, we show that in ReLU MLPs with iid initialization, the angle degenerates with depth as cos⁡(θℓ)=Θ(1/ℓ)\cos(\theta_\ell)=\Theta(1/\sqrt{\ell}). In contrast, ResNets with branch scale O(1/depth)O(1/\sqrt{\text{depth}}) maintain a non-degenerate angle cos⁡(θℓ)=Θ(1)\cos(\theta_\ell)=\Theta(1). We use these insights to recover key properties of known HP scalings and also to introduce a new HP scaling for large depth ReLU MLPs with favorable theoretical properties.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext cbf6ba62-9cd9-48f4-a7e0-2a00a1724484

引用它的顶会 Paper6

问问它们各自怎么用它

它引用的顶会 Paper11

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖