cs.DSOct 4, 2026

CT-Miner: Fast and Coarse-Grained Time-Series Pattern Mining via Cartesian Trees

Authors: Hyundong Jin, Hyunki Hong, Yo-Sub Han

Organizations: Department of Computer Science Yonsei University, Seoul, Republic of Korea

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 O(n4)O(n^4) time for a sequence of length nn, 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 O(n4)O(n^4) to O(n2)O(n^2) 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 .

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Discovering Frequent Closed Embedded Sub-DAGs in Spatio-Temporal Event Data

    Jul 7, 2026Piotr S. MaciągData MiningSpatiotemporal

  2. MINT: Tensor Decomposition on Stacked Recurrence Matrices for Time Series Data Mining

    Aug 4, 2026Kaamil Kaka, Audrey Der, Evangelos E. Papalexakis +2Tensor DecompositionTime Series

  3. CLUES-WEASEL: No additional clues required to choose your time series clustering algorithm

    Sep 7, 2026Johann FaouziTime-Series ClassificationClustering