Southwest Jiaotong's CPNS Fixes AI Forgetting by Targeting Causal Shortcuts
A causal regularization plug-in called CPNS fixes a hidden flaw in expansion-based continual learning, boosting accuracy on every tested baseline without changing their architecture.
ProTakeaways
- Researchers propose CPNS, a plug-and-play causal regularizer for expansion-based Class-Incremental Learning (CIL) that prevents feature collision between tasks.
- The root cause identified: ERM training makes models rely on shortcut features, creating fragile representations that collide when new tasks introduce semantically similar classes.
- A dual-scope twin network generates two types of counterfactual features to enforce causal completeness within tasks and feature separability across tasks.
- CPNS boosts every tested baseline (DER, FOSTER, BEEF, TagFex) on all benchmarks, with up to +3.64% Last Accuracy on fine-grained CUB200.
- Gains are largest on fine-grained datasets with high inter-class similarity, where shortcut learning is most destructive.
- No public code repository is available yet; the paper is on arXiv.
Neural networks that learn new things tend to forget old ones. This is catastrophic forgetting, and it is one of the oldest unsolved problems in deep learning. The most elegant engineering solution so far has been expansion-based Class-Incremental Learning (CIL): instead of retraining a single model, you freeze the old backbone and spin up a fresh one for each new task, then concatenate all their features at inference time. Methods like DER, FOSTER, and TagFex have made this approach the state of the art. But a new paper from Southwest Jiaotong University argues that expansion-based methods are solving the wrong problem, and proposes a causal fix that slots into any of them as a drop-in regularizer.
The crack in the foundation
The standard expansion recipe works like this: freeze the old backbone, train a new one on the new task, concatenate features, classify. The assumption is that if the new backbone learns different features from the old one, the two will not interfere. But the paper shows this diversity-first strategy has a structural flaw rooted in how neural networks are trained.
The culprit is Empirical Risk Minimization (ERM), the standard training objective that simply minimizes prediction error on the training set. ERM does not care why a feature works, only that it does. So models trained with ERM latch onto the cheapest discriminative signal available, what the paper calls shortcut features. Think of a model learning to distinguish wolves from cats by focusing almost entirely on ear shape, ignoring fur texture, body posture, and eye structure.

This shortcut learning creates two distinct failure modes the paper formalizes as spurious correlations:
- Intra-task spurious correlations: Within a single task, the model captures only a minimal subset of the true causal features. These incomplete representations are fragile, and when a later task introduces semantically similar classes (say, huskies after wolves), the frozen wolf features cannot provide a robust enough anchor, forcing the new backbone to exploit yet another set of shortcuts.
- Inter-task spurious correlations: Across tasks, visually similar classes from different tasks end up sharing overlapping feature regions in the concatenated space, causing the classifier to confuse them at test time.
To verify this is actually happening and not just a theoretical concern, the authors measured Old-to-New Error on the CUB200 fine-grained bird dataset. They grouped old classes by how semantically similar they were to the current new classes, then tracked how often old-class samples got misclassified as new ones. Old classes with high semantic overlap to new classes showed substantially higher misclassification rates, confirming that incomplete representations of old classes are more easily disrupted by interference from new classes.
Causality as the fix
The paper's core insight is that the right lens for this problem is not representation diversity but causal completeness. A feature is causally complete if it captures all the attributes that are both necessary and sufficient to identify a class, not just the quickest shortcut that happens to work on the training distribution.
To operationalize this, the authors borrow a concept from Judea Pearl's causal inference framework: the Probability of Necessity and Sufficiency (PNS). PNS measures whether a cause variable is both sufficient to produce an outcome and necessary for it. A high PNS score means the feature is not just correlated with the label but causally responsible for it in both directions: removing the feature breaks the prediction, and adding it back restores it.
They extend PNS to the CIL setting, creating a new metric called CPNS (CIL-PNS) with two components:
- PNS_intra: Measures whether the current task's features are causally complete, not just minimally sufficient shortcuts.
- PNS_inter: Measures whether the current task's features remain discriminative even when the frozen old-task features are actively trying to absorb them, simulating the worst-case collision scenario.
Twin networks and counterfactual surgery
The challenge with PNS is that it requires counterfactual data: you need to know what would have happened to the prediction if the feature had been different. Real counterfactuals are unobservable by definition. The authors solve this with a dual-scope twin network, a pair of mirrored branches sharing weights that simultaneously runs the real world and a hypothetical world.
The hypothetical branch generates two types of counterfactual features via gradient-based perturbation:
- Intra-task counterfactuals (
c_intra): Computed by nudging the real feature in the direction that maximally disrupts the current-task prediction, subject to a KL-divergence constraint that keeps the perturbation semantically small. If the real feature is causally complete, even a maximally adversarial nudge should not flip the prediction easily. - Inter-task counterfactuals (
c_inter): Computed by pushing the current feature toward the frozen old-task feature space via a learned MLP projector. This simulates what the feature would look like if it had drifted into the old task's territory, the collision state the method is designed to prevent.
The CPNS risk is then minimized as a regularization term on top of whatever loss the base CIL method already uses. Training proceeds in two stages: first, intra-task causal learning stabilizes the feature extractor; then, joint causal learning adds the inter-task counterfactuals once the projector has calibrated. The whole thing is plug-and-play: no changes to the base model architecture are required.
What the numbers say
Experiments were run on three standard datasets (CIFAR-100, ImageNet-100, ImageNet-1000) and four fine-grained classification datasets (CUB200, Birds525, Flower102, Food101), covering both equal-split and half-split incremental scenarios.

The results are consistent across every baseline tested:
- On the challenging ImageNet-1000 100-100 benchmark, CPNS elevates the most competitive baseline TagFex, increasing Last Accuracy from 61.45% to 62.68% and Average Accuracy from 68.32% to 69.36%.
- On the fine-grained CUB200 dataset, standard baselines like DER experience substantial improvements, with Last accuracy increasing by up to 3.64%.
- On Flower102 and Food101, integrating CPNS into FOSTER improves Average accuracy by 2.17% and 1.55%, respectively.
The ablation study confirms that both components are needed. Simply combining both PNS_intra and PNS_inter modules without the two-stage training strategy causes a significant performance drop, confirming that without the sequential strategy, optimization lag between the feature extractor and projector leads to gradient imbalance.
The real unlock: causal robustness for long-horizon CIL
The gains on standard benchmarks are real but modest. The more interesting result is on fine-grained datasets, where inter-class similarity is high and shortcut learning is most damaging. An intervention-based evaluation on CUB200 progressively masked the most important semantic parts of each image. Baseline methods like DER showed sharp accuracy drops when even the top-ranked part was removed, while CPNS-augmented models showed significantly flatter degradation curves, indicating that the model distributes evidence across multiple semantically meaningful parts rather than relying on a single shortcut.
This matters practically for any deployment where the model will keep learning over time. A model built on shortcuts is brittle: it works until a new task introduces a class that shares those shortcuts, at which point old-task performance collapses. A causally complete model degrades more gracefully because its representations are anchored to the full semantic structure of each class.
The method is best suited for scenarios involving:
- Fine-grained visual classification where classes share many attributes (species identification, product variants, medical imaging subtypes)
- Long task sequences where the risk of shortcut collision compounds over many incremental steps
- Any expansion-based CIL pipeline where you want a drop-in improvement without redesigning the architecture
The main limitation is computational overhead from the two-stage training and the twin-network counterfactual generation. The paper reports that the gradient-based local perturbation is cheaper than transport-based counterfactual methods, but the added training stages do extend wall-clock time. There is also no code repository linked in the paper at time of writing, which limits immediate reproducibility. The method also inherits the memory buffer requirement of the base expansion methods it wraps, so it does not help in truly memory-free settings.
Still, the framing is compelling. Most continual learning research treats forgetting as a memory problem. This paper treats it as a causality problem, and the distinction turns out to matter, especially when tasks are semantically close to each other.