Skip to main content
QUICK REVIEW

[Paper Review] Fast End-to-End Speech Recognition via Non-Autoregressive Models and Cross-Modal Knowledge Transferring from BERT

Ye Bai, Jiangyan Yi|arXiv (Cornell University)|Feb 15, 2021
Speech Recognition and SynthesisComputer Science60 references8 citations
TL;DR

This paper proposes LASO, a non-autoregressive end-to-end speech recognition model that predicts all text tokens in parallel using a position-dependent summarizer and self-attention over encoded speech features, achieving ~50× faster inference than autoregressive transformers. It further improves accuracy by transferring semantic knowledge from a pre-trained BERT language model via cross-modal knowledge distillation.

ABSTRACT

Attention-based encoder-decoder (AED) models have achieved promising performance in speech recognition. However, because the decoder predicts text tokens (such as characters or words) in an autoregressive manner, it is difficult for an AED model to predict all tokens in parallel. This makes the inference speed relatively slow. We believe that because the encoder already captures the whole speech utterance, which has the token-level relationship implicitly, we can predict a token without explicitly autoregressive language modeling. When the prediction of a token does not rely on other tokens, the parallel prediction of all tokens in the sequence is realizable. Based on this idea, we propose a non-autoregressive speech recognition model called LASO (Listen Attentively, and Spell Once). The model consists of an encoder, a decoder, and a position dependent summarizer (PDS). The three modules are based on basic attention blocks. The encoder extracts high-level representations from the speech. The PDS uses positional encodings corresponding to tokens to convert the acoustic representations into token-level representations. The decoder further captures token-level relationships with the self-attention mechanism. At last, the probability distribution on the vocabulary is computed for each token position. Therefore, speech recognition is re-formulated as a position-wise classification problem. Further, we propose a cross-modal transfer learning method to refine semantics from a large-scale pre-trained language model BERT for improving the performance.

Motivation & Objective

  • Address the slow inference speed of autoregressive end-to-end ASR models due to sequential token generation.
  • Develop a non-autoregressive architecture that enables full parallelization of token prediction without beam search.
  • Improve semantic understanding in speech recognition by transferring knowledge from a pre-trained text-only language model (BERT).
  • Achieve high-speed inference while maintaining competitive ASR performance on low-resource and long-sequence utterances.
  • Reduce sensitivity to unseen utterance lengths in whole-utterance models by leveraging cross-modal semantic alignment.

Proposed method

  • Propose LASO, a feedforward, non-autoregressive model with an encoder, a position-dependent summarizer (PDS), and a decoder.
  • Use the PDS module to attend over the entire encoded speech sequence and generate token-specific representations based on position.
  • Replace autoregressive decoding with a parallel feedforward structure, eliminating the need for beam search and enabling real-time inference.
  • Apply cross-modal knowledge distillation by aligning the semantic representations of LASO’s decoder with those of a pre-trained BERT model.
  • Fine-tune LASO using a knowledge distillation loss that aligns the hidden states of the LASO decoder with corresponding BERT representations.
  • Train the model end-to-end on Chinese speech datasets (AISHELL-1 and AISHELL-2) using a combination of ASR loss and semantic alignment loss.

Experimental results

Research questions

  • RQ1Can a non-autoregressive end-to-end ASR model achieve significantly faster inference than autoregressive transformers without sacrificing accuracy?
  • RQ2How effective is cross-modal knowledge distillation from a pre-trained BERT model in improving semantic understanding in speech recognition?
  • RQ3Does the proposed LASO model generalize well to unseen utterance lengths, especially compared to autoregressive models?
  • RQ4Can semantic refinement from BERT correct phonetic errors caused by similar-sounding but semantically incorrect words?
  • RQ5What is the impact of BERT-based semantic alignment on the model’s performance in handling out-of-vocabulary or rare words?

Key findings

  • LASO achieves approximately 50× faster inference speed compared to autoregressive transformer-based ASR models, due to full parallelization of token prediction.
  • The model maintains competitive ASR performance, with WER results comparable to state-of-the-art autoregressive models on AISHELL-1 and AISHELL-2 datasets.
  • Cross-modal knowledge distillation from BERT significantly improves semantic accuracy, correcting phonetic errors where similar-sounding words have incorrect meanings.
  • In examples like '一场' vs. '骤', '爷泳' vs. '爷爷', and '受存' vs. '瘦身', BERT refinement corrected semantic errors even when pronunciation was correct.
  • The model shows higher sensitivity to unseen utterance lengths than autoregressive models, but this can be mitigated by data augmentation or VAD-based segmentation.
  • The integration of BERT improves generalization, particularly in grammatically correct and semantically coherent word choices, even when the reference word is not perfectly matched.

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.