[Paper Review] The Effect of Task Ordering in Continual Learning
This paper demonstrates that task ordering critically affects catastrophic forgetting in continual learning, proposing a novel method to optimize task sequence using curvature-based distance between tasks. By computing the Hessian-based curvature of gradient steps toward new tasks, the authors show that ordering can reduce forgetting by up to 50% compared to random sequences, establishing task order as a key hyperparameter for improved continual learning performance.
We investigate the effect of task ordering on continual learning performance. We conduct an extensive series of empirical experiments on synthetic and naturalistic datasets and show that reordering tasks significantly affects the amount of catastrophic forgetting. Connecting to the field of curriculum learning, we show that the effect of task ordering can be exploited to modify continual learning performance, and present a simple approach for doing so. Our method computes the distance between all pairs of tasks, where distance is defined as the source task curvature of a gradient step toward the target task. Using statistically rigorous methods and sound experimental design, we show that task ordering is an important aspect of continual learning that can be modified for improved performance.
Motivation & Objective
- To investigate how task ordering influences catastrophic forgetting in continual learning, challenging the assumption that benchmark results are independent of sequence order.
- To explore whether task ordering can be leveraged as a tool to improve continual learning performance, inspired by curriculum learning principles.
- To develop a practical method for constructing effective task orderings using model and task-level information, such as Hessian curvature and gradient steps.
- To empirically validate that task ordering is a significant source of variance in continual learning performance, often overlooked in standard benchmarks.
- To demonstrate that a path through task space with maximum cumulative curvature consistently outperforms random and minimum-curvature orderings.
Proposed method
- The method computes inter-task distance using the curvature of the first gradient step from the previous task's minimum toward the new task, based on the Hessian's spectral radius.
- A graph-based approach is used to find optimal task sequences, treating tasks as nodes and curvature-based distances as edges.
- The optimal path is selected as the one maximizing the sum of curvatures across consecutive task pairs, forming a 'max sum path'.
- The approach is evaluated on synthetic and real-world datasets (e.g., MNIST, CIFAR-10, CIFAR-100) using ReLU and ResNet architectures.
- Performance is measured via average forgetting across tasks, with statistical rigor applied across multiple random seeds and task sequences.
- The method operates under the assumption that task order is controllable—common in active learning and real-world deployment—without altering model capacity or hyperparameters.
Experimental results
Research questions
- RQ1Does the order in which tasks are presented significantly affect catastrophic forgetting in continual learning?
- RQ2Can task ordering be exploited to reduce catastrophic forgetting, even without changing model architecture or hyperparameters?
- RQ3Is there a principled way to compute inter-task distance that predicts the impact of ordering on forgetting?
- RQ4How does the max-sum curvature path compare to random, minimum-curvature, and true-distance-based orderings in mitigating forgetting?
- RQ5Does the effect of task ordering diminish as the number of tasks increases?
Key findings
- Task ordering has a significant and measurable effect on catastrophic forgetting, with performance varying substantially across different sequences.
- The max-sum curvature path—selecting tasks to maximize cumulative curvature—consistently outperforms random and minimum-curvature orderings, reducing forgetting by up to 50% in some settings.
- The effect of task ordering diminishes with increasing sequence length, as seen in comparisons between CIFAR-10 (t=5) and CIFAR-100 (t=10), where the variance in forgetting across orderings decreases.
- The longest path in terms of true task distance (based on ground-truth parameters) correlates with the lowest forgetting, supporting the hypothesis that increased separation reduces representational overlap.
- The proposed curvature-based method effectively captures inter-task relationships and enables systematic construction of improved task orderings without retraining.
- The study establishes that task ordering is a critical, previously underappreciated factor in continual learning, with implications for benchmarking and real-world deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.