Introduction
Class Incremental Learning (CIL) represents one of the most formidable challenges in continual learning. As a model learns new classes sequentially without revisiting all previous data, it suffers from catastrophic forgetting—updating weights for a new task inadvertently destroys the representations learned for older ones. While existing research predominantly combats this using memory replay or regularization techniques, this paper takes a geometric approach by examining the model's loss landscape and optimizing mode connectivity.
The Forgetting Ridge
To understand catastrophic forgetting geometrically, the authors investigated the loss landscape between the optimal weights of sequential tasks. They discovered that drawing a straight line between the "best" weights for Task A ($\hat{w}_1$) and Task B ($w_2$) inevitably crosses a "high-loss ridge." In this region, the model performs poorly on both tasks. This ridge is the geometric manifestation of catastrophic forgetting. The challenge, therefore, is to find a curved path that dodges this ridge and remains within a low-loss valley for all learned tasks.
Proposed Method: OPC and EOPC
To navigate this complex landscape, the authors propose two plug-in components designed to enhance existing CIL frameworks:
1. Optimizing Connectivity (OPC)
Instead of relying on a simple linear connection, OPC models the path between two task minima using a Fourier series. This approach is highly parameter-efficient, allowing the representation of complex, curved paths in a high-dimensional parameter space using only a few coefficients. By applying gradient projection, these coefficients are optimized to ensure the path stays in a low-loss region for both the current task and previous tasks (represented by a small memory buffer).
2. Ensembling with OPC (EOPC)
The authors hypothesize the existence of a "Switching Point" (SP) along this optimized path—a specific point that acts as a multitask minimum, performing well across all seen tasks. To further boost performance and robustness, they introduce EOPC. Rather than selecting a single point, EOPC defines a local bent cylinder around the optimized path. By sampling and ensembling (averaging) multiple parameter sets from within this cylinder, the model achieves a flatter minimum, which is widely known to improve generalization on unseen data.
Experimental Validation
The researchers evaluated their method on standard computer vision benchmarks, including CIFAR-100, ImageNet-100, and the full ImageNet-1K dataset. They tested across various incremental steps (5, 10, and 25 steps) to simulate increasingly difficult continual learning scenarios.
When applied as a plug-in to state-of-the-art CIL methods like PODNet and AANet, EOPC yielded consistent and significant improvements:
- Accuracy Boost: On the challenging ImageNet-1K benchmark with 25 incremental steps, EOPC improved PODNet's average incremental accuracy by 3.73%.
- Reduced Forgetting: On CIFAR-100 (5 steps), EOPC drastically reduced the average forgetting of PODNet from 19.26% down to 7.68%.
- Scalability: The geometric ensembling approach proved architecture-agnostic, showing gains across various ResNet depths and DenseNet models.
Limitations and Future Directions
While highly effective, the proposed method has limitations. OPC requires an additional optimization phase after each task to find the Fourier-parameterized path, introducing computational overhead to the training process. Furthermore, while the "Switching Point" provides a strong approximation of a multitask minimum, finding the true multitask minimum remains an open challenge.
Future work may explore leveraging more advanced mode connectivity theories to pinpoint these minima more accurately, as well as investigating how this geometric, path-based approach can synergize with dynamic architecture strategies in continual learning.
Summary updated