Skip to main content
QUICK REVIEW

[Paper Review] INT8 Winograd Acceleration for Conv1D Equipped ASR Models Deployed on Mobile Devices

Yiwu Yao, Yuchao Li|arXiv (Cornell University)|Oct 28, 2020
Fault Detection and Control SystemsEngineering21 references8 citations
TL;DR

This paper proposes a novel INT8 Winograd quantization pipeline that combines Range-Scaled Quantization (RSQ) training with low-precision Winograd convolution to accelerate Conv1D-based ASR models on mobile devices. By jointly optimizing quantization range and minimizing quantization noise during fine-tuning, the method achieves up to 1.48× speedup with only a 0.07% WER increase on ARMv7 devices, outperforming standard INT8 GEMM and PTQ methods while preserving model accuracy.

ABSTRACT

The intensive computation of Automatic Speech Recognition (ASR) models obstructs them from being deployed on mobile devices. In this paper, we present a novel quantized Winograd optimization pipeline, which combines the quantization and fast convolution to achieve efficient inference acceleration on mobile devices for ASR models. To avoid the information loss due to the combination of quantization and Winograd convolution, a Range-Scaled Quantization (RSQ) training method is proposed to expand the quantized numerical range and to distill knowledge from high-precision values. Moreover, an improved Conv1D equipped DFSMN (ConvDFSMN) model is designed for mobile deployment. We conduct extensive experiments on both ConvDFSMN and Wav2letter models. Results demonstrate the models can be effectively optimized with the proposed pipeline. Especially, Wav2letter achieves 1.48* speedup with an approximate 0.07% WER decrease on ARMv7-based mobile devices.

Motivation & Objective

  • Address the performance bottleneck in mobile-deployed Conv1D-based ASR models caused by low computation-to-memory access ratios.
  • Overcome precision overflow and information loss when combining quantization and Winograd convolution.
  • Enable efficient, low-latency inference on mobile devices by integrating quantization and fast convolution techniques.
  • Design a mobile-optimized ASR model (ConvDFSMN) that benefits from the proposed optimization pipeline.
  • Achieve high-speed inference with minimal accuracy degradation through end-to-end training and optimization

Proposed method

  • Propose Range-Scaled Quantization (RSQ) training that expands the quantized numerical range to prevent overflow in Winograd transformations.
  • Introduce a quantization noise loss function during fine-tuning to minimize precision loss from low-precision quantization.
  • Apply Winograd’s minimal filtering to replace standard convolution with efficient Hadamard product operations in the Winograd domain.
  • Use full integer Hadamard multiplication in the Winograd domain to accelerate INT8 Winograd inference on mobile devices.
  • Integrate the RSQ fine-tuning and INT8 Winograd optimization into a unified pipeline for mobile deployment.
  • Design a new Conv1D-equipped DFSMN model (ConvDFSMN) with improved efficiency and quantization resilience

Experimental results

Research questions

  • RQ1Can combining INT8 quantization and Winograd convolution be effectively achieved without precision overflow or performance degradation?
  • RQ2How does Range-Scaled Quantization (RSQ) improve model accuracy after quantization compared to standard post-training quantization (PTQ)?
  • RQ3What is the impact of quantization noise minimization during fine-tuning on the final ASR performance after INT8 Winograd acceleration?
  • RQ4To what extent can the proposed pipeline reduce inference latency on ARMv7 mobile devices while maintaining WER performance?
  • RQ5How does the proposed method compare in speedup and accuracy to standard INT8 GEMM and PTQ-based Winograd on real-world ASR models?

Key findings

  • The proposed RSQ training method reduces quantization error and prevents overflow in Winograd transformations, enabling stable INT8 Winograd inference.
  • On the Wav2letter model, the method achieves 1.48× speedup with only a 0.07% increase in WER on ARMv7-based mobile devices.
  • The ConvDFSMN-s model achieves 10.52% WER on Aishell-1 after RSQ fine-tuning, outperforming Wav2letter (13.71% WER) despite having fewer parameters.
  • INT8 Winograd provides consistent speedup across all Conv1D kernel sizes, with up to 1.3× speedup observed on 15×1 kernels in Wav2letter.
  • The RSQ method eliminates the need for calibration sets in post-training quantization, simplifying the quantization pipeline.
  • The latency of Conv1D operations is reduced by up to 24% (from 0.881ms to 0.710ms) in ConvDFSMN with 1024-dimensional filters

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.