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)|2023. 02. 12.
Neural Networks and ApplicationsComputer Science인용 수 3
한 줄 요약

이 논문은 고차원, 평균장, 기울기 유동 영역에서 이중층 신경망의 확률적 경사 하강법(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.

연구 동기 및 목표

  • 이중층 신경망에서 SGD 역학의 분석을 고차원(d → ∞), 평균장(p → ∞), 고전적 기울기 유동(γ → 0) 영역 간에 통합하기.
  • 모수 위험의 충분통계량을 사용하여, 한정된 차원의 결정론적 ODE 시스템을 통해 한정된 SGD 역학을 기술하는 것.
  • 고차원 ODE 접근법과 평균장 PDE 형식론 간의 엄밀한 연결을 확립하며, 특히 무한한 폭의 극한에서 분석한다.
  • 기울기 유동 근사에서 역학이 입력 차원 d에 독립적이며, 숨겨진 차원 불변성(hidden dimension-invariance)을 드러내는 것.
  • 유도된 ODE와 PDE를 다양한 매개변수 영역에서 시뮬레이션할 수 있는 수치적 해법과 오픈소스 코드를 제공하는 것.

제안 방법

  • 가우시안 데이터와 티처 네트워크로 훈련된 이중층 네트워크에서의 일회성 SGD 역학에 대해, 모수 위험의 충분통계량을 사용하여 비점근적 ODE 기술을 유도한다.
  • 이서리스 정리(Isserlis’ theorem)를 적용하여 가우시안 분포를 따르는 국소 필드의 다항함수 기대값을 계산함으로써, ODE에 대한 닫힌 형태의 표현식을 가능하게 한다.
  • 비율 γ/(dp) → 0+를 통한 차원 없는 스케일링을 도입하여 세 영역을 통합함으로써, 중간 매개변수 설정에서도 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

실험 결과

연구 질문

  • RQ1이중층 네트워크의 SGD 역학을 고차원, 평균장, 기울기 유동 영역 간에 어떻게 통합할 수 있는가?
  • RQ2SGD 역학의 저차원 ODE 기술의 타당성을 결정하는 비율 γ/(dp)의 역할은 무엇인가?
  • RQ3기울기 유동 근사(γ → 0)에서 충분통계량 기반으로 차원에 독립적인가? 입력 차원 d에 관계없이 성립하는가?
  • RQ4유한한 d와 고차원 평균장 PDE는 어떻게 다를까? 행렬 Ξ의 비대칭항이 역학에 미치는 영향은 무엇인가?
  • RQ5특정 행렬 성분을 忽略할 경우, ODE 프레임워크가 평균장 영역의 역학을 정확히 재현할 수 있는가?

주요 결과

  • γ/(dp) → 0+ 영역에서, 한정된 SGD 역학은 저차원의 결정론적 ODE 시스템에 의해 지배되며, 이는 세 핵심 영역에서 모두 유효하다.
  • 고전적 기울기 유동 근사(γ → 0)에서, 충분통계량의 역학은 입력 차원 d에 완전히 독립적이며, 놀라운 차원 불변성(hidden dimension-invariance)을 드러낸다.
  • p → ∞ 근사에서 평균장 PDE는 ODE에서 자연스럽게 유도되며, 역학은 목표 주요 방향이 생성하는 저차원 부분공간에 국한된다.
  • 행렬 Ξ의 비대칭항을 忽略할 경우, 특히 제곱형 활성함수와 같은 짝수형 활성함수에서는 ODE 적분에서 상당한 오차가 발생함을 수치 실험으로 확인하였다.
  • erf 활성함수의 경우 대칭성으로 인해 비대칭항의 영향이 줄어들지만, 고차원 설정에서 정확한 장기 역학을 확보하기 위해 여전히 필수적이다.
  • 수치 시뮬레이션은 ODE가 장기적 한계에서 완벽한 학습(δ-분포 at w* 및 -w*)으로 수렴하는 SGD 역학을 정확히 추적함을 확인하였다.
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

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.