TL;DR
This paper introduces the Hybrid Attention-Based Encoder-Decoder (HAED) model, which decouples the acoustic and language modeling components within an end-to-end Automatic Speech Recognition (ASR) system. This modularity allows for efficient adaptation to new domains using only text data, achieving significant improvements in Word Error Rate (WER) compared to standard end-to-end models.
What Problem Does This Paper Address?
End-to-end (E2E) Automatic Speech Recognition (ASR) models, particularly Attention-Based Encoder-Decoder (AED) models, have achieved impressive accuracy. However, a major hurdle for their widespread deployment is efficient adaptation to new domains or accents using readily available text data. Unlike traditional hybrid ASR systems where language models (LMs) can be easily adapted, the tightly coupled nature of AED models makes this process challenging and often computationally expensive. Existing methods for adapting AEDs with text-only data often involve generating artificial audio (which can degrade performance) or complex LM fusion techniques that can be sensitive to hyperparameter tuning and increase computational overhead. This paper aims to bridge this gap by proposing a novel AED architecture that retains the benefits of E2E training while reintroducing the modularity needed for effective and efficient language model adaptation.
Methods
The core innovation is the Hybrid Attention-Based Encoder-Decoder (HAED) model. The authors achieve this by modifying the standard AED architecture to explicitly separate the acoustic and language modeling functions.
- Standard AED: In a typical AED, the decoder is responsible for both generating the next token based on previous tokens and querying the encoder's representations via cross-attention. This tight coupling makes it difficult to treat the decoder as a standalone language model for adaptation.
- HAED Modification: The HAED model modifies the decoder's input. Instead of using the previous hidden state ($d_{u-1}$) to query the encoder, it uses a representation derived from the encoder's hidden states ($h_{t'}^{u-1}$) that corresponds to the frame with the highest CTC emission probability for the previous token. This effectively decouples the decoder's query to the encoder from its own internal state, allowing it to function more like an independent language model.
- Training: The HAED model is trained using a multi-task learning framework that includes standard cross-entropy loss for AED, a language model loss (weighted by parameter $\lambda$), and a Connectionist Temporal Classification (CTC) loss. The CTC component is used to efficiently identify the relevant encoder frame for the cross-attention query.
- Adaptation: For text-only adaptation, the HAED model's decoder is fine-tuned using standard language model adaptation techniques. Crucially, a KL divergence loss between the adapted decoder's output and the baseline decoder's output is added to prevent significant degradation on the general domain.
Datasets
- Training Data: 30,000 hours of transcribed Microsoft speech data.
- General Testing Set: 6.4 million words covering various scenarios (dictation, conversation, far-field, call centers).
- Adaptation Testing Sets: Four real-world tasks with varying amounts of adaptation text data, including subsets from LibriSpeech. Specific details on the size of adaptation data (e.g., 2k, 4k, 17k, 193k words) are provided in Table 1.
Key Insights and Ideas
- Modularity is Key for Adaptation: The paper strongly suggests that reintroducing modularity (separating AM and LM) into E2E ASR systems is crucial for efficient and effective text-based adaptation, mirroring the success of traditional hybrid systems.
- Decoupling the Cross-Attention Query: The technical insight of using a CTC-derived frame index to query the encoder, rather than the decoder's own hidden state, is the core mechanism enabling the decoder to act as a more independent LM.
- Implicit LM in Encoder: The authors hypothesize that the encoder in AED models already captures a significant amount of implicit language information, which explains why their HAED model doesn't require a pre-trained external LM for good general performance.
- KL Divergence for Domain Preservation: The use of KL divergence during adaptation is a smart way to balance learning new domain-specific language patterns with retaining general language understanding.
Key Results
- Adaptation Performance: The HAED model achieved a 23% relative Word Error Rate (WER) reduction on adaptation sets compared to the baseline AED model when using text-only adaptation.
- General Performance: On the general testing set, HAED showed only a minor degradation in WER (0.2-0.3% absolute) compared to the baseline AED, indicating that the modularity did not significantly harm overall performance.
- Comparison to Other Methods: The proposed adaptation method for HAED outperformed shallow fusion (16% relative WER reduction) and density ratio (17% relative WER reduction) when applied to the baseline AED model.
Limitations and Future Work
- Minor Degradation on General Set: The HAED model exhibits a slight increase in WER on the general test set compared to the standard AED. The authors attribute this to less effective joint optimization due to the separation of components.
- Future Work: The authors suggest exploring the use of larger language models as the decoder or training the model with a combination of audio-text pairs and text-only data. They also mention the potential for accelerating decoding by filtering out frames with very low blank probabilities from the CTC branch.
Summary updated