Abstract
Butterfly-Net is a novel, sparse convolutional neural network (CNN) architecture inspired by the mathematical "Butterfly scheme" used in fast Fourier transforms. By replacing dense cross-channel connections with a structured, hierarchical sparse pattern and utilizing a specialized "Butterfly initialization," this network can approximate complex functions with exponential accuracy while requiring significantly fewer parameters than standard deep networks.
Introduction
While Convolutional Neural Networks (CNNs) have revolutionized fields from computer vision to physics, they are often criticized as "black boxes." Specifically, the theoretical community lacks a full understanding of why their specific geometric constraints—such as local filters and hierarchical structures—are so effective at approximating the complex differential and integral operators found in physics and engineering.
Standard CNNs typically employ dense cross-channel connections, where every input channel connects to every output channel in a layer. This design leads to a massive number of parameters, raising two critical questions:
- Can we design a "lighter" CNN that maintains high performance through structured sparsity?
- Can we create an architecture mathematically proven to represent Fourier-based transformations efficiently?
The Butterfly-Net Architecture
The authors introduce Butterfly-Net, a CNN architecture that mimics the Butterfly scheme, a classical algorithm for the fast computation of special function transforms. Unlike standard CNNs, Butterfly-Net utilizes structured sparsity to reduce model complexity.
As shown in Figure 1, the network is organized into three primary modules:
- Conv Layers: These layers handle interpolation and recursion, effectively building up the hierarchical representation.
- Switch Layer: This central component reorganizes data between the frequency and time domains, a critical step in the Butterfly algorithm.
- Conv-t (Transpose) Layers: These layers complete the transformation, mapping the intermediate representations back to the target output space.
Theoretical Framework and Initialization
The core innovation of Butterfly-Net lies in its Butterfly Initialization. Rather than starting with random weights, the network is initialized with values derived from the mathematical Butterfly algorithm. This provides a "head start" in representing Fourier kernels, placing the network in a narrow but deep local minimum that random initialization rarely reaches.
The channels in Butterfly-Net have a clear physical meaning, corresponding to specific frequency bands. As detailed in Figure 2, the domain decomposition across layers allows the network to maintain a structured relationship between frequency and time domains. Because of this, sparse, hierarchical connections are mathematically sufficient to represent the target functions, achieving a model complexity of $O(K \log N)$ (where $N$ is input length and $K$ is bandwidth).
Experimental Evaluation
The researchers evaluated Butterfly-Net on several synthetic datasets designed to test its ability to represent spectral data and physical operators:
- Fourier Kernel Approximation: Testing the representation of the Discrete Fourier Transform (DFT) matrix.
- Frequency-Specific Datasets: Signals centered around specific frequency bands (low, high, and smooth versions).
- Physical Functionals: Approximating energy functionals of 1D Poisson’s equations, which are fundamental in engineering.
Key Results
- Superior Accuracy: In all experiments, training from Butterfly initialization outperformed random initialization by two to three orders of magnitude in relative error.
- Exponential Convergence: Both theoretically and numerically, the authors demonstrated that the approximation error decays exponentially as the depth of the network increases.
- Robust Generalization: In transfer learning tests, Butterfly-Net generalized significantly better than its "Inflated" (dense) counterpart, which proved more sensitive to shifts in data distribution.
Conclusion
Butterfly-Net bridges the gap between fast mathematical algorithms and deep learning. By leveraging the structured sparsity of the Butterfly scheme, the architecture bypasses the "curse of dimensionality" for a large class of problems. Future work will explore the network's sensitivity to noise, its potential denoising properties through ReLU layers, and its extension to higher-dimensional data such as medical imaging or volumetric seismic processing.
Summary updated