Task-Agnostic Guided Feature Expansion for Class-Incremental Learning

Bowen Zheng, Da-Wei Zhou, Han-Jia Ye, De-Chuan Zhan · DOI

Introduction

Class-Incremental Learning (CIL) represents a significant challenge in modern machine learning: the requirement for a model to learn new classes sequentially without forgetting previously acquired knowledge. A prominent strategy to combat this is "expansion-based" learning, where the model architecture grows by adding new feature extractors for every new task. However, these models frequently encounter a phenomenon known as feature collision.

Feature collision occurs because supervised models are inherently "lazy"; they learn the minimal, most discriminative features necessary to solve the current task (e.g., identifying "red" to classify apples). When subsequent tasks introduce similar objects (e.g., "red berries"), the previously learned features are too narrow to distinguish between the classes. Since the model has limited access to old data (rehearsal samples), it cannot easily re-learn more robust features, leading to significant inter-task confusion.

The TagFex Framework

To address these limitations, the authors propose TagFex (Task-Agnostic Guided Feature Expansion). The framework introduces a novel approach to feature acquisition and integration, ensuring that the model maintains a rich, diverse set of representations that are not limited by the immediate classification task.

1. Continual Acquisition of Task-Agnostic Features

While the primary model focuses on task-specific classification, TagFex maintains a separate model trained via Continual Self-Supervised Learning (CSSL). By utilizing techniques such as SimCLR and CaSSLe, this model learns general representations—such as shapes, textures, and contexts—that are not tied to specific labels. This acts as a "feature reservoir," providing a descriptive foundation that supervised learning often ignores.

2. Adaptive Feature Aggregation (Merge Attention)

To integrate these general features into the classification pipeline, TagFex employs a Merge Attention module. This module treats spatial features as tokens, similar to a Vision Transformer. The task-specific features serve as the Query, attending to both themselves and the task-agnostic features (Keys and Values). This mechanism allows the model to dynamically select useful general information to supplement its narrow classification features.

3. Knowledge Transfer and Model Pruning

The "merged" features guide the training of the task-specific model through Knowledge Distillation (KL divergence). During inference, the task-agnostic model is discarded, ensuring the process remains streamlined. To manage the parameter growth typical of expansion-based methods, the authors introduced TagFex-P, which utilizes Filter Pruning via Geometric Median (FPGM) to remove redundant kernels, significantly reducing the model's footprint without sacrificing performance.

Experimental Evaluation

The framework was rigorously tested on standard CIL benchmarks, including CIFAR100, ImageNet100, ImageNet1000, and the fine-grained CUB200 dataset.

Key Performance Metrics

  • State-of-the-Art Accuracy: On the CIFAR100 (10-10 split), TagFex achieved an average accuracy of 78.45%, a 3% improvement over the previous state-of-the-art, DER.
  • Fine-Grained Discrimination: On the CUB200 bird classification dataset, TagFex outperformed DER by over 3.4%, demonstrating its superior ability to identify subtle discriminative details in highly similar classes.
  • Efficiency: TagFex-P reduced the parameter count on CIFAR100 from 61.6M to 11.6M, maintaining performance levels significantly higher than non-expansion-based methods.

Insights and Analysis

Analysis using Centered Kernel Alignment (CKA) demonstrated that TagFex features are significantly less correlated (~0.2 similarity) compared to standard expansion methods like DER (~0.35). This lower correlation is a direct indicator of reduced inter-task confusion.

Furthermore, visualizations of attention maps revealed an "absorption" effect. Early in the training of a new task, the model relies heavily on task-agnostic features. By the conclusion of training, the task-specific model effectively "absorbs" this knowledge, allowing the attention to shift back to its own internal representations. This confirms that the task-agnostic model successfully guides the classifier toward more robust feature discovery.

Conclusion

TagFex provides a powerful solution to the feature collision problem in Class-Incremental Learning by leveraging the descriptive power of self-supervised learning. While expansion-based methods still face challenges regarding linear parameter growth, the combination of Merge Attention and strategic pruning offers a viable path forward for building models that can learn continuously and discriminatively over time.

Summary updated

BibTeX
@inproceedings{zheng2025task,
  author = {Bowen Zheng and Da-Wei Zhou and Han-Jia Ye and De-Chuan Zhan},
  title = {{Task-Agnostic Guided Feature Expansion for Class-Incremental Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00944},
}
Figure