Abstract
Cross-domain time series imputation is an underexplored data-centric research task that presents significant challenges, particularly when the target domain suffers from high missing rates and domain shifts in temporal dynamics. Existing time series imputation approaches primarily focus on the single-domain setting, which cannot effectively adapt to a new domain with domain shifts. Meanwhile, conventional domain adaptation techniques struggle with data incompleteness, as they typically assume the data from both source and target domains are fully observed to enable adaptation. For the problem of cross-domain time series imputation, missing values introduce high uncertainty that hinders distribution alignment, making existing adaptation strategies ineffective. Specifically, our proposed solution tackles this problem from three perspectives: (i) Data: We introduce a frequency-based time series interpolation strategy that integrates shared spectral components from both domains while retaining domain-specific temporal structures, constructing informative priors for imputation. (ii) Model: We design a diffusion-based imputation model that effectively learns domain-shared representations and captures domain-specific temporal dependencies with dedicated denoising networks. (iii) Algorithm: We further propose a cross-domain consistency alignment strategy that selectively regularizes output-level domain discrepancies, enabling effective knowledge transfer while preserving domain-specific characteristics. Extensive experiments on three real-world datasets demonstrate the superiority of our proposed approach.
Introduction
Time series data, such as sensor readings from air quality monitors or power grids, frequently suffers from missing values due to sensor failures or transmission errors. While many models exist for imputation, they often struggle when data is extremely sparse. A logical solution is Domain Adaptation (DA), which leverages data from a similar "source" domain to assist a "target" domain. However, cross-domain imputation faces a "triple threat": high missingness makes characterizing the true distribution difficult, standard models fail to distinguish between shared and unique patterns, and rigid alignment can lead to negative transfer by overfitting on source-specific quirks.
To address these challenges, we introduce CD²-TSI (Cross-Domain Conditional Diffusion Model for Time Series Imputation), a framework that integrates frequency-domain data augmentation, a shared-specific diffusion architecture, and a selective alignment strategy.
Methodology
The CD²-TSI framework addresses the cross-domain imputation problem through three key innovations:
1. Frequency-based Interpolation (FMixup)
Instead of simple linear interpolation, CD²-TSI uses FMixup. This strategy transforms data using a Fast Fourier Transform (FFT) and mixes low-frequency components (representing general trends like seasonality) from both domains while keeping high-frequency components (local noise and specific details) domain-specific. This creates a more informative prior for the diffusion model than time-domain interpolation.
2. Diffusion-based Imputation Model
The architecture employs a Conditional Diffusion Model based on Denoising Diffusion Probabilistic Models (DDPM). It uses shared convolutional layers to capture universal temporal features while maintaining dedicated, domain-specific denoising networks to handle unique dynamics.
3. Cross-Domain Consistency Alignment (CDCA)
The CDCA algorithm selectively regularizes output-level domain discrepancies. Rather than forcing strict alignment, it uses a dual-threshold approach: it only enforces alignment when the discrepancy is moderate. This prevents the model from amplifying noise (when differences are small) or "corrupting" the target domain with source-specific patterns (when differences are large).
Experiments and Results
Datasets
The model was evaluated on three real-world datasets:
- Air Quality: PM2.5 measurements from Beijing (Source) and Tianjin (Target).
- Hydrology: River flow and sediment concentration from various U.S. stations.
- Electricity: Power load and oil temperature data from two regions in China (ETTh1 and ETTh2).
Experiments simulated both point missing (randomly scattered gaps) and block missing (continuous chunks) patterns.
Performance
CD²-TSI consistently outperformed state-of-the-art imputation models (e.g., CSDI, PriSTI) and standard DA methods (e.g., CDAN).
- Accuracy: On the Air Quality dataset, it achieved a 4.41% improvement in RMSE and a 5.46% improvement in MAE over the best baselines.
- Robustness: Performance remained stable even as missing rates increased to 50%, whereas other models showed significant degradation.
- Efficiency: Despite the complexity of diffusion models, CD²-TSI maintains competitive training times compared to standard DA methods while providing superior accuracy.
Conclusion
CD²-TSI provides a robust framework for cross-domain time series imputation by effectively balancing shared knowledge and domain-specific characteristics. By leveraging the frequency domain for priors and selective alignment for regularization, the model overcomes the limitations of traditional domain adaptation in sparse data scenarios. Future work will explore extreme missingness scenarios and heterogeneous cross-domain tasks where sensor types or variables differ between domains.
Summary updated