CPDA: Class-Conditional Path Distribution Alignment for Unsupervised Time-Series Domain Adaptation

Felix Ott, Christopher MutschlerarXiv 2026

TL;DR

The authors introduce Class-Conditional Path Distribution Alignment (CPDA), a non-adversarial framework for unsupervised time-series domain adaptation. Instead of aligning global marginal features, CPDA aligns class-conditional latent path distributions using a novel composite signature-spectral kernel that captures temporal order, local dynamics, and frequency patterns. Evaluated across 13 benchmarks, CPDA demonstrates superior stability and performance compared to 30 baseline methods.

What Problem Does This Paper Address?

Unsupervised domain adaptation (UDA) helps transfer a classifier trained on a labeled source domain to an unlabeled target domain. In time-series applications—such as health monitoring or gesture recognition—distribution shifts frequently occur due to changes in users, sensors, or environmental conditions.

Most existing UDA methods attempt to solve this by aligning the marginal feature distributions of the two domains. However, the authors identify three critical flaws in this standard approach when applied to time-series data:

  1. Class Mismatch: Marginal alignment ignores class boundaries, meaning it can inadvertently align a "walking" sample from the source with a "running" sample from the target.
  2. Loss of Temporal Order: Standard discrepancies treat learned features as static, unordered vectors, completely discarding sequential dynamics.
  3. Inability to Capture Complex Dynamics: Simple low-order moment matching (like mean or covariance alignment) fails to capture non-Gaussian, periodic, or frequency-dependent variations.

Methods

CPDA addresses these gaps by shifting the focus from vector alignment to latent path alignment.

Figure 1: Overview of the proposed CPDA methodology. Source and target time-series are mapped to latent temporal paths by a shared feature extractor. CPDA constructs pooled, temporal-path, spectral, and signature-based representations from these latent paths and evaluates a composite kernel. Source labels and target soft pseudo-labels provide class-conditional weights.

The key components of the CPDA framework include:

  • Class-Conditional Alignment: CPDA aligns the distributions conditioned on each class. Since target labels are missing, it leverages soft pseudo-labels generated by the model to weight the target samples appropriately.
  • Augmented Latent Paths: Features are extracted as a sequence over time and augmented with explicit time coordinates and local increments to preserve temporal structure.
  • Composite Signature-Spectral Kernel: To measure the discrepancy between paths, CPDA uses a multi-kernel setup combining four complementary representations:
  • Pooled Features: Captures global semantic information.
  • Path Features: Preserves sequential ordering at the latent level.
  • Spectral Features: Extracts frequency-domain information via a discrete Fourier transform to capture periodic patterns.
  • Low-Rank Path-Signatures: Utilizes rough path theory to capture ordered cross-increment interactions and fine-grained non-linear dynamics.
  • Regularization: The framework integrates Virtual Adversarial Training (VAT) to smooth target-side decision boundaries and an information maximization loss to prevent class collapse during pseudo-labeling.

Datasets

The framework was comprehensively evaluated on 13 distinct time-series datasets spanning various modalities:

  • Human Activity & Health: HHAR, UCI HAR, WISDM, EEG (Sleep-EDF), and Epilepsy.
  • Gesture & Motion: uWave, Face Detection, and Finger Movements (univariate and multivariate).
  • Handwriting Recognition: PenDigits and OnHW (comprising symbols, equations, and characters).
  • Synthetic Benchmark: A controlled sin-cos waveform dataset used to analyze performance under progressively increasing noise levels.

No new real-world datasets were introduced in this paper.

Key Insights and Ideas

  • Unification of Discrepancy Losses: A fascinating theoretical contribution is that CPDA acts as a mathematical generalization of several classic UDA methods. The authors prove that standard MMD, CORAL, DAN, and HoMM are simply restricted cases or lower-order projections of the CPDA framework.
  • Paths over Vectors: Treating time-series representations as continuous trajectories (paths) rather than static vectors allows the model to align the underlying generative dynamics of the data rather than just feature statistics.
  • Guaranteed Target-Risk Bound: The authors derive a class-conditional target-risk bound, providing a solid theoretical guarantee that minimizing the CPDA discrepancy directly minimizes the target domain error.

Key Results

CPDA was benchmarked against 30 discrepancy-based, adversarial, and pseudo-labeling methods across three network backbones (CNN, ResNet18, and TCN).

Table 1: Results for all methods on the exemplary datasets HHAR, EEG, and uWave for CNN, ResNet18, and TCN backbones. Each entry reports accuracy in % and F1-score. Results for all datasets are given in App. K.2, including standard deviations.
  • Top-Tier Performance: CPDA achieved the highest accuracy and F1-scores in the majority of configurations, showing massive gains on datasets with distinct trajectory or gesture characteristics. For example, on the uWave dataset, CPDA reached 97.30% accuracy with a CNN backbone, outperforming strong competitors like CDAN and DIRT-T.
  • Robustness to Noise: On the synthetic sinusoidal benchmark, CPDA paired with a TCN backbone demonstrated exceptional resilience, maintaining high accuracy even as noise levels increased, outperforming the closest baseline by 15 to 30 percentage points in high-noise environments.
  • Stable Training Dynamics: Unlike adversarial methods that suffer from minimax instability, CPDA's training curves show steady, non-adversarial convergence.
Figure 2: Training dynamics of CPDA: losses, target regu- larization, effective weights, and target prediction statistics.

Limitations and Future Work

While highly effective for structured temporal data, CPDA exhibits some limitations:

  • Sensitivity to Pseudo-Label Quality: On highly heterogeneous or small datasets (like Finger Movements or Gestures Mid Air), target pseudo-labels can become unstable. If the initial pseudo-labels are noisy, the class-conditional alignment can suffer from negative transfer.
  • Backbone Dependency: CPDA's performance is tightly coupled with the backbone's capacity to extract meaningful temporal features; it yields fewer advantages when paired with architectures that do not inherently preserve temporal paths well (e.g., certain ResNet configurations on specific tasks).

For future work, exploring ways to dynamically adapt the kernel weights ($\alpha$) during training or coupling CPDA with self-supervised pre-training could further enhance its robustness on noisier benchmarks.

Summary updated

BibTeX
@misc{ott2026cpda,
  author = {Felix Ott and Christopher Mutschler},
  title = {{CPDA: Class-Conditional Path Distribution Alignment for Unsupervised Time-Series Domain Adaptation}},
  year = {2026},
  eprint = {2608.09193},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.09193},
}
Figure