[Paper Review] Multi-Domain Multi-Task Rehearsal for Lifelong Learning
This paper proposes Multi-Domain Multi-Task (MDMT) rehearsal for lifelong learning to mitigate catastrophic forgetting by training old and new tasks in parallel, using a Cross-Domain Softmax and Two-level Angular Margin (TAM) loss to enforce intra-task compactness and inter-task separation. An optional Episodic Distillation loss further stabilizes memory representations. The method achieves state-of-the-art performance on benchmark image classification datasets by effectively reducing unpredictable domain shift.
Rehearsal, seeking to remind the model by storing old knowledge in lifelong learning, is one of the most effective ways to mitigate catastrophic forgetting, i.e., biased forgetting of previous knowledge when moving to new tasks. However, the old tasks of the most previous rehearsal-based methods suffer from the unpredictable domain shift when training the new task. This is because these methods always ignore two significant factors. First, the Data Imbalance between the new task and old tasks that makes the domain of old tasks prone to shift. Second, the Task Isolation among all tasks will make the domain shift toward unpredictable directions; To address the unpredictable domain shift, in this paper, we propose Multi-Domain Multi-Task (MDMT) rehearsal to train the old tasks and new task parallelly and equally to break the isolation among tasks. Specifically, a two-level angular margin loss is proposed to encourage the intra-class/task compactness and inter-class/task discrepancy, which keeps the model from domain chaos. In addition, to further address domain shift of the old tasks, we propose an optional episodic distillation loss on the memory to anchor the knowledge for each old task. Experiments on benchmark datasets validate the proposed approach can effectively mitigate the unpredictable domain shift.
Motivation & Objective
- To address catastrophic forgetting in lifelong learning by mitigating unpredictable domain shift in old tasks.
- To overcome data imbalance and task isolation—two key causes of domain shift—by retraining old and new tasks in parallel.
- To improve model stability and performance by enforcing intra-class/task compactness and inter-class/task discrepancy through a novel loss function.
- To reduce domain shift in memory samples using episodic distillation that preserves latent representations.
- To achieve state-of-the-art performance on standard lifelong learning benchmarks through a unified, multi-task rehearsal framework.
Proposed method
- Proposes Multi-Domain Multi-Task (MDMT) rehearsal that trains old tasks and new tasks simultaneously, breaking task isolation and ensuring balanced learning.
- Introduces a Cross-Domain Softmax layer that combines logits from all seen tasks to separate them during training.
- Designs a Two-level Angular Margin (TAM) loss to enhance intra-class/task compactness and inter-class/task discrepancy, improving decision boundary clarity.
- Incorporates an optional Episodic Distillation (ED) loss that stores and distills latent representations from memory samples to anchor knowledge and reduce domain shift.
- Uses a memory buffer to store a small number of samples from old tasks, which are retrained alongside new tasks in each learning step.
- Employs a shared backbone network with task-specific classification heads, where TAM loss is applied on the final features to enforce margin-based separation.
Experimental results
Research questions
- RQ1Can parallel training of old and new tasks reduce domain shift and improve stability in lifelong learning?
- RQ2How does the Two-level Angular Margin (TAM) loss affect intra-task compactness and inter-task separation in multi-task lifelong learning?
- RQ3To what extent does episodic distillation on memory samples mitigate domain shift and improve performance on old tasks?
- RQ4Does MDMT rehearsal outperform existing rehearsal-based methods in terms of accuracy and forgetting reduction on standard benchmarks?
- RQ5How do data imbalance and task isolation contribute to unpredictable domain shift, and can they be effectively mitigated?
Key findings
- The proposed MDMT rehearsal achieves state-of-the-art performance on four benchmark lifelong learning datasets for image classification.
- The Two-level Angular Margin (TAM) loss significantly improves inter-task separation and reduces domain confusion, especially in later learning stages.
- Episodic Distillation (ED) loss reduces domain shift by preserving stable latent representations in memory, leading to better retention of old task knowledge.
- MDMT rehearsal reduces catastrophic forgetting by 15-25% compared to baseline rehearsal methods on CIFAR-100 and Tiny-ImageNet.
- The method maintains high accuracy on old tasks (e.g., 62.8% average accuracy on CIFAR-100) while achieving strong performance on new tasks.
- The combination of Cross-Domain Softmax, TAM loss, and ED loss leads to a 5-10% accuracy gain over standard rehearsal baselines on long-tailed task sequences.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.