Continual Learning Using a Kernel-Based Method Over Foundation Models
Abstract
Continual learning (CL) learns a sequence of tasks incrementally. This paper studies the challenging CL setting of class-incremental learning (CIL). CIL has two key challenges: catastrophic forgetting (CF) and inter-task class separation (ICS). Despite numerous proposed methods, these issues remain persistent obstacles. This paper proposes a novel CIL method, called Kernel Linear Discriminant Analysis (KLDA), that can effectively avoid CF and ICS problems. It leverages only the powerful features learned in a foundation model (FM). However, directly using these features proves suboptimal. To address this, KLDA incorporates the Radial Basis Function (RBF) kernel and its Random Fourier Features (RFF) to enhance the feature representations from the FM, leading to improved performance. When a new task arrives, KLDA computes only the mean for each class in the task and updates a shared covariance matrix for all learned classes based on the kernelized features. Classification is performed using Linear Discriminant Analysis. Our empirical evaluation using text and image classification datasets demonstrates that KLDA significantly outperforms baselines. Remarkably, without relying on replay data, KLDA achieves accuracy comparable to joint training of all classes, which is considered the upper bound for CIL performance. The KLDA code is available at https://github.com/salehmomeni/klda .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- AnaCP: Toward Upper-Bound Continual Learning via Analytic Contrastive Projection cites Supermasks in Superposition
- AnaCP: Toward Upper-Bound Continual Learning via Analytic Contrastive Projection cites Learning to Prompt for Continual Learning
- AnaCP: Toward Upper-Bound Continual Learning via Analytic Contrastive Projection cites RanPAC: Random Projections and Pre-trained Models for Continual Learning
- Learning to Prompt for Continual Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Continual Out-of-Distribution Detection with Analytic Neural Collapse cites Supermasks in Superposition
- Continual Out-of-Distribution Detection with Analytic Neural Collapse cites Learning to Prompt for Continual Learning
- Continual Out-of-Distribution Detection with Analytic Neural Collapse cites RanPAC: Random Projections and Pre-trained Models for Continual Learning
- RanPAC: Random Projections and Pre-trained Models for Continual Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- RanPAC: Random Projections and Pre-trained Models for Continual Learning cites Learning to Prompt for Continual Learning
Cited by top-tier papers3
- AnaCP: Toward Upper-Bound Continual Learning via Analytic Contrastive ProjectionSaleh Momeni, Changnan Xiao, Bing LiuNeurIPS 2025 · 8 citations
- HyCal: A Training-Free Prototype Calibration Method for Cross-Discipline Few-Shot Class-Incremental LearningEunju Lee, MiHyeon Kim, JuneHyoung Kwon, Yoonji Lee et al.CVPR 2026 · 1 citation
- Continual Out-of-Distribution Detection with Analytic Neural CollapseSaleh Momeni, Changnan Xiao, Bing LiuAAAI 2026
Builds on14
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Learning to Prompt for Continual LearningZifeng Wang, Zizhao Zhang, Chen-Yu Lee, Han Zhang et al.CVPR 2022 · 635 citations
- Supermasks in SuperpositionMitchell Wortsman, Vivek Ramanujan, Rosanne Liu, Aniruddha Kembhavi et al.NeurIPS 2020 · 364 citations
- LAMOL: LAnguage MOdeling for Lifelong Language LearningFan-Keng Sun, Cheng-Hao Ho, Hung-Yi LeeICLR 2020 · 247 citations
- RanPAC: Random Projections and Pre-trained Models for Continual LearningMark D. McDonnell, Dong Gong, Amin Parvaneh, Ehsan Abbasnejad et al.NeurIPS 2023 · 245 citations
Related papers
- Dealing with Cross-Task Class Discrimination in Online Continual LearningYiduo Guo, Bing Liu, Dongyan ZhaoCVPR 2023
- Continual Learning by Using Information of Each Class HolisticallyWenpeng Hu, Qi Qin, Mengyu Wang, Jinwen Ma et al.AAAI 2021 · 64 citations
- Class Incremental Learning via Likelihood Ratio Based Task PredictionHaowei Lin, Yijia Shao, Weinan Qian, Ningxin Pan et al.ICLR 2024 · 21 citations
- InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic PerspectiveYifan Song, Peiyi Wang, Weimin Xiong, Dawei Zhu et al.EMNLP Findings 2023 · 11 citations
- Defying Imbalanced Forgetting in Class Incremental LearningShixiong Xu, Gaofeng Meng, Xing Nie, Bolin Ni et al.AAAI 2024 · 8 citations
