Abstract
Class-incremental learning (CIL) is a fundamental challenge in artificial intelligence, where models must learn new tasks sequentially without forgetting previous ones. A primary cause of "catastrophic forgetting" is feature drift, often triggered by the expansion of the classification layer as new classes are introduced. We discuss a novel solution: the Pre-allocated Regular Polytope Classifier (RPC). By fixing the classifier weights as vertices of a regular polytope at initialization, the model maintains a stable geometric feature space. This approach not only prevents feature drift but also allows the model to utilize future class nodes for negative sampling before their specific data is encountered. Evaluations on SplitMNIST and SplitCIFAR benchmarks show that RPC achieves state-of-the-art performance, proving that fixed, symmetric classifiers are a robust alternative to traditional expanding layers.
Introduction: The Challenge of Incremental Learning
In Class-Incremental Learning (CIL), an AI agent learns to recognize new categories of data over time. For instance, a model might first learn to distinguish between cats and dogs, and later be tasked with identifying birds and fish. Standard deep learning models suffer from "catastrophic forgetting," where learning new information overwrites the weights necessary for previous tasks.
A significant, yet often overlooked, driver of this forgetting is the "expanding classifier." In traditional setups, the final output layer grows as new classes arrive. To accommodate these new classes in the mathematical feature space, the network must shift the representations (features) of old classes. This "motion" or drift in the feature space causes the model to lose its grip on previously learned concepts.
Methodology: Pre-allocated Regular Polytope Classifier (RPC)
To address feature drift, researchers from the University of Florence proposed the Pre-allocated Regular Polytope Classifier (RPC). This method introduces three fundamental shifts from the standard CIL paradigm:
- Fixed Weights: Unlike traditional classifiers where weights are learned, RPC weights are fixed at initialization and never updated. This provides a stationary target for the feature extractor.
- Geometric Symmetry: The weights are arranged as vertices of a d-simplex (a higher-dimensional version of an equilateral triangle). This ensures that every class is equidistant from all others, maximizing the separation in the feature space.
- Early Negative Sampling: All output nodes are present from the start. When the model learns Class A, it simultaneously treats that data as a "negative sample" for all future classes (B, C, D, etc.). This helps the network pre-shape the boundaries of future classes before their data arrives.
Key Insights
The effectiveness of RPC stems from two main factors:
- Stability: By fixing the classifier, the internal representations do not need to reconfigure themselves to "make room" for new classes. The feature extractor simply learns to map inputs to the correct, unchanging coordinates, significantly reducing forgetting.
- The Power of Negatives: In standard CIL, a node for a new class is only activated when its data arrives. In RPC, future nodes are active from day one. Even without "positive" examples, the thousands of "negative" examples from other classes help define the region in the feature space where the future class will eventually reside.
Experimental Results
The researchers evaluated RPC on several standard benchmarks, combining it with a small episodic memory for Experience Replay (ER).
- SplitMNIST: The model achieved 96.90% accuracy, slightly outperforming the standard expanding classifier baseline.
- SplitCIFAR100: On this more complex 100-class dataset, the model reached 51.77% accuracy.
- Robustness: An ablation study revealed that the method is robust to over-allocation. Pre-allocating for 1,000 classes when only 100 were eventually used did not degrade performance, suggesting RPC is well-suited for lifelong learning scenarios where the total number of future classes is unknown.
Conclusion
The Pre-allocated Regular Polytope Classifier demonstrates that training the final classification layer is not strictly necessary for high performance in incremental learning. By providing a fixed, symmetric geometric structure, RPC mitigates feature drift and leverages negative sampling to prepare for future tasks. This shift towards stationary targets offers a promising path for building more stable and efficient continual learning systems.
Summary updated