arXiv:2609.37888cs.CVSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.37888

Visual Branch is What You Need for CLIP-based Class-Incremental Learning

Tao Hu, Zhen-Hao Xie, Jingcai Guo, De-Chuan Zhan, Da-Wei zhou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Class-Incremental Learning (CIL) requires models to recognize new classes over time without forgetting previously learned ones. With the rise of vision-language pre-training, CLIP has become a strong foundation for CIL. A common design in CLIP-based CIL is to construct textual classifier weights by encoding class-name templates with the CLIP text encoder, and then classify visual features by image-text cosine similarity. This design is appealing: since CLIP aligns images and text in a shared embedding space, textual weights appear to provide an off-the-shelf classifier for incremental classes. However, we show that this seemingly natural design is not always beneficial, as a modality gap can still separate the two modalities and make textual classifier weights deviate from visual class distributions. Empirically, under identical task-wise CIL training, initializing the cosine classifier with visual class centers yields lower loss and better incremental accuracy than using CLIP textual features. Motivated by these observations, we propose VIS (Visual Incremental SVM), a visual-only method for CLIP-based CIL that removes the deployed textual branch and constructs the incremental classifier entirely in the visual space. To obtain stronger task-adaptive visual representations, VIS uses only base-session data to enhance CLIP's final visual representation with informative visual-layer features. Built on the enhanced visual representation, VIS employs a simple kernelized incremental least-squares SVM, whose classifier weights are solved in closed form from additive sufficient statistics. When new classes arrive, VIS accumulates their sufficient statistics and recomputes the classifier weights for all seen classes, enabling efficient incremental updates while preserving historical class knowledge. Extensive experiments show that VIS achieves state-of-the-art performance without a textual branch.

1 INTRODUCTION

In recent years, deep neural networks have achieved remarkable progress in visual recognition (He et al., 2016; Dosovitskiy et al., 2020). However, real-world visual systems often face dynamic environments, where new categories emerge continuously and data distributions evolve over time (Rebuffi et al., 2017; Zhao et al., 2020; Xie et al., 2026). When conventional models are updated on such non-stationary streams, they may overwrite previously acquired knowledge, leading to catastrophic forgetting (French, 1999; Serra et al., 2018; Shi et al., 2021). Class-Incremental Learning (CIL) (De Lange et al., 2021; Gao et al., 2022; Zhou et al., 2024; 2025a) addresses this challenge by requiring a model to recognize newly arriving classes while maintaining discrimination over previously learned classes. Recently, large-scale pre-trained models have become increasingly attractive for CIL by providing generalizable representations and enabling lightweight adaptation instead of training incremental models from scratch (Wang et al., 2022c; Zhou et al., 2025c). In particular, vision-language models such as CLIP (Radford et al., 2021) offer a promising foundation for CIL by combining transferable visual representations with open-vocabulary recognition capabilities (Huang et al., 2025; Zhou et al., 2025b).

Among vision-language models, CLIP is particularly appealing for CIL because it provides a powerful visual encoder together with a zero-shot classification mechanism (Radford et al., 2021). Specif-

Figure

(a) Image-text modality gap in CLIP space.

Figure

(b) Class-level gap versus textual-head degradation.

Figure

Figure

(c) Optimization with text- and visual-based initialization.

Figure 1: Preliminary diagnosis of textual embeddings in CLIP-based CIL. (a) t-SNE visualization shows a clear separation between visual prototypes and textual embeddings in CLIP's shared image-text embedding space. (b) The class-level modality gap gc=1−μc⊤tcg_c = 1 - \mu_c^\top t_c is positively correlated with textual-head degradation Δc=acccNCM−accctext\Delta_c = \text{acc}_c^{\text{NCM}} - \text{acc}_c^{\text{text}}. (c) Visual-prototype initialization yields lower training loss and higher seen-class accuracy than textual initialization under the same cosine classifier.

ically, CLIP constructs textual classifier weights by encoding class-name templates with the text encoder, and classifies visual features according to their image-text cosine similarities. This zero-shot capability naturally motivates CLIP-based CIL methods to construct incremental classifiers using the textual branch: some directly classify images by visual-textual similarity (Wang et al., 2023), while others use textual representations to guide prompt tuning (Lu et al., 2025), adapter learning and textual-prior guidance (Liu et al., 2023; Zhang et al., 2025), or classifier construction and representation adjustment (Huang et al., 2024; Zhou et al., 2025b). For a new class, such a strategy can derive its classifier weight directly from the class name, making the textual branch a convenient source for incremental classifier construction. However, this strategy relies on a strong assumption: textual classifier weights should provide reliable decision directions for visual samples.

To verify this assumption, we conduct a preliminary diagnosis in Figure 1 from both geometric and optimization perspectives. For each class cc, we compute a normalized visual prototype μc\mu_c by averaging normalized CLIP visual features of its samples, and obtain the textual feature tct_c by encoding its class-name template. Following the image-text modality gap in CLIP (Liang et al., 2022), we define the class-level gap as gc=1−μc⊤tcg_c = 1 - \mu_c^\top t_c, where a larger value indicates weaker visual-textual alignment. On CIFAR100 (Krizhevsky et al., 2009), Figure 1a visualizes this gap: image samples and visual prototypes cluster on the visual side, while textual features lie in a separate region of the shared CLIP space. To quantify its classification impact, we use FGVCAircraft (Maji et al., 2013) to compare two training-free classifiers: the CLIP zero-shot textual head and a nearest-class-mean classifier (Mensink et al., 2013) based on visual prototypes. We define the class-level textual-head degradation as Δc=acccNCM−accctext\Delta_c = \text{acc}_c^{\text{NCM}} - \text{acc}_c^{\text{text}}, where larger values mean that visual prototypes outperform textual features. As shown in Figure 1b, gcg_c and Δc\Delta_c exhibit a positive Pearson correlation, indicating that larger modality gaps are associated with larger textual-head degradation. We further examine optimization on CIFAR100 (Krizhevsky et al., 2009) under a ten-task CIL protocol, freezing the CLIP visual encoder and training only the same cosine classifier for ten epochs per task; the only difference is whether the classifier is initialized by textual features or visual prototypes. Figure 1c reports the training loss and seen-class accuracy on the test sets of all observed classes over global epochs. Compared with visual-prototype initialization, textual initialization consistently results in higher loss and lower accuracy, indicating a less favorable optimization trajectory for the same cosine classifier. These results suggest that textual classifier weights can be geometrically misaligned with visual class distributions and harder to optimize when used to initialize the classifier. This raises a natural question: can we simply dispense with the textual branch at deployment?

Motivated by this question, we propose VIS (Visual Incremental SVM), a visual-only method for CLIP-based CIL that removes the textual branch at deployment and constructs the incremental classifier entirely in the visual space. Rather than using textual embeddings as classifier weights, VIS first strengthens CLIP's final visual representation by incorporating informative visual-layer features with only base-session data. Built on the enhanced visual representation, VIS employs a simple kernelized incremental least-squares SVM, whose classifier weights are solved in closed form from additive sufficient statistics. When new classes arrive, VIS accumulates their sufficient statistics and recomputes the classifier weights for all seen classes, enabling efficient incremental updates while preserving historical class knowledge.

References (71)