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

OneBatchPAM:一种快速且节俭的 K-Medoids 算法

OneBatchPAM: A Fast and Frugal K-Medoids Algorithm

Michelin(米其林公司)

Antoine de Mathelin, Nicolas Enrique Cecchi, François Deheeger, Mathilde Mougeot, Nicolas Vayatis

AI总结:

针对大规模数据集的k-medoids聚类,提出OneBatchPAM算法,利用单批次采样估计目标,将计算和内存复杂度降至O(mn),在保证理论性能的同时大幅减少运行时间。

摘要:

本文提出了一种新颖的 k-medoids 近似算法,以合理的计算时间和内存复杂度处理大规模数据集。我们开发了一种局部搜索算法,该算法基于对 k-medoids 目标的估计,迭代地改进 medoid 选择。大小为 m << n 的单个批次提供了该估计,这将所需内存大小和成对相异度计算的数量降至 O(mn),而与大多数 k-medoids 基线相比为 O(n^2)。我们获得的理论结果强调,大小为 m = O(log(n)) 的批次足以以强概率保证与原始局部搜索算法相同的性能。在具有各种大小和维度的真实数据集上进行的多次实验表明,我们的算法提供了与最先进方法(如 FasterPAM 和 BanditPAM++)相似的性能,且运行时间大幅减少。

英文摘要:

This paper proposes a novel k-medoids approximation algorithm to handle large-scale datasets with reasonable computational time and memory complexity. We develop a local-search algorithm that iteratively improves the medoid selection based on the estimation of the k-medoids objective. A single batch of size m << n provides the estimation, which reduces the required memory size and the number of pairwise dissimilarities computations to O(mn), instead of O(n^2) compared to most k-medoids baselines. We obtain theoretical results highlighting that a batch of size m = O(log(n)) is sufficient to guarantee, with strong probability, the same performance as the original local-search algorithm. Multiple experiments conducted on real datasets of various sizes and dimensions show that our algorithm provides similar performances as state-of-the-art methods such as FasterPAM and BanditPAM++ with a drastically reduced running time.

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

↑