Learning to Learn without Forgetting using Attention

Anna Vettoruzzo, Joaquin Vanschoren, Mohamed-Rafik Bouguelia, Thorsteinn Rögnvaldsson
8/6/2024
cs.LGcs.CV

No official code found. Best implementation: annaVettoruzzo/L2L_with_attention (4 stars, last commit 2025-01-29).

Abstract

Continual learning (CL) refers to the ability to continually learn over time by accommodating new knowledge while retaining previously learned experience. While this concept is inherent in human learning, current machine learning methods are highly prone to overwrite previously learned patterns and thus forget past experience. Instead, model parameters should be updated selectively and carefully, avoiding unnecessary forgetting while optimally leveraging previously learned patterns to accelerate future learning. Since hand-crafting effective update mechanisms is difficult, we propose meta-learning a transformer-based optimizer to enhance CL. This meta-learned optimizer uses attention to learn the complex relationships between model parameters across a stream of tasks, and is designed to generate effective weight updates for the current task while preventing catastrophic forgetting on previously encountered tasks. Evaluations on benchmark datasets like SplitMNIST, RotatedMNIST, and SplitCIFAR-100 affirm the efficacy of the proposed approach in terms of both forward and backward transfer, even on small sets of labeled data, highlighting the advantages of integrating a meta-learned optimizer within the continual learning framework.

View on arXivView PDF

Code Implementations(1)

Official code for the paper "Learning to Learn without Forgetting using Attention".

42PythonMay 23, 20241 years ago

Similar Papers

Cite this paper

@article{vettoruzzo2024learning,
  title  = {Learning to Learn without Forgetting using Attention},
  author = {Anna Vettoruzzo and Joaquin Vanschoren and Mohamed-Rafik Bouguelia and Thorsteinn Rögnvaldsson},
  year   = {2024},
  eprint = {2408.03219},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.03219v2}
}

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/2408.03219.svg)](https://codeofpaper.com/paper/2408.03219)

Discussion