eng
Schloss Dagstuhl – Leibniz-Zentrum für Informatik
Leibniz International Proceedings in Informatics
1868-8969
2021-07-02
97:1
97:21
10.4230/LIPIcs.ICALP.2021.97
article
Relational Algorithms for k-Means Clustering
Moseley, Benjamin
1
Pruhs, Kirk
2
Samadian, Alireza
2
Wang, Yuyan
1
Carnegie Mellon University, Pittsburgh, PA, USA
University of Pittsburgh, PA, USA
This paper gives a k-means approximation algorithm that is efficient in the relational algorithms model. This is an algorithm that operates directly on a relational database without performing a join to convert it to a matrix whose rows represent the data points. The running time is potentially exponentially smaller than N, the number of data points to be clustered that the relational database represents.
Few relational algorithms are known and this paper offers techniques for designing relational algorithms as well as characterizing their limitations. We show that given two data points as cluster centers, if we cluster points according to their closest centers, it is NP-Hard to approximate the number of points in the clusters on a general relational input. This is trivial for conventional data inputs and this result exemplifies that standard algorithmic techniques may not be directly applied when designing an efficient relational algorithm. This paper then introduces a new method that leverages rejection sampling and the k-means++ algorithm to construct a O(1)-approximate k-means solution.
https://drops.dagstuhl.de/storage/00lipics/lipics-vol198-icalp2021/LIPIcs.ICALP.2021.97/LIPIcs.ICALP.2021.97.pdf
k-means
clustering
approximation
big-data
databases