Linked Adapters: Linking Past and Future to Present for Effective Continual Learning

Dupati Srikar Chandra, P. K. Srijith, Dana Rezazadegan, Chris McCarthy
12/14/2024
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Continual learning allows the system to learn and adapt to new tasks while retaining the knowledge acquired from previous tasks. However, deep learning models suffer from catastrophic forgetting of knowledge learned from earlier tasks while learning a new task. Moreover, retraining large models like transformers from scratch for every new task is costly. An effective approach to address continual learning is to use a large pre-trained model with task-specific adapters to adapt to the new tasks. Though this approach can mitigate catastrophic forgetting, they fail to transfer knowledge across tasks as each task is learning adapters separately. To address this, we propose a novel approach Linked Adapters that allows knowledge transfer through a weighted attention mechanism to other task-specific adapters. Linked adapters use a multi-layer perceptron (MLP) to model the attention weights, which overcomes the challenge of backward knowledge transfer in continual learning in addition to modeling the forward knowledge transfer. During inference, our proposed approach effectively leverages knowledge transfer through MLP-based attention weights across all the lateral task adapters. Through numerous experiments conducted on diverse image classification datasets, we effectively demonstrated the improvement in performance on the continual learning tasks using Linked Adapters.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chandra2024linked,
  title  = {Linked Adapters: Linking Past and Future to Present for Effective Continual Learning},
  author = {Dupati Srikar Chandra and P. K. Srijith and Dana Rezazadegan and Chris McCarthy},
  year   = {2024},
  eprint = {2412.10687},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.10687v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.10687.svg)](https://codeofpaper.com/paper/2412.10687)

Discussion