Sequence Transferability and Task Order Selection in Continual Learning

Thinh Nguyen, Cuong N. Nguyen, Quang Pham, Binh T. Nguyen, Savitha Ramasamy, Xiaoli LiarXiv 2025 · DOI

TL;DR

This paper introduces novel metrics, Total Forward Transferability (TFT) and Total Reverse Transferability (TRT), to quantify how well a sequence of tasks allows a continual learning model to learn. They then leverage these metrics to develop a heuristic algorithm (HCTOS) that intelligently selects the order of tasks, significantly outperforming random ordering in improving model accuracy.

What Problem Does This Paper Address?

Continual Learning (CL) aims to build AI systems that can learn new tasks sequentially without forgetting old ones. While significant progress has been made in developing CL algorithms, a crucial gap remains: understanding how the order in which tasks are presented affects the final model's performance. In real-world scenarios, tasks often arrive in batches, and their order isn't fixed. Presenting them in a suboptimal order can lead to catastrophic forgetting and reduced accuracy. This paper addresses this by proposing methods to measure the "transferability" of a task sequence and using this understanding to solve the task order selection problem.

Methods

The core of this paper lies in two novel sequence transferability measures:

  • Total Forward Transferability (TFT): This metric quantifies how easily a CL model can learn subsequent tasks in a sequence. It's calculated by averaging the transferability of the model before learning a new task to that new task. This captures the model's ability to leverage past knowledge for future learning.
  • Total Reverse Transferability (TRT): This metric measures how well the final model retains or improves knowledge of previous tasks. It's calculated by averaging the transferability of the final model to each of the preceding tasks. This is particularly relevant for CL evaluation, which often tests the final model on all tasks.

These measures are built upon existing transferability metrics from transfer learning (like LogME), which estimate the ease of transferring knowledge between two tasks. The authors then propose the Heuristic Continual Task Order Selection (HCTOS) algorithm. For a given batch of tasks, HCTOS iteratively selects the next task by choosing the one that minimizes the sum of transferability scores to all remaining unselected tasks. The intuition is that by picking tasks that are "harder" to transfer to initially (or that are less related to future tasks), the model can build a stronger foundation, leading to better overall forward transfer and thus higher final accuracy.

Datasets

The authors evaluated their methods on three standard CL benchmarks:

  • Split mutual-CIFAR-10: The original CIFAR-10 dataset split into 5 tasks, with one overlapping class between consecutive tasks.
  • Split CIFAR-100: The CIFAR-100 dataset split into 10 disjoint tasks.
  • Split tiny-ImageNet: A subset of ImageNet split into 10 non-overlapping tasks.

Key Insights and Ideas

  • Sequence Matters: The order of tasks isn't just a minor detail; it significantly impacts the final performance of CL models.
  • Transferability as a Proxy: The proposed TFT and TRT metrics are empirically shown to be strongly correlated with the average accuracy of CL algorithms, making them useful for predicting performance without full training.
  • Forward vs. Backward Transfer: TFT and TRT capture different but complementary aspects of CL performance, addressing the "stability-plasticity dilemma" (balancing retaining old knowledge with learning new knowledge).
  • Intelligent Ordering Pays Off: A heuristic approach to task ordering, guided by transferability, can outperform random ordering, suggesting that CL systems can be made more robust and accurate by intelligently managing task presentation.
  • Robustness of HCTOS: The HCTOS method demonstrates robustness to the choice of the base transferability metric and the amount of data used to estimate it, making it practical for real-world applications.

Key Results

  • TFT/TRT Correlation: CL algorithms with higher average accuracy generally exhibit higher TFT and TRT values.
  • Task Sequence Correlation: For a given CL algorithm, the average accuracy on different random task sequences is well-correlated with the TFT and TRT values of those sequences.
  • HCTOS Performance: The HCTOS algorithm consistently achieved higher average accuracy compared to random task ordering across both single-batch and multiple-batch settings on the Split CIFAR-100 benchmark. For instance, in the single-batch setting, HCTOS achieved an average accuracy of approximately 0.77, while random ordering achieved around 0.74.
  • HCTOS Robustness: HCTOS showed high robustness to the number of samples used for training the simple models (used for transferability estimation) and performed well with different base transferability metrics, though LogME yielded the best results.

Limitations and Future Work

  • Computational Cost: The proposed TFT and TRT measures, while more efficient than full CL training, still require training a simple model for each task to estimate transferability. The authors acknowledge that developing sequence transferability measures that do not require any CL training is a subject for future research.
  • Heuristic Approach: HCTOS is a heuristic method. While effective, it doesn't guarantee the absolute optimal task order, especially in complex, multi-batch scenarios.
  • Generalizability of Metrics: The paper focuses on classification tasks. Extending these sequence transferability measures and the HCTOS algorithm to other CL settings (e.g., regression, reinforcement learning) would be a valuable future direction.
  • Hyperparameter Sensitivity: While HCTOS is shown to be robust to some choices, further investigation into the optimal selection of the base transferability metric and the simple model architecture for different CL algorithms and datasets could be beneficial.

Summary updated

BibTeX
@misc{nguyen2025sequence,
  author = {Thinh Nguyen and Cuong N. Nguyen and Quang Pham and Binh T. Nguyen and Savitha Ramasamy and Xiaoli Li and Cuong V. Nguyen},
  title = {{Sequence Transferability and Task Order Selection in Continual Learning}},
  year = {2025},
  eprint = {2502.06544},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.06544},
}
Figure