Reproduce “Butterfly Transform: An Efficient FFT Based Neural Architecture Design” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Keivan Alizadeh Vahid, Anish Prabhu, Ali Farhadi, Mohammad Rastegari
The Butterfly Transform (BFT) is introduced as an efficient replacement for pointwise convolutions in convolutional neural networks, reducing computational complexity from O(n²) to O(n log n). This method achieves absolute Top-1 accuracy gains of up to 6.76% on ImageNet for MobileNetV1 while maintaining or reducing FLOPs, outperforming several state-of-the-art efficient models and structured matrix approaches.
Key insights
- A multi-layer fusion network satisfying principles of full connectivity, an information bottleneck of size 'n', and operation symmetry requires at least O(n log n) operations, which the BFT asymptotically achieves.
- Optimal BFT training requires careful configuration, including 'First-to-Last' residual connections, avoiding internal non-linearities and batch normalization within BFLayers, and using minimal to no weight decay.
- An empirical evaluation determined that a butterfly base (k) of 4 offers the most effective balance between accuracy and computational budget, outperforming k=2, 8, or n.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.