[Paper Review] Frequency Bias in Neural Networks for Input of Non-Uniform Density
This paper investigates frequency bias in over-parameterized neural networks when training data has non-uniform density, using the Neural Tangent Kernel (NTK) framework. It shows that convergence time for a harmonic function of frequency $\kappa$ scales as $O(\kappa^d / p^*)$, where $p^*$ is the minimum local data density, demonstrating that high-frequency components are learned faster in dense regions, extending known frequency bias results beyond uniform data distributions.
Recent works have partly attributed the generalization ability of over-parameterized neural networks to frequency bias -- networks trained with gradient descent on data drawn from a uniform distribution find a low frequency fit before high frequency ones. As realistic training sets are not drawn from a uniform distribution, we here use the Neural Tangent Kernel (NTK) model to explore the effect of variable density on training dynamics. Our results, which combine analytic and empirical observations, show that when learning a pure harmonic function of frequency $κ$, convergence at a point $\x \in \Sphere^{d-1}$ occurs in time $O(κ^d/p(\x))$ where $p(\x)$ denotes the local density at $\x$. Specifically, for data in $\Sphere^1$ we analytically derive the eigenfunctions of the kernel associated with the NTK for two-layer networks. We further prove convergence results for deep, fully connected networks with respect to the spectral decomposition of the NTK. Our empirical study highlights similarities and differences between deep and shallow networks in this model.
Motivation & Objective
- To understand how frequency bias in over-parameterized neural networks is affected by non-uniform data density.
- To extend existing frequency bias theory—previously limited to uniform data distributions—to realistic, non-uniform data.
- To analyze the convergence dynamics of both shallow (two-layer) and deep fully connected networks under non-uniform input density using the NTK framework.
- To quantify the dependence of learning speed on local data density and target function frequency.
Proposed method
- Uses the Neural Tangent Kernel (NTK) model to analyze training dynamics of over-parameterized networks under non-uniform data density.
- Derives closed-form expressions for eigenfunctions and eigenvalues of the NTK for two-layer ReLU networks on the unit circle with piecewise constant density.
- Proves that convergence time for a pure harmonic of frequency $\kappa$ is $O(\kappa^d / p^*)$ in $d$-dimensional input space, where $p^*$ is the minimum local density.
- Extends theoretical analysis to deep fully connected networks by proving convergence speed depends on the projection of the target function onto NTK eigenvectors.
- Empirically validates results on $\mathbb{S}^{1}$ and $\mathbb{S}^{2}$ using synthetic data with piecewise constant densities and varying frequency targets.
- Compares eigenfunctions and eigenvalue decay across shallow and deep networks to assess similarities and differences in frequency bias under non-uniformity.
Experimental results
Research questions
- RQ1How does non-uniform data density affect the frequency bias observed in over-parameterized neural networks?
- RQ2What is the theoretical convergence time for learning a harmonic function of frequency $\kappa$ in regions of varying local data density?
- RQ3Do deep fully connected networks exhibit similar frequency bias behavior as shallow networks when data density is non-uniform?
- RQ4Are the eigenfunctions of the NTK for non-uniform data characterized by higher local frequencies in dense regions?
- RQ5How does the spectral decomposition of the NTK for deep networks compare to that of shallow networks under non-uniform data?
Key findings
- Convergence time for learning a harmonic function of frequency $\kappa$ scales as $O(\kappa^d / p^*)$, where $p^*$ is the minimum local data density, indicating that high-frequency components are learned faster in dense regions.
- For two-layer ReLU networks on $\mathbb{S}^1$, the NTK eigenfunctions contain piecewise constant local frequencies, with higher frequencies in regions of higher data density.
- Empirical results confirm that deep fully connected networks exhibit similar frequency bias, with convergence time scaling as $O(\kappa^d / p^*)$ under non-uniform density.
- Eigenvalues of the NTK decay with frequency, supporting the existence of frequency bias in deep networks, even under non-uniform data distributions.
- The eigenfunctions of the NTK for deep networks under non-uniform density are empirically indistinguishable from those of shallow networks, suggesting a shared inductive bias.
- For uniformly distributed data, the NTK eigenfunctions are spherical harmonics, and convergence time for frequency $\kappa$ is $O(\kappa^d)$, consistent with prior results.
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.