Abstract
Clustering evolving data usually requires a trade-off between finding the best current solution and maintaining consistency with the past. This paper introduces the label-consistent $k$-center problem, providing the first constant-factor approximation algorithms that minimize clustering costs while strictly limiting the number of data points that can change their cluster assignments.
Introduction
In traditional data analysis, clustering is often treated as a static task. However, real-world data—such as news stories, retail transactions, or sensor streams—is inherently dynamic. If a clustering algorithm is re-run from scratch as data evolves, the resulting cluster labels can shift drastically even with minor data changes. This instability, or lack of "recourse," is problematic for user interfaces and downstream automated systems that rely on stable categorizations.
The authors address this by formalizing the challenge of updating a clustering solution to incorporate new data while ensuring that no more than $b$ points change their labels relative to a historical clustering. They focus specifically on the $k$-center objective, where the goal is to minimize the maximum distance between any data point and its assigned cluster center.
The Label-Consistent $k$-Center Problem
The paper proves that the label-consistent $k$-center problem is NP-hard. Specifically, it is shown that achieving better than a 2-approximation is impossible in polynomial time. The core difficulty lies in balancing the geometric objective of the $k$-center problem with the combinatorial constraint of the label-change budget $b$.
Algorithmic Approaches
To address these challenges, the authors propose two primary algorithms with different trade-offs between theoretical tightness and practical efficiency.
1. OverCover (2-approximation)
This algorithm achieves the theoretical lower bound of a 2-approximation. It operates in Fixed-Parameter Tractable (FPT) time by "guessing" which historical centers are preserved in an optimal solution and then utilizing a modified version of the classic CARVE algorithm to cover the remaining points. Due to its exponential complexity relative to the number of clusters ($2^k$), it is best suited for applications with a small number of clusters.
2. GreedyAndProject (3-approximation)
The main practical contribution is the GreedyAndProject algorithm. This polynomial-time algorithm provides a 3-approximation and scales linearly with the dataset size and the number of clusters.
As shown in the pseudocode above, the algorithm proceeds in three main phases:
- Greedy Phase: It identifies a set of potential centers that provide good coverage of the current data.
- Project Phase: It "swaps" these new centers for historical centers that have the most "weight" (i.e., those that cover the most points within a specific radius). This step is critical for ensuring the budget $b$ for label changes is not exceeded.
- End Phase: It fills any remaining center slots and assigns points to minimize re-labeling.
An additional Refinement Phase is used in practice to utilize any leftover budget $b$ to move points to closer centers, further improving the objective value.
Experimental Evaluation
The researchers evaluated their methods on five real-world datasets, including temporal data (Electric Consumption, OnlineRetail, Twitter, and Uber) and non-temporal data (Abalone) used to simulate batch arrivals. They compared their approach against standard baselines like the FFT (Gonzalez) algorithm and the recently proposed Resilient $k$-clustering.
Key Insights and Results
- Label vs. Center Consistency: While previous research focused on center stability (keeping the same center points), this paper argues that label consistency (keeping points in the same groups) is more critical for user experience, even if cluster centers move slightly.
- The Power of Weighting: The success of
GreedyAndProjectstems from identifying "heavy" historical centers—those that already cover a large portion of the current data. Prioritizing these allows the algorithm to satisfy the $k$-center objective without forcing mass re-labeling. - Budget Efficiency: Experiments revealed that a small budget for changes yields significant gains. Reassigning as little as 10% of data points often brings the clustering cost close to what would be achieved by re-clustering from scratch.
- Performance and Scalability:
GreedyAndProjectconsistently outperformed the Resilient clustering baseline. Its running time is independent of the budget $b$, making it highly scalable for large-scale evolving datasets.
Conclusion
This work provides the first constant-factor approximations (2 and 3) for the label-consistent $k$-center problem. While a gap remains between the slow 2-approximation and the fast 3-approximation, the proposed methods offer a robust framework for managing evolving data. Future research may explore extending these label-consistency constraints to other objectives like $k$-median or $k$-means.
Summary updated