[Paper Review] Explicitizing an Implicit Bias of the Frequency Principle in Two-layer Neural Networks
This paper proposes a linearized Frequency Principle (LFP) dynamics model that explicitly captures the implicit bias of deep neural networks toward learning low-frequency components first. By deriving an equivalent constrained optimization problem minimizing an FP-norm that penalizes higher frequencies, the model provides an a priori generalization error bound scaling as $1/\sqrt{M}$, independent of network width, revealing that higher FP-norm of the target function increases generalization error.
It remains a puzzle that why deep neural networks (DNNs), with more parameters than samples, often generalize well. An attempt of understanding this puzzle is to discover implicit biases underlying the training process of DNNs, such as the Frequency Principle (F-Principle), i.e., DNNs often fit target functions from low to high frequencies. Inspired by the F-Principle, we propose an effective model of linear F-Principle (LFP) dynamics which accurately predicts the learning results of two-layer ReLU neural networks (NNs) of large widths. This LFP dynamics is rationalized by a linearized mean field residual dynamics of NNs. Importantly, the long-time limit solution of this LFP dynamics is equivalent to the solution of a constrained optimization problem explicitly minimizing an FP-norm, in which higher frequencies of feasible solutions are more heavily penalized. Using this optimization formulation, an a priori estimate of the generalization error bound is provided, revealing that a higher FP-norm of the target function increases the generalization error. Overall, by explicitizing the implicit bias of the F-Principle as an explicit penalty for two-layer NNs, our work makes a step towards a quantitative understanding of the learning and generalization of general DNNs.
Motivation & Objective
- To resolve the puzzle of why over-parameterized deep neural networks (DNNs) generalize well despite having more parameters than training samples.
- To explicitly model the implicit Frequency Principle (F-Principle) bias—where DNNs learn low-to-high frequency components during training—using a tractable mathematical framework.
- To derive a generalization error bound for two-layer ReLU networks that depends explicitly on the FP-norm of the target function, without requiring knowledge of the learned model.
- To establish a connection between the F-Principle and a constrained optimization problem that penalizes high-frequency components in feasible solutions.
Proposed method
- Propose a linearized Frequency Principle (LFP) dynamics model that assigns different learning priorities to different frequency components in gradient flow.
- Rationalize the LFP model using a linearized mean field residual dynamics of two-layer ReLU networks, valid in the over-parameterized regime.
- Prove that the long-time solution of the LFP dynamics is equivalent to minimizing an F-Principle norm (FP-norm), which penalizes higher frequencies in the solution space.
- Formulate the learning process as a constrained optimization problem that explicitly minimizes the FP-norm, thereby making the implicit bias explicit.
- Use Rademacher complexity to estimate the generalization error of the LFP model, leading to an a priori bound.
- Numerically solve a ridge regression problem with a frequency-dependent regularization term to approximate the LFP solution, with parameters tuned for $d=1$ and $d=2$.
Experimental results
Research questions
- RQ1How can the implicit frequency bias observed in training two-layer ReLU networks be explicitly modeled in a way that accurately predicts the final learned function?
- RQ2What is the mathematical equivalence between the F-Principle dynamics and a well-defined optimization problem with explicit regularization?
- RQ3How does the FP-norm of the target function affect the generalization error of two-layer ReLU networks?
- RQ4Can an a priori generalization error bound be derived that depends only on the target function's properties and the number of training samples, not on network width?
- RQ5What is the role of the linearized mean field residual dynamics in justifying the LFP model's validity in the over-parameterized regime?
Key findings
- The long-time limit solution of the LFP dynamics is mathematically equivalent to solving a constrained optimization problem that minimizes an FP-norm, which penalizes higher-frequency components in the solution space.
- The generalization error of the LFP model is bounded by $ \frac{2}{\sqrt{M}}\left\| f' \right\|_{\gamma}\left\| \gamma \right\|_{\ell^{2}} + 4\left\| f' \right\|_{\gamma}\left\| \gamma \right\|_{\ell^{2}}\sqrt{\frac{2\log(4/\delta)}{M}} $, showing explicit dependence on the number of training samples $M$ and the FP-norm of the target function.
- The generalization error bound scales as $1/\sqrt{M}$ and is independent of the number of parameters in the network, indicating that generalization performance is governed by the target function's frequency content.
- The FP-norm of the target function is a key determinant of generalization error: higher FP-norm leads to larger generalization error.
- Numerical experiments confirm that the LFP model accurately predicts the output of wide two-layer ReLU networks, validating its predictive power.
- The model is not extended to $d > 2$ due to the curse of dimensionality in computing the frequency regularization term on the lattice $\mathbb{L}^d$.
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.