Skip to main content
QUICK REVIEW

[Paper Review] Deformable Butterfly: A Highly Structured and Sparse Linear Transform

Rui Lin, Jie Ran|arXiv (Cornell University)|Mar 25, 2022
Neural Networks and ApplicationsComputer Science5 citations
TL;DR

This paper introduces Deformable Butterfly (DeBut), a novel structured and sparse linear transform that generalizes traditional butterfly matrices to support arbitrary input-output dimensions, enabling efficient, learnable, and hierarchical linear mappings. DeBut achieves high model compression and low inference complexity while maintaining accuracy, outperforming low-rank decomposition and existing structured transforms in parameter efficiency and performance.

ABSTRACT

We introduce a new kind of linear transform named Deformable Butterfly (DeBut) that generalizes the conventional butterfly matrices and can be adapted to various input-output dimensions. It inherits the fine-to-coarse-grained learnable hierarchy of traditional butterflies and when deployed to neural networks, the prominent structures and sparsity in a DeBut layer constitutes a new way for network compression. We apply DeBut as a drop-in replacement of standard fully connected and convolutional layers, and demonstrate its superiority in homogenizing a neural network and rendering it favorable properties such as light weight and low inference complexity, without compromising accuracy. The natural complexity-accuracy tradeoff arising from the myriad deformations of a DeBut layer also opens up new rooms for analytical and practical research. The codes and Appendix are publicly available at: https://github.com/ruilin0212/DeBut.

Motivation & Objective

  • To address the limitations of existing structured linear transforms, such as fixed power-of-two dimensions and poor scalability in large networks.
  • To develop a learnable, structured, and sparse linear transform that supports variable input-output dimensions and enables effective neural network compression.
  • To unify fully connected and convolutional layers under a single, hierarchical, and efficient transformation mechanism.
  • To provide a new paradigm for network compression that is orthogonal to quantization, pruning, and low-rank decomposition.
  • To enable practical deployment of efficient linear layers in edge AI settings with reduced training and inference overhead.

Proposed method

  • DeBut generalizes the conventional butterfly matrix by allowing non-square, deformable factor matrices that adapt to arbitrary input and output dimensions.
  • It employs a hierarchical chain of sparse, learnable butterfly factors with variable intermediate dimensions, enabling both bulging and monotonic configurations for trade-offs in complexity and representational power.
  • The structure supports fine-to-coarse-grained feature mapping through recursive, sparse matrix multiplications, mimicking receptive field behavior in CNNs.
  • The method uses a product chain of structured, sparse matrices where dense blocks can be tuned to control representation capacity and sparsity.
  • DeBut is designed to be a drop-in replacement for FC and CONV layers, with no architectural changes required.
  • The approach leverages fast matrix-vector multiplication schemes due to its recursive, butterfly-like structure, enabling low inference complexity.

Experimental results

Research questions

  • RQ1Can a structured and sparse linear transform be designed to support arbitrary input and output dimensions beyond power-of-two constraints?
  • RQ2How does the hierarchical, deformable structure of DeBut affect model accuracy and parameter efficiency in deep neural networks?
  • RQ3To what extent can DeBut outperform low-rank decomposition and other compression techniques in terms of parameter count and accuracy?
  • RQ4Can DeBut unify FC and CONV layers under a single, efficient transformation mechanism without sacrificing performance?
  • RQ5How does the choice between bulging and monotonic DeBut chains affect model stability, performance, and compression efficiency?

Key findings

  • DeBut achieves 2.43M parameters on VGG-16-BN for CIFAR-10, outperforming Tucker-2 (3.21M parameters) with higher accuracy (93.71% vs. 93.36%).
  • The DeBut layer maintains high accuracy while reducing parameter count and inference complexity, making it suitable for edge AI deployment.
  • DeBut is orthogonal to quantization and pruning, allowing further compression when combined with these techniques.
  • DeBut does not rely on low-rank structures; all matrix factors and the overall product are full-rank, distinguishing it from low-rank decomposition methods.
  • The hierarchical, progressive nature of DeBut enables potential pipelined inference speedup, which is a promising direction for future optimization.
  • DeBut demonstrates superior performance and efficiency in large networks where training and inference complexity are critical, outperforming existing fast transform schemes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.