Modular End-to-end Automatic Speech Recognition Framework for Acoustic-to-word Model

Qi Liu, Zhehuai Chen, Hao Li, Mingkun Huang, Yizhou Lu, Kai Yu

Abstract

Modern Automatic Speech Recognition (ASR) has shifted towards end-to-end (E2E) architectures that map acoustic signals directly to words (A2W). While these models simplify the pipeline, they often struggle to incorporate large-scale text-only datasets, which are far more abundant than paired audio-transcript data. This paper proposes a modular E2E ASR framework that decomposes the A2W task into an acoustic-to-phoneme (A2P) module and a phoneme-to-word (P2W) module. By introducing a Phoneme Synchronous Decoding (PSD) layer to bridge these components, the framework enables effective pre-training on text-only data and fine-tuning on acoustic data. Our results on the Switchboard corpus show that this modular approach achieves a Word Error Rate (WER) of 15.5%, significantly outperforming direct A2W models while maintaining a streamlined, neural-only decoding process.

Introduction

Traditional ASR systems rely on a "hybrid" approach, integrating separate acoustic models, pronunciation lexicons, and language models. Although effective, these systems are complex to build and computationally expensive to deploy. E2E systems, particularly A2W models, offer a simpler alternative by directly predicting word sequences from audio. However, a significant limitation of A2W models is their dependence on paired audio-visual data. Unlike hybrid systems, which can easily leverage billions of text-only sentences to train powerful language models, standard E2E models often require external decoding mechanisms (like Weighted Finite State Transducers) to integrate text data, which compromises their "neural-only" efficiency.

Methodology: The Modular E2E Framework

The proposed framework addresses the data scarcity issue by splitting the ASR process into two distinct but interconnected neural modules.

The modular E2E ASR framework architecture, illustrating the A2P and P2W modules and the PSD-based joint training approach.

Acoustic-to-Phoneme (A2P) Module

The A2P module is trained on acoustic data to predict phoneme sequences. It utilizes Connectionist Temporal Classification (CTC) to handle the alignment between high-frequency audio frames and phonemic units. This module focuses purely on the acoustic characteristics of speech.

Phoneme-to-Word (P2W) Module

The P2W module serves as a combined neural dictionary and language model. It maps phoneme sequences to word sequences. A key advantage of this modularity is that the P2W module can be pre-trained on massive text-only datasets. By converting text into phoneme sequences using a standard dictionary, the model learns linguistic patterns and vocabulary without needing corresponding audio.

Phoneme Synchronous Decoding (PSD)

A critical challenge in modular E2E systems is the mismatch in sequence lengths between audio frames and words. The PSD layer acts as a downsampling mechanism that removes "blank" tokens and redundant frames from the A2P output. This ensures that the P2W module receives a condensed, linguistically meaningful sequence, which accelerates training and improves decoding efficiency.

Experimental Setup

The framework was evaluated using the Switchboard corpus (300 hours) for acoustic training. To demonstrate the benefit of text-only data, transcriptions from the Fisher corpus (22 million words) were used to pre-train the P2W module. Evaluation was conducted on the NIST eval2000 set and the WSJ dev93 set for cross-domain robustness testing.

Results and Discussion

The modular approach demonstrated superior performance compared to traditional direct A2W models. As shown in the experimental results, the integration of text data through the P2W module significantly lowers the Word Error Rate.

Word Error Rate (WER) results for different training procedures, highlighting the impact of Text-Data Integration (TDI) and fine-tuning.

Performance Gains

On the Switchboard task, the modular CTC model achieved a WER of 15.5%, a substantial improvement over the 21.1% reported for standard word-level CTC models. The results in the table indicate that while pre-training on text is beneficial, fine-tuning the P2W module on actual A2P outputs is essential to account for acoustic recognition errors.

Handling Out-of-Vocabulary (OOV) Words

One of the most significant benefits of this modularity is the ability to handle OOV words. In scenarios with restricted vocabularies, the system can be updated with new words by simply retraining the P2W module on text data. This is far more efficient than retraining a full A2W model, which would require new, expensive paired audio data.

Computational Efficiency

The PSD layer effectively reduced the input sequence length to the P2W module by 50-75%. This reduction not only speeds up the training process but also makes the model more suitable for deployment on mobile devices with limited computational resources, such as Neural Processing Units (NPUs).

Conclusion

The modular E2E ASR framework successfully combines the simplicity of E2E models with the data-leveraging capabilities of hybrid systems. By utilizing a PSD-bridged A2P and P2W architecture, the system achieves high accuracy and handles OOV words effectively while remaining a "neural-only" pipeline. Future work will explore joint optimization of the modules and the application of this modular logic to other architectures like RNN-Transducers.

Summary updated

BibTeX
@article{liu2020modular,
  author = {Qi Liu and Zhehuai Chen and Hao Li and Mingkun Huang and Yizhou Lu and Kai Yu},
  title = {{Modular End-to-end Automatic Speech Recognition Framework for Acoustic-to-word Model}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2020},
  doi = {10.1109/taslp.2020.3009477},
}
Figure