NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

4-bit Conformer with Native Quantization Aware Training for Speech Recognition

Shaojin Ding, Phoenix Meadowlark, Yanzhang He, Lukasz Lew, Shivani Agrawal, Oleg Rybakov

Abstract

Reducing the latency and model size has always been a significant research problem for live Automatic Speech Recognition (ASR) application scenarios. Along this direction, model quantization has become an increasingly popular approach to compress neural networks and reduce computation cost. Most of the existing practical ASR systems apply post-training 8-bit quantization. To achieve a higher compression rate without introducing additional performance regression, in this study, we propose to develop 4-bit ASR models with native quantization aware training, which leverages native integer operations to effectively optimize both training and inference. We conducted two experiments on state-of-the-art Conformer-based ASR models to evaluate our proposed quantization technique. First, we explored the impact of different precisions for both weight and activation quantization on the LibriSpeech dataset, and obtained a lossless 4-bit Conformer model with 7.7x size reduction compared to the float32 model. Following this, we for the first time investigated and revealed the viability of 4-bit quantization on a practical ASR system that is trained with large-scale datasets, and produced a lossless Conformer ASR model with mixed 4-bit and 8-bit weights that has 5x size reduction compared to the float32 model.

Introduction

Automatic Speech Recognition (ASR) models, such as the Conformer, are increasingly large and complex. While these models offer state-of-the-art accuracy, their computational and memory requirements make "on-device" deployment with low latency challenging. Standard compression techniques like Post-Training Quantization (PTQ)—converting 32-bit floats to 8-bit integers—often result in a "quantization gap" where accuracy degrades. Furthermore, traditional "Fake" Quantization Aware Training (QAT) simulates integer math on floating-point hardware, which can lead to numerical mismatches during actual deployment on integer-based hardware. This research aims to bridge this gap by pushing compression limits down to 4-bit precision using a more robust training methodology.

Methodology

The researchers introduced Native Quantization Aware Training (Native QAT), also referred to as Accurate Quantized Training. This approach ensures that "what you train is what you serve" by using actual integer operations (or numerically identical emulations) during training. This eliminates the discrepancy between training behavior and inference on mobile chips or TPUs.

The dual-encoder RNN-T architecture used for production-scale experiments, featuring causal and non-causal encoders.

Key technical features include:

  • Efficiency: Training time overhead is kept to just 7% compared to standard floating-point models.
  • Dynamic Quantization: Scaling factors are computed on the fly by estimating maximum values over specific axes (per-channel), allowing precise mapping to 4-bit or 8-bit integers.
  • Multi-pass Architecture: For production environments, a dual-encoder setup is utilized, consisting of a causal encoder for low latency and a non-causal encoder for high accuracy.

Experimental Setup

The approach was evaluated on two distinct scales:

  1. LibriSpeech: A standard academic benchmark with 960 hours of labeled speech.
  2. Large-scale Voice Search: A massive internal dataset comprising approximately 400,000 hours of English audio-text pairs, representing a real-world stress test for quantization.

Results and Discussion

The study revealed that academic models on LibriSpeech are often over-parameterized, making them highly resilient to 4-bit quantization. In contrast, production models trained on 400k hours of data are more parameter-efficient and sensitive to precision loss.

Experimental results for the production-scale Voice Search model, showing the impact of various quantization strategies on WER and model size.

Key findings include:

  • LibriSpeech Performance: A Large Conformer achieved a 7.7x size reduction (472MB to 61MB) using 4-bit weights with zero Word Error Rate (WER) regression. Even with 8-bit activations, the model remained nearly lossless.
  • Production Model Sensitivity: While pure 4-bit PTQ failed (WER > 100%), Native QAT enabled functional models. The researchers identified that the first and last layers, as well as self-attention layers, are particularly sensitive to precision loss.
  • Mixed-Precision Success: By employing a mixed-precision strategy—quantizing the first few layers to 4-bit while maintaining others at 8-bit—the team achieved a 5x size reduction compared to the float32 baseline with negligible accuracy loss.

Conclusion

Native QAT proves to be a powerful tool for compressing ASR models to 4-bit precision. While 4-bit weights are highly effective, 4-bit activations currently cause significant performance drops, particularly in smaller models. Future work will focus on further optimizing activation quantization and exploring the quantization of decoders to achieve even greater memory efficiency.

Summary updated

BibTeX
@inproceedings{ding2022bit,
  author = {Shaojin Ding and Phoenix Meadowlark and Yanzhang He and Lukasz Lew and Shivani Agrawal and Oleg Rybakov},
  title = {{4-bit Conformer with Native Quantization Aware Training for Speech Recognition}},
  booktitle = {Interspeech},
  year = {2022},
  url = {https://openreview.net/forum?id=7wf6qLfP6JV},
}
Figure