arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.06847cs.DS
收藏

聚类问题的精确指数算法

Exact Exponential Algorithms for Clustering Problems

Fedor V. Fomin, Petr A. Golovach, Tanmay Inamdar, Nidhi Purohit, Saket Saurabh

摘要:

在本文中,我们发起了一个系统的研究精确的算法,众所周知的聚类问题,即$k$ -中位数和$k$ -手段。在$k$ -Median中,输入由属于度量空间的$n$点的集合$X$组成,任务是选择$k$点的子集$C \subseteq X$作为中心,使得每个点到其最近中心的距离之和最小化。在$k$ -Means中,目标是最小化距离的平方和。很容易设计一个在时间上运行的算法$\max_{k\leq n} {n \choose k} n^{O(1)} = O^*(2^n)$($O^*(\cdot)$表示法隐藏了$n$中的多项式因子)。我们设计了这些问题的第一个非平凡的精确算法。特别是,我们得到了一个$O^*((1.89)^n)$的时间精确算法$k$ -中位数,适用于任何值的$k$。我们的算法是非常通用的,因为它不使用底层(度量)空间的任何属性-它甚至不需要距离来满足三角不等式。特别地,相同的算法也适用于$k$ -均值。我们补充这一结果表明,我们的算法的运行时间是渐近最优的,到基地的指数。也就是说,除非ETH失败,否则没有针对这些问题的算法在时间上运行$2^{o(n)} \cdot n^{O(1)}$。最后,我们考虑这些聚类问题的“供应商”版本,其中,除了集合$X$,我们还给出了一组$m$候选中心$F$,目标是找到一个子集的$k$中心$F$。目标仍然是最小化$k$ -中位数/ $k$ -平均值/ $k$ -中心目标。对于这些版本,我们给出了一个使用子集卷积的$O(2^n (mn)^{O(1)})$时间算法。我们补充这一结果表明,在集覆盖猜想,这些问题的供应商版本不承认一个确切的算法运行的时间$2^{(1-ε) n} (mn)^{O(1)}$。

英文摘要:

In this paper we initiate a systematic study of exact algorithms for well-known clustering problems, namely $k$-Median and $k$-Means. In $k$-Median, the input consists of a set $X$ of $n$ points belonging to a metric space, and the task is to select a subset $C \subseteq X$ of $k$ points as centers, such that the sum of the distances of every point to its nearest center is minimized. In $k$-Means, the objective is to minimize the sum of squares of the distances instead. It is easy to design an algorithm running in time $\max_{k\leq n} {n \choose k} n^{O(1)} = O^*(2^n)$ ($O^*(\cdot)$ notation hides polynomial factors in $n$). We design first non-trivial exact algorithms for these problems. In particular, we obtain an $O^*((1.89)^n)$ time exact algorithm for $k$-Median that works for any value of $k$. Our algorithm is quite general in that it does not use any properties of the underlying (metric) space -- it does not even require the distances to satisfy the triangle inequality. In particular, the same algorithm also works for $k$-Means. We complement this result by showing that the running time of our algorithm is asymptotically optimal, up to the base of the exponent. That is, unless ETH fails, there is no algorithm for these problems running in time $2^{o(n)} \cdot n^{O(1)}$. Finally, we consider the "supplier" versions of these clustering problems, where, in addition to the set $X$ we are additionally given a set of $m$ candidate centers $F$, and objective is to find a subset of $k$ centers from $F$. The goal is still to minimize the $k$-Median/$k$-Means/$k$-Center objective. For these versions we give a $O(2^n (mn)^{O(1)})$ time algorithms using subset convolution. We complement this result by showing that, under the Set Cover Conjecture, the supplier versions of these problems do not admit an exact algorithm running in time $2^{(1-ε) n} (mn)^{O(1)}$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑