[Paper Review] On the Spectral Bias of Deep Neural Networks
This paper explains why over-parameterized deep neural networks (DNNs) generalize well despite their capacity to memorize random data, by analyzing their spectral bias using Fourier analysis. It shows DNNs inherently favor smooth functions, with frequency components decaying at least as O(k⁻²), and demonstrates that high-frequency functions occupy a smaller parameter space volume, explaining generalization and robustness to adversarial examples.
It is well known that over-parametrized deep neural networks (DNNs) are an overly expressive class of functions that can memorize even random data with $100\%$ training accuracy. This raises the question why they do not easily overfit real data. To answer this question, we study deep networks using Fourier analysis. We show that deep networks with finite weights (or trained for finite number of steps) are inherently biased towards representing smooth functions over the input space. Specifically, the magnitude of a particular frequency component ($k$) of deep ReLU network function decays at least as fast as $\mathcal{O}(k^{-2})$, with width and depth helping polynomially and exponentially (respectively) in modeling higher frequencies. This shows for instance why DNNs cannot perfectly extit{memorize} peaky delta-like functions. We also show that DNNs can exploit the geometry of low dimensional data manifolds to approximate complex functions that exist along the manifold with simple functions when seen with respect to the input space. As a consequence, we find that all samples (including adversarial samples) classified by a network to belong to a certain class are connected by a path such that the prediction of the network along that path does not change. Finally we find that DNN parameters corresponding to functions with higher frequency components occupy a smaller volume in the parameter.
Motivation & Objective
- To understand why over-parameterized DNNs do not overfit real data despite their high capacity.
- To investigate the inductive bias of DNNs in representing functions across different frequencies.
- To analyze how the geometry of low-dimensional data manifolds influences DNN generalization.
- To explain the robustness of DNNs to adversarial examples through path-connectedness of predictions.
- To quantify the volume of parameter space occupied by high-frequency functions.
Proposed method
- Analyzing the Fourier spectrum of deep ReLU networks to study the decay of frequency components.
- Deriving theoretical bounds showing that the magnitude of frequency component k decays at least as O(k⁻²).
- Using width and depth as factors that help model higher frequencies polynomially and exponentially, respectively.
- Studying the effect of data manifold geometry on function approximation, showing that complex functions along manifolds appear simple in input space.
- Proving that all samples classified to the same class are connected by a path where the network’s prediction remains unchanged.
- Measuring the volume of parameter space occupied by functions with different frequency components, showing high-frequency functions occupy less volume.
Experimental results
Research questions
- RQ1Why do over-parameterized DNNs not overfit real data, even when they can memorize random labels?
- RQ2How does the frequency spectrum of a DNN’s function behave, and what determines its decay rate?
- RQ3How does the geometry of low-dimensional data manifolds affect DNN function approximation?
- RQ4Why are adversarial examples not more disruptive, and what structural property of DNNs explains this?
- RQ5What fraction of the parameter space is occupied by functions with high-frequency components?
Key findings
- The magnitude of frequency component k in a trained DNN decays at least as O(k⁻²), indicating a strong bias toward low-frequency, smooth functions.
- Network width helps model higher frequencies polynomially, while depth helps exponentially, enabling better high-frequency representation.
- DNNs cannot perfectly memorize peaky, delta-like functions due to this spectral bias.
- All inputs classified to the same class are connected by a path along which the network’s prediction remains constant, explaining robustness to small perturbations.
- Functions with higher frequency components occupy a significantly smaller volume in the parameter space, suggesting a geometric reason for generalization.
- The spectral bias arises from the architecture and training process, not just optimization, and is inherent to finite-weight DNNs.
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.