arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.04642cs.LGstat.ML
收藏

跨特征学习强度的SGD优化景观

The Optimization Landscape of SGD Across the Feature Learning Strength

Harvard University(哈佛大学);School of Engineering and Applied Science, Harvard University(哈佛大学工程与应用科学学院);University of California, Berkeley(加州大学伯克利分校);Center for Brain Science, Harvard University(哈佛大学脑科学中心);Kempner Institute, Harvard University(哈佛大学肯普纳研究所)

Alexander Atanasov, Alexandru Meterez, James B. Simon, Cengiz Pehlevan

AI总结:

本文实证研究了超参数$γ$控制特征学习强度时SGD的优化景观,发现最优学习率随$γ$呈非平凡缩放,且在“超丰富”大$γ$区域网络表现出特有的平台-阶梯式损失曲线并常达到最优性能,强调了大$γ$极限对表征学习动力学研究的意义。

摘要:

我们考虑最后一层被固定超参数$γ$按比例缩小的神经网络(NNs)。最近的研究表明$γ$控制着特征学习的强度。随着$γ$增大,网络演化从“惰性”核动力学转变为“丰富”的特征学习动力学,并带来诸多相关益处,包括在常见任务上的性能提升。在本研究中,我们在在线训练设置下,对跨多种模型和数据集缩放$γ$的效果进行了彻底的实证研究。我们首先考察了$γ$与学习率$η$的交互作用,在$γ$-$η$平面中识别出几种缩放区域,并使用一个简单模型在理论上对其进行了解释。我们发现最优学习率$η^*$随$γ$呈非平凡缩放。具体而言,当$γ\ll 1$时,$η^* \propto γ^2$;对于深度为$L$的前馈网络,当$γ\gg 1$时,$η^* \propto γ^{2/L}$。利用这一最优学习率缩放规律,我们继续对探索不足的“超丰富”$γ\gg 1$区域进行实证研究。我们发现该区域中的网络表现出特有的损失曲线,以一个长平台期开始,随后出现下降,有时还会伴随一个或多个额外的阶梯状台阶。我们发现不同大$γ$值的网络在经过时间重参数化后,会沿着相似的轨迹进行优化。我们进一步发现,最优的在线性能通常出现在大$γ$值处,如果不调整该超参数则可能会错过这一最优解。我们的研究结果表明,对大$γ$极限的解析研究可能会为高性能模型中表征学习的动力学提供有用的见解。

英文摘要:

We consider neural networks (NNs) where the final layer is down-scaled by a fixed hyperparameter $γ$. Recent work has identified $γ$ as controlling the strength of feature learning. As $γ$ increases, network evolution changes from "lazy" kernel dynamics to "rich" feature-learning dynamics, with a host of associated benefits including improved performance on common tasks. In this work, we conduct a thorough empirical investigation of the effect of scaling $γ$ across a variety of models and datasets in the online training setting. We first examine the interaction of $γ$ with the learning rate $η$, identifying several scaling regimes in the $γ$-$η$ plane which we explain theoretically using a simple model. We find that the optimal learning rate $η^*$ scales non-trivially with $γ$. In particular, $η^* \propto γ^2$ when $γ\ll 1$ and $η^* \propto γ^{2/L}$ when $γ\gg 1$ for a feed-forward network of depth $L$. Using this optimal learning rate scaling, we proceed with an empirical study of the under-explored "ultra-rich" $γ\gg 1$ regime. We find that networks in this regime display characteristic loss curves, starting with a long plateau followed by a drop-off, sometimes followed by one or more additional staircase steps. We find networks of different large $γ$ values optimize along similar trajectories up to a reparameterization of time. We further find that optimal online performance is often found at large $γ$ and could be missed if this hyperparameter is not tuned. Our findings indicate that analytical study of the large-$γ$ limit may yield useful insights into the dynamics of representation learning in performant models.

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

↑