Truly Sparse Neural Networks at Scale

Selima Curci, Decebal Constantin Mocanu, Mykola Pechenizkiyi
2/2/2021
cs.LGcs.NE

Official code: SelimaC/large-scale-sparse-neural-networks (11 stars, Python, last commit 2021-08-05).

Abstract

Recently, sparse training methods have started to be established as a de facto approach for training and inference efficiency in artificial neural networks. Yet, this efficiency is just in theory.

Show full abstract

In practice, everyone uses a binary mask to simulate sparsity since the typical deep learning software and hardware are optimized for dense matrix operations. In this paper, we take an orthogonal approach, and we show that we can train truly sparse neural networks to harvest their full potential. To achieve this goal, we introduce three novel contributions, specially designed for sparse neural networks: (1) a parallel training algorithm and its corresponding sparse implementation from scratch, (2) an activation function with non-trainable parameters to favour the gradient flow, and (3) a hidden neurons importance metric to eliminate redundancies. All in one, we are able to break the record and to train the largest neural network ever trained in terms of representational power -- reaching the bat brain size. The results show that our approach has state-of-the-art performance while opening the path for an environmentally friendly artificial intelligence era.

View on arXivView PDF

Code Implementations(1)

111PythonOct 5, 20205 years ago

Similar Papers

Cite this paper

@article{curci2021truly,
  title  = {Truly Sparse Neural Networks at Scale},
  author = {Selima Curci and Decebal Constantin Mocanu and Mykola Pechenizkiyi},
  year   = {2021},
  eprint = {2102.01732},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.01732}
}

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

Discussion