CT-Miner: Fast and Coarse-Grained Time-Series Pattern Mining via Cartesian Trees
Abstract
Time series often contain recurring structural patterns, and efficiently mining such patterns into compact representations is essential for scalable analysis of long sequences. Cartesian tree (CT) equivalence provides a well-established structural abstraction that preserves hierarchical order structure while discarding exact values and fine-grained ordinal variations. By grouping multiple ordinal patterns into a shared structural form, CT equivalence offers a principled way to compress recurring temporal structure. However, mining frequent CT-equivalent patterns at scale remains computationally expensive. A naive pairwise approach repeatedly constructs and counts CT representations over subsequences, requiring time for a sequence of length , which severely limits its applicability to long sequences. We propose a new Cartesian pattern mining algorithm based on a Cartesian suffix tree that compactly organizes CT-equivalent subsequences and reuses shared structural information. Our method reduces exhaustive CT-pattern occurrence collection from to time, and we formally prove the correctness and complexity bounds. We further show that this computational gain translates into effective compact representations. Across diverse time-series datasets, a small set of mined CT patterns preserves meaningful clustering structure, and comparisons with finer-grained order-preserving representations show that CT equivalence reduces redundant ordinal distinctions under limited feature budgets. Our implementation is available at https://github.com/hyundong98/CT-Miner .
Create a lesson
Metadata
- Categories
- cs.DS, cs.LG
Related papers
Weighted Steiner Tree in Subexponential Time
Shared title terminologycs.DSMohammadTaghi Hajiaghayi, Danny Mittal
Pattern Matching with Edits in \tilde{O}(n+k^3· n/m) Time
Shared title terminologycs.DSTomasz Kociumaka
Dynamic Connectivity, Minimum Spanning Tree, and 2-Edge Connectivity with Polylogarithmic Worst-Case Update Time
Shared title terminologycs.DSSimon Meierhans, Maximilian Probst Gutenberg, Yu-Cheng Yeh
Graph Minor Decomposition in Almost-Linear Time
Shared title terminologycs.DSMohammadTaghi Hajiaghayi, Mahdi JafariRaviz
Removing Spanning Trees Better Than Nash-Williams
Shared title terminologycs.DSNathan Klein, Neil Olver, Zi Song Yeoh
A Space Separation for Single-Pass DFS Trees in Insertion-Only and Turnstile Streams
Shared title terminologycs.DSTsun-Ming Cheung, Meng-Tsung Tsai, Tzu-Chiao Yen