CLDyB: Towards Dynamic Benchmarking for Continual Learning with Pre-trained Models

Shengzhuang Chen, Yikai Liao, Xiaoxiao Sun, Kede Ma, Ying Wei

TL;DR

Current continual learning (CL) benchmarks are often static and "saturated," making it hard to tell if progress comes from better algorithms or just better pre-trained models. CLDyB introduces a dynamic benchmarking framework that treats task selection as a Markov Decision Process, using Monte Carlo Tree Search to find the most challenging task sequences that expose the true vulnerabilities of CL methods.

What Problem Does This Paper Address?

Continual Learning (CL) aims to train models on a sequence of tasks without "catastrophic forgetting"—where learning new information wipes out old knowledge. In the era of foundation models (like ViT or CLIP), CL has seen a massive performance boost. However, this success comes with two major caveats:

  1. Data Contamination: Foundation models are trained on such vast amounts of data that they may have already seen the "downstream" test tasks during pre-training. This makes benchmarks look easier than they actually are.
  2. Performance Saturation: Static benchmarks (like CIFAR-100) use fixed, often random task orders. Top models now perform so well on these that marginal gains are no longer meaningful.

The authors argue that we need "adversarial" benchmarks—sequences of tasks specifically designed to challenge a model’s stability (retaining old knowledge) and plasticity (learning new things).

Methods

The authors propose CLDyB (Continual Learning on Dynamic Benchmarks). They frame benchmarking as a game where the "benchmarker" wants to pick the hardest possible sequence of tasks for a given set of CL algorithms.

The CLDyB system diagram showing candidate task construction and optimal task identification.

The framework operates in two main stages:

  • Candidate Task Set Construction: Since there are billions of ways to combine classes into tasks, CLDyB first narrows the field. It uses greedy task sampling to pick classes that are visually similar (and thus harder to distinguish) and functional task clustering to ensure the candidate tasks challenge the models in diverse ways.
  • Optimal Task Identification: To find the most difficult order of tasks, the system uses Monte Carlo Tree Search (MCTS). It looks ahead to see how a specific task choice today will affect the model's ability to learn or remember in the future. The "reward" for the search is a score that increases when the model forgets more or struggles to learn the new task.

Datasets

To ensure a diverse "playground," the authors assembled a massive data pool of 26 datasets, totaling over 2.5 million images across 2,403 categories.

  • Photographic Data: Includes standard sets like Food-101, Sun397, and specialized ones like Animal-90 and Butterfly-75.
  • AI-Generated Data: Crucially, they used SDXL (a generative diffusion model) to create new, synthetic animal and product categories. This allows the benchmark to expand indefinitely, preventing performance saturation over time.

Key Insights and Ideas

  • Benchmarking as an MDP: The most innovative leap is treating evaluation not as a fixed test, but as a sequential decision process. This acknowledges that the difficulty of Task B depends entirely on what the model learned in Task A.
  • Algorithm-Dependent Difficulty: A sequence that is hard for a "replay-based" method (which keeps a small buffer of old images) might be easy for a "prompt-based" method. CLDyB can tailor sequences to find the specific "breaking point" of any algorithm.
  • Generalizability of Hardship: Interestingly, task sequences found to be hard for one group of models tended to be hard for all models. This suggests that CLDyB identifies inherently difficult learning trajectories that are useful for standardized benchmarking.

Key Results

The authors tested nine state-of-the-art CL methods. The results were sobering:

  • Significant Performance Drop: On sequences generated by CLDyB, models saw a 26% reduction in final accuracy compared to random task sequences. This proves that current "state-of-the-art" performance is often an artifact of easy task ordering.
  • Better Correlation: CLDyB performance correlates much more strongly (Spearman’s rank of 0.964) with performance on unseen, "held-out" real-world scenarios than traditional static benchmarks do.
  • Multi-Dimensional Trade-offs: The framework revealed that while "exemplar-replay" methods have high plasticity, they are memory-intensive. Conversely, parameter-efficient fine-tuning (PEFT) methods often struggle with "forward transfer"—the ability of prior knowledge to help learn new tasks.
A radar chart comparing different CL methods across dimensions like Accuracy, Forgetting, and Memory Efficiency.

Limitations and Future Work

While powerful, CLDyB is computationally expensive. Running MCTS requires training models multiple times during the search process. To manage this, the authors used a "truncated lookahead" (looking only one step into the future), which might miss long-term dependencies.

Future work includes:

  • Efficiency: Integrating learned "value estimators" to predict how hard a task will be without actually training the model.
  • Expansion: Moving beyond image recognition into domains like video, text, and embodied AI (robotics).
  • Self-Evolving Pools: Developing a system where the benchmark automatically generates new AI data whenever models start to "solve" the existing pool.

Summary updated

BibTeX
@inproceedings{chen2025cldyb,
  author = {Shengzhuang Chen and Yikai Liao and Xiaoxiao Sun and Kede Ma and Ying Wei},
  title = {{CLDyB: Towards Dynamic Benchmarking for Continual Learning with Pre-trained Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=RnxwxGXxex},
}
Figure