[Paper Review] Phase diagram for two-layer ReLU neural networks at infinite-width limit
This paper introduces a phase diagram for two-layer ReLU neural networks at the infinite-width limit, identifying three distinct dynamical regimes—linear, critical, and condensed—based on the relative change of input weights during training. The key contribution is a theoretical and experimental framework that maps hyperparameter scaling (via γ and γ′) to these regimes, revealing how initialization and width affect training dynamics and implicit bias.
How neural network behaves during the training over different choices of hyperparameters is an important question in the study of neural networks. In this work, inspired by the phase diagram in statistical mechanics, we draw the phase diagram for the two-layer ReLU neural network at the infinite-width limit for a complete characterization of its dynamical regimes and their dependence on hyperparameters related to initialization. Through both experimental and theoretical approaches, we identify three regimes in the phase diagram, i.e., linear regime, critical regime and condensed regime, based on the relative change of input weights as the width approaches infinity, which tends to $0$, $O(1)$ and $+\infty$, respectively. In the linear regime, NN training dynamics is approximately linear similar to a random feature model with an exponential loss decay. In the condensed regime, we demonstrate through experiments that active neurons are condensed at several discrete orientations. The critical regime serves as the boundary between above two regimes, which exhibits an intermediate nonlinear behavior with the mean-field model as a typical example. Overall, our phase diagram for the two-layer ReLU NN serves as a map for the future studies and is a first step towards a more systematical investigation of the training behavior and the implicit regularization of NNs of different structures.
Motivation & Objective
- To characterize the dynamical behavior of two-layer ReLU neural networks under varying hyperparameters during training.
- To identify distinct training regimes—linear, critical, and condensed—based on the relative change of input weights as width approaches infinity.
- To establish a phase diagram using scaling parameters γ and γ′ derived from initialization variances and network width.
- To provide a theoretical and experimental foundation for understanding implicit regularization and training dynamics in wide neural networks.
- To serve as a foundational map for future studies on the training behavior and generalization properties of deep networks.
Proposed method
- Derives two key scaling parameters, γ and γ′, from the asymptotic behavior of initialization variances β₁, β₂ and scaling factor α as width m → ∞.
- Uses gradient flow dynamics under appropriate rescaling to achieve dynamical similarity across different network widths.
- Employs theoretical analysis and numerical experiments to identify boundaries between the three dynamical regimes: linear (relative change of w_k → 0), critical (O(1) change), and condensed (→ ∞ change).
- Applies random feature model and mean-field theory approximations to validate the linear and critical regimes, respectively.
- Uses concentration inequalities and high-probability bounds to establish the likelihood of large parameter shifts under specific γ and γ′ conditions.
- Validates the phase diagram through empirical analysis on 1D datasets and visualizes parameter deviation trends across γ and γ′.
Experimental results
Research questions
- RQ1How do different hyperparameter scalings (α, β₁, β₂) relative to width m affect the training dynamics of two-layer ReLU networks?
- RQ2What are the distinct dynamical regimes in the infinite-width limit, and how are they characterized by the relative change in input weights?
- RQ3Can a unified phase diagram be constructed to map hyperparameter choices to training behavior and implicit bias?
- RQ4What is the role of the scaling parameters γ and γ′ in determining whether training dynamics is linear, critical, or condensed?
- RQ5How does the initialization variance ratio and scaling factor influence the emergence of parameter condensation in the feature space?
Key findings
- The phase diagram identifies three regimes: linear (relative change of w_k → 0), critical (O(1) change), and condensed (relative change → ∞), based on the asymptotic behavior of input weights.
- The critical regime acts as a boundary between the linear and condensed regimes and includes mean-field dynamics as a typical example.
- In the condensed regime, active neurons are observed to condense at several discrete orientations in the feature space, as confirmed by experiments.
- The relative deviation of input weights satisfies sup_t RD(θ_w(t)) ≫ 1 when γ′ < γ − 1, indicating strong parameter shift under specific scaling conditions.
- Theoretical analysis shows that with high probability over initialization, the relative change in w_k exceeds any constant when m is large and γ′ < γ − 1, confirming the condensed regime.
- The phase diagram is constructed using two independent coordinates, γ and γ′, derived from the logarithmic scaling of initialization and scaling parameters with respect to width m.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.