Addressing Spectral Bias of Deep Neural Networks by Multi-Grade Deep Learning

Ronglong Fang, Yuesheng Xu

TL;DR

Deep neural networks naturally struggle to learn high-frequency details, a limitation known as "spectral bias." This paper introduces Multi-Grade Deep Learning (MGDL), a technique that trains networks incrementally in "grades" by composing shallow networks together. This approach effectively builds high-frequency representations out of low-frequency ones, drastically improving accuracy on highly oscillatory data and high-resolution images compared to standard end-to-end training.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) are incredibly powerful at approximating smooth functions, but they suffer from a well-documented flaw called spectral bias. When trained using standard end-to-end methods, DNNs prioritize learning the low-frequency components of a dataset (the broad strokes or general shapes) and struggle to capture high-frequency components (fine details, sharp edges, or rapid oscillations).

While this bias sometimes helps prevent overfitting, it becomes a major bottleneck in fields where high-frequency details are the entire point—such as medical image reconstruction (PET/SPECT scans), seismic wave modeling, and solving complex physics equations. The authors aim to find a structural way to force neural networks to learn these elusive high-frequency features without losing their ability to generalize.

Methods

The authors draw inspiration from a mathematical concept called the Jacobi–Anger identity, which proves that composing two low-frequency functions (like a complex exponential and a trigonometric function) can generate a high-frequency output.

To replicate this in deep learning, they abandon standard Single Grade Deep Learning (SGDL)—where a deep network is trained all at once—and propose Multi-Grade Deep Learning (MGDL).

Instead of training one massive network, MGDL trains sequentially:

  1. Grade 1: Train a Shallow Neural Network (SNN) to learn the target function. Because of spectral bias, this SNN will naturally learn the low-frequency base.
  2. Grade 2 and beyond: Freeze the parameters of the previous SNNs. Calculate the residual error (what the previous grades failed to predict). Train a new SNN to predict this error. Crucially, the input to this new SNN is passed through the frozen networks from the previous grades.
Comparison of training and validation loss between standard Single Grade Deep Learning (SGDL) and Multi-Grade Deep Learning (MGDL).

This creates a "sum-composition" architecture. By composing multiple shallow, low-frequency networks together step-by-step, the overall model successfully constructs highly accurate, high-frequency representations.

Datasets

The authors tested MGDL against standard SGDL across four increasingly complex scenarios:

  • 1D Synthetic Data: Mathematical functions consisting of sums of sine waves with varying amplitudes, phases, and highly oscillatory frequencies.
  • 2D Manifold Data: Data mapped onto complex geometric shapes (flower-shaped curves and circles).
  • 2D Colored Images: Image regression tasks using a custom 'Cat' image, alongside 'Sea' and 'Building' images from the Div2K dataset.
  • Modified MNIST: The classic 784-dimensional handwritten digit dataset, modified by injecting high-frequency radial waves (treated as complex noise) to test the models' robustness.

Key Insights and Ideas

  • Composition is the secret to high frequencies: You don't necessarily need a massive, end-to-end deep network to learn sharp details. Composing several shallow, low-frequency networks works exceptionally well and mimics known mathematical identities.
  • A natural "frequency curriculum": MGDL exhibits a fascinating, organic learning progression. Grade 1 learns the general shape (low frequency), Grade 2 learns mid-frequencies, and Grades 3 and 4 hone in on the sharpest, highest-frequency details.
Amplitude vs. Frequency plot demonstrating the "frequency curriculum" of MGDL, where successive grades (G1 to G4) capture increasingly higher frequency components.
  • Better generalization through modularity: By freezing previous layers and only training shallow networks on residuals, MGDL avoids the optimization traps that standard deep networks fall into. When standard networks try to learn high frequencies, they often overfit; MGDL remains stable.

Key Results

  • Massive Error Reduction on Synthetic Data: On the highly oscillatory 1D and 2D mathematical datasets, MGDL reduced the testing Relative Squared Error (TeRSE) by staggering margins—improving accuracy by factors ranging from 592x to over 7,000x compared to standard training.
  • Sharper Images: In the image regression tasks, MGDL progressively added finer details with each grade. It outperformed standard deep learning by 2.35 to 3.93 dB in Peak Signal-to-Noise Ratio (PSNR), resulting in visibly sharper images.
  • Robustness in High Dimensions: On the modified MNIST dataset, standard networks quickly overfit when trying to handle high-frequency noise (training loss dropped, but validation loss spiked). MGDL maintained steady decreases in both, improving overall test accuracy by ~27-29% over the baseline.
  • Compute Efficiency: Because MGDL only trains shallow networks at any given time, the total compute time to train all grades is comparable to (and sometimes faster than) training a standard deep network for the same number of epochs.

Limitations and Future Work

The authors are highly transparent about the current limitations of this work. Most notably, there is a lack of rigorous mathematical theory explaining why MGDL overcomes spectral bias so effectively; the current evidence is purely empirical. Furthermore, the experiments, while successful, are limited to four specific setups.

Future work will focus on establishing the formal theoretical foundation for MGDL's spectral properties and conducting more extensive, larger-scale numerical experiments across broader domains.

Summary updated

BibTeX
@inproceedings{fang2024addressing,
  author = {Ronglong Fang and Yuesheng Xu},
  title = {{Addressing Spectral Bias of Deep Neural Networks by Multi-Grade Deep Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=IoRT7EhFap},
}
Figure