Abstract
Continual Learning (CL) aims to enable models to learn tasks sequentially without suffering from catastrophic forgetting. While Explainable AI (XAI) has been proposed to monitor "explanation drift," existing interpretable CL models often scale poorly, requiring architectural growth for every new task. We present CIP-Net, a framework that utilizes a shared pool of prototypes and targeted regularization to maintain stable visual logic across tasks. CIP-Net achieves state-of-the-art performance on fine-grained classification benchmarks without storing exemplars or increasing parameter counts linearly with tasks.
The Challenge of Continual Learning
In AI, the ability to learn new tasks sequentially while retaining prior knowledge is a significant hurdle. Standard neural networks typically experience catastrophic forgetting, where new information overwrites previously learned weights. Recent efforts have integrated interpretability to track why a model makes decisions, aiming to prevent "explanation drift." However, prior interpretable models like ICICLE suffer from linear growth in memory and computation as they add new "prototype heads" for every task, making them unscalable for long-term applications.
Methodology: The CIP-Net Architecture
CIP-Net adapts the PIP-Net architecture for sequential learning through several key innovations:
- Shared Prototype Pool: Unlike models that create new prototypes per task, CIP-Net employs a single, fixed-size pool of patch-level prototypes. These represent visual "concepts" (e.g., specific wing patterns) shared across different tasks.
- Targeted Prototype Regularization ($L_R$): This mechanism identifies prototypes critical for previous tasks. When learning new tasks, the model penalizes changes to these "highly used" prototypes while allowing "rarely-used" ones to adapt, balancing stability and plasticity.
- Task-Specific Sparse Heads: Each task utilizes a lightweight classification head trained with Hoyer sparsity for concise explanations and decorrelation losses to prevent task interference.
- Logit Normalization: To mitigate bias toward recent tasks, CIP-Net normalizes prototype activations and classifier weights.
Experimental Evaluation
The authors evaluated CIP-Net on two fine-grained image classification benchmarks: CUB-200-2011 (200 bird species) and Stanford Cars (196 car models). Testing covered both Task-Incremental Learning (TIL) and the more challenging Class-Incremental Learning (CIL) settings.
Stability and Selective Plasticity
A core insight of CIP-Net is that freezing the entire model is unnecessary to prevent forgetting. By protecting only the specific visual features critical for past tasks, the network remains "plastic" enough to acquire new knowledge.
The shared logic allows for concept reuse; for instance, a "wheel" prototype learned early on remains relevant for diverse car models in later tasks. This leads to superior generalization compared to models that isolate knowledge. Visualizations confirm that the model's internal logic remains stable, looking at consistent image regions to identify old classes even after learning many subsequent tasks.
Key Results
CIP-Net consistently outperformed both interpretable and "black-box" baselines:
- Accuracy: On the CUB dataset, CIP-Net achieved a +35% improvement in final average accuracy over ICICLE in a 20-task TIL setting. On the CARS dataset, gains reached up to +38.2%.
- Efficiency: Unlike growing architectures, CIP-Net’s prototype layer remains constant in size.
- Privacy: It is exemplar-free, requiring no "replay buffer" of past images, which is advantageous for storage and privacy.
Limitations and Future Work
Despite its success, CIP-Net faces challenges such as the "semantic gap," where prototypes may occasionally activate on background elements. Future research will focus on improving sparsity, enhancing robustness against adversarial perturbations, and developing better "out-of-distribution" detection for unseen tasks.
Summary updated