Introduction
Standard deep learning models typically require simultaneous access to all training data to achieve peak performance. In real-world scenarios, however, data often arrives incrementally. When traditional deep networks are updated with new classes without access to the full history of prior data, they suffer from catastrophic forgetting, where new weights effectively overwrite previously learned information.
Existing solutions, such as iCaRL, attempt to mitigate this by storing a small subset of old images and employing complex distillation losses. However, these methods remain computationally expensive—often requiring hours of GPU time for updates—and experience significant performance degradation as the number of classes grows. DeeSIL (Deep-Shallow Incremental Learning) addresses these challenges by decoupling feature extraction from classification, offering a fast, memory-efficient, and stable alternative.
Methodology: Decoupling for Stability
The core innovation of DeeSIL is the separation of the learning task into two distinct components: a fixed feature extractor and a set of independent shallow classifiers.
- Deep Feature Extractor (DFE): A pre-trained ResNet-18 serves as the backbone. Crucially, this component remains fixed during the incremental phase, acting as a "universal" feature generator that converts images into high-dimensional vectors.
- Shallow Classifiers: For each new class, a simple linear Support Vector Machine (SVM) is trained. Because these classifiers are shallow and independent, learning a new class does not interfere with the parameters of previously learned classes, inherently preventing forgetting.
To train these SVMs effectively within a memory budget, the system utilizes a Negative Selector (NS). The NS manages a fixed-size memory of features ($K=20,000$) to provide diverse negative examples. The authors explored three selection strategies: independent sampling from an external dataset (ind), random sampling from seen classes (rand), and a greedy diversity-based selection (div).
Experimental Setup
The performance of DeeSIL was evaluated using the ILSVRC 2012 (ImageNet) dataset, specifically a 1000-class challenge split into 10 incremental batches of 100 classes each. To assess the impact of the initial representation, three DFE variants were tested:
- IN100: Trained on the first 100 ImageNet classes.
- IN1000: Trained on 1000 ImageNet classes (distinct from the test set).
- FL1000: Trained on 1000 classes from weakly annotated Flickr groups to test robustness to noisy data.
Results and Performance
DeeSIL demonstrates a significant leap in both accuracy and efficiency over previous state-of-the-art methods.
- Accuracy: On the full 1000-class ImageNet benchmark, DeeSIL achieved 68% top-5 accuracy, a 23-point improvement over iCaRL's 45%.
- Computational Efficiency: Training is drastically faster. While iCaRL requires approximately 32 hours on an NVIDIA Titan X GPU to add a batch of 100 classes, DeeSIL can add a single class in less than one minute on a standard CPU.
- Stability: DeeSIL is remarkably resistant to forgetting. While iCaRL's performance drops by nearly half as it scales from 100 to 1000 classes, DeeSIL's best configuration loses only about 12 points of accuracy.
Key Insights and Discussion
The success of DeeSIL challenges the conventional wisdom that entire networks must be updated to learn new tasks. If the initial feature representation is sufficiently "universal," shallow classifiers can effectively manage incremental learning without the risk of overwriting knowledge. The results show that the diversity of the data used for the initial DFE training is a primary driver of final performance.
However, the method has limitations. Its performance is heavily dependent on the quality and breadth of the initial DFE. If the DFE is trained on a very narrow domain, it may fail to generalize to radically different future classes. Additionally, as the number of classes grows to exceed the fixed memory budget for negatives, the number of samples per class may become insufficient, potentially impacting the SVMs' discriminative power.
Summary updated