Skip to main content
QUICK REVIEW

[Paper Review] Streaming End-to-end Speech Recognition For Mobile Devices

Yanzhang He, Tara N. Sainath|arXiv (Cornell University)|Nov 15, 2018
Speech Recognition and SynthesisComputer Science25 references23 citations
TL;DR

This paper presents a streaming end-to-end speech recognition system based on the RNN-T model, optimized for mobile deployment through quantization, word-piece tokenization, and synthetic TTS-generated training data for numeric normalization. The system achieves over 20% relative WER improvement and runs at 51% of real-time latency on a Google Pixel phone, outperforming a conventional CTC-based baseline.

ABSTRACT

End-to-end (E2E) models, which directly predict output character sequences given input speech, are good candidates for on-device speech recognition. E2E models, however, present numerous challenges: In order to be truly useful, such models must decode speech utterances in a streaming fashion, in real time; they must be robust to the long tail of use cases; they must be able to leverage user-specific context (e.g., contact lists); and above all, they must be extremely accurate. In this work, we describe our efforts at building an E2E speech recognizer using a recurrent neural network transducer. In experimental evaluations, we find that the proposed approach can outperform a conventional CTC-based model in terms of both latency and accuracy in a number of evaluation categories.

Motivation & Objective

  • To develop a low-latency, high-accuracy end-to-end speech recognizer suitable for on-device deployment on mobile devices.
  • To overcome the limitations of conventional CTC-based models in streaming, contextual, and long-tail utterance recognition.
  • To enable real-time inference with minimal latency while maintaining high accuracy under mobile hardware constraints.
  • To improve recognition of numeric and out-of-vocabulary sequences through synthetic data augmentation using TTS.
  • To integrate user-specific context (e.g., contacts, apps) via shallow fusion without compromising model efficiency.

Proposed method

  • The system uses a recurrent neural network transducer (RNN-T) as the core architecture for streaming, autoregressive sequence prediction from raw audio features.
  • Word-piece tokenization is applied to improve modeling of rare and OOV words, especially in long-tail domains.
  • Layer normalization and large-batch training on TPUs are used to stabilize and accelerate RNN-T training.
  • Asymmetric and symmetric quantization are applied to reduce model size and accelerate inference, achieving 4× compression and 64% reduction in real-time factor.
  • A shallow-fusion mechanism integrates user-specific context (e.g., contact lists) by re-scoring hypotheses with a lightweight LSTM LM.
  • Synthetic TTS-generated utterances for numeric sequences are used to pre-train the model, improving normalization accuracy on unseen numbers.

Experimental results

Research questions

  • RQ1Can an end-to-end RNN-T model achieve real-time or faster inference on mobile hardware while maintaining high accuracy?
  • RQ2How does word-piece tokenization compare to grapheme-level modeling in terms of WER and robustness to rare words?
  • RQ3To what extent can synthetic TTS data improve the recognition of numeric sequences in unseen contexts?
  • RQ4Can shallow fusion with user-specific context match or exceed the performance of conventional hybrid systems?
  • RQ5What is the impact of quantization on accuracy and inference speed in a production mobile deployment?

Key findings

  • The RNN-T model with word-pieces and layer normalization reduces WER by 27% relative on voice search and 25% on dictation compared to the baseline CTC model.
  • The final quantized RNN-T model (symmetric quantization) achieves an RT90 of 0.51, running at 51% of real-time, which is twice as fast as real time.
  • The use of TTS-generated synthetic data for numeric sequences reduces WER on the Num-TTS set from 22.8% to 4.3%, a 81% relative improvement.
  • Shallow fusion with user-specific context improves WER on contacts and apps by up to 5.8% relative, matching or exceeding conventional CTC-based models.
  • Quantization reduces model size by 4× and maintains WER within 0.1% absolute degradation, even with asymmetric quantization.
  • The final system improves WER by over 20% relative on both voice search and dictation tasks compared to the conventional CTC baseline.

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.