[Paper Review] Fast offline Transformer-based end-to-end automatic speech recognition for real-world applications
This paper proposes a fast, efficient offline Transformer-based end-to-end ASR system for real-world applications by leveraging multiple-utterance batched beam search, CTC-based end-of-speech detection, time-restricted CTC prefix scoring, and speech segmentation via DNN-VAD or hard segmentation. The system achieves 10.73% character error rate on 8 hours of real meeting speech in under 3 minutes using only two GPU cards, representing a 27.1% relative improvement over conventional DNN-HMM systems.
With the recent advances in technology, automatic speech recognition (ASR) has been widely used in real-world applications. The efficiency of converting large amounts of speech into text accurately with limited resources has become more important than ever. This paper proposes a method to rapidly recognize a large speech database via a Transformer-based end-to-end model. Transformers have improved the state-of-the-art performance in many fields. However, they are not easy to use for long sequences. In this paper, various techniques to speed up the recognition of real-world speeches are proposed and tested, including decoding via multiple-utterance batched beam search, detecting end-of-speech based on a connectionist temporal classification (CTC), restricting the CTC prefix score, and splitting long speeches into short segments. Experiments are conducted with the Librispeech English and the real-world Korean ASR tasks to verify the proposed methods. From the experiments, the proposed system can convert 8 hours of speeches spoken at real-world meetings into text in less than 3 minutes with a 10.73% character error rate, which is 27.1% relatively lower than that of conventional systems.
Motivation & Objective
- To accelerate offline end-to-end speech recognition for large-scale real-world speech databases with limited computational resources.
- To address the inefficiency of Transformers in processing long speech sequences due to high computational cost and sequential processing bottlenecks.
- To improve decoding speed and GPU utilization while maintaining high recognition accuracy in real-world meeting transcription scenarios.
- To evaluate and compare segmentation strategies—DNN-VAD and hard segmentation—for long utterances in end-to-end ASR.
- To reduce computational overhead in CTC prefix scoring and enable faster inference via time-restricted, CPU-based processing.
Proposed method
- Adopted multiple-utterance, multiple-hypothesis batched beam search to enhance GPU parallelization and accelerate decoding across multiple utterances.
- Proposed CTC-based end-of-speech detection to terminate decoding early, especially beneficial for noisy or sparsely spoken utterances.
- Introduced time-restricted CTC prefix scoring by limiting the time range examined per decoding step, reducing computational complexity.
- Applied DNN-based voice activity detection (VAD) to segment long utterances at natural pauses, improving recognition accuracy over random segmentation.
- Implemented hard segmentation as a lightweight alternative, splitting long utterances uniformly into segments within defined length bounds (15–20 s or 19–20 s).
- Combined batched beam search with segmented inputs to maximize GPU memory utilization and maintain stable inference speed.
Experimental results
Research questions
- RQ1Can multiple-utterance batched beam search significantly improve decoding throughput in Transformer-based ASR?
- RQ2How effective is CTC-based end-of-speech detection in reducing decoding time, especially under mismatched training and test conditions?
- RQ3To what extent does time-restricted CTC prefix scoring reduce computational load without degrading recognition accuracy?
- RQ4How do DNN-VAD and hard segmentation compare in terms of recognition accuracy and computational cost for long speech processing?
- RQ5Can the proposed pipeline achieve high-speed, low-resource transcription of real-world meeting recordings with state-of-the-art accuracy?
Key findings
- The proposed system transcribed 8 hours of real-world meeting speech into text in less than 3 minutes using only two GPU cards.
- The system achieved a character error rate (CER) of 10.73% on the Korean meeting dataset, representing a 27.1% relative reduction compared to conventional DNN-HMM systems.
- DNN-VAD-based segmentation yielded higher recognition accuracy than hard segmentation due to segmentation at natural phrase boundaries, reducing word boundary errors.
- Hard segmentation, while less accurate, required no additional computation and was preferred for commercial-scale deployment due to lower resource overhead.
- The combination of batched beam search and segmented inputs enabled stable, high-throughput inference within limited GPU memory constraints.
- Time-restricted CTC prefix scoring reduced computational complexity by limiting the time range examined per decoding step, enabling faster inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.