High Performance Convolution Using Sparsity and Patterns for Inference in Deep Convolutional Neural Networks
Not on the map. Why?
Abstract (arXiv)
Deploying deep Convolutional Neural Networks (CNNs) is impacted by their memory footprint and speed requirements, which mainly come from convolution. Widely-used convolution algorithms, im2col and MEC, produce a lowered matrix from an activation map by redundantly storing the map's elements included at horizontal and/or vertical kernel overlappings without considering the sparsity of the map. Using the sparsity of the map, this paper proposes two new convolution algorithms dubbed Compressed Pattern Overlap (CPO) and Compressed Pattern Sets (CPS) that simultaneously decrease the memory footprint and increase the inference speed while preserving the accuracy. CPO recognizes non-zero elements (NZEs) at horizontal and vertical overlappings in the activation maps. CPS further improves the memory savings of CPO by compressing the index positions of neighboring NZEs. In both algorithms, channels/regions of the activation maps with all zeros are skipped. Then, CPO/CPS performs convolution via Sparse Matrix-Vector Multiplication (SpMv) done on their sparse representations. Experimental results conducted on CPUs show that average per-layer time savings reach up to 63% and Compression Ratio (CR) up to 26x with respect to im2col. In some layers, our average per layer CPO/CPS time savings are better by 28% and CR is better by 9.2x than the parallel implementation of MEC. For a given CNN's inference, we offline select for each convolution layer the best convolutional algorithm in terms of time between either CPO or CPS and im2col. Our algorithms were selected up to 56% of the non-pointwise convolutional layers. Our offline selections yield CNN inference time savings up to 9% and CR up to 10x.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 23 of its 41 references that are in the map. First posted on arXiv 16 Apr 2021.
Builds on
23 of 41 references.
References · 23
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2014Going Deeper with Convolutionscited by 4,231
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2016Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learningcited by 1,509
- 2016Pruning Filters for Efficient ConvNetscited by 1,129
- 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
- 2020Meta Pseudo Labelscited by 372
- 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 291
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
- 2016Dynamic Network Surgery for Efficient DNNscited by 233
11 more
- 2017SCNN: An Accelerator for Compressed-sparse Convolutional Neural Networkscited by 132
- 2020Communication-Efficient Edge AI: Algorithms and Systemscited by 95
- 2015Fast ConvNets Using Group-wise Brain Damagecited by 81
- 2016Faster CNNs with Direct Sparse Convolutions and Guided Pruningcited by 39
- 2017Compressing DMA Engine: Leveraging Activation Sparsity for Training Deep Neural Networkscited by 36
- 2018Accelerating Convolutional Neural Networks via Activation Map Compressioncited by 34
- 2020Pre-defined Sparsity for Low-Complexity Convolutional Neural Networkscited by 15
- 2017MEC: Memory-efficient Convolution for Deep Neural Networkcited by 14
- 2018Escoin: Efficient Sparse Convolutional Neural Network Inference on GPUscited by 11
- 2017Speeding up Convolutional Neural Networks By Exploiting the Sparsity of Rectifier Unitscited by 6
- 2015Caffe con Troll: Shallow Ideas to Speed Up Deep Learningcited by 4
Built on by
Citing papers per year: 2023: 1; 2024: 2.
3 papers.