Schedule-Robust Online Continual Learning

Ruohan Wang, Marco Ciccone, Giulia Luise, Andrew Yapp, Massimiliano Pontil, Carlo Ciliberto

TL;DR

Standard continual learning (CL) models collapse when the order or pacing of incoming data deviates from standard benchmark assumptions. This paper introduces SCROLL, a two-stage approach combining schedule-invariant linear online learning with replay-only adaptation, delivering stable, state-of-the-art performance regardless of how the data stream is structured.

What Problem Does This Paper Address?

In continual learning, algorithms process a non-stationary stream of data over time without catastrophically forgetting previously seen classes. Typically, researchers evaluate algorithms on fixed, artificial "schedules"—such as receiving 10 distinct classes at a time in cleanly demarcated batches.

However, real-world data arrival is messy: classes may arrive incrementally, alternate unpredictably, or blur together over varying time windows. When evaluated on non-standard schedules, existing CL algorithms suffer drastic performance drops. To fix this gap, the authors formalize schedule-robustness: the requirement that a continual learning algorithm should achieve consistent generalization performance regardless of the presentation order or batching schedule over the same underlying dataset.

Methods

The authors propose SCROLL (SChedule-Robust Online continuaL Learning), an online class-incremental framework built around a two-stage pipeline:

  1. Schedule-Invariant Online Predictor:
  2. A pre-trained feature extractor ($\psi$) is held fixed during the online streaming phase.
  3. The classification head ($\phi$) is updated incrementally using closed-form, order-invariant formulations: either a Nearest Centroid Classifier (NCC) tracking running class averages, or Ridge Regression updated via recursive least squares. Because these updates are based on cumulative sample summations, the resulting predictor $f_T$ is mathematically invariant to sample order and batch size.
  4. Predictor Adaptation via Experience Replay (ER):
  5. A replay buffer ($M$) stores exemplars selected via deterministic greedy moment matching per class.
  6. Crucially, unlike standard CL methods that continuously mix current stream batches with replay samples, SCROLL adapts its predictor only using replay data after streaming (or on-demand).
  7. Adaptation Strategy: To prevent severe overfitting with small replay buffers ($|M| \le 500$), residual convolutional adapter layers are inserted into the frozen backbone and trained with cross-entropy. For larger buffers ($|M| > 500$), the full network is fine-tuned.
  8. Pre-training as a Meta-Learning Prior:
  9. The authors show that pre-training the backbone via standard multi-class classification acts as a tractable, theoretically justified surrogate (an upper bound) for solving the expensive meta-continual learning optimization problem.

Datasets

  • Pre-training Datasets:
  • Meta-Dataset: Used to pre-train a ResNet-18 feature extractor on classes completely disjoint from CIFAR.
  • miniIMAGENET (Meta-training split): 38,400 images across 64 classes used to pre-train a ResNet-12 backbone.
  • Evaluation Benchmarks:
  • Sequential CIFAR-10: Evaluated across 5-split and 10-split variations.
  • Sequential CIFAR-100: Evaluated across 5-, 10-, 25-, and 50-split schedules (varying from 20 classes per batch down to 2 classes per batch), as well as a continuous, boundary-free Gaussian schedule.
  • miniIMAGENET (Meta-test split): 20 novel classes streamed across 10 sequential binary tasks.
  • New Benchmarks: No brand-new datasets were created, but existing datasets were systematically re-partitioned into finer-grained splits and continuous Gaussian streams to rigorously stress-test schedule variations.

Key Insights and Ideas

  • Order invariance through closed-form linear updates: By decoupling representation learning from streaming classification, simple linear classifiers (NCC, Ridge Regression) can assimilate new classes online without suffering from cross-class interference or catastrophic forgetting.
  • Separating the stream from model fine-tuning: Conventional replay methods update parameters jointly on streaming and replay batches, creating complex optimization dynamics that are highly sensitive to scheduling. Restricting non-linear representation adaptation strictly to the balanced replay buffer isolates the model from streaming variance.
  • Granularity exposes catastrophic failure in standard CL: When CIFAR-100 is split into 50 tasks (2 classes each) instead of 5 or 10, the accuracy of standard online and offline methods (e.g., ER-ACE, DER++) plummets by 15–30%. In contrast, SCROLL maintains virtually flat, robust performance across all schedule splits.

Key Results

  • CIFAR-100 Superiority: On the standard 10-split CIFAR-100 benchmark:
  • With a buffer size of $|M| = 2000$, SCROLL (Ridge) achieves 68.0% accuracy, outperforming the best online baseline (GDumb at 59.8%) and leading offline methods (DER++ at 59.1%).
  • In the low-memory regime ($|M| = 200$), SCROLL achieves 59.9%, significantly beating online competitors (SSIL at 46.6%, ER-ACE at 40.3%).
  • Schedule Invariance: When CIFAR-100 is fragmented into 50 splits (2 classes per split), baseline performances drop steeply (e.g., ER-AML drops to 13.2%, DER++ to 18.2% at $|M|=200$). SCROLL (Ridge) maintains 59.9% accuracy, demonstrating true schedule-robustness.
  • miniIMAGENET: On a 10-split setup, SCROLL (Ridge) attains 80.9% ($|M|=200$) and 82.0% ($|M|=500$), outperforming leading offline methods like DER++ (68.8% and 78.0%).
  • Memory-Free Performance: Even with no replay memory ($|M|=0$), the raw streaming Ridge predictor ($f_T$) achieves 57.1% on CIFAR-100, remaining competitive with several baseline methods that utilize full replay buffers.

Limitations and Future Work

  • Frozen Backbone During Streaming: The feature extractor does not update directly on the streaming data; updates happen only during replay adaptation. The authors identify periodic representation updating while preserving schedule-robustness as an open problem.
  • Architectural Specificity: The residual adapter design used for low-buffer regimes is tailored to convolutional neural networks; extending these adapter schemes to Transformer backbones remains for future work.

Summary updated

BibTeX
@inproceedings{wang2023schedule,
  author = {Ruohan Wang and Marco Ciccone and Giulia Luise and Andrew Yapp and Massimiliano Pontil and Carlo Ciliberto},
  title = {{Schedule-Robust Online Continual Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=bkxynaG3Vm7},
}
Figure