arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07560cs.CV
收藏

应对任务无关类别增量学习中的语义漂移

Navigating Semantic Drift in Task-Agnostic Class-Incremental Learning

Zhejiang Lab(浙江实验室);Hefei University of Technology(合肥工业大学);Xidian University(西安电子科技大学);Northwestern Polytechnical University(西北工业大学)

Fangwen Wu, Lechao Cheng, Shengeng Tang, Xiaofeng Zhu, Chaowei Fang, Dingwen Zhang, Meng Wang

AI总结:

针对任务无关类别增量学习中的语义漂移问题,提出融合均值偏移补偿、马氏距离协方差校准与特征自蒸馏的MACIL方法,实验验证了其有效性。

摘要:

类别增量学习(CIL)旨在使模型能够按顺序学习新类别,同时保留对先前已学类别的知识。如何在灵活性与稳定性之间取得平衡仍然是一项重大挑战,尤其是在任务ID未知的情况下。为解决这一问题,我们的研究揭示,新任务与已有任务之间的特征分布差距主要由均值矩和协方差矩的差异驱动。基于这一洞见,我们提出了一种新颖的语义漂移校准方法,该方法融合了均值偏移补偿与协方差校准。具体而言,我们通过对每个类别的样本嵌入取平均来计算其类别均值,并根据嵌入与先前均值的接近程度对嵌入变化进行加权,以此估计任务偏移,从而在每个新任务到来时有效捕获所有已学类别的均值偏移。我们还采用马氏距离约束进行协方差校准,对齐旧网络与当前网络之间特定类别的嵌入协方差,以缓解协方差偏移。此外,我们整合了一种特征级自蒸馏方法以增强泛化能力。在常用数据集上进行的大量实验证明了本方法的有效性。源代码可在 https://github.com/fwu11/MACIL.git 获取。

英文摘要:

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}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑