End-to-End Automatic Speech Recognition Integrated with CTC-Based Voice Activity Detection

Takenori Yoshimura, Tomoki Hayashi, Kazuya Takeda, Shinji Watanabe

Introduction

Modern End-to-End (E2E) Automatic Speech Recognition (ASR) systems, particularly those utilizing attention-based encoder-decoder architectures, have achieved state-of-the-art performance. However, these models typically operate under the assumption that input audio is pre-segmented into short, sentence-level clips. When faced with long-form, unsegmented audio—such as podcasts or live streams—these systems encounter significant challenges: memory requirements scale poorly with sequence length, and attention mechanisms often fail to maintain stability over extended durations.

To address this, traditional pipelines employ a separate Voice Activity Detection (VAD) module to segment audio before it reaches the ASR engine. Conventional VADs, whether energy-based or standalone deep neural networks (DNNs), introduce their own complexities. They require separate training, add computational overhead, and rely on hyperparameters like acoustic energy thresholds that are difficult to tune across varying noise environments. This research explores a more integrated approach: leveraging the ASR model's internal state to perform VAD "for free."

Proposed Method: CTC-Based VAD

The authors propose a method to perform VAD directly within a hybrid CTC/attention ASR architecture by exploiting the properties of Connectionist Temporal Classification (CTC). Unlike attention mechanisms, CTC predicts text labels frame-by-frame in sync with the input audio. A key feature of CTC is its use of a "blank" label to represent silences or transitions between characters.

Figure 1: Overview of the CTC-based VAD mechanism, showing how consecutive blank labels are used to identify non-speech segments with onset and offset margins.

As illustrated in Figure 1, the system monitors the CTC output stream using a greedy search. The segmentation logic relies on three primary parameters:

  1. Blank Duration Threshold ($V$): If the model outputs continuous blank labels exceeding a threshold $V$, the region is flagged as non-speech, and the audio is cut.
  2. Onset Margin ($m_s$): A small buffer added to the start of a detected speech segment to prevent clipping the beginning of words.
  3. Offset Margin ($m_e$): A buffer added to the end of a segment to ensure the trailing parts of words are captured.

This approach creates a "linguistically aware" VAD. Because the segmentation is driven by the ASR's own character predictions, the system understands when a word has actually concluded based on linguistic context, rather than just relying on volume levels. Furthermore, tuning is highly intuitive; the threshold $V$ corresponds directly to time (e.g., 16 frames might equate to 640ms of silence).

Experimental Setup

The method was evaluated on two datasets featuring long, spontaneous speech:

  • Corpus of Spontaneous Japanese (CSJ): Approximately 650 hours of spontaneous Japanese talks.
  • TED-LIUMv2: Approximately 200 hours of English TED talks.

The researchers compared their integrated CTC-VAD against an "Oracle" (perfect manual segmentation), a standard energy-based VAD, and a robust, separately trained DNN-based VAD.

Key Results

The proposed method demonstrated superior accuracy and efficiency across both datasets. On the CSJ dataset, the integrated approach achieved a Character Error Rate (CER) of 7.6%, outperforming the DNN-VAD (8.1%) and the energy-based VAD (8.6%). Similar gains were observed on TED-LIUMv2, where the method achieved a Word Error Rate (WER) of 15.4%, significantly better than the DNN-VAD's 17.2%.

Beyond accuracy, the system is highly optimized for real-time applications. By utilizing a uni-directional encoder for streaming and implementing vectorized beam search on a GPU, the system achieves remarkable throughput.

As shown in Table 6, the combination of vectorization and GPU acceleration allows the system to reach a Real-Time Factor (RTF) of 0.18. This indicates that the model can process one second of audio in just 180 milliseconds, making it exceptionally well-suited for live, low-latency transcription services.

Conclusion

By integrating VAD directly into the CTC module of an E2E-ASR system, this research eliminates the need for redundant, external segmentation models. The resulting system is not only more accurate—thanks to its linguistic awareness—but also more efficient and easier to tune. While the optimal margins ($m_s, m_e$) vary slightly between languages and subword units, the overall framework provides a robust solution for processing long-form audio. Future work will look to extend this CTC-based segmentation to Transformer-based architectures to further enhance performance.

Summary updated

BibTeX
@inproceedings{yoshimura2020end,
  author = {Takenori Yoshimura and Tomoki Hayashi and Kazuya Takeda and Shinji Watanabe},
  title = {{End-to-End Automatic Speech Recognition Integrated with CTC-Based Voice Activity Detection}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9054358},
}
Figure