# Poster 29895

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/29895

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, I'm Meng Shi and I'm presenting our recent research work on clustering with nearly-optimal consistency. This is a joint work with Hubert Chan, Xiaofeng Jiang and Tianyi Wu. So let's first start from a k-means problem. In this problem, the input is a data set in the d-dimensional Euclidean space with aspect ratio delta, and our goal is to find a set of k-centers to minimize the cost function, which is the summation of the square distance among all data points to the nearest neighbor in the descendants.
Now let's consider unlike their means problem. In this problem, data points arrive in arbitrary order and the algorithm has to decide whether and where to define a new center when a point arrives. We use competitive ratio to measure the performance of the algorithm. It is the ratio between the algorithm's k-means cost and the optimal k-means cost assuming that one knows the full information. Previous work has shown that there is no bounded competitive ratio for unlike their means.
If this work we consider relaxation of the online KPIs, consistent online KPIs, where the recourse of decision is allowed, that means we can change the center during the process. For example, if the points and centers are given in the left-hand side, after inserting some new points, we can change the center to minimize the cost. Let us denote the consistency as the total number of center changing during the process, and our goal is to minimize the consistency while maintaining a bounded competitive ratio.
Previous work has shown that any constant competitive algorithm for k -means must be at least order k log n consistent. There are two highly related works for this problem. Both of them achieve constant competitive ratio and the first achieve order k square polylog n consistency for both k-means and k-median. The advanced work achieve order k polylog n consistency but only for k -median.
So there are some gaps. The first is if k-means also admits constant competitive ratio with order k -log n facilities. And moreover, is there any algorithm that can achieve 1 plus epsilon competitive ratio which might require exponential running time? Finally, can we find a framework that turn any offline clustering algorithm into an online algorithm with good consistency? We give the positive answers for those questions.
So let me give the main contribution of our work. If we are given an alpha-approximate algorithm for k-means that runs in tn time, then there exists an order k-consistent and 1 plus epsilon times alpha-squared competitive algorithm for unlike k-means. The running time is of order n and poly k.
This result more generally works for KG clustering which contains both chameleon and k-means. And moreover, plugging in the proof of exact offline algorithm, this work leads to a 1 plus epsilon competitive and order k log n consistent algorithm for k-means. So let's compare our work with previous work which successfully proved the ratio to 1 plus epsilon and the consistency is nearly optimal.
So the algorithm can be partitioned into two main sets. The first set is a consistent coset construction. A coset is a weighted set such that for every set of sets, the cost on the coset is nearly the same as the cost on the original set. We use a coset to reduce the number of points to be considered, from m points to order k weighted points. After that, we have an algorithm for bounded input, which achieve order 1 amortized consistency.
Now let's combine the order one cup amortized consistency and only order k points to be considered. We successfully get the order k consistency. We visualize our algorithm in the following figures. First we fit the stream of points to consistent coset and we obtain a reduced stream which contains only order k points. Whenever this reduced stream changes, we fit the stream to consistent k means and get the final set of sets.
We design an experiment to measure our performance. We use different data sets with various dimension sizes and we use two baselines. The first baseline is the algorithm in the previous work. The next baseline is directly running K -means plus the consistent cosect instead of running any additional algorithm.
We also give two implementations of our frameworks. The first is basically running our algorithm by plugging the K-means++ to our framework. The second is a heuristic implementation where a new point is added, it replaces only one existing center if doing so maximizes the cost reduction.
We plot the consistency curve and the cost curve for four algorithms. We can see that all of the algorithms have the same order of cost and our algorithm has much better consistency compared with the two baselines. That's all of the introduction of our work. Welcome to see the poster and papers of our work in ICAR 2025.
