Class Balance Matters to Active Class-Incremental Learning

Zitong Huang, Ze Chen, Yuanze Li, Bowen Dong, Erjin Zhou, Yong Liu, Rick Siow Mong Goh, Chun-Mei Feng, Wangmeng ZuoACM Multimedia 2024 · DOI

TL;DR

This paper introduces Active Class-Incremental Learning (ACIL), a new paradigm where models learn new classes from unlabeled data by actively selecting the most informative samples for annotation. Their proposed Class-Balanced Selection (CBS) strategy ensures these selected samples are both informative and representative of class distributions, significantly outperforming existing active learning methods.

What Problem Does This Paper Address?

Traditional Class-Incremental Learning (CIL) and Few-Shot Class-Incremental Learning (FSCIL) methods often rely on labeled data for new classes. FSCIL reduces the annotation burden by using only a few samples per class, but these samples are often chosen heuristically, leading to imbalanced class representation and hindering the learner's performance. This paper addresses the challenge of efficiently learning new classes from a large pool of unlabeled data in an incremental setting. The core problem is how to select the most valuable samples for annotation from this unlabeled pool to maximize the incremental learner's performance, while simultaneously avoiding the class imbalance issues that plague standard active learning approaches.

Methods

The paper proposes Active Class-Incremental Learning (ACIL), a framework that leverages a large pool of unlabeled data. Within ACIL, the key innovation is the Class-Balanced Selection (CBS) strategy. CBS operates in two main steps:

  1. Clustering: Features extracted from the unlabeled data using a pre-trained feature extractor (like ViT or CLIP) are clustered using K-means. This provides an initial grouping of similar samples.
  2. Greedy Selection: Within each cluster, a novel greedy selection strategy is employed. This strategy aims to select samples whose feature distribution closely matches the overall distribution of features within that cluster. It does this by iteratively selecting samples that minimize the Kullback-Leibler (KL) divergence between the distribution of selected samples and the distribution of all samples in the cluster.

CBS is designed to be a plug-and-play module that can be integrated with existing CIL/FSCIL methods that utilize pre-trained models and prompt tuning techniques. The authors also propose an enhancement for LP-DiF where unlabeled data not selected by CBS is used to improve the estimation of Gaussian distributions for old classes, aiding in knowledge replay.

Datasets

The experiments were conducted on five publicly available image classification datasets:

  • CUB-200
  • CIFAR-100
  • mini-ImageNet
  • DTD
  • Flowers102

The paper also mentions evaluating CBS on a class-imbalanced version of CIFAR-100 (CIFAR-100-LT) to specifically test its robustness in such scenarios.

Key Insights and Ideas

  • Class Balance is Crucial for ACIL: The paper strongly emphasizes that simply selecting "informative" samples using traditional active learning methods can lead to severe class imbalance, which degrades performance in incremental learning. This is a key insight that motivates their CBS strategy.
  • Clustering as a Precursor to Balanced Selection: Clustering the feature space before selection is shown to be beneficial. It helps in organizing the data and allows for more targeted balanced sampling within each group.
  • Greedy KL Divergence Minimization for Balance: The core of CBS's success lies in its greedy selection strategy that directly optimizes for matching the feature distribution of selected samples to the overall cluster distribution using KL divergence. This is a more principled approach to achieving class balance than random selection.
  • Plug-and-Play Nature of CBS: The method's ability to be easily integrated with existing state-of-the-art CIL/FSCIL frameworks (like L2P, DualPrompt, LP-DiF) makes it broadly applicable and demonstrates its general utility.
  • Unlabeled Data for Old Knowledge Replay: Leveraging unlabeled data not selected by CBS to refine Gaussian distributions for old classes can significantly improve resistance to catastrophic forgetting, as shown in the LP-DiF experiments.

Key Results

  • Superior Performance: CBS consistently outperforms random selection and other state-of-the-art active learning methods (Entropy, Margin, Coreset, BADGE, Typiclust, ProbCover, DropQuery) across all tested CIL methods (L2P, DualPrompt, LP-DiF) and datasets.
  • Significant Gains with LP-DiF: When integrated with LP-DiF, CBS achieves an average accuracy of 73.38% on CUB-200, outperforming random selection (70.24%) and other active learning methods. The "CBS + unlabeled data" variant further boosts this to 75.20%.
  • Improved Class Balance: Figures and tables demonstrate that CBS achieves a significantly lower "class-imbalanced ratio" and a higher "classes discovery ratio" compared to other methods, indicating more balanced and comprehensive sample selection.
  • Efficiency: CBS is shown to be more computationally efficient than some other active learning methods like DropQuery, achieving higher performance with lower runtime costs.
  • Robustness to Imbalance: Experiments on CIFAR-100-LT show that CBS still achieves competitive performance even when the unlabeled pool is severely class-imbalanced, suggesting its inherent ability to promote balance.

Limitations and Future Work

  • No Overlapping Classes Assumption: The current ACIL setup assumes that new unlabeled data does not contain old classes. In real-world scenarios, this is often not the case.
  • Future Work: The authors suggest exploring how to select informative samples from unlabeled data that may contain old classes. They also plan to investigate the issue of multi-round training-labeling paradigms versus single-round selection, as observed in their comparison with Dropquery.

Summary updated

BibTeX
@inproceedings{huang2024class,
  author = {Zitong Huang and Ze Chen and Yuanze Li and Bowen Dong and Erjin Zhou and Yong Liu and Rick Siow Mong Goh and Chun-Mei Feng and Wangmeng Zuo},
  title = {{Class Balance Matters to Active Class-Incremental Learning}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3680822},
}
Figure