Characterizing and Demystifying the Implicit Convolution Algorithm on Commercial Matrix-Multiplication Accelerators
Not on the map. Why?
Abstract (arXiv)
Many of today's deep neural network accelerators, e.g., Google's TPU and NVIDIA's tensor core, are built around accelerating the general matrix multiplication (i.e., GEMM). However, supporting convolution on GEMM-based accelerators is not trivial. The naive method explicitly lowers the convolution to GEMM, commonly known as im2col, which introduces significant performance and memory overhead. Existing implicit im2col algorithms require unscalable hardware and are inefficient in supporting important convolution variants such as strided convolution. In this paper, we propose a memory-efficient and hardware-friendly implicit im2col algorithm used by Google's TPU, which dynamically converts a convolution into a GEMM with practically zero performance and memory overhead, fully unleashing the power of GEMM engines. Through comprehensive experimental results, we quantitatively argue that this algorithm has been adopted in commercial closed-source platforms, and we are the first to describe its high-level idea and implementation details. Finally, we show that our algorithm can also be generally applied to Nvidia's Tensor Cores (TC), matching and out-performing the measured performance on TCs.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 8 Oct 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 3; 2024: 0; 2025: 2; 2026: 2.
8 papers.
- 2023OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair Quantizationcited by 92
- 2022ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantizationcited by 51
- 2025M-ANT: Efficient Low-bit Group Quantization for LLMs via Mathematically Adaptive Numerical Typecited by 16
- 2026CuBridge: An LLM-Based Framework for Understanding and Reconstructing High-Performance Attention Kernelscited by 2
- 2023AdaptGear: Accelerating GNN Training via Adaptive Subgraph-Level Kernels on GPUscited by 1
- 2023Performance Analysis of DNN Inference/Training with Convolution and non-Convolution Operationscited by 0
- 2025Benchmarking Deep Learning Convolutions on Energy-constrained CPUscited by 0
- 2026MicroQonv: Reshaping Convolution Tensors for Efficient Microscaling in Training and Inferencecited by 0
- 2026MicroQonv: Reshaping Convolution Tensors for Efficient Microscaling in Training and Inference23 Sep 2026
- 2026CuBridge: An LLM-Based Framework for Understanding and Reconstructing High-Performance Attention Kernels6 May 2026
- 2025Benchmarking Deep Learning Convolutions on Energy-constrained CPUs30 Sep 2025
- 2025M-ANT: Efficient Low-bit Group Quantization for LLMs via Mathematically Adaptive Numerical Type26 Feb 2025
- 2023Performance Analysis of DNN Inference/Training with Convolution and non-Convolution Operations29 Jun 2023
- 2023AdaptGear: Accelerating GNN Training via Adaptive Subgraph-Level Kernels on GPUs27 May 2023
- 2023OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair Quantization15 Apr 2023
- 2022ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization30 Aug 2022