# CALDA: Improving Multi-Source Time Series Domain Adaptation with Contrastive Adversarial Learning

arXiv: https://arxiv.org/abs/2109.14778 · HTML: https://mlsanity.com/paper/2109.14778/

## Key facts

- Cited by 23 papers in the map (data through 14 Oct 2026).
- Builds on 26 of its 65 references that are in the map.
- First posted on arXiv 30 Sep 2021.

## Builds on (most cited first, 26 of 26)

- [A Simple Framework for Contrastive Learning of Visual Representations](https://mlsanity.com/paper/2002.05709/) (2020)
- [Representation Learning with Contrastive Predictive Coding](https://mlsanity.com/paper/1807.03748/) (2018)
- [Momentum Contrast for Unsupervised Visual Representation Learning](https://mlsanity.com/paper/1911.05722/) (2019)
- [Domain-Adversarial Training of Neural Networks](https://mlsanity.com/paper/1505.07818/) (2015)
- [FaceNet: A Unified Embedding for Face Recognition and Clustering](https://mlsanity.com/paper/1503.03832/) (2015)
- [Supervised Contrastive Learning](https://mlsanity.com/paper/2004.11362/) (2020)
- [Deep learning for time series classification: a review](https://mlsanity.com/paper/1809.04356/) (2018)
- [Contrastive Adaptation Network for Unsupervised Domain Adaptation](https://mlsanity.com/paper/1901.00976/) (2019)
- [A Survey of Unsupervised Deep Domain Adaptation](https://mlsanity.com/paper/1812.02849/) (2018)
- [Time Series Classification from Scratch with Deep Neural Networks: A Strong Baseline](https://mlsanity.com/paper/1611.06455/) (2016)
- [An Empirical Survey of Data Augmentation for Time Series Classification with Neural Networks](https://mlsanity.com/paper/2007.15951/) (2020)
- [Controllable Invariance through Adversarial Feature Learning](https://mlsanity.com/paper/1705.11122/) (2017)
- [Constrained Convolutional Neural Networks for Weakly Supervised Segmentation](https://mlsanity.com/paper/1506.03648/) (2015)
- [Multi-Source Deep Domain Adaptation with Weak Supervision for Time-Series Sensor Data](https://mlsanity.com/paper/2005.10996/) (2020)
- [Multi-Source Domain Adaptation with Mixture of Experts](https://mlsanity.com/paper/1809.02256/) (2018)
- [Time Series Domain Adaptation via Sparse Associative Structure Alignment](https://mlsanity.com/paper/2012.11797/) (2020)
- [Are all negatives created equal in contrastive instance discrimination?](https://mlsanity.com/paper/2010.06682/) (2020)
- [Deep Learning for Electromyographic Hand Gesture Signal Classification Using Transfer Learning](https://mlsanity.com/paper/1801.07756/) (2018)
- [Pseudo-Labeling Curriculum for Unsupervised Domain Adaptation](https://mlsanity.com/paper/1908.00262/) (2019)
- [Tune it the Right Way: Unsupervised Validation of Domain Adaptation via Soft Neighborhood Density](https://mlsanity.com/paper/2108.10860/) (2021)
- [Adversarial Invariant Feature Learning with Accuracy Constraint for Domain Generalization](https://mlsanity.com/paper/1904.12543/) (2019)
- [Contrastive Domain Adaptation](https://mlsanity.com/paper/2103.15566/) (2021)
- [Gradient Regularized Contrastive Learning for Continual Domain Adaptation](https://mlsanity.com/paper/2007.12942/) (2020)
- [Dynamic Transfer for Multi-Source Domain Adaptation](https://mlsanity.com/paper/2103.10583/) (2021)
- [Joint Contrastive Learning for Unsupervised Domain Adaptation](https://mlsanity.com/paper/2006.10297/) (2020)
- [Domain Adaptation for sEMG-based Gesture Recognition with Recurrent Neural Networks](https://mlsanity.com/paper/1901.06958/) (2019)

## Built on by (most cited first, 23 of 23)

- [Domain Adaptation for Time Series Under Feature and Label Shifts](https://mlsanity.com/paper/2302.03133/) (2023)
- [A Survey on Time-Series Pre-Trained Models](https://mlsanity.com/paper/2305.10716/) (2023)
- [Contrastive Learning for Unsupervised Domain Adaptation of Time Series](https://mlsanity.com/paper/2206.06243/) (2022)
- [Contrastive Domain Adaptation for Time-Series via Temporal Mixup](https://mlsanity.com/paper/2212.01555/) (2022)
- [Source-Free Domain Adaptation with Temporal Imputation for Time Series Data](https://mlsanity.com/paper/2307.07542/) (2023)
- [Towards Foundation Models for Zero-Shot Time Series Anomaly Detection: Leveraging Synthetic Data and Relative Context Discrepancy](https://mlsanity.com/paper/2509.21190/) (2025)
- [CATS: Mitigating Correlation Shift for Multivariate Time Series Classification](https://mlsanity.com/paper/2504.04283/) (2025)
- [Temporal Source Recovery for Time-Series Source-Free Unsupervised Domain Adaptation](https://mlsanity.com/paper/2409.19635/) (2024)
- [Efficient Source-Free Time-Series Adaptation via Parameter Subspace Disentanglement](https://mlsanity.com/paper/2410.02147/) (2024)
- [CICADA: Cross-Domain Interpretable Coding for Anomaly Detection and Adaptation in Multivariate Time Series](https://mlsanity.com/paper/2505.00415/) (2025)
- [Domain Adaptation Under Behavioral and Temporal Shifts for Natural Time Series Mobile Activity Recognition](https://mlsanity.com/paper/2207.04367/) (2022)
- [Temporal Restoration and Spatial Rewiring for Source-Free Multivariate Time Series Domain Adaptation](https://mlsanity.com/paper/2505.21525/) (2025)
- [SEA++: Multi-Graph-based High-Order Sensor Alignment for Multivariate Time-Series Unsupervised Domain Adaptation](https://mlsanity.com/paper/2311.10806/) (2023)
- [Augmented Contrastive Clustering with Uncertainty-Aware Prototyping for Time Series Test Time Adaptation](https://mlsanity.com/paper/2501.01472/) (2025)
- [Time Series Domain Adaptation via Latent Invariant Causal Mechanism](https://mlsanity.com/paper/2502.16637/) (2025)
- [Improving the Transferability of Time Series Forecasting with Decomposition Adaptation](https://mlsanity.com/paper/2307.00066/) (2023)
- [Learning Compositional Transferability of Time Series for Source-Free Domain Adaptation](https://mlsanity.com/paper/2504.14994/) (2025)
- [VaCDA: Variational Contrastive Alignment-based Scalable Human Activity Recognition](https://mlsanity.com/paper/2505.04907/) (2025)
- [Advancing Knowledge Tracing by Exploring Follow-up Performance Trends](https://mlsanity.com/paper/2508.08019/) (2025)
- [Uncertainty Awareness on Unsupervised Domain Adaptation for Time Series Data](https://mlsanity.com/paper/2508.18630/) (2025)
- [Autonomous Source Knowledge Selection in Multi-Domain Adaptation](https://mlsanity.com/paper/2512.14710/) (2025)
- [Closing the Confusion Loop: CLIP-Guided Alignment for Source-Free Domain Adaptation](https://mlsanity.com/paper/2602.08730/) (2026)
- [Trustworthy AI in Digital Health: A Comprehensive Review of Robustness and Explainability](https://mlsanity.com/paper/2608.02238/) (2026)

## Abstract (arXiv)

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
