Abstract
Structured CNN designed using the prior information of problems potentially improves efficiency over conventional CNNs in various tasks in solving PDEs and inverse problems in signal processing. This paper introduces Butterfly-Net2 (BNet2), a simplified version of the Butterfly-Net architecture, and a novel initialization scheme based on the Fourier Transform. By leveraging the mathematical structure of the Butterfly algorithm, BNet2 achieves state-of-the-art performance with significantly fewer parameters than standard CNNs.
Introduction
In the domains of physics and signal processing, spectral methods—such as the Fourier Transform—have long been the gold standard for solving differential equations and processing signals efficiently. While modern Convolutional Neural Networks (CNNs) have shown remarkable power in data-driven tasks, they often operate as "black boxes," ignoring these well-established mathematical priors. This lack of structure frequently leads to models with excessive parameters, high susceptibility to overfitting, and poor generalization to out-of-distribution data.
The Butterfly-Net2 (BNet2) framework addresses these challenges by bridging the gap between classical mathematical algorithms and deep learning. It simplifies the complex "Butterfly" structure into a sparse, efficient CNN architecture. Furthermore, the authors propose initializing these networks to mimic a Fourier Transform rather than using random noise, guiding the optimization process toward physically meaningful solutions.
Architecture and Initialization
The core innovation of this work lies in two areas: the sparse connectivity of the BNet2 architecture and the Fourier Transform (FT) initialization scheme.
BNet2 Architecture
Standard CNNs typically employ dense connectivity, where every input channel is connected to every output channel in a convolutional layer. While flexible, this approach is often redundant for tasks governed by spectral properties. BNet2, conversely, is a "pruned" version of a standard CNN. Its connectivity pattern is inspired by the Butterfly Algorithm, the mathematical foundation of the Fast Fourier Transform (FFT).
As shown in the figure above, BNet2 utilizes a hierarchical, sparse structure. This allows the network to capture global dependencies across the data using only $O(N)$ parameters, a significant reduction from the $O(N^2)$ parameters required by dense CNNs. This sparsity acts as a form of architectural regularization, enhancing efficiency without sacrificing the ability to represent complex operators.
Fourier Transform Initialization
Beyond architecture, the authors challenge the standard practice of random weight initialization. They introduce FT initialization, which uses Chebyshev interpolation to set the initial weights such that the network begins training by performing a Discrete Fourier Transform. This "warm start" places the model in a favorable region of the loss landscape—a "deep well"—from which it can converge to high-precision solutions much faster and more reliably than from a random starting point.
Experimental Evaluation
The researchers evaluated BNet2 and the FT initialization scheme on several benchmarks where mathematical precision is paramount.
Datasets and Tasks
- Synthetic 1D Signals: The models were tested on their ability to represent and process signals with varying frequency components (low, high, and mixed).
- PDE Solvers: The study focused on 1D Poisson’s equations, including both linear and highly nonlinear variants. Solving these equations is a fundamental task in physics-informed machine learning.
- Signal Restoration: Tasks included 1D denoising (removing Gaussian noise) and deblurring (inverting Gaussian blur kernels).
Key Results
The experiments yielded several significant insights:
- Parameter Efficiency: In approximating the Fourier Transform operator, BNet2 required only 9,252 parameters to match or exceed the accuracy of a standard CNN using 49,572 parameters—an 80% reduction.
- Superior Convergence: For nonlinear PDEs, randomly initialized networks often failed to find meaningful solutions. In contrast, FT-initialized models (both BNet2 and standard CNNs) consistently achieved high-precision results, often two orders of magnitude better than their random counterparts.
- Transfer Learning and Stability: FT-initialized networks demonstrated remarkable stability. When trained on low-frequency data and tested on high-frequency data, these models maintained their performance, whereas randomly initialized networks typically failed to generalize.
Conclusion and Future Work
Butterfly-Net2 demonstrates that incorporating classical mathematical structures into deep learning architectures can yield significant gains in efficiency and robustness. By replacing dense connectivity with Butterfly-inspired sparsity and random initialization with Fourier-based priors, the authors provide a powerful framework for physics and signal processing tasks.
While the current results are promising for 1D signals, future work will explore scaling these concepts to 2D and 3D data, such as images and volumetric physical simulations. Additionally, adapting FT initialization to more complex CNN architectures with overlapping kernels or varied pooling layers remains an open area of research. Ultimately, BNet2 represents a step toward more interpretable and mathematically grounded artificial intelligence.
Summary updated