Introduction
Continual Learning (CL) aims to enable models to learn a sequence of tasks without suffering from "catastrophic forgetting." While prompt-based methods in pre-trained Vision Transformers (ViTs) have shown promise, they often rely on discrete prompt pools. This approach suffers from selection mismatch at test time and a lack of shareability between tasks. EvoPrompt addresses these issues by introducing a continuous, evolving neural memory that generates instance-specific prompts.
Methodology
EvoPrompt moves away from static lookup tables toward a dynamic, parameterized architecture designed to solve the stability-plasticity dilemma.
Parameterized Prompt Memory
Instead of a discrete pool, EvoPrompt utilizes a small Feed-Forward Network (FFN) with an MLP bottleneck. This network processes image features to generate unique, continuous prompts. This "semantic-aware" prompting ensures that similar inputs receive similar prompts, enhancing the model's ability to generalize across related tasks regardless of task ID.
Dual Memory and Incremental Fusion
The system maintains two distinct weight sets to balance learning and retention:
- Reference Prompt Memory (RPM): Stores stable, global knowledge accumulated over time.
- Working Prompt Memory (WPM): Facilitates rapid adaptation to the current task.
Upon task completion, the WPM is integrated into the RPM. To preserve functional integrity, EvoPrompt employs Optimal Transport (OT) to align neurons before merging, ensuring that functionally equivalent parameters are matched. An Attribution-aware Fusion mechanism further weights the integration based on the importance of specific neurons to the task at hand.
Compositional Classifier Initialization (CCI)
To maintain backward compatibility when introducing new classes, EvoPrompt uses CCI. Rather than random initialization, new class prototypes are "anchored" in the existing embedding space as weighted combinations of previously learned classifiers, leveraging the convex subspace of learned features.
Key Results and Discussion
EvoPrompt achieves state-of-the-art performance across major benchmarks, including Split CIFAR-100, Split ImageNet-R, and CORe50.
On Split ImageNet-R (20 steps), EvoPrompt reached 74.41% accuracy, significantly outperforming previous methods like CODA-P (70.18%). Crucially, it exhibited much lower forgetting rates (2.56% vs. 5.53%). The efficiency of the MLP bottleneck allows the "EvoPrompt-S" variant to use up to 13x fewer parameters than competitors while maintaining superior performance. On the CORe50 benchmark, it reached 95.27% accuracy, nearly 4% higher than the previous best method.
Conclusion
By transitioning from discrete prompt pools to a continuous, evolving neural memory, EvoPrompt effectively balances plasticity and stability. The combination of functional alignment via Optimal Transport and compositional initialization provides a robust framework for long-term continual learning with minimal parameter overhead. While a small stability gap remains, the method represents a significant step forward in efficient, scalable incremental learning.
Summary updated