[Paper Review] CALDA: Improving Multi-Source Time Series Domain Adaptation with Contrastive Adversarial Learning
CALDA proposes a novel multi-source time series domain adaptation framework that synergistically combines contrastive learning and adversarial training to improve model transfer without relying on data augmentation or pseudo-labeling. It leverages cross-source label information and weak supervision to achieve state-of-the-art performance on real-world and synthetic time series datasets, even under noisy label conditions.
Unsupervised domain adaptation (UDA) provides a strategy for improving machine learning performance in data-rich (target) domains where ground truth labels are inaccessible but can be found in related (source) domains. In cases where meta-domain information such as label distributions is available, weak supervision can further boost performance. We propose a novel framework, CALDA, to tackle these two problems. CALDA synergistically combines the principles of contrastive learning and adversarial learning to robustly support multi-source UDA (MS-UDA) for time series data. Similar to prior methods, CALDA utilizes adversarial learning to align source and target feature representations. Unlike prior approaches, CALDA additionally leverages cross-source label information across domains. CALDA pulls examples with the same label close to each other, while pushing apart examples with different labels, reshaping the space through contrastive learning. Unlike prior contrastive adaptation methods, CALDA requires neither data augmentation nor pseudo labeling, which may be more challenging for time series. We empirically validate our proposed approach. Based on results from human activity recognition, electromyography, and synthetic datasets, we find utilizing cross-source information improves performance over prior time series and contrastive methods. Weak supervision further improves performance, even in the presence of noise, allowing CALDA to offer generalizable strategies for MS-UDA. Code is available at: https://github.com/floft/calda
Motivation & Objective
- Address the challenge of unsupervised domain adaptation in time series data where labeled data are unavailable in the target domain but exist in multiple source domains.
- Improve transfer performance by leveraging cross-source label information to better align feature representations across domains.
- Develop a method that does not depend on data augmentation or pseudo-labeling—commonly problematic in time series due to temporal structure.
- Integrate weak supervision via target domain class distribution to further boost performance, especially under noisy conditions.
- Demonstrate that both adversarial training and unlabeled target domain data are essential for optimal domain adaptation performance.
Proposed method
- Employ multi-source domain-adversarial training to learn domain-invariant feature representations by pitting a domain classifier against a feature extractor in a minimax game.
- Apply contrastive learning across source domains to pull together feature representations of samples with the same label while pushing apart those with different labels, using cross-source pairs.
- Design contrastive learning with three key decisions: (1) use cross-source pairs to exploit label consistency across domains, (2) include target data in contrastive learning only if it improves performance, and (3) prioritize hard examples based on domain complexity.
- Integrate weak supervision by incorporating target domain class distribution as a prior to guide the learning process and improve robustness to label noise.
- Train the model end-to-end using a joint loss combining adversarial, contrastive, and classification objectives, with no reliance on data augmentation or pseudo-labeling.
- Use a feature extractor followed by a task classifier and domain discriminator, jointly optimized to minimize domain shift and maximize target accuracy.
Experimental results
Research questions
- RQ1Can cross-source label information improve multi-source time series domain adaptation beyond what is achievable through domain-invariant feature learning alone?
- RQ2Does contrastive learning without data augmentation or pseudo-labeling yield performance gains in time series domain adaptation?
- RQ3How does the inclusion of unlabeled target domain data affect the performance of domain adaptation models in time series?
- RQ4To what extent does weak supervision via target class distribution improve robustness to label noise in multi-source domain adaptation?
- RQ5Is there a benefit to selecting hard examples or using mixed within-source and cross-source pairs in contrastive learning for time series?
Key findings
- CALDA outperforms prior methods on real-world time series datasets, achieving a mean accuracy of 73.9% ± 5.8 with weak supervision and 73.1% ± 6.1 without, significantly improving over baseline methods.
- On synthetic datasets, CALDA achieved 74.5% ± 8.7 accuracy with weak supervision and 71.4% ± 11.0 without, demonstrating consistent gains across data types.
- The inclusion of unlabeled target domain data significantly improved performance (p < 0.01), confirming its critical role in domain adaptation.
- CALDA demonstrated robustness to label proportion noise in weak supervision, maintaining high performance even when target class distributions were noisy.
- Contrastive learning with cross-source pairs improved performance over within-source or random pairing, validating the importance of inter-domain label consistency.
- Domain generalization baselines (e.g., CALDG-Any,R) outperformed both CoDATS-DG and other domain generalization methods, indicating that CALDA’s design generalizes beyond standard domain adaptation.
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.