Canonical Correlation Patterns for Validating Clustering of Multivariate Time Series

Isabella Degen, Zahraa S. Abdallah, Kate Robson Brown, Henry W. J. Reeve · OpenReview

TL;DR

This paper tackles the challenge of validating clustering results for multivariate time series data, specifically when the underlying structure is based on correlations between variables. The authors introduce "canonical correlation patterns" as a novel way to define ideal clustering outcomes, enabling a more principled approach to evaluating clustering quality indices (ICVIs) and distance functions.

What Problem Does This Paper Address?

Clustering is a powerful tool for uncovering hidden patterns in data, but knowing if the discovered clusters are meaningful is crucial, especially in high-stakes domains. For multivariate time series, a common approach is to cluster based on how variables correlate with each other over time. However, validating the quality of these correlation-based clusters is difficult because:

  1. Lack of Ground Truth: We often don't have pre-defined "correct" clusters.
  2. Existing Indices are Biased: Current clustering validation indices (ICVIs) were designed for Euclidean data (like points in space) and don't inherently understand the nuances of correlation patterns.
  3. No Clear "Ideal" Correlation Structure: Unlike geometric shapes, there isn't a universally agreed-upon set of "ideal" correlation patterns to compare against. This makes it hard to tell if an ICVI is failing because the data is messy or because the ICVI itself is flawed for this type of data.

This paper aims to bridge this gap by providing a rigorous framework for validating ICVIs and distance functions specifically for correlation-based clustering of time series.

Methods

The core innovation is the introduction of canonical correlation patterns. These are mathematically defined, maximally distinct correlation structures that serve as theoretical "ground truth" for correlation-based clustering. Think of them as ideal, discrete representations of different types of relationships between variables.

The authors then use these canonical patterns to:

  • Formalize Structure Type: Define "correlation patterns" as a specific type of mathematical organization in data.
  • Establish a Nomological Network: Create a theoretical framework that links abstract concepts like "clustering quality" and "dissimilarity" to observable indicators (ICVIs and distance functions).
  • Empirically Validate ICVIs and Distance Functions: Systematically test various distance functions and ICVIs against their defined canonical patterns using synthetic data. This involves evaluating multiple aspects of validity (content, criterion, construct, external) using psychometric principles.

Datasets

The primary dataset used is the CSTS benchmark dataset. This is a newly introduced synthetic dataset specifically designed for this research. It models canonical correlation patterns and allows for controlled degradation of clustering quality through various perturbations (distribution shifts, sparsification, downsampling) and segmentation/assignment errors. This controlled environment is crucial for rigorously evaluating the validity of clustering measures.

Key Insights and Ideas

  • Validity is Structure-Type Dependent: The paper strongly argues that the effectiveness of clustering validation indices (ICVIs) and distance functions is not universal. What works for one type of data structure (e.g., geometric shapes) might fail for another (e.g., correlation patterns). This explains why previous comparative studies found no single ICVI to be universally superior.
  • Canonical Patterns as a "Ground Truth" for Correlations: Defining ideal, discrete correlation patterns provides a much-needed theoretical benchmark for evaluating clustering quality in this domain, moving beyond subjective human labels.
  • Distance Function Choice Matters for ICVI Validity: The choice of distance function used to calculate ICVI values significantly impacts whether the ICVI itself is considered valid. This is a crucial finding that was not previously explored.
  • SWC and DBI Emerge as Promising ICVIs for Correlation Patterns: Among the tested ICVIs, Silhouette Width Criterion (SWC) and Davies-Bouldin Index (DBI) showed the most promise for correlation-based clustering, provided they are used with appropriate distance functions.

Key Results

  • Valid Distance Functions: Six Lp-norm based distance functions (dL1, dL2, dL3, dL5, dLdot1, dLdot2) were found to be valid for measuring dissimilarity between correlation matrices. The L5 norm was identified as optimal for calculating SWC and DBI. Correlation-specific distance functions (dlogF, dF) failed validity.
  • Valid ICVIs: Only SWC and DBI achieved overall validity for correlation patterns. VRC and PBM failed criterion validity, contrasting with previous studies where they performed well on other data types.
  • Optimal Thresholds: The paper provides practical quality thresholds for SWC (> 0.9) and DBI (< 0.15) to indicate distinct canonical patterns.
  • Robustness: SWC and DBI, when used with the L5 distance function, demonstrated robustness to distribution shifts and were able to appropriately degrade with downsampling, indicating discriminant validity.
  • Sensitivity: SWC showed sensitivity to segment reduction (fewer objects per cluster), while DBI was more robust.

Limitations and Future Work

  • Limited to V=3: The study focused on time series with three variables (V=3), resulting in 27 possible patterns. While the framework is generalizable, the number of canonical patterns grows exponentially with V, making visualization and interpretation intractable for V > 3. Future work could explore more efficient methods for handling higher dimensions.
  • Specific Perturbations: The CSTS dataset tested specific perturbations. Other types of temporal dependencies (like autocorrelation and trends) remain uninvestigated.
  • Generalizability to Other Structure Types: The framework for establishing validity is demonstrated for correlation patterns. Applying this structure-type-specific validation to other types of data structures (e.g., density-based, topological) is a key area for future research.
  • Computational Complexity: While the recommended methods scale well, SWC can be computationally intensive for very large datasets. DBI offers a more computationally efficient alternative.

Summary updated

BibTeX
@misc{degen2025canonical,
  author = {Isabella Degen and Zahraa S. Abdallah and Kate Robson Brown and Henry W. J. Reeve},
  title = {{Canonical Correlation Patterns for Validating Clustering of Multivariate Time Series}},
  year = {2025},
  eprint = {2507.16497},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.16497},
}

Loading related content...

Figure