Introduction: The Challenge of Streaming Learning
Standard Deep Neural Networks (DNNs) are notoriously prone to catastrophic forgetting. When trained on new data, they overwrite existing weights, losing previously acquired knowledge. While most "Continual Learning" research focuses on incremental batch learning—where models process large data chunks repeatedly—real-world applications like robotics require streaming learning.
In a streaming scenario, an agent observes examples one-by-one in a single pass and must remain testable at any moment. This paradigm is significantly more demanding than batch learning, as it prohibits multiple loops over data and often requires massive "replay buffers" to maintain performance.
Deep Streaming Linear Discriminant Analysis (Deep SLDA)
To address these challenges, the authors propose Deep SLDA, a method that combines a frozen deep feature extractor with an incrementally updated Linear Discriminant Analysis (LDA) classifier.
Architecture
- Feature Extractor ($G$): A ResNet-18 pre-trained on a "base" dataset and then frozen. It maps images to high-dimensional feature vectors.
- SLDA Classifier ($F$): Instead of a backpropagation-trained Softmax layer, the model uses a streaming LDA. It maintains a running mean vector for each class and a shared covariance matrix across all classes.
By updating class means independently, the model is mathematically shielded from catastrophic forgetting: learning a new class has no impact on the representation of previously learned ones.
Performance and Efficiency
The authors evaluated Deep SLDA on large-scale benchmarks, including ImageNet (ILSVRC-2012) and CORe50.
Key Results on ImageNet
Deep SLDA demonstrates remarkable stability as the number of trained classes increases. On ImageNet, it achieved a final top-5 accuracy of 75.2%, surpassing competitive baselines like iCaRL (69.2%) and End-to-End Incremental models (74.8%).
Beyond accuracy, the efficiency gains are transformative:
- Speed: Deep SLDA trained on ImageNet in just 30 minutes, compared to 62 hours for iCaRL.
- Memory: It requires only ~0.001 GB for its covariance matrix, whereas rehearsal-based models need ~3 GB for image buffers.
Conclusion and Future Directions
Deep SLDA proves that simple statistical methods can outperform complex deep learning architectures in lifelong learning settings. Its "frozen feature" approach suggests that diverse initial training provides sufficiently general features for subsequent tasks. Future work may explore allowing limited plasticity in hidden layers or explicitly modeling temporal structures in video data to further enhance performance.
Summary updated