Free-Flow Class-Incremental Learning: Towards Robust CIL under Variable Class Arrivals

Zhiming Xu, Baile Xu, Jian Zhao, Furao Shen, Suorong YangarXiv 2026

TL;DR

This paper introduces Free-Flow Class-Incremental Learning (FFCIL), a realistic continual learning setting where the number of newly arriving classes varies dynamically over time rather than following a rigidly balanced schedule. To mitigate the severe performance drops this irregularity causes in existing methods, the authors propose a unified framework featuring class-wise loss averaging, dynamic weight alignment, and head-agnostic feature correction.

What Problem Does This Paper Address?

Standard Class-Incremental Learning (CIL) algorithms are typically evaluated under idealized, artificial protocols where the label space is divided into perfectly equal increments (e.g., exactly 10 new classes at each learning stage). In real-world deployments, however, data streams are unpredictable: an autonomous system or web service might encounter 2 new categories today and 30 tomorrow.

The authors demonstrate that this variable class arrival rate severely degrades the performance of both traditional and pre-trained model (PTM)-based CIL methods. This "free-flow" irregularity introduces three major challenges:

  1. It alters the class composition of training batches, biasing instance-wise loss functions.
  2. It destabilizes classifier weight calibration, as statistics derived from very small class increments are highly volatile.
  3. It causes feature representation drift, making features learned across different-sized increments difficult to compare.
Figure 1: Illustration of FFCIL. (a) Unlike equal-size tasks, FFCIL allows variable per-step class increments. (b) Existing CIL methods could experience a substantial accuracy drop under FFCIL, even with the same total number of classes, learning stages, and global class permutation.

Methods

To make incremental learning robust against variable class arrivals, the authors develop a unified framework consisting of three plug-and-play components:

  1. Class-Wise Mean (CWM) Objective: Standard training averages losses sample-by-sample, meaning batch composition heavily skews gradients based on task size. CWM averages losses within each class first, then uniformly averages across classes. This decouples the optimization gradient from step-dependent sample frequencies.
  2. Dynamic Intervention Weight Alignment (DIWA): Traditional CIL methods use weight alignment to balance old and new class classifier weights. However, when only a few classes arrive, weight statistics have high variance. DIWA dynamically adjusts the alignment strength based on the current increment size, applying a conservative correction for small tasks and full alignment for larger ones.
  3. Head-Agnostic Alignment (HA): PTM-based CIL methods use diverse, heterogeneous prediction heads (analytic, prototype-based, etc.), making classifier-level alignment impossible. HA instead applies a lightweight residual transformation directly to the intermediate features. To prevent biasing the model toward the current task, HA generates statistical surrogate features (using stored means and standard deviations) of past classes to maintain global supervision.
Figure 2: Overview of the proposed framework for FFCIL. Class-Wise Mean (CWM) replaces instance-wise loss aggregation with class-wise averaging to reduce the dependence of class contributions on step-specific batch composition. Dynamic Intervention Weight Alignment (DIWA) adjusts the strength of new-class weight calibration according to the number of classes introduced at the current step. Head-Agnostic Alignment (HA) performs a lightweight feature-level correction before the original prediction head and uses previous-class feature statistics to retain supervision over the accumulated label space.

Datasets

The framework was validated across multiple datasets to test both traditional and PTM-based setups:

  • Traditional CIL: Evaluated on CIFAR-100 and ImageNet-100.
  • PTM-Based CIL: Evaluated on CARS (Stanford Cars) and ImageNet-A.

To simulate FFCIL, the authors generated class-arrival streams where the number of new classes per step ranged randomly from 1 to 15, while keeping the total number of classes and the global class ordering identical to standard benchmarks for a fair comparison.

Key Insights and Ideas

  • The Uniformity Trap: Existing CIL algorithms implicitly rely on uniform task sizes as a hidden regularizer to balance loss gradients and calibrate weights.
  • Small Tasks are Noisy: When an update contains very few classes, blindly applying standard weight alignment over-corrects the classifier because the sample mean of the new weights is highly unstable.
  • Shared Components are Fragile: PTM-based methods that introduce task-shared components to modulate knowledge are highly sensitive to feature interface stability. Irregular class arrivals disrupt this stability, causing massive performance drops (up to 40% in some PTM baselines).

Key Results

  • Performance Recovery: Across all tested datasets and baselines (including iCaRL, DER, TUNA, and CL-LoRA), the proposed framework consistently mitigated the free-flow penalty, recovering significant accuracy drops.
  • Robustness to Orderings: Whether the class arrival sizes were arranged in an ascending, descending, or jumbled order, the combination of CWM and DIWA/HA provided stable improvements.
Impact of FFCIL step schedules under ascending, descending, and jumbled orderings.
  • Negligible Overhead: CWM slightly reduces training time per epoch due to its simplified aggregation, while the HA module adds minimal inference latency, making the framework highly practical for real-time applications.
Figure 3: Computational impact study of the proposed CWM loss and HA.

Limitations and Future Work

While the paper successfully addresses variability in the number of classes per step, it assumes that the data within those arriving classes is relatively clean and balanced. The authors note that real-world streams often combine variable class arrivals with severe intra-class imbalance (long-tailed distributions) or noisy labels. Integrating FFCIL solutions with uncurated, open-world data streams remains an open and promising direction for future research.

Summary updated

BibTeX
@misc{xu2026free,
  author = {Zhiming Xu and Baile Xu and Jian Zhao and Furao Shen and Suorong Yang},
  title = {{Free-Flow Class-Incremental Learning: Towards Robust CIL under Variable Class Arrivals}},
  year = {2026},
  eprint = {2604.02765},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.02765},
}
Figure