cs.LGNov 4, 2026

Continual Classification Beyond the Kernel Regime: Harnessing the Sparsity Bias of L2 Regularization in Diagonal Linear Networks

Authors: Gilad Karpel, Itay Evron, Ron Meir, Daniel Soudry

Organizations: Technion · NVIDIA

Abstract

We study logistic regression for continual learning with linear predictors in a high-dimensional statistical setting. Existing theoretical work has largely focused on continual linear regression with variants of L2 regularization, motivated by their analytical simplicity and connection to the kernel regime of neural networks. We first derive the optimal L2 regularization strength for continual linear classification and characterize its generalization performance, recovering behavior analogous to prior results for continual linear regression. Next, we examine the effect of L2 regularization in deeper models using a minimal two-layer diagonal linear network. In the single-task setting, L2 regularization on the weights of such models is known to promote sparsity in the resulting predictor, yielding a rich, sparse feature-learning regime beyond the kernel regime (a similar effect arises in two-layer ReLU networks). However, in continual learning, where L2 regularization is typically centered on previous-task weights, this sparsity bias is no longer preserved. We therefore propose a weighted variant of L2 regularization that extends this beneficial sparsity bias to continual learning. We show theoretically and empirically that, for a sufficiently sparse teacher, our variant converges substantially faster than directly learning a linear predictor with conventional continual L2 or L1 regularization, trading some long-horizon bias for markedly improved performance over moderate task horizons.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Optimal L2 Regularization in High-dimensional Continual Linear Regression

    Jan 20, 2026Gilad Karpel, Edward Moroshko, Ran Levinstein +3Regularization-Based Continual LearningHigh-Dimensional Linear Regression

  2. Optimal Explicit and Implicit Regularization Strengths in High-Dimensional Continual Linear Regression

    Oct 14, 2026Gilad Karpel, Daniel SoudryHigh-Dimensional Linear RegressionRegularization-Based Continual Learning

  3. Score-Preserving Continual Lasso under Task Shift

    Oct 23, 2026Jingyi Guo, Runze Li, Lingzhou XueContinual LearningRegularization-Based Continual Learning