Introduction
Standard Continual Learning (CL) research often assumes idealized conditions where models have access to labels for every data point or unlimited time to process incoming information. However, real-world platforms like YouTube or Snapchat face a different reality: billions of daily uploads, only a tiny fraction of which can be manually labeled, and a strict requirement to finish training on today's data before tomorrow's arrives.
The authors introduce the "CL on Diet" setting to model these constraints. In this scenario, a model $f_t$ must learn from a massive stream of data where labels are sparse and the computational budget is strictly limited.
Two primary challenges emerge in these "diet" conditions:
- Overfitting: With sparse labels, models tend to memorize specific examples rather than learning generalizable features.
- The Stability Gap: Low-compute scenarios often lead to models "forgetting" old tasks before mastering new ones, causing significant performance drops.
The DietCL Framework
To address these challenges, the researchers propose DietCL, a framework designed for label efficiency and computational leanness. DietCL is built on three pillars:
- Joint Optimization with MAE: DietCL integrates supervised and unsupervised learning into a single loss function. It utilizes a Masked Autoencoder (MAE) to reconstruct missing image patches from unlabeled data. This serves as a powerful regularizer, preventing the model from overfitting to the few available labels.
- Masked Classification: To reduce confusion in high-cardinality environments (e.g., thousands of classes), the algorithm masks out logits for classes not present in the current data stream.
- Dynamic Budget Allocation: DietCL intelligently manages its computational resources. When compute is extremely tight, it balances time between new labeled data, unlabeled data, and a memory buffer of past examples. If additional compute becomes available, instead of over-training on sparse new labels, DietCL prioritizes the buffer to better preserve historical knowledge.
Experimental Setup
The study evaluates DietCL on three large-scale, real-world benchmarks that move beyond traditional toy datasets:
- ImageNet10k: A class-incremental setup featuring nearly 10,000 classes.
- CLOC (Continual Localization): 38 million images used for geolocating photos based on timestamps.
- CGLM (Continual Google Landmarks): Over 580,000 landmarks reflecting natural distribution shifts over time.
Key Results and Insights
DietCL demonstrates a significant performance leap over existing supervised and semi-supervised baselines. On ImageNet10k with only 1% of data labeled, DietCL achieved 16.82% final accuracy, significantly outperforming the best supervised method (Replay at 14.89%) and semi-supervised method (CaSSLe at 5.78%).
Key takeaways from the evaluation include:
- Compute Efficiency: Unlike previous semi-supervised methods that require thousands of steps, DietCL converges in roughly 500 steps, making it suitable for real-time streaming.
- The Role of Unlabeled Data: Even under tight compute constraints, allocating resources to self-supervised reconstruction (MAE) improves generalization more effectively than spending all compute on sparse labels.
- MAE vs. Contrastive Learning: DietCL favors MAE over contrastive methods (like SimCLR) because MAE is more computationally efficient, requiring fewer forward passes and allowing the model to process more data within the same time budget.
Conclusion and Future Directions
DietCL provides a robust baseline for realistic continual learning. Future work may involve automating the budget allocation threshold ($B$) based on real-time loss signals, exploring the framework's performance on non-ViT architectures like ConvNets, and investigating more complex self-supervised tasks to further improve regularization in sparse-label environments.
Summary updated