Affiliation:
1. University of Paderborn, Paderborn, Germany
2. Simon Fraser University, Burnaby, B.C., Canada
3. TU Dortmund, Dortmund, Germany
Abstract
We develop a new <it>k</it>-means clustering algorithm for data streams of points from a Euclidean space. We call this algorithm StreamKM++. Our algorithm computes a small weighted sample of the data stream and solves the problem on the sample using the <it>k</it>-means++ algorithm of Arthur and Vassilvitskii (SODA '07). To compute the small sample, we propose two new techniques. First, we use an adaptive, nonuniform sampling approach similar to the <it>k</it>-means++ seeding procedure to obtain small coresets from the data stream. This construction is rather easy to implement and, unlike other coreset constructions, its running time has only a small dependency on the dimensionality of the data. Second, we propose a new data structure, which we call coreset tree. The use of these coreset trees significantly speeds up the time necessary for the adaptive, nonuniform sampling during our coreset construction.
We compare our algorithm experimentally with two well-known streaming implementations: BIRCH [Zhang et al. 1997] and StreamLS [Guha et al. 2003]. In terms of quality (sum of squared errors), our algorithm is comparable with StreamLS and significantly better than BIRCH (up to a factor of 2). Besides, BIRCH requires significant effort to tune its parameters. In terms of running time, our algorithm is slower than BIRCH. Comparing the running time with StreamLS, it turns out that our algorithm scalesmuch better with increasing number of centers. We conclude that, if the first priority is the quality of the clustering, then our algorithm provides a good alternative to BIRCH and StreamLS, in particular, if the number of cluster centers is large. We also give a theoretical justification of our approach by proving that our sample set is a small coreset in low-dimensional spaces.
Publisher
Association for Computing Machinery (ACM)
Subject
Theoretical Computer Science
Reference26 articles.
1. Approximating extent measures of points
2. Adaptive Sampling for k-Means Clustering
3. Ailon N. Jaiswal R. and Monteleoni C. 2009. Streaming <it>k</it>-means approximation. In Advances in Neural Information Processing Systems 22 Y. Bengio D. Schuurmans J. Lafferty C. K. I. Williams and A. Culotta Eds. 10--18. Ailon N. Jaiswal R. and Monteleoni C. 2009. Streaming <it>k</it>-means approximation. In Advances in Neural Information Processing Systems 22 Y. Bengio D. Schuurmans J. Lafferty C. K. I. Williams and A. Culotta Eds. 10--18.
4. NP-hardness of Euclidean sum-of-squares clustering
5. k-Means Has Polynomial Smoothed Complexity
Cited by
143 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献