Distilling the Knowledge of BERT for Sequence-to-Sequence ASR

Hayato Futami, Hirofumi Inaguma, Sei Ueno, Masato Mimura, Shinsuke Sakai +1 more
8/9/2020
cs.CLeess.AS
distillation

Official code: hfutami/distill-bert-for-seq2seq-asr (24 stars, Python, last commit 2020-06-17).

Abstract

Attention-based sequence-to-sequence (seq2seq) models have achieved promising results in automatic speech recognition (ASR). However, as these models decode in a left-to-right way, they do not have access to context on the right.

Show full abstract

We leverage both left and right context by applying BERT as an external language model to seq2seq ASR through knowledge distillation. In our proposed method, BERT generates soft labels to guide the training of seq2seq ASR. Furthermore, we leverage context beyond the current utterance as input to BERT. Experimental evaluations show that our method significantly improves the ASR performance from the seq2seq baseline on the Corpus of Spontaneous Japanese (CSJ). Knowledge distillation from BERT outperforms that from a transformer LM that only looks at left context. We also show the effectiveness of leveraging context beyond the current utterance. Our method outperforms other LM application approaches such as n-best rescoring and shallow fusion, while it does not require extra inference cost.

View on arXivView PDF

Code Implementations(1)

244Python, ShellMay 13, 20206 years ago

Similar Papers

Cite this paper

@article{futami2020distilling,
  title  = {Distilling the Knowledge of BERT for Sequence-to-Sequence ASR},
  author = {Hayato Futami and Hirofumi Inaguma and Sei Ueno and Masato Mimura and Shinsuke Sakai and Tatsuya Kawahara},
  year   = {2020},
  eprint = {2008.03822},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.03822}
}

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/2008.03822.svg)](https://codeofpaper.com/paper/2008.03822)

Discussion