This paper introduces PLASTIC, a novel framework for Class-Incremental Learning (CIL) that reinstates model plasticity using Test-Time Adaptation (TTA). By dynamically fine-tuning only LayerNorm parameters on unlabeled test data through a teacher-student distillation process, PLASTIC enables models to adapt to diverse, evolving tasks while maintaining stability and inherent robustness to data corruption.
TL;DR
PLASTIC overcomes the rigidity of "first-session only" adaptation in continual learning by re-introducing model plasticity at test time. It leverages unsupervised test-time adaptation and a teacher-student framework to achieve state-of-the-art accuracy and superior robustness to data corruption without needing labeled data for new tasks.
What Problem Does This Paper Address?
In real-world applications, AI models often need to learn new classes sequentially from a stream of data—a field known as Class-Incremental Learning (CIL). The primary hurdle is "catastrophic forgetting," where new knowledge erases previously learned information.
Recent efficient strategies, like First-Session Adaptation (FSA), fine-tune a large pre-trained model (PTM) only on the first task and then freeze it to prevent forgetting. While this works for simple, uniform task sequences, it fails in heterogeneous settings where task distributions change significantly over time (e.g., moving from recognizing cars to recognizing medical cells). Essentially, FSA models become too "rigid" after the first task, lacking the plasticity needed to adapt to new, diverse environments.
Methods
The authors propose PLASTIC (Plasticity-Enhanced Test-Time Adaptation in Class-Incremental Learning), which operates in two distinct phases:
- Phase I: Adapter-Based Learning: Like standard FSA, the model is first adapted to the downstream domain by training lightweight "Adapters" on the labeled data of the very first task.
- Phase II: Continual Test-Time Model Refinement: This is the core innovation. Instead of remaining frozen for all subsequent tasks, PLASTIC uses Test-Time Adaptation (TTA). When the model encounters a batch of unlabeled test images from a new task, it performs a quick, unsupervised update before making a prediction.
Key technical components include:
- LayerNorm Tuning: To ensure stability, only the LayerNorm parameters are updated during TTA. This is highly parameter-efficient, involving only about 0.04M parameters.
- Entropy Minimization: The model is optimized to produce more confident (lower entropy) predictions on the test samples.
- Teacher-Student Distillation: A "teacher" model (an exponential moving average of the student) provides soft targets to guide the "student" model's adaptation. This prevents the student from overfitting to a specific test batch and helps accumulate knowledge across tasks.
- Model Resetting: The student is reset to its Phase I state after each test batch to maintain generalizability, while the teacher continues to evolve.
Datasets
The method was evaluated on a wide range of CIL benchmarks:
- Standard Benchmarks: CIFAR100, CUB200, ImageNet-R, ImageNet-A, OmniBench, 5-Datasets, and VTAB.
- Robustness Benchmarks: The authors introduced VTAB-C and OmniBench-C by applying synthetic corruptions (noise, blur, etc.) to existing test sets, alongside the standard CIFAR100-C.
Key Insights and Ideas
- TTA is a "Natural Fit" for CIL: Traditionally used to handle domain shift, TTA provides a way to re-introduce plasticity into frozen models without needing labeled data for every new task.
- Stability through Selective Tuning: The finding that tuning only LayerNorm parameters is superior to tuning the whole model or even the adapters highlights a critical trade-off between adaptability and stability in TTA.
- Distillation as a Memory Mechanism: The teacher-student framework effectively acts as a buffer, allowing the model to learn from test-time signals without suffering from the "drift" or "forgetting" typically associated with continuous updates.
- Inherent Robustness: Because PLASTIC adapts to the specific data it sees at test time, it is naturally more resilient to data corruptions like Gaussian noise or motion blur compared to static models.
Key Results
- State-of-the-Art Performance: PLASTIC achieved a top average accuracy of 83.36% across six standard benchmarks, surpassing leading PTM-based CIL methods like ADAM (80.02%) and RanPAC (82.69%).
- Superior Adaptability: In heterogeneous settings (like the 5-Datasets benchmark), PLASTIC outperformed ADAM by up to 10.29%, proving its effectiveness when tasks are highly diverse.
- Robustness to Noise: On corrupted datasets, the gains were even more pronounced. For instance, on CIFAR100-C, PLASTIC outperformed ADAM by 5.13%.
- Efficiency: The method is highly parameter-efficient, requiring updates to only a tiny fraction (~0.04%) of the model's total parameters during the TTA phase.
Limitations and Future Work
The primary drawback of PLASTIC is its computational overhead at inference time. Because the model must perform optimization steps (Phase II) before making a final prediction, inference is slower than for static models. The authors report a practical speed of about 8 frames per second on an A100 GPU. Future research will focus on improving this efficiency, possibly through more advanced test-sample selection strategies to reduce the number of required TTA iterations.
Summary updated