Skip to main content
QUICK REVIEW

[Paper Review] Enabling Sparse Winograd Convolution by Native Pruning

Sheng R. Li, Jongsoo Park|arXiv (Cornell University)|Feb 28, 2017
Advanced Neural Network ApplicationsComputer Science14 references47 citations
TL;DR

This paper introduces a native pruning method for Winograd convolution layers that achieves over 90% sparsity in Winograd parameters with minimal accuracy loss (0.1% on ImageNet), enabling a 5.4× speedup over dense direct convolution and 2.1× over ideal dense Winograd convolution on Intel Xeon CPUs by exploiting sparsity in a custom sparse Winograd kernel implementation.

ABSTRACT

Sparse methods and the use of Winograd convolutions are two orthogonal approaches, each of which significantly accelerates convolution computations in modern CNNs. Sparse Winograd merges these two and thus has the potential to offer a combined performance benefit. Nevertheless, training convolution layers so that the resulting Winograd kernels are sparse has not hitherto been very successful. By introducing a Winograd layer in place of a standard convolution layer, we can learn and prune Winograd coefficients "natively" and obtain sparsity level beyond 90% with only 0.1% accuracy loss with AlexNet on ImageNet dataset. Furthermore, we present a sparse Winograd convolution algorithm and implementation that exploits the sparsity, achieving up to 31.7 effective TFLOP/s in 32-bit precision on a latest Intel Xeon CPU, which corresponds to a 5.4x speedup over a state-of-the-art dense convolution implementation.

Motivation & Objective

  • To overcome the challenge of achieving high sparsity in Winograd convolution kernels, which is difficult when pruning in the spatial domain due to non-invertible transforms.
  • To eliminate inconsistency between spatial and Winograd parameters by replacing standard convolution layers with native Winograd layers that directly train and prune Winograd coefficients.
  • To develop an optimized sparse Winograd convolution implementation that effectively exploits high sparsity for real inference speedups on modern CPUs.
  • To demonstrate that native pruning in the Winograd domain enables higher expressiveness and more effective pruning than spatial-domain pruning.

Proposed method

  • Replace standard convolution layers with Winograd layers that directly parameterize and train Winograd coefficients instead of spatial kernels.
  • Apply gradient-based thresholding and L1 regularization to prune Winograd coefficients directly in the Winograd domain, achieving high sparsity without relying on spatial-domain pruning.
  • Use a non-invertible transform from spatial to Winograd parameters as a fundamental obstacle, which is circumvented by eliminating the need to co-optimize both domains.
  • Design a custom sparse Winograd convolution kernel that efficiently exploits sparsity by skipping zero operations, using optimized memory access and computation patterns.
  • Implement the sparse Winograd kernel on Intel Xeon CPUs using a highly optimized kernel with effective memory layout and threading.
  • Evaluate performance using effective FLOP/s, comparing against dense direct, ideal dense Winograd, and sparse direct convolution implementations.

Experimental results

Research questions

  • RQ1Can high sparsity be achieved in Winograd convolution kernels without significant accuracy degradation when pruning directly in the Winograd domain?
  • RQ2Why does traditional pruning in the spatial domain fail to produce meaningful Winograd sparsity, and how can this be overcome?
  • RQ3Can a native Winograd layer architecture enable more effective and consistent pruning than co-optimizing spatial and Winograd parameters?
  • RQ4What performance gains are achievable with a custom sparse Winograd convolution implementation that exploits high sparsity on modern CPUs?
  • RQ5Is the combination of native pruning and sparse Winograd convolution more effective than existing sparse or Winograd-only approaches?

Key findings

  • Native pruning in the Winograd domain achieves 90.6% to 95.8% sparsity across 3×3 and 5×5 convolution layers of AlexNet with only 0.1% top-1 accuracy drop.
  • The method achieves a 5.4× speedup over dense direct convolution and a 2.1× speedup over ideal dense Winograd convolution on Intel Xeon Platinum 8180 CPUs.
  • Sparsity in the Winograd domain is significantly higher than in the spatial domain: while spatial pruning achieves ~85% sparsity, Winograd sparsity drops to 25–70% when converted, highlighting the advantage of native pruning.
  • The sparse Winograd kernel implementation achieves up to 31.7 effective TFLOP/s in 32-bit precision, demonstrating high computational efficiency on modern server-class CPUs.
  • The method enables unique pruning patterns in Winograd space—such as isolated non-zero coefficients not present in the spatial domain—indicating greater expressiveness and pruning flexibility.
  • The approach outperforms both sparse direct convolution and ideal dense Winograd convolution, proving the effectiveness of combining native pruning with sparse Winograd computation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.