Navigating Semantic Drift in Task-Agnostic Class-Incremental Learning

Fangwen Wu, Lechao Cheng, Shengeng Tang, Xiaofeng Zhu, Chaowei Fang +2 more
2/14/2026

No official code found. Best implementation: fwu11/MACIL (21 stars, last commit 2025-08-08).

Abstract

Class-incremental learning (CIL) seeks to enable a model to sequentially learn new classes while retaining knowledge of previously learned ones. Balancing flexibility and stability remains a significant challenge, particularly when the task ID is unknown. To address this, our study reveals that the gap in feature distribution between novel and existing tasks is primarily driven by differences in mean and covariance moments. Building on this insight, we propose a novel semantic drift calibration method that incorporates mean shift compensation and covariance calibration. Specifically, we calculate each class's mean by averaging its sample embeddings and estimate task shifts using weighted embedding changes based on their proximity to the previous mean, effectively capturing mean shifts for all learned classes with each new task. We also apply Mahalanobis distance constraint for covariance calibration, aligning class-specific embedding covariances between old and current networks to mitigate the covariance shift. Additionally, we integrate a feature-level self-distillation approach to enhance generalization. Comprehensive experiments on commonly used datasets demonstrate the effectiveness of our approach. The source code is available at \href{https://github.com/fwu11/MACIL.git}{https://github.com/fwu11/MACIL.git}.

View on arXivView PDF

Code Implementations(1)

fwu11/MACILCommunity100%

[ICML 2025 Oral] Code for paper "Navigating Semantic Drift in Task-Agnostic Class-Incremental Learning"

214PythonFeb 12, 20251 years ago

Similar Papers

Cite this paper

@article{wu2026navigating,
  title  = {Navigating Semantic Drift in Task-Agnostic Class-Incremental Learning},
  author = {Fangwen Wu and Lechao Cheng and Shengeng Tang and Xiaofeng Zhu and Chaowei Fang and Dingwen Zhang and Meng Wang},
  year   = {2026},
  eprint = {2502.07560},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.07560},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.07560.svg)](https://codeofpaper.com/paper/2502.07560)

Discussion