Abstract
Recently, data-driven based Automatic Speech Recognition (ASR) systems have achieved state-of-the-art results. Transfer learning is often used when adapting existing systems to target domains (e.g., fine-tuning, retraining). However, system parameters may deviate significantly from previously learned states, leading to "catastrophic forgetting" (CF) of original knowledge. This paper proposes a novel multi-task learning (MTL) training framework, MTLCF, which treats preserving original knowledge and learning new knowledge as independent tasks. By constraining parameter deviation and punishing the loss of original knowledge while forcing rapid adaptation to new data, the framework achieves a balance between the two. Applied to an End-to-End ASR task, MTLCF obtained superior performance on both target and original datasets.
Introduction
In Automatic Speech Recognition (ASR), models are typically pre-trained on massive general datasets and subsequently adapted to specific contexts, such as transitioning from audiobooks to telephone conversations. A significant challenge in this process is Catastrophic Forgetting (CF), where the internal parameters shift so drastically during fine-tuning that the model loses its proficiency in the original domain. While retraining on the combined dataset is a potential solution, it is computationally expensive and often fails to optimize performance for either domain perfectly. This research introduces the MTLCF framework to address CF through lifelong learning principles, ensuring models retain prior knowledge while effectively acquiring new information.
The MTLCF Framework
The proposed Multiple Task Learning for Catastrophic Forgetting (MTLCF) framework decomposes the training objective into two primary tasks:
- Task 1: Reserving Original Knowledge. This task prevents the model from drifting too far from its initial state. It consists of two subtasks:
- Subtask 1 (Consistency): Employs Kullback-Leibler (KL) divergence to ensure the adapted model's output distributions remain similar to the original model's outputs for the same input data.
- Subtask 2 (Performance): Minimizes the standard Connectionist Temporal Classification (CTC) loss on the original dataset to maintain accuracy.
- Task 2: Learning New Knowledge. This is the standard adaptation task, focusing on minimizing CTC loss on the new target domain data.
The framework utilizes hyperparameters $\alpha$ and $\beta$ to balance these tasks. Notably, the authors utilize a fixed network architecture (Long Short-Term Memory Deep Neural Network, or LDNN) to maintain efficiency for real-time processing, avoiding the complexity of dynamically expanding architectures.
Experimental Results
The framework was evaluated using the LibriSpeech corpus (1,000 hours) as the original domain and the Switchboard (300 hours) and Fisher corpora as target domains. Testing was conducted on the Hub5 2000 evaluation set.
Key findings include:
- Stability and Retention: While standard fine-tuning (FT) caused the Character Error Rate (CER) on the original domain to skyrocket, MTLCF remained stable. Remarkably, MTLCF achieved a 5% relative reduction in CER on the original LibriSpeech test set compared to the base model, suggesting that learning the new task enhanced its understanding of the original one.
- Convergence Speed: MTLCF converged within just 7 epochs on the target domain, outperforming both retraining and fine-tuning in both speed and final accuracy.
- Scalability: The method proved robust even when target domain data was significantly scarcer than the original training data.
Discussion and Conclusion
The MTLCF framework demonstrates that learning multiple related tasks simultaneously can lead to better overall performance than learning them sequentially, a concept rooted in Stein’s Paradox. By navigating the parameter space toward the overlap between domains, the model finds a "sweet spot" that satisfies both.
Future work should explore scaling this framework to handle a continuous stream of multiple domains (true lifelong learning) and investigate its performance on modern architectures like Transformers. Additionally, automating the tuning of the $\alpha$ and $\beta$ hyperparameters would improve the framework's practical applicability in production environments.
Summary updated