Abstract
Online Class-Incremental (OCI) learning requires models to learn from a continuous stream of data where each batch is seen only once, and memory for past samples is strictly limited. This setting typically suffers from catastrophic forgetting and class imbalance. We present DualMix, a novel framework that enhances data augmentation (DA) through two specialized strategies: Enhanced Mixup (EnMix) and Adaptive Mixup (AdpMix). EnMix addresses forgetting by generating diverse virtual samples from memory that maintain label consistency. AdpMix mitigates class imbalance by dynamically adjusting the mixing ratio of old and new class samples based on classifier weight imbalances. Our approach operates entirely on the input side, ensuring computational efficiency. Extensive evaluations on Split CIFAR-100, Mini-ImageNet, and Tiny-ImageNet show that DualMix significantly outperforms existing state-of-the-art methods, particularly in constrained memory settings.
Introduction
Online Class-Incremental (OCI) learning is a realistic yet difficult machine learning scenario. Unlike offline learning, the model encounters new classes sequentially and must update its knowledge without access to the full historical dataset. The primary obstacles are catastrophic forgetting (CF), where new information overwrites old knowledge, and class imbalance, where the abundance of new data biases the model against the sparse "rehearsal" data stored in a small memory buffer.
Data augmentation (DA) is a standard technique to improve generalization. However, in OCI, aggressive DA presents a paradox: while it increases diversity to combat forgetting, it can weaken the correlation between images and their labels, hindering the learning of new tasks. DualMix is designed to resolve this by decoupling diversity from label noise.
Methodology
The DualMix framework integrates two distinct mixing strategies into the standard Experience Replay (ER) pipeline. As shown in the framework overview below, the process involves augmenting memory samples and current task samples before applying specialized mixing.
1. Enhanced Mixup (EnMix)
To prevent forgetting, the model requires samples that are distinct from the original training data. The authors provide theoretical evidence that the "forgetting gap" is tied to the covariance between original and augmented samples. EnMix generates "virtual" samples by taking two differently augmented versions of memory samples and mixing them. This process increases sample diversity and reduces correlation with the original data while preserving strong label consistency.
2. Adaptive Mixup (AdpMix)
Class imbalance often leads to a decision boundary that is biased toward the more frequent new classes. AdpMix addresses this by mixing samples from the current task (new) with samples from the memory buffer (old). Crucially, the mixing ratio is not static. DualMix monitors the L2 norm of the classifier weights for each class. If the weights for new classes grow disproportionately—indicating a bias—AdpMix adjusts the label ratio to "push" the decision boundary back, ensuring a more equitable representation.
Experimental Setup
DualMix was evaluated on three major benchmarks: Split CIFAR-100, Split Mini-ImageNet, and Split Tiny-ImageNet. Each dataset was divided into 20 sequential tasks. The experiments focused on challenging memory constraints, testing buffer sizes of 1,000, 2,000, and 5,000 samples. Performance was measured using Average Accuracy and Average Forgetting metrics.
Key Results
- Performance Boost: On CIFAR-100 with a 1K memory buffer, DualMix improved the accuracy of standard Experience Replay (ER) from 8.4% to 17.5%—more than doubling its effectiveness.
- Superior to SOTA: DualMix outperformed more complex methods like DVC and SCR across almost all benchmarks, particularly in the most challenging "small memory" scenarios.
- Forgetting Reduction: The method significantly lowered the "Average Forgetting" metric. In Tiny-ImageNet (2K memory), it reduced forgetting by nearly 38% compared to the strongest baselines.
- Efficiency: Because it only involves mixing inputs, DualMix is significantly faster than contrastive-based methods, making it better suited for actual "online" deployment.
Conclusion
DualMix provides a simple yet effective way to unleash the potential of data augmentation in online class-incremental learning. By combining EnMix for diversity and AdpMix for balance, it addresses the core challenges of OCI at the input level. While the method relies on stable hyperparameters ($\delta, \kappa, \tau$) for boundary adjustment, its performance gains and computational efficiency mark a significant step forward for rehearsal-based incremental learning.
Summary updated