TL;DR
This paper introduces Evolutionary Affinity Propagation (EAP), a novel algorithm for clustering data that changes over time. EAP automatically determines the number of clusters and tracks them across time by using message passing on a factor graph, incorporating temporal smoothness and introducing "consensus nodes" to represent clusters. This approach significantly improves cluster tracking and avoids the need for post-processing steps common in existing evolutionary clustering methods.
What Problem Does This Paper Address?
Many real-world datasets evolve over time, such as tracking objects, identifying communities in social networks, or analyzing financial data. Traditional clustering methods applied independently at each time step often fail to capture the underlying dynamics and struggle with tracking how clusters change, merge, or split. Evolutionary clustering aims to address this by considering the temporal aspect, but existing methods often require manual intervention to determine the number of clusters or match them across time steps. This can be computationally expensive and prone to errors. The authors aim to develop an evolutionary clustering algorithm that automatically infers the number of clusters and tracks them seamlessly over time, promoting temporal smoothness in the clustering solutions.
Methods
The core of the proposed method is Evolutionary Affinity Propagation (EAP). EAP builds upon the static Affinity Propagation (AP) algorithm, which uses message passing on a factor graph to group data points by identifying "exemplars" for each cluster.
Key innovations in EAP include:
- Factor Graph Extension: EAP extends the AP factor graph by introducing links between nodes representing adjacent time steps. This allows messages to flow across time, promoting temporal smoothness and consistent cluster membership.
- Consensus Nodes: To explicitly track clusters and handle births/deaths, EAP introduces "consensus nodes." These nodes act as cluster representatives, and their creation, evolution, and disappearance signal cluster births, tracking, and deaths, respectively.
- Message Passing: EAP utilizes a forward-backward message passing scheme to propagate information across time steps. This allows the algorithm to consider past and future data points when making clustering decisions at the current time step, avoiding the error propagation seen in methods that only rely on the previous time step's solution.
- Automatic Cluster Number Inference: Similar to AP, EAP automatically infers the number of clusters without requiring this as an input parameter.
Datasets
The authors evaluated EAP on:
- Synthetic Gaussian Datasets: Four datasets were generated using Gaussian mixture models, designed to simulate scenarios with well-separated Gaussians, colliding Gaussians, and changes in cluster membership over time.
- Oceanographic Data: Temperature and salinity data from the Argo program near the coast of South Africa, used to identify ocean water masses.
- Stock Prices: Daily closing stock prices from January to June 2000, representing the dot-com bubble burst.
- Medicare Star Ratings: Medication adherence data for Medicare Advantage plans from 2012-2016, used to study plan behavior and evolution.
Key Insights and Ideas
- Temporal Smoothness is Key: Explicitly modeling temporal dependencies through message passing across time steps is crucial for robust evolutionary clustering.
- Consensus Nodes Simplify Tracking: The introduction of consensus nodes elegantly solves the problem of tracking clusters over time and identifying births/deaths, a significant challenge in existing methods.
- Data-Centric Approach: EAP's focus on tracking individual data points and their exemplars, rather than just inferring evolving distributions, makes it more interpretable and less prone to issues with changing cluster numbers.
- Automaticity is Powerful: The ability to automatically infer the number of clusters and track them without post-processing significantly reduces the complexity and potential for error in evolutionary clustering tasks.
Key Results
- Superior Performance: EAP consistently outperformed existing methods like AP (applied independently at each time step) and AFFECT (an evolutionary spectral clustering framework) on synthetic and real-world datasets in terms of clustering accuracy (Rand index) and cluster tracking.
- Accurate Cluster Tracking: EAP successfully identified and tracked ocean water masses, stock price trends, and Medicare plan adherence groups over time.
- Automatic Cluster Number Inference: EAP consistently identified a small, stable number of clusters (e.g., 4 for Medicare data) while other methods often produced a much larger and fluctuating number of clusters.
- Effective Birth/Death Detection: The consensus nodes in EAP allowed for clear identification of cluster births and deaths, as demonstrated in the stock price and Medicare data analyses.
Limitations and Future Work
- Cluster Shape Limitations: Similar to traditional AP, EAP is primarily suited for identifying convex or spherical clusters and may struggle with spiral clusters or clusters on manifolds.
- Similarity Metric Dependence: The performance of EAP relies on the chosen similarity metric. While negative squared Euclidean distance was used, exploring its effectiveness with non-metric similarities (like correlation) is a future direction.
- Data Updates for Consensus Nodes: Investigating how to best update data values at consensus nodes for various similarity metrics is an area for future research.
- Extension to Different Data Types: The authors suggest that the methodology could be applied to characterize data from different modalities or time points, opening avenues for multi-modal clustering.
Summary updated