arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.14723cs.DScs.CC
收藏

近似全对汉明距离与0-1矩阵乘法

Approximate all-pairs Hamming distances and 0-1 matrix multiplication

Miroslaw Kowaluk, Andrzej Lingas, Mia Persson

AI总结:

本文给出算术0-1矩阵乘法到汉明空间全对距离的线性时间归约,提出近似全对距离与0-1矩阵乘法的快速随机算法、输出敏感的最小生成树算法,以及更快的(2+ε)近似聚类算法。

摘要:

Arslan 表明,计算全对汉明距离可以轻易地归约为算术 0-1 矩阵乘法(IPL 2018)。我们提供了反向的线性时间归约,将算术 0-1 矩阵乘法归约为在汉明空间中计算全对距离。另一方面,我们提出了一种用于近似汉明空间中全对距离的快速随机算法。通过将其与我们的归约相结合,我们还获得了用于近似 0-1 矩阵乘法的快速随机算法。接下来,我们提出了一种用于广义汉明空间中点集的最小生成树的输出敏感随机算法,最小生成树的成本越低,我们的算法运行得越快。最后,我们提供了汉明空间 {0,1}^d 中 ℓ-中心聚类和最小直径 ℓ-聚类问题的 (2+ε) 近似算法,当 ℓ 和 d 均为超对数时,这些算法明显快于已知的 2 近似算法。

英文摘要:

Arslan showed that computing all-pairs Hamming distances is easily reducible to arithmetic 0-1 matrix multiplication (IPL 2018). We provide a reverse, linear-time reduction of arithmetic 0-1 matrix multiplication to computing all-pairs distances in a Hamming space. On the other hand, we present a fast randomized algorithm for approximate all-pairs distances in a Hamming space. By combining it with our reduction, we obtain also a fast randomized algorithm for approximate 0-1 matrix multiplication. Next, we present an output-sensitive randomized algorithm for a minimum spanning tree of a set of points in a generalized Hamming space, the lower is the cost of the minimum spanning tree the faster is our algorithm. Finally, we provide $(2+ε)$- approximation algorithms for the $\ell$-center clustering and minimum-diameter $\ell$-clustering problems in a Hamming space $\{0,1\}^d$ that are substantially faster than the known $2$-approximation ones when both $\ell$ and $d$ are super-logarithmic.

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

↑