Skip to main content
QUICK REVIEW

[Paper Review] How catastrophic can catastrophic forgetting be in linear regression?

Itay Evron, Edward Moroshko|arXiv (Cornell University)|May 19, 2022
Machine Learning and AlgorithmsComputer Science5 citations
TL;DR

This paper analyzes catastrophic forgetting in overparameterized linear regression under sequential task learning, framing it as iterative projection onto solution subspaces. It derives tight, data-independent bounds on forgetting—showing worst-case forgetting scales as $T^2 \min\{1/\sqrt{k}, d/k\}$ under cyclic task ordering, while random ordering reduces this to $d/k$, independent of $T$, revealing fundamental limits in continual learning without mitigation strategies.

ABSTRACT

To better understand catastrophic forgetting, we study fitting an overparameterized linear model to a sequence of tasks with different input distributions. We analyze how much the model forgets the true labels of earlier tasks after training on subsequent tasks, obtaining exact expressions and bounds. We establish connections between continual learning in the linear setting and two other research areas: alternating projections and the Kaczmarz method. In specific settings, we highlight differences between forgetting and convergence to the offline solution as studied in those areas. In particular, when T tasks in d dimensions are presented cyclically for k iterations, we prove an upper bound of T^2 * min{1/sqrt(k), d/k} on the forgetting. This stands in contrast to the convergence to the offline solution, which can be arbitrarily slow according to existing alternating projection results. We further show that the T^2 factor can be lifted when tasks are presented in a random ordering.

Motivation & Objective

  • To theoretically characterize the worst-case catastrophic forgetting in overparameterized linear regression models under sequential learning.
  • To establish connections between continual learning, alternating projections, and the Kaczmarz method to derive novel, data-independent bounds on forgetting.
  • To investigate how task ordering (cyclic vs. random) and task similarity (angles between subspaces) affect forgetting in the absence of regularization or replay.
  • To identify conditions under which forgetting is minimal or maximal, even in the absence of explicit mitigation techniques.

Proposed method

  • Models continual learning as iterative orthogonal projection of the current solution onto the solution space of each new task.
  • Uses exact expressions for projection residuals to quantify forgetting as $\| (I - P_1)(P_2 P_1)^n \|_2^2$, focusing on distance to previous task solutions.
  • Applies tools from alternating projections and Kaczmarz methods to derive uniform, data-independent upper and lower bounds on forgetting.
  • Analyzes forgetting under two task ordering schemes: cyclic (repeating tasks in fixed order) and random (iambic ordering of tasks).
  • Derives bounds via spectral analysis of product of projection matrices and leverages concentration inequalities for random orderings.
  • Considers the realizability assumption where a global solution exists, enabling analysis of convergence to the offline minimum-norm solution.

Experimental results

Research questions

  • RQ1What is the worst-case forgetting that can occur in linear regression when learning tasks sequentially without any mitigation?
  • RQ2How does the forgetting behavior differ between cyclic and random task ordering in a continual learning setup?
  • RQ3What role do the angles between consecutive task solution subspaces play in determining forgetting rates?
  • RQ4Can we derive data-independent bounds on forgetting that remain non-trivial even when convergence to the offline solution is arbitrarily slow?
  • RQ5How does the number of tasks $T$ and dimension $d$ jointly affect the upper bound on forgetting in the cyclic setting?

Key findings

  • In the cyclic task ordering setting with $T \geq 3$ tasks and $k$ iterations, forgetting is uniformly upper bounded by $T^2 \min\{1/\sqrt{k}, d/k\}$.
  • For the same cyclic setting, forgetting is lower bounded by $T^2 / k$, showing the $T^2$ dependence is tight in the worst case.
  • Under random task ordering, expected forgetting is bounded by $d/k$, independent of $T$, demonstrating a significant reduction in worst-case forgetting.
  • When tasks are nearly aligned (small angles), repeated exposure leads to higher forgetting, while intermediate angles are most prone to forgetting after a single pass.
  • The paper establishes that forgetting can be maximal and essentially catastrophic in the absence of any regularization or replay, even in linear models.
  • The analysis reveals a fundamental asymmetry: while convergence to the offline solution can be arbitrarily slow (as in alternating projections), forgetting can still be tightly bounded in the worst case.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.