Im2win: Memory Efficient Convolution On SIMD Architectures
Not on the map. Why?
Abstract (arXiv)
Convolution is the most expensive operation among neural network operations, thus its performance is critical to the overall performance of neural networks. Commonly used convolution approaches, including general matrix multiplication (GEMM)-based convolution and direct convolution, rely on im2col for data transformation or do not use data transformation at all, respectively. However, the im2col data transformation can lead to at least 2× memory footprint compared to not using data transformation at all, thus limiting the size of neural network models running on memory-limited systems. Meanwhile, not using data transformation usually performs poorly due to nonconsecutive memory access although it consumes less memory. To solve those problems, we propose a new memory-efficient data transformation algorithm, called im2win. This algorithm refactorizes a row of square or rectangle dot product windows of the input image and flattens unique elements within these windows into a row in the output tensor, which enables consecutive memory access and data reuse, and thus greatly reduces the memory overhead. Furthermore, we propose a high-performance im2win-based convolution algorithm with various optimizations, including vectorization, loop reordering, etc. Our experimental results show that our algorithm reduces the memory overhead by average to 41.6% compared to the PyTorch's convolution implementation based on im2col, and achieves average to 3.6× and 5.3× speedup in performance compared to the im2col-based convolution and not using data transformation, respectively.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 11 of its 22 references that are in the map. First posted on arXiv 25 Jun 2023.
Builds on
11 of 22 references.
References · 11
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
- 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 427
- 2014Caffe: Convolutional Architecture for Fast Feature Embeddingcited by 287
- 2017Moonshine: Distilling with Cheap Convolutionscited by 23
- 2017MEC: Memory-efficient Convolution for Deep Neural Networkcited by 14
- 2018High Performance Zero-Memory Overhead Direct Convolutionscited by 14
- 2018Anatomy Of High-Performance Deep Learning Convolutions On SIMD Architecturescited by 11
- 2017Low-memory GEMM-based convolution algorithms for deep neural networkscited by 6
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 1.
2 papers.