Structured and Balanced Multicomponent and Multilayer Neural Networks

Shijun Zhang, Hongkai Zhao, Yimin Zhong, Haomin Zhou

TL;DR

This paper introduces a novel neural network architecture called the Multi-component and Multi-layer Neural Network (MMNN). MMNNs offer a structured and balanced approach to function approximation, outperforming traditional fully connected networks (FCNNs) in accuracy and efficiency, especially for complex, oscillatory functions. This is achieved by decomposing functions into simpler components and training a subset of parameters, leading to faster training and better generalization.

What Problem Does This Paper Address?

Neural networks are powerful tools for approximating complex functions. However, traditional fully connected neural networks (FCNNs) and multi-layer perceptrons (MLPs) struggle with functions exhibiting high-frequency components or rapid transitions. This is partly because a single layer in an FCNN acts as a "low-pass filter," making it difficult to capture fine details. While wider networks can help, they often lead to an explosion in the number of parameters, making training computationally expensive and prone to issues like vanishing gradients. The authors aim to address this by proposing a new architecture that can efficiently and accurately approximate complex functions, particularly those with high-frequency oscillations and localized features, while mitigating the computational burden.

Methods

The core innovation is the Multi-component and Multi-layer Neural Network (MMNN) architecture. Key features include:

  • Multi-component Structure: Each layer is composed of multiple "components." Each component is essentially a shallow neural network (one hidden layer) that approximates a part of the function.
  • Balanced Design: The architecture balances network width (number of basis functions per component), rank (number of components per layer), and depth (number of layers). This allows for a structured decomposition of complex functions.
  • Asymmetric Parameter Roles: A crucial aspect is that the weights and biases within the activation functions (W, b) are randomly initialized and fixed during training. Only the linear combination weights (A, c) that combine these basis functions are trained. This significantly reduces the number of trainable parameters.
  • Structured Decomposition: The MMNN architecture is designed to decompose complex functions into smoother, more manageable parts, which are then approximated by individual components. This "divide and conquer" strategy is key to handling high-frequency features.
  • Learning Strategy (S1): The authors propose a specific training strategy (S1) where only the linear combination weights (A, c) are trained, contrasting with the standard approach (S2) where all parameters are optimized.

Datasets

The paper uses synthetic datasets generated from various mathematical functions to test the MMNN's performance. These functions include:

  • Oscillatory functions (e.g., cos(20π|x|¹·⁴) + 0.5 cos(12π|x|¹·⁶), cos(2πx))
  • Functions with localized rapid changes (e.g., arctan(100x + 20))
  • Functions with localized rapid oscillations (e.g., 1{|x+0.2|<0.02}· sin(50πx))
  • Discontinuous functions with porous structures
  • Partial Differential Equations (PDEs) like the 2D Poisson equation
  • Higher-dimensional functions (3D and 4D Gaussian distributions)

No new benchmark datasets are introduced; instead, the authors focus on challenging existing function approximation problems.

Key Insights and Ideas

  • Decomposition is Key: The MMNN's success hinges on its ability to decompose complex functions into simpler, smoother components. This allows for more effective approximation of high-frequency features that single-layer networks struggle with.
  • Fixed Random Basis Functions: Fixing the internal weights (W, b) of the basis functions and training only the linear combinations (A, c) is a surprisingly effective strategy. It reduces the optimization landscape and computational cost without sacrificing representational power for smooth functions.
  • "Divide and Conquer" for Oscillations: The MMNN architecture embodies a "divide and conquer" approach, breaking down complex oscillations into manageable pieces, making them easier to learn.
  • Efficiency Through Parameter Reduction: Training only a subset of parameters (strategy S1) leads to significantly faster training times and reduced computational overhead compared to training all parameters (strategy S2) or traditional FCNNs.
  • Adaptability to Local Features: MMNNs demonstrate a remarkable ability to adapt to localized features and discontinuities, a significant advantage over methods that rely on global structures.

Key Results

  • Improved Accuracy: MMNNs consistently outperform FCNNs in approximating highly oscillatory functions and functions with localized features, achieving lower Mean Squared Error (MSE) and Maximum Absolute Error (MAX). For instance, in Table 2, MMNNs show significantly lower test errors for oscillatory functions compared to FCNNs with similar parameter counts.
  • Faster Training: The proposed training strategy (S1) requires training approximately half the number of parameters compared to standard FCNNs or MMNNs trained with strategy S2, leading to substantial time savings (e.g., Table 1 shows MMNN1 (S1) training time is 23.9s/1000 epochs vs. MMNN1 (S2) at 30.2s/1000 epochs).
  • Efficient Representation: MMNNs achieve comparable or better accuracy with fewer trainable parameters than FCNNs for complex tasks.
  • Robustness in PDEs: MMNNs demonstrate superior performance in solving PDEs using Physics-Informed Neural Networks (PINNs), consistently succeeding where FCNNs often fail.
  • Handling High Dimensions: The architecture shows promise in handling higher-dimensional problems, although computational limitations are noted.

Limitations and Future Work

  • Hyperparameter Tuning: While MMNNs offer a good balance, finding the optimal network size (width, rank, depth) and learning rate still requires careful consideration and can be challenging, especially for very compact networks. The authors suggest that a self-adaptive strategy for network size adjustment would be a valuable future research direction.
  • Computational Cost for High Dimensions: While MMNNs are more efficient, approximating functions in very high dimensions still presents significant computational challenges, as noted by the authors.
  • Activation Functions: While ReLU is generally effective, the authors suggest exploring other activation functions (like GELU or Swish) for applications requiring smooth approximations. They also note that Sigmoid and Tanh performed poorly due to vanishing gradients.
  • Theoretical Understanding: Further research is needed to deepen the theoretical understanding of the interplay between representation and optimization in MMNNs.
  • Generalizations and Applications: The authors suggest exploring further generalizations of MMNNs and their applications to a wider range of complex tasks.

Summary updated

BibTeX
@article{zhang2025structured,
  author = {Shijun Zhang and Hongkai Zhao and Yimin Zhong and Haomin Zhou},
  title = {{Structured and Balanced Multicomponent and Multilayer Neural Networks}},
  journal = {SIAM J. Sci. Comput.},
  year = {2025},
  doi = {10.1137/24m1675990},
}
Figure