Evolutionary Robust Clustering Over Time for Temporal Data

Yuhui Shi, Qi Zhao, Bai Yan, Jian Yang, Yuhui Shi 0001

Introduction

In many real-world applications, data is not static but evolves over time. Whether tracking biological movement, segmenting video streams, or analyzing shifting consumer behaviors, the challenge lies in accurately grouping data points that change their attributes or group memberships. This field, known as temporal data clustering, relies heavily on the principle of "temporal smoothness"—the assumption that cluster structures should remain relatively stable between consecutive time steps unless the underlying data dictates otherwise.

Traditionally, temporal smoothness is enforced a priori as a fixed penalty within the optimization objective. However, this approach introduces two significant challenges. First, it requires users to manually tune a "smoothness parameter," a difficult task when the rate of change is unknown. Second, forcing smoothness during the search process can bias the algorithm, causing it to converge on sub-optimal local solutions that fail to capture the true current structure of the data.

Methodology: The ERCOT Framework

To address these limitations, we propose Evolutionary Robust Clustering Over Time (ERCOT). Unlike traditional methods, ERCOT treats temporal smoothness as an a posteriori evaluation criteria, decoupling the search for accurate clusters from the requirement for historical consistency.

Overview of the ERCOT framework, illustrating the four-step process from pseudo-partitioning to final weight aggregation.

The ERCOT framework operates through three core innovations:

  1. A Posteriori Processing: The algorithm first employs Evolutionary Multiobjective Optimization (EMO) to generate a diverse set of candidate clustering solutions for the current time step. These candidates are evaluated based on internal validity (compactness and separation). Only after this phase does the system select the most "robust" solution by comparing candidates against historical data.
  2. Automatic Weight Tuning via Stacked Density Estimation: ERCOT eliminates the need for manual parameter tuning. It utilizes probabilistic models of the data at both current ($t$) and previous ($t-1$) time steps. Through cross-validation, it mathematically determines the optimal weight to assign to historical information based on how well the past explains the present.
  3. Two-Objective Optimization: By simultaneously minimizing intra-cluster distance and maximizing inter-cluster distance, ERCOT can automatically determine the optimal number of clusters without prior specification.

Experimental Evaluation

The performance of ERCOT was evaluated against several state-of-the-art methods, including AFFECT, E2SC, and penalty-based evolutionary clustering (penaltyEC). The testing suite included:

  • Synthetic Datasets (Syn1–Syn8): Designed to simulate complex scenarios such as "concept drift" (points switching groups), clusters appearing or disappearing, and varying levels of noise.
  • Biological Simulation: Tracking 100 birds moving in four distinct flocks based on biological rules.
  • Real-World Video Segmentation: Analyzing three complex video datasets (video_seg_BT, MO, and RC) featuring dynamic backgrounds and moving objects.

Key Results and Discussion

ERCOT demonstrated superior performance across nearly all metrics and datasets. A primary advantage is its resilience to "error propagation." By prioritizing current data accuracy before selecting for smoothness, ERCOT avoids the pitfall where a single past mistake degrades all subsequent clustering results.

Performance rank heatmap across synthetic datasets (Syn1–Syn8) for various metrics, highlighting ERCOT's consistent top-tier performance.

As shown in the performance rank heatmap, ERCOT consistently achieves the highest rankings (1st or 2nd) across diverse synthetic challenges. In scenarios involving significant "concept drift," ERCOT maintained high stability (measured by the Rand Index), whereas competing methods often struggled to adapt to sudden transitions.

In real-world video tasks, ERCOT's efficiency was notable. Despite the computational overhead typically associated with evolutionary algorithms, ERCOT's linear scaling allowed it to process large-scale video frames (up to 19,200 samples) in approximately 2 seconds, significantly faster than many spectral-based alternatives.

Conclusion and Future Work

ERCOT provides a robust, parameter-free framework for temporal clustering that effectively balances current data fidelity with historical consistency. While highly effective for prototype-based (spherical) clusters, future work will explore more advanced encoding schemes to handle complex manifold shapes. Additionally, the framework can be extended to specialized domains such as dynamic community detection in social networks by incorporating task-specific knowledge into the objective functions.

Summary updated

BibTeX
@article{shi2023evolutionary,
  author = {Yuhui Shi and Qi Zhao and Bai Yan and Jian Yang and Yuhui Shi},
  title = {{Evolutionary Robust Clustering Over Time for Temporal Data}},
  journal = {IEEE Trans. Cybernetics},
  year = {2023},
  doi = {10.1109/tcyb.2022.3167711},
}
Figure