Skip to main content
QUICK REVIEW

[Paper Review] Dual-mode ASR: Unify and Improve Streaming ASR with Full-context Modeling

Jiahui Yu, Wei Han|arXiv (Cornell University)|Oct 12, 2020
Speech Recognition and SynthesisComputer Science62 references24 citations
TL;DR

This paper proposes Dual-mode ASR, a unified end-to-end framework that trains a single model for both streaming and full-context automatic speech recognition using shared weights. By jointly training with in-place knowledge distillation from the full-context mode to improve streaming inference, the method achieves state-of-the-art results with lower latency and improved accuracy on LibriSpeech and MultiDomain datasets.

ABSTRACT

Streaming automatic speech recognition (ASR) aims to emit each hypothesized word as quickly and accurately as possible, while full-context ASR waits for the completion of a full speech utterance before emitting completed hypotheses. In this work, we propose a unified framework, Dual-mode ASR, to train a single end-to-end ASR model with shared weights for both streaming and full-context speech recognition. We show that the latency and accuracy of streaming ASR significantly benefit from weight sharing and joint training of full-context ASR, especially with inplace knowledge distillation during the training. The Dual-mode ASR framework can be applied to recent state-of-the-art convolution-based and transformer-based ASR networks. We present extensive experiments with two state-of-the-art ASR networks, ContextNet and Conformer, on two datasets, a widely used public dataset LibriSpeech and a large-scale dataset MultiDomain. Experiments and ablation studies demonstrate that Dual-mode ASR not only simplifies the workflow of training and deploying streaming and full-context ASR models, but also significantly improves both emission latency and recognition accuracy of streaming ASR. With Dual-mode ASR, we achieve new state-of-the-art streaming ASR results on both LibriSpeech and MultiDomain in terms of accuracy and latency.

Motivation & Objective

  • To unify streaming and full-context ASR into a single model with shared parameters to simplify deployment and reduce model size.
  • To improve streaming ASR performance by leveraging full-context modeling during training through joint optimization.
  • To enhance streaming ASR latency and accuracy using in-place knowledge distillation from the full-context mode without additional parameters.
  • To demonstrate the effectiveness of the framework across multiple architectures (ContextNet, Conformer) and datasets (LibriSpeech, MultiDomain).

Proposed method

  • Proposes Dual-mode Encoders that support both streaming (autoregressive, no future context) and full-context (bidirectional, full input context) inference using the same weights.
  • Designs dual-mode layers including causal convolution, pooling, and self-attention mechanisms that switch behavior based on mode.
  • Employs joint training over both streaming and full-context modes within the same model, sharing gradients and parameters.
  • Introduces in-place knowledge distillation, where the full-context mode acts as a teacher to guide the streaming mode during training by enforcing consistency in token probability predictions.
  • Uses standard training recipes: Adam optimizer, SpecAugment, and transformer learning rate schedule with warm-up for both models.
  • Applies the same training objective and decoding strategy to both modes, ensuring end-to-end alignment and performance consistency.

Experimental results

Research questions

  • RQ1Can a single end-to-end ASR model effectively serve both streaming and full-context inference with shared weights?
  • RQ2Does joint training with full-context modeling improve streaming ASR latency and accuracy?
  • RQ3How effective is in-place knowledge distillation from full-context to streaming mode in enhancing streaming performance?
  • RQ4What is the impact of weight sharing and joint training on representation learning in streaming ASR?

Key findings

  • Dual-mode ASR achieves a streaming WER of 8.5% on LibriSpeech TestOther, surpassing baselines including LSTM-based transducers and transformer-transducers.
  • The method reduces latency@50 from 120ms to 40ms and latency@90 from 310ms to 160ms when using in-place distillation, compared to joint training without distillation.
  • Joint training with distillation improves streaming WER by 1.7 percentage points compared to training without distillation, while reducing latency by 80ms at the 50th percentile.
  • Even without distillation, weight sharing and joint training improve streaming ASR performance over separate training, indicating that shared representation learning enhances model quality.
  • The ablation study confirms that in-place knowledge distillation is critical for achieving low latency and high accuracy, outperforming separate training with distillation.
  • The framework achieves new state-of-the-art results on both LibriSpeech and MultiDomain datasets in terms of accuracy and latency, demonstrating generalization across architectures and datasets.

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.