Deep semi-supervised clustering for multi-variate time-series

Dino Ienco, Roberto InterdonatoNeurocomputing 2023

Introduction

Clustering multivariate time-series (MTS) data remains a significant challenge in data science, particularly when labels are scarce but domain expertise is available. This paper, published in Neurocomputing (2023), introduces conDetSEC, a deep semi-supervised framework designed to bridge this gap. By utilizing Gated Recurrent Units (GRUs) and pairwise constraints, the model effectively organizes complex MTS data into meaningful clusters.

Problem Statement

MTS clustering is difficult due to the dual nature of dependencies: inter-dependencies between multiple variables and temporal dependencies within each variable. While deep learning excels in supervised tasks, unsupervised methods often miss domain-specific nuances. In fields like satellite imagery or medical sensing, full labeling is expensive, but experts can often provide "background knowledge" in the form of pairwise constraints (Must-link or Cannot-link).

Methodology: The conDetSEC Framework

The proposed conDetSEC (constrained DEep time SEries Clustering) architecture integrates these constraints directly into the embedding learning process.

The conDetSEC architecture featuring dual GRU autoencoders for forward and backward sequence processing.

Dual GRU Autoencoders

To capture holistic temporal patterns, the model employs two GRU-based autoencoders. One processes the sequence in forward order, while the other processes it in reverse. The final embedding is the point-wise sum of these encoder outputs, ensuring temporal symmetry.

Optimization Strategy

The training follows a two-stage process:

  1. Embedding Generation: The model minimizes a combination of Reconstruction Loss (to preserve signal integrity) and Contrastive Loss (using a hinge-loss to satisfy pairwise constraints).
  2. Clustering Refinement: After an initial K-means pass, a "Stretching Loss" is introduced. This pulls embeddings toward their assigned centroids, sharpening cluster boundaries and resolving ambiguity for samples on the manifold's edge.

Experimental Setup

The framework was evaluated on six diverse real-world datasets, including spoken Arabic digits (ArabDigit), satellite imagery (Dordogne), and heartbeat signals (ECG5000). These datasets range in size and dimensionality, providing a comprehensive test of the model's robustness.

Results and Discussion

conDetSEC consistently outperformed traditional methods like K-means with Dynamic Time Warping (DTW) and constrained spectral clustering (Spec) across metrics such as Normalized Mutual Information (NMI) and Adjusted Rand Index (ARI).

Performance comparison (NMI) as the number of constraints increases, showing conDetSEC's superior scaling.

A key finding is the model's efficiency with limited supervision. As shown in the performance metrics, even a small number of constraints (e.g., 1,000) leads to significant improvements. Furthermore, conDetSEC demonstrates superior scaling; while traditional semi-supervised methods often plateau, conDetSEC continues to improve as more constraints are added.

Conclusion and Future Work

conDetSEC represents a significant step forward in semi-supervised MTS clustering by using deep embeddings that are explicitly shaped by domain knowledge. While currently an offline framework, future work could extend this to online or incremental learning to handle streaming IoT data. Additionally, incorporating active learning could further optimize the selection of constraints from human experts.

Summary updated

BibTeX
@article{ienco2023deep,
  author = {Dino Ienco and Roberto Interdonato},
  title = {{Deep semi-supervised clustering for multi-variate time-series}},
  journal = {Neurocomputing},
  year = {2023},
  doi = {10.1016/j.neucom.2022.10.033},
}
Figure