Dataset Condensation Atlas

Method · Trajectory matching

CondTSC

Dataset Condensation for Time Series Classification via Dual Domain Matching

Zhanyu Liu, Ke Hao, Guanjie Zheng, Yanwei Yu

KDD 2024 · first public 2024-03-12 · arXiv 2403.07245

paper ↗code ↗catalogued✓ full text read

In one paragraph

CondTSC adapts image-style dataset condensation to time series classification with dual surrogate matching objectives computed in both the time and frequency domains (rather than time domain alone), combined with multi-view data augmentation and dual-domain training, to better capture the temporal and spectral structure that direct adaptations of image condensation methods miss. The paper reports outperforming other time-series and adapted image/graph condensation baselines, producing a condensed set that better matches the real data's distribution.

Explained

What came before

Dataset condensation for time series had not been systematically studied; the few applicable methods were image/graph condensation techniques (DD, DC, DSA, DM, MTT, IDC, HaBa) applied unmodified to raw time-domain sequences, using image-style random-pixel initialization and image-style augmentations (jittering, cropping).

The problem

Directly porting image/graph condensation to time series performs poorly because it only uses the time domain, ignoring that time series have periodicity/seasonality structure that is far more separable in the frequency domain (confirmed by the paper's own t-SNE visualization, Fig. 3, showing better class separation in frequency space); it also inherits image-style random-pixel initialization, which the paper finds empirically performs poorly for time series.

The idea

Match the same surrogate objectives (multi-step gradient matching, parameter-space embedding matching) used by prior image methods, but compute them in both the time domain and the Fourier-transformed frequency domain, and enrich the synthetic set at each step with additional frequency-based augmented views (low-pass filtering, phase perturbation, magnitude perturbation) so the matching signal draws on frequency structure the time domain alone does not expose.

How it works

Initialize the synthetic set $\mathcal{S}$ via K-means cluster centroids per class (not random samples, per the empirical finding above). At each training epoch, for each of four augmented views (raw, LPF, phase-perturbed, magnitude-perturbed — Eq. 5-8, sequentially applied via FFT/inverse-FFT), compute both the time-domain and frequency-domain (via FFT) versions of the view; train a network on $\mathcal{S}$ for $N{=}10$ steps and on real data $\mathcal{T}$ for $M{=}1000$ steps from the same sampled initialization $\theta_0\sim p(\theta)$ (approximated by real-data training trajectories, as in MTT), separately in each domain, to get $\hat\theta_N$ and $\bar\theta_M$; compute a multi-step gradient- matching loss $\mathcal{L}^{grad}=\|\hat\theta_N-\bar\theta_M\|^2/\|\theta_0-\bar\theta_M\|^2$ (Eq. 9-11, an MTT-style trajectory-matching term) and a parameter-space embedding-matching loss $\mathcal{L}^{emb}=\|\text{Mean}(\hat{H}_N)-\text{Mean}(\bar{H}_M)\|^2$ (Eq. 12-15, a DM-style distribution-matching term, but computed on embeddings from the trained trajectory parameters rather than random-network embeddings) in each domain; sum all four views' losses ($\mathcal{L}=\mathcal{L}_{raw}+\mathcal{L}_{LPF}+\mathcal{L}_{PP}+\mathcal{L}_{MP}$, each itself $\mathcal{L}_t^{grad}+\mathcal{L}_f^{grad}+\lambda(\mathcal{L}_t^{emb}+\mathcal{L}_f^{emb})$) and backpropagate to update $\mathcal{S}$. Stored artifact: only the time-domain synthetic sequences and hard labels (frequency-domain versions and augmented views exist only during synthesis).

Evidence

Table 2 (5 datasets — HAR, Electric, Insect, FD, Sleep — CNN+BN evaluator, hard labels, 10 baselines including DD/DC/DSA/DM/MTT/IDC/HaBa and coreset methods): CondTSC beats every baseline at every spc/ratio with statistical significance (t-test p<0.01), e.g. HAR spc=1 (0.1%): 61.38% vs. best baseline (DC) 58.30% (full data 93.14%); Insect spc=1 (0.05%): 45.15% vs. best baseline (K-means) 16.70% (full 70.78%) — the largest margin in the paper, on the dataset where frequency structure matters most; FD spc=20 (0.72%): 90.78% vs. best baseline (MTT) 74.63% (full 98.51%). NAS downstream task (Table 3, HAR, 324-ConvNet search space, 1% ratio): CondTSC's condensed-set accuracy ranking correlates best with full-data ranking (Spearman 0.665 vs. next-best MTT 0.582) at comparable time cost (~24.5 min for all methods). Ablation (Table 4, Base=MTT-only, +A=augmentation, +T=dual-domain training, +M=dual-objective matching): each module adds accuracy monotonically; the Dual Domain Training module (+T) gives the largest jump on frequency-friendly datasets (Insect spc=1: 18.58%→44.64%, FD spc=1: 51.41%→69.62%), directly isolating the frequency domain as the dominant source of CondTSC's advantage over MTT. Initialization ablation (Table 5): K-means initialization outperforms random, but CondTSC still substantially improves every initialization scheme tested (11-26% relative gains), showing the method is not solely reliant on its K-means initialization choice.

Limitations

Evaluation network is limited to a single CNN+BN architecture in the main results (cross-architecture results are relegated to an appendix); only classification is addressed, not forecasting (the complementary time-series problem condtsf-2024 targets); the frequency-domain augmentations (LPF, phase/ magnitude perturbation) are hand-designed and dataset-agnostic hyperparameters (e.g. 50% low-pass cutoff) rather than learned or tuned per dataset; cost is reported only as aggregate wall-clock in the NAS experiment (~24.5 min, comparable to baselines) without a breakdown of the added frequency-domain computation's overhead.

Written by the atlas from the paper's full text. Check the paper for exact numbers.

Where it sits

Builds on

Built on by

Abstract (verbatim from arXiv)

Time series data has been demonstrated to be crucial in various research fields. The management of large quantities of time series data presents challenges in terms of deep learning tasks, particularly for training a deep neural network. Recently, a technique named \textit{Dataset Condensation} has emerged as a solution to this problem. This technique generates a smaller synthetic dataset that has comparable performance to the full real dataset in downstream tasks such as classification. However, previous methods are primarily designed for image and graph datasets, and directly adapting them to the time series dataset leads to suboptimal performance due to their inability to effectively leverage the rich information inherent in time series data, particularly in the frequency domain. In this paper, we propose a novel framework named Dataset \textit{\textbf{Cond}}ensation for \textit{\textbf{T}}ime \textit{\textbf{S}}eries \textit{\textbf{C}}lassification via Dual Domain Matching (\textbf{CondTSC}) which focuses on the time series classification dataset condensation task. Different from previous methods, our proposed framework aims to generate a condensed dataset that matches the surrogate objectives in both the time and frequency domains. Specifically, CondTSC incorporates multi-view data augmentation, dual domain training, and dual surrogate objectives to enhance the dataset condensation process in the time and frequency domains. Through extensive experiments, we demonstrate the effectiveness of our proposed framework, which outperforms other baselines and learns a condensed synthetic dataset that exhibits desirable characteristics such as conforming to the distribution of the original data.

BibTeX (generated; prefer the venue's official entry)
@article{liu2024dataset,
  title   = {Dataset Condensation for Time Series Classification via Dual Domain Matching},
  author  = {Zhanyu Liu and Ke Hao and Guanjie Zheng and Yanwei Yu},
  journal = {KDD 2024},
  year    = {2024}
}

Nearby in Trajectory matching

2026-03

PTM-ST — Multimodal Dataset Distillation via Phased Teacher Models

Shengbin Guo, Hang Zhao, Senqiao Yang et al. · ICLR 2026notableVision–languagepaper ↗code ↗

2026-01

AMD — Asynchronous Matching with Dynamic Sampling for Multimodal Dataset Distillation

Ding Qi, Jian Li, Shuguang Dou et al. · ICLR 2026notableVision–languagepaper ↗

2025-05

RepBlend — Beyond Modality Collapse: Representations Blending for Multimodal Dataset Distillation

Xin Zhang, Ziruo Zhang, Jiawei Du et al. · NeurIPS 2025notableVision–languagepaper ↗

2024-10

MKDT — Dataset Distillation via Knowledge Distillation: Towards Efficient Self-Supervised Pre-Training of Deep Networks

Siddharth Joshi, Jiayi Ni, Baharan Mirzasoleiman · ICLR 2025notablePre-training & transferpaper ↗code ↗

2024-08

LTDD — Distilling Long-tailed Datasets

Zhenghao Zhao, Haoxuan Wang, Yuzhang Shang et al. · CVPR 2025notablepaper ↗code ↗