Dynamic Transformer Architecture for Continual Learning of Multimodal Tasks
Authors:
Preprint
Abstract
Transformer neural networks are increasingly replacing prior architectures in a wide range of applications in different data modalities. The increasing size and computational demands of fine-tuning large pre-trained transformer neural networks pose significant challenges for the widespread adoption of these models for applications that demand on-edge computing. To tackle this challenge, continual learning (CL) emerges as a solution by facilitating the transfer of knowledge across tasks that arrive sequentially for an autonomously learning agent. However, current CL methods mainly focus on learning tasks that are exclusively vision-based or language-based. We propose a transformer-based CL framework focusing on learning tasks that involve both vision and language, known as Vision-and-Language (VaL) tasks. Due to the success of transformers in other modalities, our architecture has the potential to be used in multimodal learning settings. In our framework, we benefit from introducing extra parameters to a base transformer to specialize the network for each task. As a result, we enable dynamic model expansion to learn several tasks in a sequence. We also use knowledge distillation to benefit from relevant past experiences to learn the current task more efficiently. Our proposed method, Task Attentive Multimodal Continual Learning (TAM-CL), allows for the exchange of information between tasks while mitigating the problem of catastrophic forgetting. Notably, our approach is scalable, incurring minimal memory and time overhead. TAM-CL achieves state-of-the-art (SOTA) performance on challenging multimodal tasksKeywords
All Related Versions
This publication has 23 references indexed in Scilit:
- DeepChange: A Long-Term Person Re-Identification Benchmark with Clothes Change2023
- ViTAEv2: Vision Transformer Advanced by Exploring Inductive Bias for Image Recognition and BeyondInternational Journal of Computer Vision, 2023
- Pseudo-rehearsal: Achieving deep reinforcement learning without catastrophic forgettingNeurocomputing, 2021
- Large-Scale Pretraining for Visual Dialog: A Simple State-of-the-Art Baseline2020
- Actor-Transformers for Group Activity Recognition2020
- GQA: A New Dataset for Real-World Visual Reasoning and Compositional Question Answering2019
- OK-VQA: A Visual Question Answering Benchmark Requiring External Knowledge2019
- The iNaturalist Species Classification and Detection Dataset2018
- Overcoming catastrophic forgetting in neural networksProceedings of the National Academy of Sciences of the United States of America, 2017
- Catastrophic Forgetting, Rehearsal and PseudorehearsalConnection Science, 1995