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

2-bit Conformer quantization for automatic speech recognition

Oleg Rybakov, Phoenix Meadowlark, Shaojin Ding, David Qiu, Jian Li, David Rim, Yanzhang HeInterspeech 2023

Introduction

As automatic speech recognition (ASR) models, particularly those based on the Conformer architecture, continue to grow in size to achieve higher accuracy, deploying them on resource-constrained devices becomes increasingly difficult. While 8-bit and 4-bit quantization have become standard practices for model compression, 2-bit quantization has remained a significant challenge due to severe "quantization noise" that often leads to catastrophic accuracy drops. This research, presented at INTERSPEECH 2023, demonstrates that near-lossless 2-bit ASR models are achievable through a combination of asymmetric quantization, sub-channel grouping, and a novel adaptive clipping strategy.

Proposed Methodology

The researchers developed a Quantization-Aware Training (QAT) pipeline designed to handle the extreme constraints of 2-bit precision, where each weight is restricted to only four possible values (0, 1, 2, or 3). The approach relies on three key technical refinements:

  1. Asymmetric Quantization ($I2Wasym$): By utilizing the full range of the 2-bit "buckets" rather than forcing symmetry around zero, the model maximizes its information capacity.
  2. Sub-channel Quantization: Instead of applying a single scale and offset to an entire neural network channel, the authors split channels into smaller groups. This allows the quantization parameters to adapt more precisely to local weight distributions.
  3. Adaptive Per-channel Clipping: This is the study's most significant contribution. A greedy search is employed during training to identify optimal clipping thresholds for each sub-channel. By clipping extreme outliers, the remaining 99% of weights can be represented with much higher resolution.
The adaptive per-channel clipping process uses a greedy search to find the optimal min_val and scale, prioritizing the precision of the majority of weights over extreme outliers.

Experimental Setup and Results

The methods were evaluated on the standard LibriSpeech benchmark (960 hours) and a large-scale production dataset containing approximately 1 billion audio-text pairs.

Performance on LibriSpeech

For the Conformer Large model, the 2-bit implementation achieved a Word Error Rate (WER) of 4.5% on the "test-other" set. This performance is virtually indistinguishable from the 4-bit (4.4%) and 8-bit (4.5%) baselines. Crucially, the model size was reduced by nearly 9x, shrinking from 474.5 MB in float32 to just 55.3 MB in 2-bit.

Robustness and Scaling

A key finding of the research is that larger models (those with more than 100 million parameters) are significantly more resilient to 2-bit quantization than smaller models. The inherent over-parameterization of these large architectures appears to act as a buffer against the errors introduced by low-bit precision.

Comparison of quantization strategies across different model sizes (N). The graph illustrates how sub-channel grouping and clipping (solid lines) consistently outperform standard channel-wise asymmetric quantization.

Key Insights

  • Clipping vs. Outliers: The results suggest it is mathematically superior to distort a small number of extreme outlier weights via clipping than to allow those outliers to expand the quantization scale and ruin the resolution for the rest of the channel.
  • The Efficiency of Asymmetry: While symmetry is acceptable in 8-bit quantization, it is wasteful at 2-bit. Moving to asymmetric quantization alone reduced the WER by 3% absolute on LibriSpeech "test-other."

Conclusion and Future Work

This work proves that 2-bit quantization is a viable path for deploying state-of-the-art ASR models on mobile devices without sacrificing significant accuracy. While the greedy search for clipping values increases training time by roughly 40%, the resulting 90% reduction in model size offers a compelling trade-off for production environments. Future research may focus on quantizing model activations to 2-bit to unlock further computational speedups on specialized hardware.

Summary updated

BibTeX
@inproceedings{rybakov2023bit,
  author = {Oleg Rybakov and Phoenix Meadowlark and Shaojin Ding and David Qiu and Jian Li and David Rim and Yanzhang He},
  title = {{2-bit Conformer quantization for automatic speech recognition}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-1012},
}
Figure