In the world of machine learning, researchers often worry about "catastrophic forgetting"—the tendency of models to lose old knowledge when learning new tasks. But what if there’s a more dangerous, quieter enemy? A new paper, "Where is the Truth? The Risk of Getting Confounded in a Continual World," argues that continual confounding is a far greater challenge than forgetting.
The authors demonstrate that when spurious correlations change over time, models often learn "shortcuts" that prevent them from ever discovering the underlying truth, even if they have access to all the data they've ever seen.
The Core Problem: Insidious Continual Confounding
Machine learning models are notorious for taking shortcuts. They often learn spurious correlations—like associating a "white background" with an "arctic fox"—instead of the actual features of the subject. In a static setting, we can often mitigate this by training on a large, diverse dataset where these shortcuts average out.
However, the real world is continual. Data arrives in a stream, and the shortcuts available today might be different from the ones available tomorrow. The authors identify a fundamental gap: while continual learning (CL) research focuses heavily on retaining information, it largely ignores how the temporal order of data can bake in biases.
They show that even if a model perfectly remembers every task it has ever seen, the mere act of learning them sequentially can lead it down a path where it fails to generalize to unconfounded data. This phenomenon is termed insidious continual confounding: sequential learning prevents models from finding ground-truth rules that are easily discovered during joint training.
Methodology and Datasets
To study this, the authors provide a formal logical framework to describe continual confounding, distinguishing between two settings:
- Disjoint: Confounders are unique to their specific tasks and never appear elsewhere.
- Strict: Confounders are informative for their specific task but may appear randomly (and uninformatively) in other tasks.
The primary contribution for evaluation is the ConCon (Continually Confounded) dataset, built on the CLEVR framework.
- Ground Truth: A consistent rule (e.g., "image contains a sphere and a small cube") determines the class for all tasks.
- Confounders: Each task has a task-specific shortcut (e.g., Task 1: "blue object," Task 2: "metal object").
- Unconfounded Test Set: A "clean" version of the data containing only the ground truth rule to test true generalization.
The authors evaluated 11 different approaches, including standard Neural Networks (ResNet-18) and Neuro-Symbolic (NeSy) models, across various CL strategies like Experience Replay (ER), Elastic Weight Consolidation (EWC), and "Cumulative Training" (where the model has an infinite memory buffer). They also conducted expanded experiments using ImageNet classes grouped by dominant colors to validate their findings on natural images.
Key Insights and Results
The results on the Strict ConCon dataset are striking and challenge the conventional wisdom that cumulative training represents a performance upper bound:
- Joint Training: Achieved 95.7% accuracy on unconfounded data. By seeing all data at once, the model easily found the ground truth.
- Cumulative Training (Infinite Memory): Only reached 72.6% accuracy. Despite having access to all data, training sequentially caused the model to get "confounded" by early shortcuts.
- Standard CL Methods: Most methods (ER, DER, EWC) hovered around 50% accuracy on unconfounded data, despite having near 100% accuracy on the confounded training tasks.
These findings highlight several critical insights:
- Forgetting is the wrong metric: Many CL methods successfully "solved" the confounded tasks by learning a disjunction of shortcuts. When tested on unconfounded data, they performed no better than a random guess.
- Path Dependency: The order of tasks creates a logical path. Once a model learns a simple shortcut that works for Task 1, it becomes much harder for it to "unlearn" that shortcut in favor of a more complex ground-truth rule later, even if the shortcut eventually fails.
Future Directions
The authors acknowledge that ConCon is a synthetic dataset with relatively simple, single-object confounders, whereas real-world confounding is often multi-faceted.
Future research must look beyond simply "not forgetting." Models must actively seek the truth across the entire data stream. Promising directions include developing CL methods that use causal reasoning or bias mitigation to actively reject shortcuts, and investigating whether "causal rehearsal" can bridge the gap between cumulative and joint training.
Summary updated