Predicting Multi-Codebook Vector Quantization Indexes for Knowledge Distillation

Liyong Guo, Xiaoyu Yang, Quandong Wang, Yuxiang Kong, Zengwei Yao +7 more
10/31/2022
eess.AScs.CLcs.SD
distillation

Official code: k2-fsa/icefall (1,530 stars, Python, Apache-2.0, last commit 2026-04-12).

Abstract

Knowledge distillation(KD) is a common approach to improve model performance in automatic speech recognition (ASR), where a student model is trained to imitate the output behaviour of a teacher model. However, traditional KD methods suffer from teacher label storage issue, especially when the training corpora are large.

Show full abstract

Although on-the-fly teacher label generation tackles this issue, the training speed is significantly slower as the teacher model has to be evaluated every batch. In this paper, we reformulate the generation of teacher label as a codec problem. We propose a novel Multi-codebook Vector Quantization (MVQ) approach that compresses teacher embeddings to codebook indexes (CI). Based on this, a KD training framework (MVQ-KD) is proposed where a student model predicts the CI generated from the embeddings of a self-supervised pre-trained teacher model. Experiments on the LibriSpeech clean-100 hour show that MVQ-KD framework achieves comparable performance as traditional KD methods (l1, l2), while requiring 256 times less storage. When the full LibriSpeech dataset is used, MVQ-KD framework results in 13.8% and 8.2% relative word error rate reductions (WERRs) for non -streaming transducer on test-clean and test-other and 4.0% and 4.9% for streaming transducer. The implementation of this work is already released as a part of the open-source project icefall.

View on arXivView PDF

Code Implementations(1)

k2-fsa/icefallOfficial100%
Apache-2.0
1,530441Python, ShellJun 26, 20217 months agoApache-2.0

Similar Papers

Cite this paper

@article{guo2022predicting,
  title  = {Predicting Multi-Codebook Vector Quantization Indexes for Knowledge Distillation},
  author = {Liyong Guo and Xiaoyu Yang and Quandong Wang and Yuxiang Kong and Zengwei Yao and Fan Cui and Fangjun Kuang and Wei Kang and Long Lin and Mingshuang Luo and Piotr Zelasko and Daniel Povey},
  year   = {2022},
  eprint = {2211.00508},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.00508}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.00508.svg)](https://codeofpaper.com/paper/2211.00508)

Discussion