Unified End-to-End Speech Recognition and Endpointing for Fast and Efficient Speech Systems

Shaan Bijwadia, Shuo-Yiin Chang, Bo Li, Tara N. Sainath, Chao Zhang, Yanzhang He

Introduction

Modern speech-enabled systems rely on two critical, often parallel, processes: Automatic Speech Recognition (ASR) to transcribe audio and Endpointing (EP) to determine when a user has finished speaking. Traditionally, these tasks are handled by separate models. The EP model must be lightweight to process every millisecond of audio for Voice Activity Detection (VAD), while accurate End-of-Query (EOQ) detection typically requires the high-level semantic features generated by large ASR models.

Researchers at Google have addressed this engineering trade-off by developing a unified end-to-end (E2E) model. This architecture allows the endpointing component to leverage complex ASR features only when necessary, resulting in a 30% reduction in median latency and a 10% improvement in word error rate (WER) for continuous speech.

Methodology: The Switch Connection

The core of this unified approach is a multitask E2E model that integrates endpointing directly into the ASR architecture. The system employs two primary strategies:

  1. Hard Parameter Sharing: The EP model shares the initial two layers of the ASR’s Conformer encoder, allowing it to benefit from optimized acoustic feature extraction without redundant computation.
  2. The "Switch" Connection: This novel mechanism is the key innovation. During training, the EP component is randomly supplied with either raw audio frames or latent representations from the shared ASR layers. This training regime enables the EP model to operate in two modes: as a standalone, low-cost VAD or as a high-precision EOQ detector using ASR features.
Figure 1: The unified architecture featuring the Switch Connection between the shared Conformer layers and the Endpointing (EP) module.

Inference Logic

At runtime, the system manages these modes via a Finite State Machine (FSM). Initially, the system operates in EP Only Mode, where the lightweight EP model monitors raw audio for speech onset. Once speech is detected, the system transitions to ASR + EP Mode. In this state, the ASR model activates, and the EP model "switches" to using the ASR's internal latent features to make a high-fidelity decision on when the utterance has concluded.

Experimental Results

The model was trained on approximately 400,000 hours of anonymized English audio and evaluated on both short-query (voice search) and continuous-query (dictation) datasets.

Latency and Accuracy Improvements

The unified approach significantly outperformed baseline systems using separate models. Median endpoint latency was reduced by 120ms (30.8%), while 90th percentile latency dropped by 170ms (23.0%). Notably, the "Switch Connection" configuration provides a superior trade-off between latency and accuracy compared to multitask models without this specific connection.

Figure 5: Median latency vs. Word Error Rate (WER) across different model configurations. The Switch Connection (E3) consistently achieves lower latency at comparable WER levels.

Efficiency and Generalization

Beyond speed, the unified model demonstrated improved accuracy. For continuous dictation, the WER improved by 10.6% relative. This improvement stems from the EP model's ability to filter out non-speech frames, preventing the ASR from "hallucinating" words during pauses or in noisy environments. Consequently, the heavy ASR model only needed to process 73% of the total audio duration, leading to significant infrastructure savings.

Conclusion and Future Work

By unifying ASR and endpointing through a dynamic switch connection, this research demonstrates that speech systems can be both faster and more accurate while reducing computational overhead. Future work will explore extending this multitask approach to other languages and investigating even deeper integration of acoustic understanding between the two tasks.

Summary updated

BibTeX
@inproceedings{bijwadia2022unified,
  author = {Shaan Bijwadia and Shuo-Yiin Chang and Bo Li and Tara N. Sainath and Chao Zhang and Yanzhang He},
  title = {{Unified End-to-End Speech Recognition and Endpointing for Fast and Efficient Speech Systems}},
  booktitle = {SLT},
  year = {2022},
  doi = {10.1109/slt54892.2023.10022338},
}
Figure