DuoCL: Dual-Path Online Continual Learning

Jebacyril Arockiaraj, Dhruv Parikh, Rajgopal Kannan, Viktor PrasannaarXiv 2026 · arXiv

TL;DR

DuoCL is a dual-path framework for online continual learning that balances rapid adaptation with deep representation learning. By combining a "fast" analytic path that learns from every incoming data point with a "slow" budget-aware path for periodic backbone updates, it achieves a ~10% accuracy boost over state-of-the-art methods under strict computational constraints.

What Problem Does This Paper Address?

In Online Continual Learning (OCL), a model must learn from a non-stationary stream of data. A major real-world hurdle is that data often arrives faster than a model can train.

Standard gradient-based methods are computationally heavy; if the "data arrival rate" exceeds the "training throughput," the model is forced to skip minibatches, missing out on valuable learning opportunities. On the other hand, "analytic" methods are incredibly fast because they use closed-form solutions to update only the final classifier layer. However, they typically rely on a frozen backbone, meaning the model can't adapt its internal feature representations to new or shifting data distributions.

The authors ask: Can a model keep pace with a high-speed data stream while still periodically adapting its backbone under limited compute and memory budgets?

Figure 1. Comparison of OCL approaches under a computational budget. (a) Frozen analytic methods update a closed-form classifier from accumulated feature statistics G and C for every incoming minibatch at low cost, but the fixed backbone limits adaptation. (b) Gradient- based OCL methods adapt the backbone, but must skip minibatches for training when their computational demand exceeds the budget (ρ > 1). (c) DuoCL accumulates feature statistics for every incoming minibatch through the fast path, while the slow path periodically adapts the backbone using samples retained from the previous window and aligns G and C with the updated features.

Methods

DuoCL introduces a coordinated dual-path architecture:

  1. The Fast Path (Online Analytic Learning): This path processes every incoming minibatch. It reuses the features extracted during the inference pass to update two summary matrices ($G$ and $C$) that capture feature statistics. Because this is just matrix accumulation, it's computationally cheap and ensures no data is ignored.
  2. The Slow Path (Periodic Backbone Adaptation): Every $K$ minibatches, the system triggers a gradient-based update. It uses a small "reservoir" of recent samples to fine-tune the backbone (or LoRA adapters for Transformers). Crucially, the number of samples used is dynamically scaled based on the available hardware FLOPs, ensuring the model never falls behind the stream.
  3. Drift-Aware Feature Alignment: This is the "secret sauce." When the slow path updates the backbone, the previously accumulated statistics in the fast path ($G$ and $C$) become "stale" because they were calculated using the old feature space. DuoCL estimates a linear transformation to map these old statistics into the new feature space, maintaining consistency without needing to re-process the entire history of data.
Figure 3. Overview of DuoCL over two consecutive windows of K minibatches. The fast path predicts every minibatch and updates G and C after label revelation. Reservoir sampling collects up to m current-window samples in Qcurr, while the slow path adapts the backbone using previous-window samples in Qprev. At the next window boundary, feature alignment updates the accumulated statistics and the classifier W is rebuilt.

Datasets

The authors evaluated DuoCL across ten diverse benchmarks to test different aspects of continual learning:

  • Standard: CIFAR-10, CIFAR-100.
  • Temporal Evolution: CLEAR-10, CLEAR-100.
  • Large-scale/Natural Shifts: CLOC (Visual Data stream).
  • Robustness: CIFAR-C (images with corruptions like noise and blur).
  • Distribution Shifts: ImageNet-R (artistic renditions), ImageNet-S (sketches).
  • Fine-grained/Object Recognition: CUB-200, CORe50.

Key Insights and Ideas

  • Decoupling Accumulation from Adaptation: By separating the gathering of information (fast path) from the refining of representations (slow path), DuoCL avoids the "all-or-nothing" trap of gradient-based OCL where samples are simply discarded if the GPU is busy.
  • Handling Representation Drift: The paper highlights that backbone adaptation is a double-edged sword. While it improves features for new data, it invalidates historical statistics. Their closed-form feature alignment is a computationally efficient way to bridge this gap.
  • Budget as a First-Class Citizen: Unlike many OCL papers that assume infinite time per minibatch, DuoCL explicitly models the relationship between data arrival rate ($r$) and device throughput ($P$), making it highly relevant for edge computing and real-time robotics.

Key Results

  • Superior Accuracy: Across four datasets and three different compute budgets, DuoCL outperformed the strongest gradient-based baselines by an average of 9.67 percentage points.
  • Resilience to Compute Scarcity: In "Low" budget settings (where data arrives very fast), DuoCL's gains were even more dramatic—up to 21.26 points on CLEAR-100—because it continued to learn from the stream while baselines were forced to skip most of it.
  • Distribution Shift Mastery: On CIFAR-C, DuoCL beat pure analytic methods (which have frozen backbones) by up to 4.00 percentage points, proving that periodic backbone adaptation is vital when the environment changes (see Figure 4).
  • Real-world Performance: On the large-scale CLOC dataset, DuoCL consistently maintained higher monthly accuracy than analytic-only baselines over years of simulated data.
Figure 4. Accuracy under distribution shifts on CIFAR-C.

Limitations and Future Work

  • Analytic Complexity: The analytic solve involves inverting a $d \times d$ matrix, which has $O(d^3)$ complexity. While manageable for standard feature dimensions (e.g., 512 or 768), it could become a bottleneck for extremely high-dimensional embeddings.
  • Pre-training Dependency: Like many modern CL methods, DuoCL benefits significantly from a good pre-trained starting point (e.g., ImageNet-pretrained ResNet or ViT). Its performance on "from-scratch" learning in highly alien domains remains an open question.
  • Future Directions: The authors suggest exploring more sophisticated alignment techniques beyond linear transformations and extending the dual-path concept to other modalities like audio or sensor data streams.

Summary updated

Abstract

Online continual learning (OCL) requires learning from a data stream whose arrival rate is independent of model training speed. When training cannot keep pace, computationally expensive gradient-based methods update less frequently, limiting adaptation. Analytic methods reduce this overhead, but their frozen backbones cannot adapt representations to changing distributions. We propose DuoCL, a dual-path OCL framework whose fast analytic path accumulates feature statistics from every incoming minibatch while its slow path periodically adapts the backbone. The slow path adjusts its sample count to the available compute budget without interrupting fast-path learning. Feature alignment compensates for drift in the accumulated classifier statistics. Across four datasets and three computational budgets, DuoCL improves online accuracy by an average of 9.67 percentage points over the strongest gradient-based baseline in each setting. DuoCL consistently outperforms analytic learning under distribution shifts, with gains of up to 4.00 percentage points on CIFAR-C, and achieves higher accuracy than prior methods across disjoint class-incremental, domain-incremental, and Si-Blurry settings.
BibTeX
@misc{arockiaraj2026duocl,
  author = {Jebacyril Arockiaraj and Dhruv Parikh and Rajgopal Kannan and Viktor Prasanna},
  title = {{DuoCL: Dual-Path Online Continual Learning}},
  year = {2026},
  eprint = {2611.23598},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23598},
}
Figure