English

ShapeCond: Fast Shapelet-Guided Dataset Condensation for Time Series Classification

Machine Learning 2026-02-10 v1

Abstract

Time series data supports many domains (e.g., finance and climate science), but its rapid growth strains storage and computation. Dataset condensation can alleviate this by synthesizing a compact training set that preserves key information. Yet most condensation methods are image-centric and often fail on time series because they miss time-series-specific temporal structure, especially local discriminative motifs such as shapelets. In this work, we propose ShapeCond, a novel and efficient condensation framework for time series classification that leverages shapelet-based dataset knowledge via a shapelet-guided optimization strategy. Our shapelet-assisted synthesis cost is independent of sequence length: longer series yield larger speedups in synthesis (e.g., 29×\times faster over prior state-of-the-art method CondTSC for time-series condensation, and up to 10,000×\times over naively using shapelets on the Sleep dataset with 3,000 timesteps). By explicitly preserving critical local patterns, ShapeCond improves downstream accuracy and consistently outperforms all prior state-of-the-art time series dataset condensation methods across extensive experiments. Code is available at https://github.com/lunaaa95/ShapeCond.

Keywords

Cite

@article{arxiv.2602.09008,
  title  = {ShapeCond: Fast Shapelet-Guided Dataset Condensation for Time Series Classification},
  author = {Sijia Peng and Yun Xiong and Xi Chen and Yi Xie and Guanzhi Li and Yanwei Yu and Yangyong Zhu and Zhiqiang Shen},
  journal= {arXiv preprint arXiv:2602.09008},
  year   = {2026}
}

Comments

Code at: https://github.com/lunaaa95/ShapeCond

R2 v1 2026-07-01T10:28:31.117Z