What if Neural Networks had SVDs?

Alexander Mathiasen, Frederik Hvilshøj, Jakob Rødsgaard Jørgensen, Anshul Nasery, Davide Mottin
9/29/2020
cs.LGstat.ML

Official code: AlexanderMath/fasth (78 stars, Python, MIT, last commit 2024-07-25).

Abstract

Various Neural Networks employ time-consuming matrix operations like matrix inversion. Many such matrix operations are faster to compute given the Singular Value Decomposition (SVD).

Show full abstract

Previous work allows using the SVD in Neural Networks without computing it. In theory, the techniques can speed up matrix operations, however, in practice, they are not fast enough. We present an algorithm that is fast enough to speed up several matrix operations. The algorithm increases the degree of parallelism of an underlying matrix multiplication $H\cdot X$ where $H$ is an orthogonal matrix represented by a product of Householder matrices. Code is available at www.github.com/AlexanderMath/fasth .

View on arXivView PDF

Code Implementations(1)

MIT

Code for the article "What if Neural Networks had SVDs?", to be presented as a spotlight paper at NeurIPS 2020.

7810Python, CudaJun 30, 20202 years agoMIT

Similar Papers

Cite this paper

@article{mathiasen2020what,
  title  = {What if Neural Networks had SVDs?},
  author = {Alexander Mathiasen and Frederik Hvilshøj and Jakob Rødsgaard Jørgensen and Anshul Nasery and Davide Mottin},
  year   = {2020},
  eprint = {2009.13977},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.13977}
}

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

Discussion