# Karatsuba Algorithm Revisited for 2D Convolution Computation Optimization

**Authors:** Qi Wang, Jianghan Zhu, Can He, Shihang Wang, Xingbo Wang, Yuan Ren, Terry Tao Ye

PMC · DOI: 10.3390/e27050506 · Entropy · 2025-05-08

## TL;DR

This paper shows how the Karatsuba algorithm can be used to optimize 2D convolution computations, reducing additions and hardware usage compared to the Winograd algorithm.

## Contribution

The novel application of the Karatsuba algorithm to 2D convolution computation, reducing additions and FPGA resource usage.

## Key findings

- Karatsuba-based convolution requires fewer additions than Winograd-based convolution for the same dimensions.
- FPGA implementation of Karatsuba-based convolution reduces LUTs by 33.6% compared to Winograd-based methods.

## Abstract

Convolution plays a significant role in many scientific and technological computations, such as artificial intelligence and signal processing. Convolutional computations consist of many dot-product operations (multiplication–accumulation, or MAC), for which the Winograd algorithm is currently the most widely used method to reduce the number of MACs. The Karatsuba algorithm, since its introduction in the 1960s, has been traditionally used as a fast arithmetic method to perform multiplication between large-bit-width operands. It had not been exploited to accelerate 2D convolution computations before. In this paper, we revisited the Karatsuba algorithm and exploited it to reduce the number of MACs in 2D convolutions. The matrices are first segmented into tiles in a divide-and-conquer method, and the resulting submatrices are overlapped to construct the final output matrix. Our analysis and benchmarks have shown that for convolution operations of the same dimensions, the Karatsuba algorithm requires the same number of multiplications but fewer additions as compared with the Winograd algorithm. A pseudocode implementation is also provided to demonstrate the complexity reduction in Karatsuba-based convolution. FPGA implementation of Karatsuba-based convolution also achieves 33.6% LUTs (Look -up Tables) reduction compared with Winograd-based implementation.

## Full-text entities

- **Diseases:** injury to (MESH:D014947)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12110178/full.md

## Figures

13 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12110178/full.md

## References

19 references — full list in the complete paper: https://tomesphere.com/paper/PMC12110178/full.md

---
Source: https://tomesphere.com/paper/PMC12110178