Abstract
This paper introduces a novel regularization technique for end-to-end speech recognition by feeding outputs from an intermediate encoder layer into a shared decoder during training. This approach "regularizes" both the encoder and decoder simultaneously, yielding significant Word Error Rate (WER) reductions across multiple datasets without adding any computational overhead during inference.
Introduction
Modern end-to-end (E2E) Automatic Speech Recognition (ASR) models, such as Transformer and Conformer, have become industry standards but are notoriously data-hungry. As architectures grow deeper, often exceeding 12 encoder layers, they require massive datasets to generalize effectively. While Intermediate Layer Output (ILO) regularization—often involving auxiliary Connectionist Temporal Classification (CTC) losses—helps bottom layers learn better features, these methods frequently introduce extra parameters or complex multi-task setups. This work proposes a simpler, more efficient "Shared Decoder" approach to unlock the potential of deep models, particularly in data-constrained scenarios.
Methods
The proposed method utilizes a Conformer-based architecture with a shared decoder for regularization.
Dual Input Training and Shared Parameters
During training, the decoder receives inputs from both the final encoder layer (e.g., layer 12) and a designated intermediate layer (e.g., layer 9). Crucially, the same decoder parameters are used for both inputs. This forces the decoder to become resilient to varying levels of acoustic abstraction and encourages intermediate encoder layers to produce representations that are more compatible with the decoder.
Modified Loss Function
The total training loss is defined as a weighted sum of the standard CTC loss, the standard attention loss, and a new intermediate attention loss ($L_{att}^{inter}$). At inference time, the intermediate connection is removed, resulting in a model with zero additional computational cost compared to a standard baseline.
Experimental Setup
The method was evaluated on three public corpora to ensure robustness:
- Accented English (DataTang): ~150 hours of English speech with 8 distinct accents (e.g., Chinese, Indian, British).
- Librispeech: The standard 960-hour benchmark for English read speech.
- SEAME: A ~110-hour corpus of Southeast Asian English-Mandarin code-switching (spontaneous conversational speech).
Key Insights and Results
The "Sweet Spot" for Regularization
Ablation studies revealed that the choice of the intermediate layer is critical. As shown in the figure below, layer 9 (out of 12) consistently provided the optimal regularization signal across different model configurations.
Layers near the bottom lack sufficient acoustic context, while layers near the top are too similar to the final output to provide a meaningful regularization benefit. This "architecture-side" regularization works in synergy with input-side methods like SpecAugment.
Performance Gains
The proposed method consistently outperformed baselines and traditional intermediate CTC-based methods:
- Accented English: Achieved an 8.2% relative Word Error Rate Reduction (WERR) over the baseline Conformer.
- Librispeech: On the challenging "Test-other" set, the method showed an 8.2% relative WERR without SpecAugment and a 1.4% relative WERR even when strong augmentation was already present.
- SEAME: Demonstrated efficacy in complex code-switching scenarios with consistent improvements across both Mandarin-dominant and English-dominant test sets.
Conclusion
By sharing the decoder during training, this method provides a robust regularization mechanism that improves performance without increasing inference latency. The gains are particularly pronounced on smaller or more complex datasets, making it a powerful tool for low-resource ASR tasks. Future work will explore dynamic loss weighting and scaling to even deeper model architectures.
Summary updated