In the world of computer vision, we’ve gotten quite good at training models on massive datasets. But humans have a superpower models often lack: the ability to learn a new concept (like a specific rare bird) from just one or two examples without forgetting everything else they know. This is the challenge of Few-Shot Class-Incremental Learning (FSCIL).
A new paper from researchers at Huazhong University of Science and Technology and Peking University, presented at NeurIPS, tackles a persistent "dilemma" in this field: why do our best techniques for learning old classes often make it harder to learn new ones?
TL;DR
The authors identify "Class-Level Overfitting" (CO) as the reason why classification margins—a standard tool to boost accuracy—often hurt a model's ability to generalize to new classes. They propose CLOM (Class-Level Overfitting Mitigation), a dual-branch framework that constrains discriminative and transferable features against each other, setting a new state-of-the-art benchmark for incremental learning.
What Problem Does This Paper Address?
In FSCIL, a model is first trained on a "base" set of classes with plenty of data. Then, it must learn "novel" classes incrementally using only a few samples per class, all while maintaining high accuracy on the original base classes.
To make base class recognition sharper, researchers often use a classification margin.
- A positive margin pushes classes further apart in feature space, making them highly discriminative (great for base classes).
- A negative margin allows classes to overlap slightly, which sounds counterintuitive but actually helps the model learn broader, more "transferable" features that are useful for future, unseen classes.
The problem? You usually can’t have both. A positive margin makes the model "overfit" to the specific patterns of the base classes (Class-Level Overfitting), while a negative margin makes the model too "lazy," relying on overly simple patterns like edges or corners that aren't discriminative enough.
Methods
The authors introduce CLOM, which moves away from a single-margin approach. Instead, it uses a dual-feature architecture:
- The NM (Negative-Margin) Branch: This branch focuses on learning transferable, shared patterns.
- The PM (Positive-Margin) Branch: This branch is built directly on top of the NM branch. By making the discriminative (positive margin) features a function of the transferable (negative margin) features, the model creates an "extra constraint."
This setup prevents the NM branch from becoming too simple (because it must support discriminative features) and prevents the PM branch from becoming too class-specific (because it is rooted in shared features).
Additionally, they introduce Relation Mapping. Instead of using a fixed margin for every class, the model looks at the "inherent relations" (similarity) between classes. If two classes are very similar (like a cat and a tiger), the model applies a larger positive margin to force them apart and a smaller negative margin to encourage sharing their common "feline" patterns.
Datasets
The researchers evaluated CLOM on three standard benchmarks for incremental learning:
- CIFAR100: 60 base classes, 40 novel classes (split into 8 incremental sessions).
- CUB200 (Caltech-UCSD Birds): A fine-grained dataset with 100 base and 100 novel classes.
- miniImageNet: 60 base and 40 novel classes.
Key Insights and Ideas
- Class-Level Overfitting (CO) vs. Sample Overfitting: Traditional overfitting happens when a model memorizes specific images. CO happens when a model learns patterns that are too specific to a category, leaving no "conceptual space" for new categories to occupy later.
- The "Easy-Constraint" Trap: The authors found that negative margins are often satisfied by "ineffective patterns" like simple corners. Conversely, positive margins are satisfied by complex textures that don't exist in other classes. By linking the two, they force the model to find "middle-ground" patterns that are both complex and shared.
- Visualizing the Dilemma: Using CKA (Centered Kernel Alignment) similarity, the authors quantitatively proved that positive margins lead to features that look nothing like the simple, universal features found in early neural network layers, confirming they become too specialized.
Key Results
CLOM consistently outperformed previous state-of-the-art (SOTA) methods like CEC and FACT across all datasets.
On the CUB200 dataset (the most challenging due to its fine-grained nature):
- Base Accuracy (S0): CLOM achieved 79.57%, beating the previous best of 77.37%.
- Final Accuracy (S10): After 10 rounds of learning new birds, CLOM maintained 59.58% accuracy, while previous methods dropped to 57.81% or lower.
The visualization above shows a clear win for the proposed method: base classes remain tightly clustered (high discriminability), while novel classes are also well-separated (high generalization), successfully bridging the gap between positive and negative margin strategies.
Limitations and Future Work
While CLOM significantly mitigates the margin dilemma, it still follows the "frozen backbone" paradigm common in FSCIL to avoid catastrophic forgetting. This means the underlying feature extractor doesn't actually "evolve" as it sees new classes—it just learns to use its existing knowledge better.
Future work might explore how to allow the backbone to update slightly without losing the delicate balance between the PM and NM branches. Additionally, the computational overhead of maintaining dual branches during training is a factor, though this does not affect the speed of the model during inference.
Summary updated