Abstract
In supervised continual learning, a deep neural network (DNN) is updated with an ever-growing data stream. Unlike the offline setting where data is shuffled, we cannot make any distributional assumptions about the data stream. Ideally, only one pass through the dataset is needed for computational efficiency. However, existing methods are inadequate and make many assumptions that cannot be made for real-world applications, while simultaneously failing to improve computational efficiency. In this paper, we propose a novel continual learning method, SIESTA based on wake/sleep framework for training, which is well aligned to the needs of on-device learning. The major goal of SIESTA is to advance compute efficient continual learning so that DNNs can be updated efficiently using far less time and energy. The principal innovations of SIESTA are: 1) rapid online updates using a rehearsal-free, backpropagation-free, and data-driven network update rule during its wake phase, and 2) expedited memory consolidation using a compute-restricted rehearsal policy during its sleep phase. For memory efficiency, SIESTA adapts latent rehearsal using memory indexing from REMIND. Compared to REMIND and prior arts, SIESTA is far more computationally efficient, enabling continual learning on ImageNet-1K in under 2 hours on a single GPU; moreover, in the augmentation-free setting it matches the performance of the offline learner, a milestone critical to driving adoption of continual learning in real-world applications.
Introduction
Continual Learning (CL) aims to enable models to learn from a continuous stream of data without forgetting previous knowledge. However, current CL algorithms often suffer from "computational bankruptcy," requiring more resources than simple offline retraining. Many methods also rely on unrealistic assumptions, such as predefined task boundaries or i.i.d. data distributions. For practical deployment on edge devices like smartphones or autonomous robots, CL systems must be fast, energy-efficient, and robust to non-stationary data streams.
The SIESTA Framework: Wake and Sleep Cycles
SIESTA (Sleep Integration for Episodic STreAming) addresses these challenges by mimicking biological learning through a dual-phase architecture.
Wake Phase: Rapid Online Acquisition
During the "Wake" phase, the model encounters new streaming data. To ensure near real-time performance, this phase is entirely backpropagation-free. The system uses a frozen feature extractor (backbone) to generate latent representations. These features are then used to update the output layer via a running class mean, providing immediate inference capabilities. Simultaneously, the features are compressed using Product Quantization (PQ) and stored in a memory buffer. This latent rehearsal approach allows SIESTA to store significantly more samples (up to 10x) than methods storing raw images.
Sleep Phase: Efficient Memory Consolidation
Memory consolidation occurs during the "Sleep" phase, typically when the device is idle. SIESTA performs latent rehearsal by reconstructing features from the PQ-compressed storage. These reconstructed features are used to fine-tune the upper layers of the network using standard backpropagation. To maintain efficiency, SIESTA employs a compute-restricted policy, limiting the number of updates during sleep to prevent excessive energy consumption and weight perturbation.
Experimental Evaluation
SIESTA was evaluated on large-scale benchmarks including ImageNet-1K, Places365 (Standard and Long-Tailed), and CUB-200.
Computational Efficiency and Accuracy
A key highlight of SIESTA is its extreme efficiency. It completes training on ImageNet-1K in just 1.9 hours on a single NVIDIA A5000 GPU, whereas many state-of-the-art (SOTA) methods require days or massive distributed compute.
In terms of accuracy, SIESTA achieves a milestone: in an augmentation-free setting, it matches the Top-5 accuracy of an offline learner (88.33%). When data augmentations are enabled, it reaches 90.67% Top-5 accuracy, outperforming recent methods like DyTox and DER while requiring far fewer updates.
Key Insights
- Decoupling Acquisition and Consolidation: The success of the backprop-free Wake phase demonstrates that immediate learning can be achieved through prototype updates, provided a consolidation phase follows.
- Latent Rehearsal Scalability: Storing quantized features instead of raw pixels is crucial for memory-constrained environments, enabling a much larger effective rehearsal buffer.
- The "Sleep" Balance: Frequent sleep cycles can destabilize weights; SIESTA finds an optimal balance between learning new information and preserving old knowledge through its compute-restricted policy.
Conclusion and Future Directions
SIESTA represents a significant step toward practical on-device continual learning by drastically reducing the computational overhead of training. While it currently relies on a frozen feature extractor, future work could explore the use of more robust self-supervised backbones or extending the framework to Vision Transformers. By aligning the training process with the natural constraints of edge hardware, SIESTA paves the way for truly autonomous, lifelong learning systems.
Summary updated