In the world of machine learning, we often assume that "better" algorithms will consistently outperform "worse" ones. However, in Continual Learning (CL)—where models learn a sequence of tasks one after another—this assumption might be fundamentally broken.
A new paper titled "What Is the Influence of Task Order in Continual Learning?" reveals that the order in which tasks arrive can be more influential than the algorithm itself. By conducting an exhaustive study on motion forecasting, the authors show that our current benchmarking practices might be hiding more than they reveal.
TL;DR
Task order is a "hidden" variable in continual learning that can account for up to 91% of performance variation, often completely flipping algorithm rankings. This study finds that the identity of the starting task is the single most critical factor, and it proposes a new, order-aware evaluation protocol to make CL benchmarks more reliable.
What Problem Does This Paper Address?
Most continual learning research evaluates algorithms on a single, fixed sequence of tasks. But in the real world—like a self-driving car encountering different cities—the order of tasks is unpredictable.
If Algorithm A beats Algorithm B on sequence 1 -> 2 -> 3, but loses on 3 -> 2 -> 1, which one is actually better? Currently, we don't know, because most benchmarks ignore this "order effect." This paper tackles the challenge of quantifying how much task order influences results and how to design evaluations that aren't biased by an arbitrary sequence choice.
Methods
The researchers moved beyond the "one-and-done" sequence approach. They formulated algorithm comparison as an expectation over a distribution of task orders.
Key components of their approach include:
- Exhaustive Enumeration: For a set of 4 tasks, they tested all $4! = 24$ possible sequences.
- Variance Decomposition: They used statistical tools to split performance variation into four buckets: the effect of the order, the algorithm, their interaction, and simple training noise.
- Transition-Direction Descriptor ($D(o)$): A novel metric that uses task distribution distances (like Wasserstein-1 distance on vehicle speed) to characterize whether a sequence is getting "easier" or "harder" over time.
- Replicate Bootstrap: A method to calculate the probability that an algorithm is truly the leader, accounting for run-to-run randomness.
Datasets
The study focuses on motion forecasting using the INTERACTION dataset. They defined four distinct tasks based on road layouts:
- Urban Merge (A): Smallest dataset, high complexity.
- Highway Merge (B): High speeds, ramp entries.
- Intersection (C): Complex crossing interactions.
- Roundabout (D): Circular motion and exits.
Task A is notably 10 to 25 times smaller than the others, creating a significant "cold start" challenge when it appears first in a sequence.
Key Insights and Ideas
- The "Starting Task" Trap: Between 90% and 99% of the total order effect comes from the identity of the very first task. If a model starts with a small, difficult task (like Task A), it fails to build a solid initial representation, which cripples its performance for the rest of the sequence.
- The BWT Mirage: "Backward Transfer" (BWT) is a standard metric meant to show how much a model remembers. The authors found it can be highly misleading. A model that starts terribly and then "recovers" will show a massive negative BWT (indicating "improvement"), making it look superior to a model that was consistently good from the start.
- Order > Algorithm: In many cases, the performance gap caused by changing the task order is much larger than the gap between the best and worst algorithms.
- Warm-Starts Matter: Once you move past the first task (the "warm-start" phase), the influence of order drops significantly and becomes comparable to standard training noise.
Key Results
The authors compared four algorithms: Vanilla fine-tuning, DER (Dark Experience Replay), SyReM (Synergetic Memory Rehearsal), and GSM (Gradient Scenario Memory).
- Variation Explained: Task order accounted for 65% to 91% of the variation in current-task error and backward transfer.
- SyReM's Robustness: While rankings flipped across orders, SyReM emerged as the most consistent leader, especially when evaluated on final error rather than improvement-based metrics like BWT.
- Separability: In many orders, the "leader" was within one standard deviation of the runner-up, meaning many reported "wins" in CL literature might just be statistical noise or order-dependent flukes.
Limitations and Future Work
The primary limitation is scale: the study used 4 tasks, allowing for full enumeration of 24 orders. As the number of tasks ($N$) grows, the number of orders ($N!$) explodes. Future work will need to develop smart sampling strategies to represent the order distribution without running thousands of experiments.
Additionally, while the "starting task effect" is clear in motion forecasting, it remains to be seen if this holds true in other domains like computer vision or natural language processing. The authors call for future benchmarks to explicitly declare their "order policy" and report "warm-start" and "final" errors to provide a clearer picture of algorithm performance.
Summary updated