Table of Contents
Fetching ...

Temporal Restoration and Spatial Rewiring for Source-Free Multivariate Time Series Domain Adaptation

Peiliang Gong, Yucheng Wang, Min Wu, Zhenghua Chen, Xiaoli Li, Daoqiang Zhang

TL;DR

TERSE is proposed, a novel and concise SFDA method tailored for MTS data that comprises a customized spatial-temporal feature encoder designed to capture the underlying spatial-temporal characteristics, coupled with both temporal restoration and spatial rewiring tasks to reinstate latent representations of the temporally masked time series and the spatially masked correlated structures.

Abstract

Source-Free Domain Adaptation (SFDA) aims to adapt a pre-trained model from an annotated source domain to an unlabelled target domain without accessing the source data, thereby preserving data privacy. While existing SFDA methods have proven effective in reducing reliance on source data, they struggle to perform well on multivariate time series (MTS) due to their failure to consider the intrinsic spatial correlations inherent in MTS data. These spatial correlations are crucial for accurately representing MTS data and preserving invariant information across domains. To address this challenge, we propose Temporal Restoration and Spatial Rewiring (TERSE), a novel and concise SFDA method tailored for MTS data. Specifically, TERSE comprises a customized spatial-temporal feature encoder designed to capture the underlying spatial-temporal characteristics, coupled with both temporal restoration and spatial rewiring tasks to reinstate latent representations of the temporally masked time series and the spatially masked correlated structures. During the target adaptation phase, the target encoder is guided to produce spatially and temporally consistent features with the source domain by leveraging the source pre-trained temporal restoration and spatial rewiring networks. Therefore, TERSE can effectively model and transfer spatial-temporal dependencies across domains, facilitating implicit feature alignment. In addition, as the first approach to simultaneously consider spatial-temporal consistency in MTS-SFDA, TERSE can also be integrated as a versatile plug-and-play module into established SFDA methods. Extensive experiments on three real-world time series datasets demonstrate the effectiveness and versatility of our approach.

Temporal Restoration and Spatial Rewiring for Source-Free Multivariate Time Series Domain Adaptation

TL;DR

TERSE is proposed, a novel and concise SFDA method tailored for MTS data that comprises a customized spatial-temporal feature encoder designed to capture the underlying spatial-temporal characteristics, coupled with both temporal restoration and spatial rewiring tasks to reinstate latent representations of the temporally masked time series and the spatially masked correlated structures.

Abstract

Source-Free Domain Adaptation (SFDA) aims to adapt a pre-trained model from an annotated source domain to an unlabelled target domain without accessing the source data, thereby preserving data privacy. While existing SFDA methods have proven effective in reducing reliance on source data, they struggle to perform well on multivariate time series (MTS) due to their failure to consider the intrinsic spatial correlations inherent in MTS data. These spatial correlations are crucial for accurately representing MTS data and preserving invariant information across domains. To address this challenge, we propose Temporal Restoration and Spatial Rewiring (TERSE), a novel and concise SFDA method tailored for MTS data. Specifically, TERSE comprises a customized spatial-temporal feature encoder designed to capture the underlying spatial-temporal characteristics, coupled with both temporal restoration and spatial rewiring tasks to reinstate latent representations of the temporally masked time series and the spatially masked correlated structures. During the target adaptation phase, the target encoder is guided to produce spatially and temporally consistent features with the source domain by leveraging the source pre-trained temporal restoration and spatial rewiring networks. Therefore, TERSE can effectively model and transfer spatial-temporal dependencies across domains, facilitating implicit feature alignment. In addition, as the first approach to simultaneously consider spatial-temporal consistency in MTS-SFDA, TERSE can also be integrated as a versatile plug-and-play module into established SFDA methods. Extensive experiments on three real-world time series datasets demonstrate the effectiveness and versatility of our approach.

Paper Structure

This paper contains 42 sections, 9 equations, 4 figures, 16 tables, 1 algorithm.

Figures (4)

  • Figure 1: Overview of TERSE. (a). Pre-training: The feature encoder $f_\theta$ and classifier $g_\theta$ is trained using cross-entropy loss $\mathcal{L}_{cls}$. Besides, the spatial rewiring network $s_\theta$ and temporal restoration network $t_\theta$ are trained by $\mathcal{L}_{sr}^{S}$ and $\mathcal{L}_{tr}^{S}$. Gradient stopping is applied here to ensure that auxiliary tasks do not negatively affect the pre-training performance. (b). Adaptation: The target feature encoder $f_\theta$ is jointly fine-tuned with both information maximum loss $\mathcal{L}_{im}^{T}$ and our proposed spatial rewiring loss $\mathcal{L}_{sr}^{T}$ and temporal restoration loss $\mathcal{L}_{tr}^{T}$ while ensuring the spatial-temporal consistency adaptation with source domain.
  • Figure 2: Effect of varying weight for the model parameters.
  • Figure 3: The t-SNE feature visualizations of source and target domains on the UCIHAR dataset.
  • Figure 4: Effect of temporal and spatial masking ratios.