Abstract
Standard neural networks often struggle with high-frequency data due to spectral bias, where they naturally favor learning low-frequency components. This paper introduces the Fourier Multi-Component and Multi-Layer Neural Network (FMMNN), an architecture that integrates a "divide-and-conquer" structural design with periodic activation functions. By fixing randomized internal weights and training only linear combinations between layers, FMMNN achieves exponential approximation rates and a significantly smoother optimization landscape. Experimental results demonstrate that FMMNN outperforms traditional fully connected networks in accuracy and stability for complex oscillatory functions.
Introduction
Fully connected neural networks (FCNNs) are known to exhibit "spectral bias," making them inefficient for representing high-frequency oscillations. This often leads to ill-conditioned training and poor generalization on complex, "wiggly" data. While deep networks can theoretically overcome this through composition, their optimization landscapes become highly non-convex and riddled with local minima when using periodic activations like sine. The FMMNN architecture addresses these challenges by combining structural innovations with specialized activation functions to enable efficient high-frequency learning.
Methods
The FMMNN builds upon the Multi-Component and Multi-Layer Neural Network (MMNN) framework. Unlike standard networks where individual neurons are the base units, each layer in an MMNN consists of multiple "components." Each component is a linear combination of neurons with fixed, randomly initialized weights ($W, b$). Only the outer coefficients ($A, c$) are optimized during training.
Key technical components include:
- Sine and SinTU Activations: The network utilizes the
sinefunction or the Sine Truncated Unit (SinTU), defined as $\text{SinTU}_s(x) = \sin(\max\{x, s\})$. SinTU introduces a ReLU-like singularity, helping the network handle non-smooth functions without the Gibbs phenomenon (oscillatory errors near discontinuities). - Scaled Random Initialization: First-layer weights are scaled proportional to the network width to prime the model for high-frequency features immediately.
- Residual Connections: A "ResMMNN" variant incorporates identity mappings to facilitate training in deeper architectures and mitigate vanishing gradients.
Datasets and Experimental Setup
The model was evaluated on several synthetic oscillatory functions designed to test frequency limits. These include smooth ($C^\infty$) functions like $f_1$ and non-smooth functions $f_2, f_3$ across 1D, 2D, and 3D domains. These functions present significant challenges for standard ReLU-based architectures due to their rapid oscillations and sharp features.
Key Results and Discussion
FMMNNs demonstrate superior expressive power and optimization stability. Theoretically, they achieve an approximation error of $O(N^{-L})$ for width $N$ and depth $L$, surpassing the polynomial rates of standard FCNNs.
In 1D tests on $f_1$, FMMNN achieved a Mean Squared Error (MSE) of $3.43 \times 10^{-8}$, significantly outperforming Sine-FCNN ($2.62 \times 10^{-5}$) and ReLU-FCNN ($2.31 \times 10^{-4}$). Furthermore, the model accurately approximated second derivatives (relative MSE of $7.82 \times 10^{-6}$) even when trained only on function values, whereas traditional tanh FCNNs failed by orders of magnitude.
As shown in the comparative visualizations, the fixed internal weights effectively transform each layer into a search for an optimal linear combination of a random basis, resulting in a smoother, "bowl-like" cost function. This structural choice, combined with SinTU's ability to handle non-smoothness, allows FMMNNs to fit complex features with fewer trainable parameters and greater stability than traditional FCNNs.
Conclusion
The Fourier Multi-Component and Multi-Layer Neural Network offers a robust solution to spectral bias in high-frequency function approximation. By leveraging fixed random bases and specialized periodic activations, it achieves high accuracy and efficient optimization. Future work will explore its application to real-world signal processing and higher-dimensional data distributions.
Summary updated