Efficient and Generic 1D Dilated Convolution Layer for Deep Learning
Not on the map. Why?
Abstract (arXiv)
Convolutional neural networks (CNNs) have found many applications in tasks involving two-dimensional (2D) data, such as image classification and image processing. Therefore, 2D convolution layers have been heavily optimized on CPUs and GPUs. However, in many applications - for example genomics and speech recognition, the data can be one-dimensional (1D). Such applications can benefit from optimized 1D convolution layers. In this work, we introduce our efficient implementation of a generic 1D convolution layer covering a wide range of parameters. It is optimized for x86 CPU architectures, in particular, for architectures containing Intel AVX-512 and AVX-512 BFloat16 instructions. We use the LIBXSMM library's batch-reduce General Matrix Multiplication (BRGEMM) kernel for FP32 and BFloat16 precision. We demonstrate that our implementation can achieve up to 80% efficiency on Intel Xeon Cascade Lake and Cooper Lake CPUs. Additionally, we show the generalization capability of our BRGEMM based approach by achieving high efficiency across a range of parameters. We consistently achieve higher efficiency than the 1D convolution layer with Intel oneDNN library backend for varying input tensor widths, filter widths, number of channels, filters, and dilation parameters. Finally, we demonstrate the performance of our optimized 1D convolution layer by utilizing it in the end-to-end neural network training with real genomics datasets and achieve up to 6.86x speedup over the oneDNN library-based implementation on Cascade Lake CPUs. We also demonstrate the scaling with 16 sockets of Cascade/Cooper Lake CPUs and achieve significant speedup over eight V100 GPUs using a similar power envelop. In the end-to-end training, we get a speedup of 1.41x on Cascade Lake with FP32, 1.57x on Cooper Lake with FP32, and 2.27x on Cooper Lake with BFloat16 over eight V100 GPUs with FP32.
Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Builds on 25 of its 39 references that are in the map. First posted on arXiv 16 Apr 2021.
Builds on
25 of 39 references.
References · 25
- 2015Deep Residual Learning for Image Recognitioncited by 51,950
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,656
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,321
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,717
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,473
- 2016Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoisingcited by 1,354
- 2014Image Super-Resolution Using Deep Convolutional Networkscited by 1,221
- 2015Multi-Scale Context Aggregation by Dilated Convolutionscited by 1,129
- 2020Image Segmentation Using Deep Learning: A Surveycited by 659
- 2019PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognitioncited by 567
- 2016Deep Convolutional Neural Network for Inverse Problems in Imagingcited by 432
- 2019Deep Learning for Image Super-resolution: A Surveycited by 368
13 more
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 243
- 2017Parallel WaveNet: Fast High-Fidelity Speech Synthesiscited by 215
- 2020The Computational Limits of Deep Learningcited by 190
- 20191D Convolutional Neural Networks and Applications: A Surveycited by 153
- 2015Fast Algorithms for Convolutional Neural Networkscited by 102
- 2019QuartzNet: Deep Automatic Speech Recognition with 1D Time-Channel Separable Convolutionscited by 93
- 2013Fast Training of Convolutional Networks through FFTscited by 89
- 2019Jasper: An End-to-End Convolutional Neural Acoustic Modelcited by 75
- 2020Measuring the Algorithmic Efficiency of Neural Networkscited by 52
- 2017Parallel Multi Channel Convolution using General Matrix Multiplicationcited by 30
- 2014Fast Convolutional Nets With fbfft: A GPU Performance Evaluationcited by 27
- 2017Low-memory GEMM-based convolution algorithms for deep neural networkscited by 6
- 2019High-Performance Deep Learning via a Single Building Blockcited by 2
Built on by
Citing papers per year: 2023: 1.
1 paper.
- 2023Sliding Window Sum Algorithms for Deep Neural Networkscited by 1
- 2023Sliding Window Sum Algorithms for Deep Neural Networks25 May 2023