Standard convolutional neural networks (CNNs) spend the vast majority of their computational budget on a single operation: sliding-window spatial convolution. For a standard $3 \times 3$ filter, computing each output pixel requires nine multiply-accumulate (MAC) operations. Across millions of parameters and large feature maps, these multiplications become a massive hardware bottleneck, consuming significant power and limiting throughput on edge devices.
To bypass this bottleneck, researchers leverage the convolution theorem: a convolution in the spatial domain can be transformed into a simpler element-wise multiplication in an alternative mathematical domain. While the Fast Fourier Transform (FFT) is highly effective at reducing complexity for large convolutional kernels, it introduces too much overhead for the small filters (such as $3 \times 3$ or $2 \times 2$) that dominate modern deep learning architectures (Zhang et al.; Lu et al.).
Instead, the field has turned to Winograd minimal filtering algorithms. By mapping small spatial tiles into a specialized transform domain, Winograd convolutions dramatically reduce the number of required multiplications, unlocking massive speedups on hardware ranging from mobile GPUs to custom FPGAs.
The Core Intuition: Computing in Tiles
To understand why Winograd filtering works, consider how standard convolution computes a $2 \times 2$ block of outputs using a $3 \times 3$ filter. To generate these four outputs, the filter must slide across a $4 \times 4$ tile of the input image. Computed directly, this requires $2 \times 2 \times 3 \times 3 = 36$ multiplications.
Winograd’s insight was that many of these multiplications are redundant because the sliding windows heavily overlap. As shown by Lavin et al., we can eliminate this redundancy by transforming the entire input tile and the filter before multiplying. The process follows four distinct steps:
- Filter Transformation: The $3 \times 3$ weight matrix $g$ is transformed into a larger domain using a constant transformation matrix $G$, yielding $GgG^T$.
- Input Transformation: The $4 \times 4$ input tile $d$ is transformed using a constant matrix $B$, yielding $B^TdB$.
- Element-wise Multiplication: The transformed input and filter are multiplied together element-by-element (a Hadamard product). Because the transformed tile is $4 \times 4$, this step requires exactly $4 \times 4 = 16$ multiplications.
- Inverse Transformation: The $4 \times 4$ result is mapped back to the $2 \times 2$ spatial output tile using an inverse transformation matrix $A$.
Spatial Domain Winograd Domain
[ 4x4 Input Tile ] --- Transform (B) ---> [ 4x4 Transformed Input ]
|
Element-wise Mult (16 MACs)
|
[ 3x3 Filter ] --- Transform (G) ---> [ 4x4 Transformed Filter ]
|
[ 2x2 Output Tile ] <-- Inv Transform (A) -- [ 4x4 Transformed Result ]
By replacing the sliding-window dot products with a transform-domain Hadamard product, the number of multiplications drops from 36 to 16—a theoretical arithmetic reduction of $2.25\times$. This strategy computes blocks of outputs with the theoretical minimum number of multiplications, making it exceptionally powerful for accelerating the small kernels prevalent in modern networks (Lavin et al.; Andrade et al.).
The Transformation Bottleneck
While Winograd filtering slashes the number of multiplications, it does not represent a free lunch. The transformation steps ($A$, $B$, and $G$) introduce a sequence of additions and matrix scaling operations.
The efficiency of a Winograd implementation depends heavily on a crucial trade-off: algorithmic savings versus implementation overhead. The benefits of the algorithm are highly layer-dependent (Mori et al.). If a network layer has very small spatial dimensions or few channels, the computational cost of performing the input and output transformations can actually outweigh the arithmetic savings gained from reducing multiplications.
Furthermore, generic software libraries and standard systolic array hardware architectures often fail to capture these gains because they are optimized for standard direct convolutions (Moskewicz et al.; Dua et al.). Realizing the full potential of Winograd filtering requires tight co-design between the algorithm and the underlying hardware or runtime engine.
Overcoming Numerical Instability and Quantization Noise
As researchers attempted to scale Winograd convolutions to larger tile sizes—such as computing $4 \times 4$ output blocks using $4 \times 4$ tiles (often denoted as Winograd F4)—they encountered a severe mathematical roadblock: numerical instability.
The transformation matrices used in Winograd algorithms are derived from Vandermonde matrices. As the tile size increases, the values within these matrices grow exponentially. This exponential growth amplifies floating-point rounding errors, causing massive numerical noise that can degrade model accuracy. To combat this, Vincent et al. demonstrated that strategic scaling of the transformation matrices can counteract this exponential growth, reducing the maximum relative error of Winograd convolutions by over 100 times and making larger computational tiles viable.
Large Tile Sizes ---> Vandermonde Matrix Growth ---> Exponential Precision Loss
|
[ Strategic Matrix Scaling ]
|
V
100x Relative Error Reduction
A parallel challenge arises when deploying Winograd-based networks on low-power edge hardware that relies on 8-bit integer (INT8) quantization. Because the transform domain expands the dynamic range of the features, standard quantization introduces severe accuracy loss.
To solve this, researchers use specialized quantization strategies. For instance, Andri et al. introduced "tap-wise quantization" to handle the unique numerical distribution of Winograd F4 transformations on integer hardware. Similarly, Mori et al. proposed Winograd-aware training with trainable clipping factors, allowing models to maintain high accuracy even when compressed to low-precision integer formats.
Hardware Co-Design and Applications
Because Winograd transformations can easily become a computational bottleneck, specialized hardware acceleration is essential. On FPGAs, developers design dedicated hardware modules optimized for area and power efficiency to handle the transformation matrices natively, trading a slight increase in logic complexity for a massive reduction in primary hardware multipliers (DiCecco et al.; Andri et al.). This hardware-software co-design has expanded beyond standard classification networks to generative models; for example, combining Winograd filtering with transformed deconvolution allows FPGA accelerators to exploit structured sparsity and achieve significant speedups for Generative Adversarial Networks (GANs) (Chang et al.).
On general-purpose processors like GPUs and mobile CPUs, achieving high throughput requires optimizing data layouts and memory access patterns. Modern inference engines like Alibaba's MNN utilize specialized data layouts (such as NC4HW4) during the Hadamard product step alongside pipelining to maximize cache locality (Jiang et al.).
These software optimizations have brought desktop-class performance to edge devices. By selecting optimal tile sizes to balance memory overhead and computational speed, Chen et al. successfully accelerated large diffusion models on mobile GPUs, achieving a 52.2% latency reduction for Stable Diffusion. On ARMv8 processors, highly optimized implementations like AirWino extend these concepts to handle both 2D and complex 3D convolutions, outperforming standard vendor libraries by fully leveraging the architectural capabilities of mobile CPUs (Gui et al.).
Alternative Transform Domains
While Winograd minimal filtering is highly optimized for standard $3 \times 3$ kernels, the broader concept of transform-domain filtering offers alternative paths to efficiency. Rather than transforming local spatial tiles, some architectures map entire feature maps into alternative orthogonal transform domains—such as the Discrete Cosine Transform (DCT), Hadamard Transform (HT), or Biorthogonal Wavelet Transform (BWT).
As shown by Hamdan et al., standard convolutional layers can be entirely replaced by perceptron layers operating in these orthogonal domains. By executing filtering via element-wise multiplication with learned scaling matrices directly in the transform domain, these architectures bypass spatial convolutions altogether, drastically lowering parameter counts and arithmetic complexity while maintaining competitive accuracy.
Key Foundational Work
Caffeinated FPGAs: FPGA framework For Convolutional Neural Networks (2016) — contributed 3 concept elements to this direction.
Fast Algorithms for Convolutional Neural Networks (2016) — contributed 2 concept elements to this direction.
On Improving the Numerical Stability of Winograd Convolutions (2017) — contributed 2 concept elements to this direction.