Introduction
The quest for efficient deep learning on edge devices has led to architectures like MobileNet and ShuffleNet, which utilize depthwise separable convolutions to reduce computational overhead. However, as spatial convolutions become cheaper, the pointwise (1x1) convolutions responsible for channel fusion have emerged as a significant bottleneck, often consuming over 90% of total FLOPs. Reducing the channel count to mitigate this cost typically results in a substantial loss of accuracy. Researchers from the University of Washington propose the Butterfly Transform (BFT) to address this fundamental scaling issue by rethinking channel fusion through the lens of structured sparsity.
The Butterfly Transform (BFT)
The Butterfly Transform is a structured, sparse alternative to dense 1x1 convolutions. Inspired by the recursive structure of the Fast Fourier Transform (FFT), BFT reduces the complexity of channel fusion from $O(n^2)$ to $O(n \log n)$.
The BFT architecture decomposes the fusion process into $\log n$ layers of sparse operations, termed BFLayers. This structure ensures four critical design criteria: full connectivity (every input affects every output), a large information bottleneck, low operation count, and operation symmetry. Implementation requires specific considerations: standard non-linearities like ReLU are avoided within the transform to prevent information loss in sparse paths, and a custom initialization scheme is used to maintain signal variance across the recursive layers.
Experimental Results
Evaluated on the ImageNet-1K dataset, BFT serves as a drop-in replacement for pointwise convolutions in existing efficient models like MobileNetV1 and ShuffleNetV2.
As shown in the performance comparison, BFT-augmented models significantly outperform their standard counterparts in low-FLOP regimes. For MobileNetV1, BFT achieved a 6.75% absolute Top-1 accuracy gain at approximately 23 MFLOPs. Similarly, ShuffleNetV2 saw a 4.4% improvement at 14 MFLOPs. Notably, these manually designed BFT models outperformed several architectures discovered via Neural Architecture Search (NAS), such as MNasNet and FBNet, demonstrating the efficacy of principled structural design over automated search in highly constrained settings.
Discussion and Conclusion
The primary advantage of BFT is its ability to enable wider networks (more channels) within the same FLOP budget, which is the main driver for accuracy gains in resource-constrained environments. However, there are practical trade-offs. The increased channel count raises peak memory (RAM) requirements during inference. Furthermore, current deep learning frameworks are optimized for dense matrix multiplications; consequently, BFT currently experiences slower training speeds on standard GPUs. Future work involves developing specialized CUDA or FPGA kernels to realize the full speed potential and extending the BFT principle to other domains such as Transformers and RNNs.
Summary updated