NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Frequency-bias of Coordinate-MLPs

Sameera Ramasinghe, Lachlan E. MacDonald, Simon Lucey

TL;DR

Coordinate-MLPs (like SIREN or RFF) are designed to capture high-frequency details that standard neural networks miss, but they often lose the "implicit bias" toward smooth solutions in the process. This paper uses Fourier analysis to show that increasing a network's bandwidth suppresses its ability to represent low frequencies, and proposes a simple Jacobian-based regularization to restore balanced generalization across the entire spectrum.

What Problem Does This Paper Address?

In the world of computer vision, there has been a significant shift toward "Implicit Neural Representations" (or Coordinate-MLPs). Instead of storing an image as a discrete grid of pixels, we train a small Multilayer Perceptron (MLP) to take a coordinate $(x, y)$ and output a color.

Standard neural networks have a well-documented "spectral bias"—they naturally prefer learning low-frequency, smooth functions. While this is great for general machine learning because it prevents overfitting, it is terrible for representing sharp images or complex 3D shapes. To fix this, researchers developed Coordinate-MLPs (using periodic activations or positional embeddings) specifically to capture high-frequency signals.

However, the authors of this paper noticed a hidden cost: when you tune these networks to capture fine details, they lose their ability to interpolate smoothly between training points. In regions where data is sparse, the networks produce noisy, "jittery" results rather than smooth transitions.

Increasing model capacity leads to high-frequency noise.

As shown above, increasing the capacity of a Coordinate-MLP (whether through hyperparameters or depth) to capture higher frequencies actively degrades its ability to maintain smooth, noise-free regions, highlighting a fundamental trade-off.

Methods

The authors tackle this problem through a Fourier lens. They derive a general mathematical result (Theorem 4.1) that allows them to calculate the Fourier transform of a shallow MLP with arbitrary activation functions.

By analyzing the spectrum of three popular architectures—Gaussian-MLPs, Sinusoidal-MLPs (SIREN), and Random Fourier Feature (RFF) MLPs—they demonstrate that as you increase the "bandwidth" to allow for higher frequencies, the energy at lower frequencies is mathematically suppressed.

To solve this, they propose a simple regularization technique. Instead of changing the architecture, they add a term to the loss function that penalizes the magnitude of the network's Jacobian. Specifically, they use a finite-difference approximation:

$$\mathcal{L}_r = \frac{|g(\bar{x}) - g(\bar{x} + \xi)|}{|\xi|}$$

where $\xi$ is a small random noise vector. This encourages the network to remain "locally smooth" (restoring a low-frequency bias) while the primary loss function still forces it to fit the high-frequency details of the training data.

Datasets

The authors evaluated their approach on several tasks involving signal encoding and reconstruction:

  • 1D Signals: Synthetic sound waves with varying frequency regions.
  • Natural Images: Sub-sampled versions (10% pixels) of the STL and ImageNet datasets.
  • Novel View Synthesis: The "real synthetic dataset" (from the original NeRF paper) to test performance on complex 3D scenes.

Key Insights and Ideas

  • Architecture vs. Optimizer: While many believe "implicit regularization" comes primarily from Stochastic Gradient Descent (SGD), this paper argues it is heavily dictated by the architecture. Coordinate-MLPs prove that you can use SGD and still end up with a noisy solution if the architecture inherently favors high frequencies.
  • The Bandwidth Trade-off: There is a mathematical push and pull. Enhancing the capacity for high frequencies naturally dampens the network's representation of low frequencies. This explains why a NeRF model might capture a sharp texture but fail to fill in a smooth background correctly.
  • The Power of the Jacobian: By regularizing the Jacobian (the rate of change), you can effectively force the network to maintain a rich spectrum, preserving both the flat areas and the fluctuating areas of a signal simultaneously.

Key Results

  • Balanced Reconstruction: In experiments with uneven sampling (where half an image is dense and half is sparse), unregularized networks either failed to capture detail or produced noise in the sparse areas. The proposed regularization achieved a balanced, high-quality reconstruction across both, showing ~2-5 dB PSNR gains.
  • Improved Generalization: On the STL and ImageNet benchmarks with 10% sampling, the regularized models consistently outperformed standard Coordinate-MLPs by roughly 2.0 to 3.0 dB in PSNR.
  • Sharper NeRFs: When applied to NeRF-style data, the method suppressed unnecessary high-frequency noise in low-detail areas while allowing for sharper results when the frequency support was increased.

Limitations and Future Work

The authors acknowledge a few hurdles:

  • Shallow vs. Deep: Much of the rigorous Fourier analysis is performed on shallow (single hidden layer) networks. While they show empirically that these insights extrapolate to deeper networks, a full theoretical proof for deep architectures remains an open challenge.
  • Manual Tuning: The regularization requires a coefficient ($\varepsilon$) that must be tuned. If it is set too high, the network loses the high-frequency details it was designed to capture.
  • Computational Cost: While the finite-difference approximation is efficient, calculating gradients of the Jacobian adds some overhead to the training process.

Future work could involve finding ways to automatically schedule or adapt this regularization based on the local statistics of the target signal.

Summary updated

BibTeX
@inproceedings{ramasinghe2022frequency,
  author = {Sameera Ramasinghe and Lachlan E. MacDonald and Simon Lucey},
  title = {{On the Frequency-bias of Coordinate-MLPs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=wjUQzeIkLX},
}
Figure