The Joint Effect of Task Similarity and Overparameterization on Catastrophic Forgetting -- An Analytical Model

Daniel Goldfarb, Itay Evron, Nir Weinberger, Daniel Soudry, Paul Hand
1/23/2024
cs.LG

No confident code implementation found for this paper.

Abstract

In continual learning, catastrophic forgetting is affected by multiple aspects of the tasks. Previous works have analyzed separately how forgetting is affected by either task similarity or overparameterization. In contrast, our paper examines how task similarity and overparameterization jointly affect forgetting in an analyzable model. Specifically, we focus on two-task continual linear regression, where the second task is a random orthogonal transformation of an arbitrary first task (an abstraction of random permutation tasks). We derive an exact analytical expression for the expected forgetting - and uncover a nuanced pattern. In highly overparameterized models, intermediate task similarity causes the most forgetting. However, near the interpolation threshold, forgetting decreases monotonically with the expected task similarity. We validate our findings with linear regression on synthetic data, and with neural networks on established permutation task benchmarks.

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{goldfarb2024joint,
  title  = {The Joint Effect of Task Similarity and Overparameterization on Catastrophic Forgetting -- An Analytical Model},
  author = {Daniel Goldfarb and Itay Evron and Nir Weinberger and Daniel Soudry and Paul Hand},
  year   = {2024},
  eprint = {2401.12617},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.12617v2},
  journal = {ICLR 2024 2024}
}

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

Discussion