Convergence and Implicit Bias of Gradient Descent on Continual Linear Classification
Hyunji Jung, Hanseul Cho, Chulhee Yun
TL;DR
The paper analyzes continual linear binary classification under a fixed per-task iteration budget, using sequential gradient descent (GD) to update the weight as tasks arrive in cyclic or random order. It shows that if the tasks are jointly linearly separable, the GD trajectory converges in direction to the offline joint max-margin solution, revealing an implicit bias distinct from projection-based methods like Sequential Max-Margin (SMM). Non-asymptotic results quantify forgetting across cycles, showing cycle-averaged forgetting decays as ${\mathcal O}(\ln^4 J / J^2)$ and the overall loss decays as ${\mathcal O}(\ln^2 J / J)$, with the forgetting controlled by the alignment of task distributions. The paper also extends results to random task ordering and to the non-separable scenario, where the model converges to the unique joint minimum with a fast rate ${\mathcal O}(\ln^2 J / J^2)$ under cyclic updates, facilitated by local strong convexity; these findings illuminate how continual learning via GD can integrate knowledge across tasks and diminish forgetting over cycles.
Abstract
We study continual learning on multiple linear classification tasks by sequentially running gradient descent (GD) for a fixed budget of iterations per task. When all tasks are jointly linearly separable and are presented in a cyclic/random order, we show the directional convergence of the trained linear classifier to the joint (offline) max-margin solution. This is surprising because GD training on a single task is implicitly biased towards the individual max-margin solution for the task, and the direction of the joint max-margin solution can be largely different from these individual solutions. Additionally, when tasks are given in a cyclic order, we present a non-asymptotic analysis on cycle-averaged forgetting, revealing that (1) alignment between tasks is indeed closely tied to catastrophic forgetting and backward knowledge transfer and (2) the amount of forgetting vanishes to zero as the cycle repeats. Lastly, we analyze the case where the tasks are no longer jointly separable and show that the model trained in a cyclic order converges to the unique minimum of the joint loss function.
