Abstract
Neural networks exhibit a well-documented "spectral bias," where they prioritize learning low-frequency components of a target function before capturing high-frequency details. This paper provides a rigorous theoretical foundation for this phenomenon by deriving a partial differential equation (PDE) that describes the evolution of error across frequencies during training. By modeling the learning process as a damped heat equation within the Neural Tangent Kernel (NTK) regime, the researchers demonstrate that spectral bias can be precisely controlled and even eliminated through strategic weight initialization.
Introduction
Neural networks (NNs) are often described as "lazy" learners. This behavior, formally known as Spectral Bias or the Frequency Principle, suggests that networks naturally favor simple, smooth functions. While this bias helps prevent overfitting to high-frequency noise, it presents a significant hurdle when the task requires learning sharp transitions or fine-grained details, such as in high-resolution image synthesis or complex physical simulations.
Historically, practitioners have relied on empirical "hacks" like Fourier Features to bypass these limitations. This research moves beyond trial-and-error by asking: Can we mathematically define the exact rate at which a network learns each frequency?
Theoretical Framework and Methods
The study operates within the Neural Tangent Kernel (NTK) regime. In this framework, infinitely wide neural networks behave like linear models, allowing their training dynamics to be analyzed using linear differential equations.
The Fourier Feature Model
The authors specifically analyze Fourier Feature (FF) networks. In these architectures, the input layer transforms data using sine and cosine functions with frequencies sampled from a specific distribution, $\rho_w$.
By applying NTK theory to this architecture, the researchers derived a PDE (Theorem 3.1) that tracks the "error frequency" throughout training. They discovered that for FF models, the learning dynamics are mathematically equivalent to a damped heat equation. In this analogy, the distribution of initial weights ($\rho_w$) acts as a damping coefficient that determines the learning speed for any given frequency $\xi$.
Key Insights: Initialization as a Control Mechanism
The most significant finding is that the distribution of the first-layer weights is not merely a starting point but the primary "volume knob" for frequency learning.
- Frequency Learning Rate: The effective learning rate for a frequency $\xi$ is approximately proportional to the density of those frequencies in the initial weight distribution: $\kappa(\xi) \approx \rho_w(\xi)$.
- The Role of Variance: The variance of the output layer weights ($\sigma_a^2$) acts as a "diffusion amplifier." While increasing it can help the network learn frequencies outside its initial sampling range, it may also slow down overall convergence.
- Neutralizing Bias: By choosing a weight distribution with a sufficiently large standard deviation (e.g., a Normal distribution with $\sigma_w \geq 300/2\pi$), the network can be forced to learn high and low frequencies at comparable rates, effectively neutralizing spectral bias.
Empirical Results
The researchers validated their theory using synthetic 1D data, specifically a "rounded" square wave. This function is a rigorous test case because its sharp edges consist of numerous high-frequency components.
As shown in the experimental results, when $\sigma_w$ is small, the learning rate is heavily concentrated at low frequencies (near $\xi=0$). As $\sigma_w$ increases, the learning rate becomes more uniform across the spectrum. Numerical solutions of the derived PDE using the Finite Element Method (FEM) showed a remarkable qualitative match with actual neural network training snapshots, confirming that the "ripples" of error reduction move across the frequency spectrum exactly as predicted.
Discussion and Limitations
While the derived PDE provides a powerful tool for understanding frequency dynamics, it currently relies on the infinite-width NTK assumption. Although empirical tests showed the theory remains robust for widths as low as $m=100$, real-world "feature learning"—where weights move significantly from their initial values—might introduce deviations. Furthermore, while the principles appear to hold for deeper networks (3-4 layers), the current mathematical derivation is optimized for 2-layer architectures and 1D signals. Extending this to high-dimensional data like images remains a vital area for future work.
Conclusion
This work transforms spectral bias from a mysterious phenomenon into a predictable and controllable dynamic. By treating neural network training as a physical process of diffusion and damping, researchers can now design initialization strategies that are mathematically guaranteed to capture the specific frequency components required for a given task.
Summary updated