Skip to main content
QUICK REVIEW

[Paper Review] Dynamic clustering of time series data

Victhor S. Sartório, Thaís C. O. Fonseca|arXiv (Cornell University)|Jan 28, 2020
Time Series Analysis and ForecastingComputer Science1 citations
TL;DR

This paper proposes a dynamic clustering method for multivariate time series using mixtures of Dynamic Linear Models (DLMs) with time-evolving mixture weights governed by an Evolutional Dirichlet Process, enabling smooth, time-dependent cluster membership transitions. The approach combines efficient Stochastic EM and Gradient Descent for fast point estimation and demonstrates strong performance on renewable energy and Gapminder datasets, capturing structural shifts without requiring static cluster assignments.

ABSTRACT

We propose a new method for clustering multivariate time-series data based on Dynamic Linear Models. Whereas usual time-series clustering methods obtain static membership parameters, our proposal allows each time-series to dynamically change their cluster memberships over time. In this context, a mixture model is assumed for the time series and a flexible Dirichlet evolution for mixture weights allows for smooth membership changes over time. Posterior estimates and predictions can be obtained through Gibbs sampling, but a more efficient method for obtaining point estimates is presented, based on Stochastic Expectation-Maximization and Gradient Descent. Finally, two applications illustrate the usefulness of our proposed model to model both univariate and multivariate time-series: World Bank indicators for the renewable energy consumption of EU nations and the famous Gapminder dataset containing life-expectancy and GDP per capita for various countries.

Motivation & Objective

  • To address the limitation of static cluster assignments in time-series clustering, where series may shift behavior over time.
  • To model time-varying cluster memberships in multivariate time series more flexibly than existing HMM-based or k-means-like approaches.
  • To develop a computationally efficient estimation method for dynamic mixture models, enabling practical application to large or high-dimensional time-series.
  • To demonstrate the method's ability to correctly classify time series with structural breaks or gradual transitions, avoiding misclassification of outliers or transitional behaviors.

Proposed method

  • Model time-series as a mixture of Dynamic Linear Models (DLMs), where each cluster has its own time-varying state vector and observation distribution.
  • Introduce time-evolving mixture weights ηit for each time series i at time t, modeled via an Evolutional Dirichlet Process to allow smooth transitions between clusters.
  • Use Stochastic Expectation-Maximization (SEM) with Gradient Descent for fast point estimation of model parameters, reducing computational cost compared to MCMC.
  • Apply Gibbs sampling for full Bayesian inference when posterior distributions and uncertainty quantification are required.
  • Incorporate state-space dynamics through DLMs to capture temporal dependencies within each cluster.
  • Develop a Python library (dynmix) for practical implementation and reproducibility.

Experimental results

Research questions

  • RQ1Can time-series with changing cluster memberships over time be effectively modeled using a dynamic mixture of DLMs?
  • RQ2How can cluster membership transitions be made smooth and time-dependent, rather than abrupt or static?
  • RQ3Does the proposed method outperform static clustering or HMM-based approaches in capturing structural shifts in time-series data?
  • RQ4Can the model handle multivariate time-series with complex, divergent behaviors across multiple dimensions?
  • RQ5How efficient is the proposed point estimation method compared to MCMC in terms of runtime and scalability?

Key findings

  • The model successfully captured the transition of Botswana and Equatorial Guinea from low to high GDP per capita while maintaining low life expectancy, correctly classifying them as African group members throughout.
  • For North African countries and Turkey, the model detected dynamic shifts in cluster membership, with Libya moving from 45% to 88% European group membership between 1967 and 1977 due to GDP growth.
  • Countries like Albania, Bosnia and Herzegovina, Mauritius, and Réunion had uncertain classifications (around 50%) in 1952, indicating transitional status, which resolved quickly into stable European group membership.
  • The point estimation method achieved convergence in approximately 2 minutes for 82 two-dimensional time-series across 12 time points, compared to ~20 minutes for MCMC, demonstrating significant speedup.
  • The model avoided misclassification of outlier or transitional observations by allowing gradual, time-dependent shifts in cluster membership, unlike static or abrupt transition models.
  • The Evolutional Dirichlet Process effectively modeled time-dependent mixture weights, enabling smooth transitions without requiring a priori knowledge of change points.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.