Inference, Learning and Attention Mechanisms that Exploit and Preserve Sparsity in Convolutional Networks

Timo Hackel, Mikhail Usvyatsov, Silvano Galliani, Jan D. Wegner, Konrad Schindler
1/31/2018
cs.CV
transformer-attention

Official code: TimoHackel/ILA-SCNN (24 stars, C++, Apache-2.0, last commit 2018-04-18).

Abstract

While CNNs naturally lend themselves to densely sampled data, and sophisticated implementations are available, they lack the ability to efficiently process sparse data. In this work we introduce a suite of tools that exploit sparsity in both the feature maps and the filter weights, and thereby allow for significantly lower memory footprints and computation times than the conventional dense framework when processing data with a high degree of sparsity.

Show full abstract

Our scheme provides (i) an efficient GPU implementation of a convolution layer based on direct, sparse convolution; (ii) a filter step within the convolution layer, which we call attention, that prevents fill-in, i.e., the tendency of convolution to rapidly decrease sparsity, and guarantees an upper bound on the computational resources; and (iii) an adaptation of the back-propagation algorithm, which makes it possible to combine our approach with standard learning frameworks, while still exploiting sparsity in the data and the model.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Computation using data flow graphs for scalable machine learning

244C++, PythonJan 31, 20188 years agoApache-2.0

Similar Papers

Cite this paper

@article{hackel2018inference,
  title  = {Inference, Learning and Attention Mechanisms that Exploit and Preserve Sparsity in Convolutional Networks},
  author = {Timo Hackel and Mikhail Usvyatsov and Silvano Galliani and Jan D. Wegner and Konrad Schindler},
  year   = {2018},
  eprint = {1801.10585},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1801.10585}
}

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

Discussion