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

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

Introduction

Continual Learning (CL) aims to develop AI systems capable of learning a sequence of tasks without suffering from "catastrophic forgetting"—the tendency of neural networks to lose previously acquired knowledge when learning new information. Recently, the field has undergone a paradigm shift with the integration of foundation models, such as Vision Transformers (ViT) pre-trained on massive datasets. While these models have significantly boosted performance, they have also introduced new challenges that traditional evaluation metrics fail to address.

The Crisis of Static Benchmarks

As CL research matures, two primary issues have emerged that threaten the validity of current progress:

  1. Data Contamination: Foundation models are often pre-trained on vast swaths of the internet. Consequently, the "downstream" test data used in standard CL benchmarks may have been included in the pre-training corpus, leading to artificially inflated performance scores.
  2. Performance Saturation: Static benchmarks like CIFAR-100 or ImageNet-R are increasingly "solved." Models frequently reach a performance ceiling, making it difficult to distinguish the true efficacy of different CL algorithms in complex, real-world scenarios.

To address these issues, the CLDyB (Continual Learning on Dynamic Benchmarks) framework proposes a shift from static task sequences to a dynamic, adversarial approach that identifies the specific vulnerabilities of a model.

Methodology: Benchmarking as an MDP

CLDyB reformulates the benchmarking process as an infinite-state Markov Decision Process (MDP). In this framework, the environment consists of the CL model's current state (its parameters), and the action involves selecting the next task from a massive pool of candidate tasks.

The system is guided by a reward function designed to maximize the difficulty of the sequence. Difficulty is defined as the difference between Average Forgetting (AFM) and Average Learning Accuracy (ALA). By maximizing this reward, CLDyB identifies task sequences that are simultaneously the hardest to learn and the most likely to induce forgetting.

Action Space Reduction and Optimization

Searching through every possible combination of classes is computationally prohibitive. To manage this, CLDyB introduces two key innovations:

  • Greedy Task Sampling: This method selects classes that are difficult to distinguish within the feature space of the model.
  • Functional Task Clustering: Tasks are grouped based on the similarity of model failure patterns, allowing the system to explore diverse types of challenges.

To navigate the resulting tree of possible task sequences, the framework employs Monte Carlo Tree Search (MCTS) with a truncated lookahead. This allows the system to efficiently find the most challenging path for a given model without exhaustive search.

Experimental Setup and Data Diversity

The authors established a comprehensive data pool to test the framework:

  • Photographic Data Pool: A collection of 22 public datasets (including Food-101, Animal-90, and Oxford5k), comprising over 2.5 million images across 2,403 categories.
  • AI-Generated Data: To ensure the benchmark can evolve alongside future foundation models, the authors used SDXL to generate 360 new classes of animals and products in various artistic styles. This demonstrates CLDyB's potential for "self-evolution" to combat future data contamination.

Key Findings

1. Exposing Hidden Vulnerabilities

Task sequences generated by CLDyB proved significantly more challenging than random sequences. Across nine state-of-the-art CL methods, CLDyB-generated sequences resulted in a 26% reduction in final accuracy and a 9% reduction in knowledge retention. This suggests that current SOTA methods are less robust than static benchmarks imply.

2. Superior Correlation with Real-World Performance

The study found that performance on static benchmarks like CIFAR-100 has a relatively low correlation (SRCC ~0.64) with performance on unseen, held-out real-world tasks. In contrast, performance on CLDyB sequences showed a much higher correlation (SRCC ~0.96), indicating that dynamic benchmarking is a better predictor of real-world reliability.

3. The Plasticity-Stability Trade-off

By analyzing performance across different task sequences, the authors identified distinct profiles for various CL algorithms. Some methods exhibit high stability (retaining old knowledge) but low plasticity (struggling to learn dissimilar new tasks), while others show the opposite. CLDyB allows researchers to visualize these trade-offs more clearly than static benchmarks.

Limitations and Future Work

Despite its advantages, CLDyB faces challenges regarding computational cost, as running MCTS with full model training is resource-intensive. Currently, the framework uses a truncated horizon to maintain feasibility. Furthermore, while CLDyB mitigates the impact of data contamination, it does not yet provide a direct metric for quantifying the degree of contamination in a foundation model.

Future research will focus on expanding the framework to other domains such as Natural Language Processing (LLMs) and embodied AI, as well as developing a fully automated, "closed-loop" system for generating adversarial data to continuously stress-test evolving models.

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