Skip to main content
QUICK REVIEW

[論文レビュー] From high-dimensional & mean-field dynamics to dimensionless ODEs: A unifying approach to SGD in two-layers networks

Luca Arnaboldi, Ludovic Stephan|arXiv (Cornell University)|Feb 12, 2023
Neural Networks and ApplicationsComputer Science被引用数 3
ひとこと要約

この論文は、γ/(dp) → 0+ の条件下で、高次元、平均場、勾配流れの3つの枠組みにおいて、2層ニューラルネットワークにおける確率的勾配降下法(SGD)の解析を統一する。そのために、次元に依存しない低次元の次元なしODE系を導出し、極限的な力学を捉える。主な貢献は、十分統計量とガウスモーメント計算を用いて、γ/(dp) → 0+ のときの厳密で統一的な記述を提供し、従来分離されていた理論的枠組みを橋渡しすることにある。

ABSTRACT

This manuscript investigates the one-pass stochastic gradient descent (SGD) dynamics of a two-layer neural network trained on Gaussian data and labels generated by a similar, though not necessarily identical, target function. We rigorously analyse the limiting dynamics via a deterministic and low-dimensional description in terms of the sufficient statistics for the population risk. Our unifying analysis bridges different regimes of interest, such as the classical gradient-flow regime of vanishing learning rate, the high-dimensional regime of large input dimension, and the overparameterised "mean-field" regime of large network width, covering as well the intermediate regimes where the limiting dynamics is determined by the interplay between these behaviours. In particular, in the high-dimensional limit, the infinite-width dynamics is found to remain close to a low-dimensional subspace spanned by the target principal directions. Our results therefore provide a unifying picture of the limiting SGD dynamics with synthetic data.

研究の動機と目的

  • 2層ニューラルネットワークにおけるSGD力学の解析を、高次元(d → ∞)、平均場(p → ∞)、古典的勾配流れ(γ → 0)のそれぞれ異なる枠組みで統一すること。
  • 母数リスクの十分統計量を用いて、極限的なSGD力学を記述する低次元で決定論的なODE系を同定すること。
  • 高次元ODEアプローチと平均場PDE形式主義との間の厳密な関係を確立し、特に無限幅極限において検証すること。
  • 勾配流れ極限(γ → 0)において、力学が入力次元dに依存しないことを示し、隠れた次元不変性を明らかにすること。
  • 導出されたODEおよびPDEのシミュレーションが可能な数値ソルバと、再現性・検証のためのGitHub上のオープンソースコードを提供すること。

提案手法

  • ガウス分布のデータと教師ネットワークで学習される2層ネットワークにおける1パスSGD力学の非漸近的ODE記述を、母数リスクの十分統計量を用いて導出する。
  • イッセルリスの定理を適用して、ガウス分布に従う局所的フィールドの多項式関数の期待値を計算し、ODEの閉形式表現を可能にする。
  • γ/(dp) → 0+ の次元なしスケーリングを導入することで、3つの枠組みを統一し、中間的なパrameter設定においてもODEが有効であることを保証する。
  • p → ∞ の極限においてODEから平均場PDEを構築し、力学がターゲットの主成分方向が張る低次元部分空間に閉じ込められることを示す。
  • 行列Ξの非対角項を適切に扱いながら、ODEから平均場PDEを明示的に導出することで、精度に不可欠な項を特定する。
  • ODEおよびPDEのための数値ソルバを開発し、再現性と検証のため、GitHubでオープンソースで公開する。
Figure 1: We discuss a unifying low-dimensional description of the one-pass SGD dynamics eq. ( 3 ) for two-layers neural networks as $\nicefrac{{\gamma}}{{dp}}\!\to\!0^{+}$ . This includes, in particular, the mean-field ( $p\!\to\!\infty$ ), the high-dimensional ( $d\!\to\!\infty$ ) and the classica
Figure 1: We discuss a unifying low-dimensional description of the one-pass SGD dynamics eq. ( 3 ) for two-layers neural networks as $\nicefrac{{\gamma}}{{dp}}\!\to\!0^{+}$ . This includes, in particular, the mean-field ( $p\!\to\!\infty$ ), the high-dimensional ( $d\!\to\!\infty$ ) and the classica

実験結果

リサーチクエスチョン

  • RQ12層ネットワークのSGD力学を、高次元、平均場、勾配流れの3つの枠組みでどのように統一できるか?
  • RQ2比 γ/(dp) が、SGD力学の低次元ODE記述の有効性を決定づける役割を果たすか?
  • RQ3勾配流れ極限(γ → 0)において、十分統計量に関して入力次元dに依存しない性質を示すか?
  • RQ4有限dと高次元における平均場PDEの違いは何か?行列Ξの非対角項が力学に与える影響は?
  • RQ5ODEフレームワークは、特定の行列成分を無視しても、平均場領域における力学を正確に再現できるか?

主な発見

  • γ/(dp) → 0+ の条件下では、極限的なSGD力学が低次元で決定論的なODE系によって支配され、3つの主要な枠組みすべてに適用可能である。
  • 古典的勾配流れ極限(γ → 0)において、十分統計量の力学は入力次元dに完全に依存せず、驚くべき次元不変性を示す。
  • p → ∞ の極限において、ODEから自然に平均場PDEが導かれ、力学はターゲットの主成分方向が張る低次元部分空間に閉じ込められる。
  • 行列Ξの非対角項を無視すると、特に2次関数のような偶関数型活性化関数ではODE統合において顕著な差が生じる。数値実験で確認された。
  • erf活性化関数では対称性により非対角項の影響が軽減されるが、高次元設定では長期的な力学の正確な再現に不可欠である。
  • 数値シミュレーションにより、ODEがSGD力学を正確に追跡することが確認された。特に、長時間極限において完全な学習(w*および-w*におけるδ分布)への収束も再現された。
Figure 2: Dimension independence of the dynamics in the classical regime : Comparison between the simulated SGD dynamic and the analytical one obtained by integrating the differential equations. All the plots are using $\sigma=\text{erf}(\nicefrac{{\cdot}}{{\sqrt{2}}})$ . (Left:) Trajectories for th
Figure 2: Dimension independence of the dynamics in the classical regime : Comparison between the simulated SGD dynamic and the analytical one obtained by integrating the differential equations. All the plots are using $\sigma=\text{erf}(\nicefrac{{\cdot}}{{\sqrt{2}}})$ . (Left:) Trajectories for th

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。