TL;DR
The paper introduces DualCD (Dual Causal Disentanglement), a lightweight, plug-and-play framework designed to tackle catastrophic forgetting in domain-incremental time series classification. By separating temporal features into causal and spurious components and applying dual causal interventions, DualCD ensures models make predictions based on robust, class-invariant features. It achieves state-of-the-art performance across multiple benchmarks and introduces a more reliable evaluation metric, Performance-aware Relative Forgetting (PRF).
What Problem Does This Paper Address?
Deep learning models excel at Time Series Classification (TSC) when data comes from a static, well-defined domain. However, real-world applications often involve a stream of new domains over time—such as human activity data collected from entirely different age groups or medical sensor data from new patients. This setup is known as Domain-Incremental Time Series Classification (DI-TSC).
In DI-TSC, models suffer from catastrophic forgetting: as they adapt to new domains, their performance on previously learned domains plummets. This happens because standard classifiers easily latch onto spurious features (shortcuts unique to a specific domain, like the lower step frequency of an older adult running) rather than causal features (the core periodic acceleration that defines "running" regardless of age).
The authors identify two main types of interference that trick classifiers into learning these shortcuts:
- Intra-class interference: The same class exhibits different feature distributions across different domains.
- Inter-class interference: Different classes share highly similar feature representations across different domains (e.g., an older adult running might look like a younger person walking).
Methods
To counteract these interferences, the authors propose DualCD, a model-agnostic framework that can be seamlessly integrated into existing time series architectures (such as DLinear or PatchTST).
The framework consists of two core components:
1. Temporal Feature Disentanglement
DualCD passes the temporal representations generated by a base encoder through an orthogonal disentanglement module. Using a single-layer MLP and Sigmoid functions, it creates two negatively correlated soft masks ($M_R$ and $M_I$). These masks split the overall feature embedding into non-overlapping causal features ($Z_R$) and spurious features ($Z_I$).
2. Dual Causal Intervention Perturbation
Inspired by causal do-calculus, this mechanism forces the classification head to rely strictly on causal features by creating synthetic variant samples during training:
- Intra-class perturbation: Replaces a sample's spurious features with those from another random sample of the same class. This breaks the correlation between domain-specific styles and the class label.
- Inter-class perturbation: Replaces a sample's spurious features with causal features from a different class.
The model is optimized using a joint loss function ($\mathcal{L} = \lambda\mathcal{L}_{intra} + (1-\lambda)\mathcal{L}_{inter}$) that forces it to correctly classify these perturbed variant samples based solely on their intact causal features.
A Better Metric: PRF
The authors also note a flaw in traditional metrics like Relative Forgetting (RF): a model with terrible initial accuracy can score well on RF simply because it has very little accuracy left to lose. They introduce Performance-aware Relative Forgetting (PRF), which scales the forgetting rate by the model's overall performance, penalizing inaccurate models.
Datasets
The authors established a comprehensive benchmark called DI-TSC using four standard time series datasets adapted into domain-incremental streams:
- HAR (Human Activity Recognition): Sensor recordings from 30 users, grouped into 10 distinct domains.
- HHAR (Heterogeneous HAR): Sensor recordings from 9 users, treated as 9 individual domains.
- ISRUC-S3: A sleep EEG dataset with 10 subjects treated as 10 individual domains.
- Sleep-EDF: A sleep EEG dataset with 20 subjects grouped into 10 domains.
Key Insights and Ideas
- Classifiers are the Weak Link: While advanced temporal encoders are great at capturing complex patterns, standard fully connected classification heads easily overfit to domain shortcuts. DualCD fixes the classifier's focus rather than redesigning the encoder.
- Orthogonality Prevents Information Leakage: Enforcing negatively correlated masks ($M$ and $-M$) guarantees that features are cleanly partitioned into causal and spurious buckets without overlapping information.
- Causal Intervention via Shuffling: Instead of trying to explicitly map complex causal graphs, DualCD elegantly simulates causal interventions by shuffling features across samples during training.
Key Results
DualCD was evaluated against 12 baseline methods (7 standard TSC models and 5 domain-incremental continual learning models) and achieved state-of-the-art performance across the board.
- Accuracy Boosts: Compared to the top-performing time series baseline (DisMS-TS), DualCD improved classification accuracy by 3.94% on HAR, 6.72% on HHAR, 9.00% on ISRUC, and 4.01% on Sleep-EDF.
- Forgetting Reduction: DualCD significantly reduced relative forgetting, showing up to a 20.65% reduction in RF compared to DisMS-TS.
- Plug-and-Play Compatibility: When added to a simple model like DLinear, DualCD achieved up to an 81.67% improvement in accuracy (on HHAR) and up to a 78.07% reduction in PRF (on HAR).
Qualitative t-SNE visualizations confirm that the causal representations ($Z_R$) learned by DualCD form much tighter, well-separated class clusters with clearer decision boundaries than vanilla models.
Limitations and Future Work
The primary limitation acknowledged by the authors is that DualCD operates within a single-dataset constraint. Because it relies on consistent feature dimensions and semantics across streaming domains, it cannot be directly applied to cross-dataset scenarios where the number of variables or sensor channels changes entirely.
In future work, the authors plan to explore variable alignment techniques and domain-invariant representation learning to extend DualCD's capabilities to cross-dataset generalization.
Summary updated