[CLS] and [EOS] Tokens are not Enough for CLIP-based Class-Incremental Learning
Hao Sun, Tao Hu, Shixiong Kai, Siyuan Xu, Wenqian Zhao, Mingxuan Yuan, Da-Wei Zhou
Abstract
Class-Incremental Learning (CIL) aims to empower models to continuously acquire new knowledge while mitigating catastrophic forgetting. With the advent of vision-language models like CLIP, leveraging their cross-modal alignment capabilities to address CIL challenges has emerged as a dominant paradigm. Existing methods leverage CLIP's global representations (i.e., the visual [CLS] token and the textual [EOS] token) for cross-modal alignment. While achieving effective classification, they overlook the rich patch-level visual features and token-level textual semantics inherent in CLIP. For example, the [CLS] token aggregates local information to capture the general concept of "cat", while the patch-level details retain specific localized features essential for recognition, such as the tail, fur, and face. We propose PACE (PAtch-token Cross-modal Enhancement) to uncover the long-neglected local representations within CLIP. First, based on the global representations like [CLS] token and [EOS] token, we identify the top-k most crucial visual patches and textual tokens. Subsequently, to better utilize the extracted key local features, we design a cross-modal fusion module. This module leverages local textual semantics to refine visual representations, while augmenting textual semantics with local visual features. As the fusion module is shared across all tasks, directly fine-tuning it on new tasks would interfere with the knowledge learned from previous tasks, leading to catastrophic forgetting. To alleviate this, we employ a projection-based update strategy to effectively preserve the critical parameter space of previous tasks during the adaptation to new tasks. Extensive experiments demonstrate that PACE significantly outperforms state-of-the-art methods across multiple CIL benchmarks.
Create a lesson
Metadata
- Comments
- Accepted to TMM. Code is available at: https://github.com/LAMDA-CL/PACE
Related papers
From Joint Risk to Decision Invariance: Decision-Preserving Regularization for Exemplar-Free Class-Incremental Learning
Shared title terminologycs.CVQi Zhu, Ziang Gan, Wanting Zhang et al.
Tokens as Locality-Preserving Anchors: Scalable Novel View Synthesis with Target-Adaptive Token Routing
Shared title terminologycs.CVSagnik Ghosh, Aswin C. Sankaranarayanan
HoloSplat: Real-Time Token Streaming for Feed-Forward Human Reconstruction
Shared title terminologycs.CVChaofan Li, Qihan Ding, Shihan Wang et al.
Token Pruning Needs a Protected Sink Token: Coherent Spatial Aggregation in Vision Transformers
Shared title terminologycs.CVJulian Wyatt, James Willoughby, Allison Clement et al.
Intra-Class Diversity Loss for Person Re-Identification
Shared title terminologycs.CVWei Zhou, BaXian Chen
Is model self-assessment enough for diverse LVLM ensembles?
Shared title terminologycs.CVMichael Smith, Frank P. Ferrie