Continual Learning in Linear Classification on Separable Data

Itay Evron, Edward Moroshko, Gon Buzaglo, Maroun Khriesh, Badea Marjieh, Nathan Srebro, Daniel Soudry

Abstract

While the theoretical foundations of Continual Learning (CL) have been extensively studied within the context of regression, classification remains the primary paradigm for modern artificial intelligence. This paper investigates the fundamental theory of linear classification on separable data to uncover the geometric principles governing how models retain and lose information across sequential tasks. By analyzing the limit of weak regularization, we demonstrate that sequential training is equivalent to a series of Projections Onto Convex Sets (POCS). This framework allows for the derivation of linear convergence rates for recurring tasks and explains why traditional regression-based techniques, such as Fisher Information weighting, may fail in classification settings.

Introduction

Continual Learning (CL) addresses the challenge of learning a sequence of tasks without suffering from "catastrophic forgetting," where new information overwrites previously acquired knowledge. While heuristic methods like Elastic Weight Consolidation (EWC) or Experience Replay have shown empirical success, a rigorous analytical framework for classification has been largely absent. Existing theory primarily covers continual regression, where tasks are represented as linear subspaces. Classification, however, is fundamentally different: a correct solution is not a single point or line, but an entire feasible region (a convex set) defined by a margin. This research bridges the gap by analyzing the algorithmic bias of standard training practices in sequential classification.

Theoretical Framework: Sequential Max-Margin

The researchers analyzed Regularized Continual Learning, a scheme where a learner minimizes the exponential loss for a new task while remaining close to the previous task's solution via $L_2$ regularization.

A key contribution of this work is the proof that in the limit of weak regularization (as $\lambda \to 0$), this process reduces to a Sequential Max-Margin scheme. Geometrically, this means that for every new task, the model takes its current weight vector and projects it onto the nearest point in the new task's feasible region. This connects CL directly to the classical mathematical field of Projections Onto Convex Sets (POCS), also known as the convex feasibility problem. This geometric interpretation provides a powerful lens through which to view the dynamics of weight updates across tasks.

Key Insights and Results

1. Linear Convergence Rates

Unlike regression, classification tasks on separable data exhibit "linear regularity." The authors prove that if a model encounters the same tasks repeatedly (even in a random order), the weight vector converges to a stable solution exponentially fast. Specifically, for $T$ tasks seen cyclically for $k$ iterations, the distance to the feasible set shrinks at a rate of $O(\exp(-k/T^2))$. This is the first such linear convergence rate established for classification in a CL setting.

2. The Fisher Information Trap

In continual regression, weighting regularization by the Fisher Information Matrix (FIM) is often considered a "silver bullet" for preventing forgetting. However, this paper reveals a surprising counter-result: in classification, FIM weighting does not necessarily prevent forgetting. It is only effective if the FIM is ill-conditioned (non-invertible), which allows the model to move within "dead zones" that do not impact the performance of previous tasks. In the general case, the geometric constraints of classification render standard FIM weighting less effective than it is in regression.

3. Optimality and Norm Bounds

Sequential learning does not always find the absolute minimum-norm solution that an "offline" learner (seeing all data simultaneously) would achieve. Nevertheless, the authors prove a 2-optimal bound: for any iterate $w_t$, the norm $\|w_t\| \le 2\|w^*\|$, where $w^*$ is the global minimum-norm solution. This provides a theoretical guarantee that sequential learning remains within a factor of two of the ideal global solution.

4. Early Stopping vs. Weak Regularization

In single-task learning, early stopping is often viewed as a proxy for regularization. This research demonstrates that this equivalence breaks down in CL. Sequential early stopping and sequential weak regularization lead to fundamentally different solutions, suggesting that the timing of training termination is a critical factor in the final geometry of the model weights.

Adversarial Forgetting and Task Order

To test the limits of the theory, the authors employed adversarial task sequences. They demonstrated that it is possible to construct a sequence of tasks where "forgetting" remains maximal ($1.0$) indefinitely, even if a single solution exists that could solve all tasks perfectly. This result highlights that task recurrence and ordering are not just practical considerations but theoretical requirements for convergence to a globally valid solution.

Limitations and Future Directions

While this work provides a rigorous geometric foundation for CL in classification, several areas remain for future exploration:

  • Separable Data Assumption: The current proofs assume data can be perfectly separated by a linear plane. Real-world data is often noisy and non-separable.
  • Linearity: The core proofs are strictly for linear classifiers. While extensions to deep networks via the Neural Tangent Kernel (NTK) regime are possible, they are not yet fully mapped.
  • Finite Regularization: The most elegant results hold as $\lambda \to 0$. Analyzing the behavior for finite, practical values of $\lambda$ remains an open challenge.

By establishing classification as a POCS problem, this research paves the way for new regularization scheduling techniques and architectural designs that are mathematically guaranteed to minimize forgetting in complex, non-linear systems.

Summary updated

BibTeX
@inproceedings{evron2023continual,
  author = {Itay Evron and Edward Moroshko and Gon Buzaglo and Maroun Khriesh and Badea Marjieh and Nathan Srebro and Daniel Soudry},
  title = {{Continual Learning in Linear Classification on Separable Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=VMUur6zI0D},
}
Figure