Introduction
Traditional Automatic Speech Recognition (ASR) systems are complex, relying on separate modules for acoustics, lexicons, and language modeling. End-to-end (E2E) systems aim to consolidate these into a single neural network. However, existing E2E approaches like Connectionist Temporal Classification (CTC) and attention-based models have complementary weaknesses. Attention models are accurate but prone to "hallucinations" (skipping or repeating words) due to non-monotonic alignments. CTC models enforce strict chronological order but suffer from conditional independence assumptions. This paper proposes a hybrid architecture that leverages the strengths of both.
Hybrid CTC/Attention Architecture
The proposed system utilizes a shared encoder, typically a Bidirectional Long Short-Term Memory (BLSTM) network, trained via Multitask Learning (MTL). The encoder is optimized to satisfy both CTC and attention objectives simultaneously.
The CTC loss acts as a regularizer, forcing the encoder to learn speech-aligned representations. During inference, the system employs Joint Decoding to turn audio into text. Two strategies are explored:
- Rescoring: A two-pass method where the attention model generates candidates and CTC re-ranks them.
- One-pass Decoding: An integrated beam search where each partial hypothesis is scored by both the attention decoder and a CTC prefix probability. This allows the CTC component to prune hypotheses that deviate from realistic chronological alignments.
Experimental Setup
The method was evaluated on two major benchmarks for ideogram-based languages:
- Corpus of Spontaneous Japanese (CSJ): 581 hours of academic lectures and presentations.
- HKUST Mandarin Chinese: 167 hours of conversational telephone speech.
These character-based languages are ideal for testing E2E architectures due to their shorter output sequences compared to English.
Results and Discussion
The hybrid approach significantly improves performance over standalone models and traditional baselines.
As shown in the results, the "MTL-large + joint decoding" model achieved a Character Error Rate (CER) of 8.4% on the Japanese (CSJ) task, outperforming conventional DNN/HMM systems (9.0%) and standalone CTC or attention models. On the HKUST Mandarin task, the system reached 29.9% CER.
Key insights include:
- CTC as a Monotonicity Constraint: CTC's strict order prevents the attention mechanism from "losing its place," effectively eliminating hallucinations.
- One-Pass Superiority: One-pass decoding is not only faster but more accurate, as it prevents the beam search from exploring invalid paths early on.
- Efficiency: The system achieved a 1x Real-Time Factor (RTF) on a standard CPU, making it viable for real-time applications without GPU acceleration during decoding.
Conclusion and Future Work
The joint CTC/attention framework provides a robust solution for E2E speech recognition. Future work includes addressing the longer sequence lengths of languages like English using sub-word units and developing "streaming" capabilities to eliminate the need for full-input access before prediction.
Summary updated