TL;DR
This paper introduces "Online Continual Learning for Progressive Distribution Shift" (OCL-PDS), a new problem formulation that better reflects real-world industrial challenges where data distributions change subtly and continuously over time. They provide new benchmarks and evaluate existing methods, revealing that current approaches often make assumptions not aligned with practical deployment, especially concerning forgetting and storage.
What Problem Does This Paper Address?
Modern deep learning models often suffer from a significant performance drop when deployed in real-world scenarios due to "progressive distribution shift" (PDS). This refers to the subtle, gradual, and continuous change in the data distribution over time, a phenomenon widely observed in industries like e-commerce, finance, and healthcare. Existing research in continual learning (CL) and domain adaptation (DA) often makes assumptions that don't align with these practical challenges. For instance, they might assume clear boundaries between distinct tasks or domains, or that models must perfectly retain knowledge from all past tasks. This paper aims to bridge the gap between academic research and industry by proposing a more realistic problem setting and evaluating methods under these conditions.
Methods
The authors introduce the OCL-PDS (Online Continual Learning for Progressive Distribution Shift) problem. Key aspects of their formulation include:
- Task-free: No explicit task boundaries are assumed; the distribution shift is continuous.
- Online Training and Evaluation: Models are evaluated on new data before being trained on it, mimicking a real-time deployment scenario.
- "Forgetting is Allowed" (with caveats): Instead of perfect retention, the focus is on retaining recent and important knowledge, defined by a "regression set."
- Infinite Storage: While acknowledging this is an idealization, it shifts focus from buffer management to other OCL challenges.
They also propose a specific divergence function, the ε-KL-divergence, designed to be asymmetric and bounded, suitable for measuring gradual shifts.
Datasets
The authors introduce 4 new benchmarks for OCL-PDS, built from existing "Wilds" datasets:
- CivilComments-WPDS: Toxic language detection on social media, modeling shifts in hot topics.
- FMoW-WPDS: Satellite image classification, modeling temporal shifts.
- Amazon-WPDS: Review sentiment analysis, modeling shifts in language use.
- Poverty-WPDS: Satellite image wealth index regression, modeling temporal shifts.
These benchmarks are constructed using a 3-step procedure involving data grouping, OOD checks, assigning shifting group weights, continuity checks, and designing a regression set. They aim to be more realistic than existing benchmarks by reflecting gradual, continuous shifts and incorporating a regression set for critical knowledge retention.
Key Insights and Ideas
- Industry vs. Academia Gap: The paper strongly emphasizes that many academic CL/DA settings (e.g., distinct task boundaries, perfect memory) are not representative of real-world industrial deployment.
- The Importance of "Recent" Knowledge: The idea that models don't need to remember everything from the distant past is crucial. Focusing on recent data is more practical and often more relevant.
- Regression Tasks are Harder: Existing CL methods, often tested on classification, struggle with regression tasks, showing a significant performance drop.
- Semi-Supervised Learning is Key: Leveraging unlabeled data (via pseudo-labeling and FixMatch) significantly improves online performance, even with limited labeled data.
- Virtual Update is Critical for SSL: For semi-supervised methods like FixMatch, a "virtual update" step (preliminary model update on new labeled data) is essential for effective pseudo-label generation and overall performance.
Key Results
- OCL-PDS is Challenging: Naïve baselines (FBO, NBO) perform poorly, highlighting the need for specialized OCL algorithms.
- Semi-Supervised Methods Shine: Methods incorporating pseudo-labeling (PL) and FixMatch (FM) generally outperform purely supervised methods, especially when combined with effective replay strategies like ER-FIFO-RW.
- Trade-offs Exist: On some benchmarks (e.g., CivilComments-WPDS), there's a clear trade-off between online performance and regression set performance, indicating that optimizing for one can hurt the other.
- FixMatch Outperforms Pseudo-Labeling: The FixMatch variant of semi-supervised learning generally shows better results than basic pseudo-labeling.
- Virtual Update Benefits: For FixMatch, even one epoch of virtual update significantly boosts performance, with more epochs yielding diminishing returns or even negative impacts on regression performance.
Limitations and Future Work
- Infinite Storage Assumption: While simplifying the problem, this is an idealization. Future work could explore efficient storage strategies.
- Divergence Function Limitations: The ε-KL-divergence, while useful, cannot measure the similarity between domains. Future work could explore better divergence measures.
- Abrupt Shifts: The current formulation assumes gradual shifts. Real-world scenarios can involve abrupt shifts, which are not explicitly handled. The authors suggest exploring OOD detection methods for this.
- Benchmark Realism: While improved, the authors acknowledge that their benchmarks are still a step towards, not a perfect replica of, real-world PDS. They hope for more realistic datasets in the future.
Summary updated