Deformable Butterfly: A Highly Structured and Sparse Linear Transform

Rui Lin, Jie Ran, King Hung Chiu, Graziano Chesi, Ngai Wong
3/25/2022
cs.CVcs.LG

Official code: rlin27/DeBut (16 stars, Python, MIT, last commit 2021-11-01).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

rlin27/DeButOfficial100%
MIT

Codes of the paper Deformable Butterfly: A Highly Structured and Sparse Linear Transform.

161Python, Jupyter NotebookJun 10, 20215 years agoMIT
butterflydeformablelinear

Similar Papers

Cite this paper

@article{lin2022deformable,
  title  = {Deformable Butterfly: A Highly Structured and Sparse Linear Transform},
  author = {Rui Lin and Jie Ran and King Hung Chiu and Graziano Chesi and Ngai Wong},
  year   = {2022},
  eprint = {2203.13556},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.13556}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.13556.svg)](https://codeofpaper.com/paper/2203.13556)

Discussion