Does Prior Data Matter? Exploring Joint Training in the Context of Few-Shot Class-Incremental Learning

Shiwon Kim, Dongjun Hwang, Sungwon Woo, Rita Singh

Abstract

Class-incremental learning (CIL) aims to adapt to continuously emerging new classes while preserving knowledge of previously learned ones. Few-shot class-incremental learning (FSCIL) presents a greater challenge that requires the model to learn new classes from only a limited number of samples per class. While incremental learning typically assumes restricted access to past data, it often remains available in many real-world scenarios. This raises a practical question: should one retrain the model on the full dataset (i.e., joint training), or continue updating it solely with new data? In CIL, joint training is considered an ideal benchmark. However, in FSCIL, joint training becomes less reliable due to severe imbalance between base and incremental classes. To this end, we revisit joint training in the context of FSCIL by incorporating imbalance mitigation techniques, and suggest a new imbalance-aware joint training benchmark for FSCIL.

Introduction

In the evolving landscape of machine learning, Class-Incremental Learning (CIL) addresses the need for models to learn sequentially. Few-Shot Class-Incremental Learning (FSCIL) introduces a significant constraint: new classes are introduced with only a handful of labeled examples (e.g., 5-shot). Traditionally, FSCIL research operates under the constraint that previous data is inaccessible. However, in many industrial and research contexts, historical data is preserved. This availability prompts a critical question: if we have all the data, is specialized FSCIL still the best approach, or should we simply perform joint training?

The Challenge of Imbalance in FSCIL

In standard CIL, joint training—retraining on all data from scratch—is the gold standard for performance. In FSCIL, however, this approach fails catastrophically. The extreme disparity between the thousands of samples in base classes and the few samples in incremental classes creates a model that is overwhelmingly biased toward the majority classes.

Confusion matrices illustrating the bias in standard joint training (a) versus the improved classification in the proposed imbalance-aware approach (c).

As shown in Figure 4, standard joint training (a) results in a high rate of false positives. Samples from incremental classes (True Labels 60-100) are almost entirely misclassified as base classes (Predicted Labels 0-60). This "feature collapse" means that despite having all the data, the model cannot distinguish new classes from old ones, leading to near-zero accuracy for incremental tasks.

Methods: Constructing an Imbalance-Aware Benchmark

To establish a realistic performance upper bound, the authors treat FSCIL as an extreme long-tail imbalanced learning problem. They first standardized the evaluation landscape by building a unified codebase for 8 state-of-the-art FSCIL methods, correcting for common issues like data leakage and unfair pre-training (e.g., peeking at test sets for hyperparameter tuning).

They then evaluated eight imbalanced learning techniques across three categories:

  • Resampling-based: Techniques like CMO, which uses CutMix to augment minority class data.
  • Reweighting-based: Methods like Balanced Softmax and LDAM that adjust the loss function based on class frequency.
  • Optimizer-based: Approaches like ImbSAM that optimize for a smoother loss landscape specifically for minority classes.

The strongest benchmark, termed Imbalance-Aware Joint Training (Imb. Joint), was found by combining CMO, Balanced Softmax, and ImbSAM.

Key Results and Comparative Analysis

The authors evaluated these strategies across three standard benchmarks: CIFAR-100, miniImageNet, and CUB-200. The results were transformative. On CIFAR-100, the new imbalance-aware benchmark boosted incremental class accuracy from a dismal 1.9% to 32.5%.

Comparison of generalized accuracy vs. average accuracy for various imbalanced learning strategies.

As illustrated in Figure 5, the "Imb. Joint" strategy (yellow star) significantly outperforms other individual imbalanced learning methods in both average and generalized accuracy.

One of the most surprising findings is that even with access to all past data, the imbalance-aware joint training model does not always beat specialized FSCIL methods. On miniImageNet, the FSCIL method SAVC achieved 65.3% average accuracy compared to 60.6% for joint training. Similarly, on CUB-200, the FSCIL method YourSelf outperformed joint training (66.4% vs 65.1%). This suggests that the algorithmic priors in FSCIL—such as freezing feature extractors or using prototype-based classification—are remarkably robust against extreme imbalance, sometimes more so than general-purpose imbalanced learning techniques.

Conclusion

This research provides a critical reassessment of the FSCIL landscape. By introducing an imbalance-aware joint training benchmark, the authors demonstrate that standard joint training is an inadequate baseline. Furthermore, the fact that FSCIL methods can outperform joint retraining even when data is available highlights the unique strengths of incremental learning algorithms. These insights offer a roadmap for practitioners to choose between retraining and incremental updates based on their specific performance and computational constraints.

Summary updated

BibTeX
@misc{kim2025does,
  author = {Shiwon Kim and Dongjun Hwang and Sungwon Woo and Rita Singh},
  title = {{Does Prior Data Matter? Exploring Joint Training in the Context of Few-Shot Class-Incremental Learning}},
  year = {2025},
  eprint = {2503.10003},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.10003},
}
Figure