Skip to main content
QUICK REVIEW

[Paper Review] Efficient Winograd Convolution via Integer Arithmetic

Lingchuan Meng, Brothers, John|arXiv (Cornell University)|Jan 7, 2019
Advanced Neural Network ApplicationsComputer Science17 references27 citations
TL;DR

This paper introduces complex Winograd convolution algorithms that extend beyond rational arithmetic to enable efficient integer-based computation, reducing arithmetic complexity by 3.13× over direct methods and improving efficiency by up to 17.37% over rational Winograd methods. It further proposes an integer-friendly filter scaling scheme that reduces filter bit width by 30.77% with minimal accuracy loss, enabling high-performance inference on integer-only hardware accelerators.

ABSTRACT

Convolution is the core operation for many deep neural networks. The Winograd convolution algorithms have been shown to accelerate the widely-used small convolution sizes. Quantized neural networks can effectively reduce model sizes and improve inference speed, which leads to a wide variety of kernels and hardware accelerators that work with integer data. The state-of-the-art Winograd algorithms pose challenges for efficient implementation and execution by the integer kernels and accelerators. We introduce a new class of Winograd algorithms by extending the construction to the field of complex and propose optimizations that reduce the number of general multiplications. The new algorithm achieves an arithmetic complexity reduction of $3.13$x over the direct method and an efficiency gain up to $17.37\%$ over the rational algorithms. Furthermore, we design and implement an integer-based filter scaling scheme to effectively reduce the filter bit width by $30.77\%$ without any significant accuracy loss.

Motivation & Objective

  • Address the challenge of implementing Winograd convolution efficiently on integer-only hardware accelerators and kernels.
  • Overcome the limitations of rational-number-based Winograd algorithms that incur high overhead in fixed-point arithmetic environments.
  • Develop a new class of Winograd algorithms using complex number fields to reduce general multiplications and improve arithmetic efficiency.
  • Design a hardware-friendly, integer-based filter precision scaling scheme to reduce bit width without significant accuracy degradation.
  • Demonstrate the feasibility and performance benefits of combining complex Winograd convolution with precision scaling in quantized neural networks.

Proposed method

  • Extend the Winograd algorithm construction from the rational field ℚ to the complex field ℂ to enable more efficient integer arithmetic computation.
  • Apply optimization techniques to minimize the number of general multiplications in the complex Winograd algorithms, achieving lower arithmetic complexity.
  • Design a filter scaling scheme using integer arithmetic to downscale Winograd-domain filters, reducing bit width by 30.77%.
  • Use optimal integer scaling factors to approximate real-valued scaling, minimizing static numerical and proportional errors.
  • Integrate the proposed Winograd and scaling methods into quantized models (e.g., Inception V3, ResNet V2-50) for end-to-end evaluation.
  • Evaluate accuracy and efficiency by comparing the modified models against reference quantized models using standard benchmarks (ILSVRC-12).

Experimental results

Research questions

  • RQ1Can extending Winograd convolution to the complex field improve arithmetic efficiency and reduce general multiplications in integer arithmetic environments?
  • RQ2How can the number of general multiplications in Winograd convolution be minimized through algorithmic optimization in the complex domain?
  • RQ3To what extent can filter bit width be reduced via integer-based scaling in the Winograd domain without introducing significant accuracy loss?
  • RQ4What is the impact of combining complex Winograd convolution with precision scaling on inference accuracy in quantized neural networks?
  • RQ5How does the proposed method compare in efficiency and accuracy to existing rational Winograd algorithms on integer hardware?

Key findings

  • The proposed complex Winograd algorithm achieves a 3.13× reduction in arithmetic complexity compared to the direct convolution method.
  • The algorithm provides an efficiency gain of 15.93% to 17.37% over the best-known rational Winograd algorithms when hardware bitwidth is considered.
  • The integer-based filter scaling scheme reduces filter bit width by 30.77% with an average numerical error of 1.12 and an average proportional error of 0.1%.
  • Inception V3 with the proposed method maintains 73.69% top-1 accuracy (Δ = -0.22%) and 90.3% top-5 accuracy (Δ = -0.67%) compared to the reference model.
  • ResNet V2-50 shows a minimal 0.13% drop in top-1 accuracy (73.21% vs. 73.34%) and identical top-5 accuracy (90.83%), confirming negligible accuracy loss.
  • The combination of complex Winograd convolution and precision scaling enables high-performance inference on integer-only hardware with minimal accuracy degradation.

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.