Differentiable Learning of Generalized Structured Matrices for Efficient Deep Neural Networks

Changwoo Lee, Hun-Seok Kim
10/1/2023
7 citations

Official code: changwoolee/Gaudi-GBLR (11 stars, Python, last commit 2024-04-18).

Abstract

This paper investigates efficient deep neural networks (DNNs) to replace dense unstructured weight matrices with structured ones that possess desired properties. The challenge arises because the optimal weight matrix structure in popular neural network models is obscure in most cases and may vary from layer to layer even in the same network.

Show full abstract

Prior structured matrices proposed for efficient DNNs were mostly hand-crafted without a generalized framework to systematically learn them. To address this issue, we propose a generalized and differentiable framework to learn efficient structures of weight matrices by gradient descent. We first define a new class of structured matrices that covers a wide range of structured matrices in the literature by adjusting the structural parameters. Then, the frequency-domain differentiable parameterization scheme based on the Gaussian-Dirichlet kernel is adopted to learn the structural parameters by proximal gradient descent. On the image and language tasks, our method learns efficient DNNs with structured matrices, achieving lower complexity and/or higher performance than prior approaches that employ low-rank, block-sparse, or block-low-rank matrices.

View on arXivView PDF

Code Implementations(1)

An official PyTorch implementation of "Differentiable Learning of Generalized Structured Matrices for Efficient Deep Neural Networks," ICLR 2024.

112Python, ShellJan 24, 20242 years ago

Similar Papers

Cite this paper

@article{lee2023differentiable,
  title  = {Differentiable Learning of Generalized Structured Matrices for Efficient Deep Neural Networks},
  author = {Changwoo Lee and Hun-Seok Kim},
  year   = {2023},
  eprint = {2310.18882},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.18882},
  journal = {ICLR 2023 2023}
}

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/2310.18882.svg)](https://codeofpaper.com/paper/2310.18882)

Discussion