Learning Soft Sparse Shapes for Efficient Time-Series Classification
Zhen Liu, Yicheng Luo, Boyuan Li, Emadeldeen Eldele, Min Wu, Qianli Ma
Abstract
Shapelets are discriminative subsequences (or shapes) with high interpretability in time series classification. Due to the time-intensive nature of shapelet discovery, existing shapelet-based methods mainly focus on selecting discriminative shapes while discarding others to achieve candidate subsequence sparsification. However, this approach may exclude beneficial shapes and overlook the varying contributions of shapelets to classification performance. To this end, we propose a Soft sparse Shapes (SoftShape) model for efficient time series classification. Our approach mainly introduces soft shape sparsification and soft shape learning blocks. The former transforms shapes into soft representations based on classification contribution scores, merging lower-scored ones into a single shape to retain and differentiate all subsequence information. The latter facilitates intra-and inter-shape temporal pattern learning, improving model efficiency by using sparsified soft shapes as inputs. Specifically, we employ a learnable router to activate a subset of classspecific expert networks for intra-shape pattern learning. Meanwhile, a shared expert network learns inter-shape patterns by converting sparsified shapes into sequences. Extensive experiments show that SoftShape outperforms state-of-the-art methods and produces interpretable results. Our source code is available at https://github. com/qianlima-lab/SoftShape .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4a9d5787-37ab-4da9-995c-ef8bdb99fe31Cited by top-tier papers7
- AnchorMoE: Interpretable Time Series Classification via Anchor-Routed MoETao Xie, Zexi Tan, Haoyi Xiao, Mengke Li et al.KDD 2026 · 4 citations
- Adaptive Time Series Reasoning via Segment SelectionShvat Messica, Jiawen Zhang, Kevin Li, Theodoros Tsiligkaridis et al.ICML 2026 · 2 citations
- A Unified Shape-Aware Foundation Model for Time Series ClassificationZhen Liu, Yucheng Wang, Boyuan Li, Junhao Zheng et al.AAAI 2026 · 1 citation
- Exposing Vulnerabilities in Explanation for Time Series Classifiers via Dual-Target AttacksBohan Wang, Zewen Liu, Lu Lin, Hui Liu et al.ICML 2026 · 1 citation
- Hi-Time: Hierarchical Latent Prediction for Multivariate Time Series ClassificationKun Zeng, Wu Binquan, Qianli MaICML 2026
Builds on21
- Scaling Vision with Sparse Mixture of ExpertsCarlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann et al.NeurIPS 2021 · 1,213 citations
- One Fits All: Power General Time Series Analysis by Pretrained LMTian Zhou, Peisong Niu, Xue Wang, Liang Sun et al.NeurIPS 2023 · 1,178 citations
- TS2Vec: Towards Universal Representation of Time SeriesZhihan Yue, Yujing Wang, Juanyong Duan, Tianmeng Yang et al.AAAI 2022 · 938 citations
- Mixture-of-Experts with Expert Choice RoutingYanqi Zhou, Tao Lei, Hanxiao Liu, Nan Du et al.NeurIPS 2022 · 933 citations
- A Time Series is Worth 64 Words: Long-term Forecasting with TransformersYuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, Jayant KalagnanamICLR 2023 · 536 citations
Related papers
- Diffusion Language-Shapelets for Semi-supervised Time-Series ClassificationZhen Liu, Wenbin Pei, Disen Lan, Qianli MaAAAI 2024 · 24 citations
- Adversarial Dynamic Shapelet NetworksQianli Ma, Wanqing Zhuang, Sen Li, Desen Huang et al.AAAI 2020 · 34 citations
- CNN Kernels Can Be the Best ShapeletsEric Qu, Yansen Wang, Xufang Luo, Wenqiang He et al.ICLR 2024 · 18 citations
- ShapeFormer: Shapelet Transformer for Multivariate Time Series ClassificationXuan-May Le, Ling Luo, Uwe Aickelin, Minh-Tuan TranKDD 2024 · 27 citations
- Abstracted Shapes as Tokens - A Generalizable and Interpretable Model for Time-series ClassificationYunshi Wen, Tengfei Ma, Lily Weng, Lam M. Nguyen et al.NeurIPS 2024 · 20 citations
