paper-with-me

홈 › Papers

Sparse Linear Networks with a Fixed Butterfly Structure: Theory and Practice

2020-07-17 · Nir Ailon, Omer Leibovich, Vineet Nair

A butterfly network consists of logarithmically many layers, each with a linear number of non-zero weights (pre-specified). The fast Johnson-Lindenstrauss transform (FJLT) can be represented as a butterfly network followed by a projection onto a random subset of the coordinates. Moreover, a random matrix based on FJLT with high probability approximates the action of any matrix on a vector. Motivated by these facts, we propose to replace a dense linear layer in any neural network by an architecture based on the butterfly network. The proposed architecture significantly improves upon the quadratic number of weights required in a standard dense layer to nearly linear with little compromise in expressibility of the resulting operator. In a collection of wide variety of experiments, including supervised prediction on both the NLP and vision data, we show that this not only produces results that match and at times outperform existing well-known architectures, but it also offers faster training and prediction in deployment. To understand the optimization problems posed by neural networks with a butterfly network, we also study the optimization landscape of the encoder-decoder network, where the encoder is replaced by a butterfly network followed by a dense linear layer in smaller dimension. Theoretical result presented in the paper explains why the training speed and outcome are not compromised by our proposed approach.

📄 PDF Abstract BibTeX arXiv:2007.08864

Code (0)

등록된 구현이 없습니다.

Tasks

DecoderRepresentation Learning

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.

Similar Papers 제목 키워드 기반

Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Models

2021-11-30 · ICLR 2022 4 · Tri Dao, Beidi Chen, Kaizhao Liang, Jiaming Yang 외

Overparameterized neural networks generalize well but are expensive to train. Ideally, one would like to reduce their computational cost while retaining their generalization benefits. Sparse model training is a simple an…

Language ModelingLanguage Modelling

Dimension Mixer: Group Mixing of Input Dimensions for Efficient Function Approximation

2023-11-30 · Suman Sapkota, Binod Bhattarai

The recent success of multiple neural architectures like CNNs, Transformers, and MLP-Mixers motivated us to look for similarities and differences between them. We found that these architectures can be interpreted through…

Long-range modeling

Efficient Identification of Butterfly Sparse Matrix Factorizations

2021-10-04 · Léon Zheng, Elisa Riccietti, Rémi Gribonval

Fast transforms correspond to factorizations of the form $\mathbf{Z} = \mathbf{X}^{(1)} \ldots \mathbf{X}^{(J)}$, where each factor $ \mathbf{X}^{(\ell)}$ is sparse and possibly structured. This paper investigates essent…

Deformable Butterfly: A Highly Structured and Sparse Linear Transform

2022-03-25 · NeurIPS 2021 12 · Rui Lin, Jie Ran, King Hung Chiu, Graziano Chesi 외

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-gr…

ButterflyFlow: Building Invertible Layers with Butterfly Matrices

2022-09-28 · Chenlin Meng, Linqi Zhou, Kristy Choi, Tri Dao 외

Normalizing flows model complex probability distributions using maps obtained by composing invertible layers. Special linear layers such as masked and 1x1 convolutions play a key role in existing architectures because th…

Density Estimation