The Indirect Convolution Algorithm
Not on the map. Why?
Abstract (arXiv)
Deep learning frameworks commonly implement convolution operators with GEMM-based algorithms. In these algorithms, convolution is implemented on top of matrix-matrix multiplication (GEMM) functions, provided by highly optimized BLAS libraries. Convolutions with 1x1 kernels can be directly represented as a GEMM call, but convolutions with larger kernels require a special memory layout transformation - im2col or im2row - to fit into GEMM interface. The Indirect Convolution algorithm provides the efficiency of the GEMM primitive without the overhead of im2col transformation. In contrast to GEMM-based algorithms, the Indirect Convolution does not reshuffle the data to fit into the GEMM primitive but introduces an indirection buffer - a buffer of pointers to the start of each row of image pixels. This broadens the application of our modified GEMM function to convolutions with arbitrary kernel size, padding, stride, and dilation. The Indirect Convolution algorithm reduces memory overhead proportionally to the number of input channels and outperforms the GEMM-based algorithm by up to 62% on convolution parameters which involve im2col transformations in GEMM-based algorithms. This, however, comes at cost of minor performance reduction on 1x1 stride-1 convolutions.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 3; 2023: 2; 2024: 1; 2025: 1.
7 papers.
- 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Modelscited by 129
- 2023Accelerating Deep Neural Networks via Semi-Structured Activation Sparsitycited by 10
- 2022A New Frontier of AI: On-Device AI Training and Personalizationcited by 5
- 2022TCN Mapping Optimization for Ultra-Low Power Time-Series Edge Inferencecited by 4
- 2023Advancing Direct Convolution using Convolution Slicing Optimization and ISA Extensionscited by 3
- 2022Kernel-Segregated Transpose Convolution Operationcited by 1
- 2024Threshold Neuron: A Brain-inspired Artificial Neuron for Efficient On-device Inferencecited by 0
- 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Models28 Feb 2025
- 2024Threshold Neuron: A Brain-inspired Artificial Neuron for Efficient On-device Inference18 Dec 2024
- 2023Accelerating Deep Neural Networks via Semi-Structured Activation Sparsity12 Sep 2023
- 2023Advancing Direct Convolution using Convolution Slicing Optimization and ISA Extensions8 Mar 2023
- 2022Kernel-Segregated Transpose Convolution Operation8 Sep 2022
- 2022A New Frontier of AI: On-Device AI Training and Personalization9 Jun 2022
- 2022TCN Mapping Optimization for Ultra-Low Power Time-Series Edge Inference24 Mar 2022