paper

Clustering Permutations: New Techniques with Streaming Applications

arXiv:2212.01821 · doi:10.4230/LIPIcs.ITCS.2023.31

Abstract

We study the classical metric -median clustering problem over a set of input rankings (i.e., permutations), which has myriad applications, from social-choice theory to web search and databases. A folklore algorithm provides a -approximate solution in polynomial time for all , and works irrespective of the underlying distance measure, so long it is a metric; however, going below the -factor is a notorious challenge. We consider the Ulam distance, a variant of the well-known edit-distance metric, where strings are restricted to be permutations. For this metric, Chakraborty, Das, and Krauthgamer [SODA, 2021] provided a -approximation algorithm for , where . Our primary contribution is a new algorithmic framework for clustering a set of permutations. Our first result is a -approximation algorithm for the metric -median problem under the Ulam metric, that runs in time for an input consisting of permutations over . In fact, our framework is powerful enough to extend this result to the streaming model (where the input permutations arrive one by one) using only polylogarithmic (in ) space. Additionally, we show that similar results can be obtained even in the presence of outliers, which is presumably a more difficult problem.