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

解锁基于CLIP的类增量学习中的补丁级特征

Unlocking Patch-Level Features for CLIP-Based Class-Incremental Learning

School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);State Key Laboratory for Novel Software Technology, Nanjing University(南京大学软件新技术国家重点实验室)

Hao Sun, Zi-Jun Ding, Da-Wei Zhou

AI总结:

本文提出SPA方法,通过利用CLIP的补丁级语义信息提升类增量学习性能,通过生成类级语义描述引导补丁特征选择,并利用最优传输对齐语义特征,有效缓解灾难性遗忘。

摘要:

类增量学习(CIL)使模型能够持续整合新知识并缓解灾难性遗忘。受CLIP的出色泛化能力驱动,利用预训练视觉-语言模型已成为CIL的主流范式。然而,现有工作主要聚焦于对齐全局图像嵌入(即[CLS]标记)与其对应的文本提示(即[EOS]标记)。尽管其性能良好,我们发现它们忽略了CLIP编码器中固有的丰富补丁级语义信息。例如,在识别兔子时,局部补丁可能编码其独特的特征,如长耳朵和毛茸茸的尾巴,这些可以为识别提供补充证据。基于上述观察,我们提出SPA(语义引导的补丁级对齐)方法,旨在唤醒CLIP中长期被忽视的局部表示。具体而言,对于每个类别,我们首先构建具有代表性和多样性的视觉样本,并将其输入GPT-5作为视觉引导,生成类级语义描述。这些描述用于指导选择判别性的补丁级视觉特征。在此基础上,我们进一步利用最优传输对齐所选补丁标记与类级描述中的语义标记,从而获得结构化的跨模态对齐,提升识别性能。此外,我们引入任务特定的投影器以有效适应下游增量任务,并从存储的类级高斯统计中采样伪特征以校准旧类表示,从而缓解灾难性遗忘。大量实验表明,SPA实现了最先进的性能。

英文摘要:

Class-Incremental Learning (CIL) enables models to continuously integrate new knowledge while mitigating catastrophic forgetting. Driven by the remarkable generalization of CLIP, leveraging pre-trained vision-language models has become a dominant paradigm in CIL. However, current work primarily focuses on aligning global image embeddings (i.e., [CLS] token) with their corresponding text prompts (i.e., [EOS] token). Despite their good performance, we find that they discard the rich patch-level semantic information inherent in CLIP's encoders. For instance, when recognizing a rabbit, local patches may encode its distinctive cues, such as long ears and a fluffy tail, which can provide complementary evidence for recognition. Based on the above observation, we propose SPA (Semantic-guided Patch-level Alignment) for CLIP-based CIL, which aims to awaken long-neglected local representations within CLIP. Specifically, for each class, we first construct representative and diverse visual samples and feed them to GPT-5 as visual guidance to generate class-wise semantic descriptions. These descriptions are used to guide the selection of discriminative patch-level visual features. Building upon these selected patches, we further employ optimal transport to align selected patch tokens with semantic tokens from class-wise descriptions, yielding a structured cross-modal alignment that improves recognition. Furthermore, we introduce task-specific projectors for effective adaptation to downstream incremental tasks, and sample pseudo-features from stored class-wise Gaussian statistics to calibrate old-class representations, thereby mitigating catastrophic forgetting. Extensive experiments demonstrate that SPA achieves state-of-the-art performance.

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

↑