Incremental Learning for End-to-End Automatic Speech Recognition

Li Fu, Xiaoxiao Li, Libo Zi, Zhengchen Zhang, Youzheng Wu, Xiaodong He, Bowen Zhou

TL;DR

This paper introduces a novel incremental learning method for end-to-end Automatic Speech Recognition (ASR) that allows models to adapt to new tasks (like new accents or words) without forgetting previously learned ones. The key innovation is an "Explainability-based Knowledge Distillation" (EBKD) technique that helps the model learn not just what the teacher model predicts, but why, leading to significantly reduced performance degradation on original tasks.

What Problem Does This Paper Address?

End-to-end ASR models, while powerful, often suffer from "catastrophic forgetting" when adapted to new tasks. This means that as the model learns to recognize new accents, words, or acoustic environments, its performance on the original data it was trained on can drastically degrade. While joint training (combining old and new data) is an option, it becomes computationally expensive and impractical as the number of tasks grows. Furthermore, access to original training data might be restricted due to privacy concerns. Fine-tuning on new data alone also leads to forgetting. This paper aims to bridge this gap by enabling ASR models to learn new tasks incrementally while preserving performance on existing ones, without requiring access to the original training data.

Methods

The proposed method employs a teacher-student framework. The "teacher" is the pre-trained ASR model, and the "student" is initialized with the teacher's weights. The core of the approach lies in a novel loss function that combines three components:

  1. CTC Loss: A standard Connectionist Temporal Classification (CTC) loss is used to train the student model on the new task data.
  2. Response-based Knowledge Distillation (RBKD): This component encourages the student model's predictions to match the teacher model's predictions on the new task data. This is a common technique in knowledge distillation.
  3. Explainability-based Knowledge Distillation (EBKD): This is the paper's novel contribution. Instead of just matching predictions, EBKD aims to make the student model understand why the teacher model made a certain prediction. It achieves this by distilling the "attention maps" from the teacher model. Specifically, it uses gradients of the teacher's predictions with respect to its internal feature maps to identify important features, and then guides the student to learn similar attention patterns. This helps the student model learn the teacher's reasoning process, which is crucial for retaining knowledge on original tasks.

The method is designed to work without access to the original task's training data, making it practical for real-world scenarios with data privacy constraints.

Datasets

The experiments were conducted using a large, combinatory dataset of Mandarin speech comprising 12,301 hours. This dataset was composed of:

  • JD in-house data (10,000 hours, conversational telephony speech)
  • Public data (2,000 hours, including AISHELL-1, AISHELL-2, THCHS-30, Primewords, ST-CMDS)
  • New accents data (300 hours, accent telephony speech)
  • New words data (1 hour, various new internet slang words)

The paper also describes a 5-stage sequential training scenario using subsets of this data (B1-B5) to simulate incremental learning.

Key Insights and Ideas

  • Beyond "What" to "Why": The most significant insight is that simply mimicking the output of a teacher model (RBKD) is insufficient for preventing catastrophic forgetting. Learning the underlying "reasoning" or "explanation" (EBKD) behind those predictions is critical for robust incremental learning.
  • Attention Maps as Reasoning: The paper leverages attention maps as a proxy for the teacher model's reasoning process. By distilling these attention maps, the student model is guided to focus on similar salient features, thus preserving knowledge.
  • Practicality without Original Data: The method's ability to perform incremental learning without access to original task data is a major practical advantage, addressing real-world constraints like data privacy and storage limitations.
  • Correlation between EBKD Loss and Forgetting: The authors observed a strong correlation between the EBKD loss on original task samples and the degree of forgetting. Lower EBKD loss on original samples implies less forgetting, validating the effectiveness of the EBKD mechanism.

Key Results

  • Reduced Forgetting: The proposed method significantly outperforms baseline methods (fine-tuning, RBKD, RBKD+EWC) in mitigating forgetting on original tasks across a 5-stage sequential training experiment.
  • Competitive Performance on New Tasks: While prioritizing original task performance, the method achieves competitive results on new tasks, comparable to fine-tuning and RBKD.
  • Significant Improvement over Baselines: In practical scenarios (adapting to new accents and new words), the proposed method showed a performance drop of only 0.02% Character Error Rate (CER) compared to the joint training baseline, which is 97% smaller than the drops observed in baseline methods.
  • Hyperparameter Robustness: The study on hyperparameters (T, β, γ) indicated that the method's performance is not overly sensitive to their exact values within a reasonable range, making it easier to tune.

Limitations and Future Work

  • Hyperparameter Tuning: While the paper shows robustness, a small held-out validation set is still recommended for choosing hyperparameters.
  • Generalizability of EBKD: The paper focuses on ASR, and while the concept of EBKD is general, its application and effectiveness in other domains might require further investigation.
  • Computational Cost: While more efficient than joint training, the EBKD mechanism adds some computational overhead compared to simpler methods like RBKD.

Future work could explore extending EBKD to other modalities or more complex model architectures, and further investigating the theoretical underpinnings of why distilling attention maps is so effective for preventing forgetting.

Summary updated

BibTeX
@inproceedings{fu2020incremental,
  author = {Li Fu and Xiaoxiao Li and Libo Zi and Zhengchen Zhang and Youzheng Wu and Xiaodong He and Bowen Zhou},
  title = {{Incremental Learning for End-to-End Automatic Speech Recognition}},
  booktitle = {ASRU},
  year = {2020},
  doi = {10.1109/asru51503.2021.9687910},
}
Figure