Lune

AAAI2025Top-tier venue

OneBatchPAM: A Fast and Frugal K-Medoids Algorithm

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

Abstract

This paper proposes a novel k-medoids approximation algorithm to handle large-scale datasets with reasonable computational time and memory complexity. We develop a localsearch 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Power of Uniform Sampling for Coresets cites Towards optimal lower bounds for k-median and k-means coresets
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on11

  1. Fast and Accurate kk-means++ via Rejection SamplingVincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler et al.NeurIPS 2020 · 32 citations
  2. Discrepancy-Based Active Learning for Domain AdaptationAntoine de Mathelin, François Deheeger, Mathilde Mougeot, Nicolas VayatisICLR 2022 · 26 citations
  3. Towards optimal lower bounds for k-median and k-means coresetsVincent Cohen-Addad, Kasper Green Larsen, David Saulpic, Chris SchwiegelshohnSTOC 2022 · 20 citations
  4. The Power of Uniform Sampling for CoresetsVladimir Braverman, Vincent Cohen-Addad, Shaofeng H.-C. Jiang, Robert Krauthgamer et al.FOCS 2022 · 20 citations
  5. Global Optimal K-Medoids Clustering of One Million SamplesJiayang Ren, Kaixun Hua, Yankai CaoNeurIPS 2022 · 14 citations

Related papers

  1. BanditPAM: Almost Linear Time k-Medoids Clustering via Multi-Armed BanditsMo Tiwari, Martin Jinye Zhang, James Mayclin, Sebastian Thrun et al.NeurIPS 2020 · 13 citations
  2. BanditPAM++: Faster k-medoids ClusteringMo Tiwari, Ryan Kang, Donghyun Lee, Sebastian Thrun et al.NeurIPS 2023 · 6 citations
  3. Fast Local Search Algorithms for Clustering with Adaptive Sampling and Bandit StrategiesJunyu Huang, Zhen Zhang, Beirong Cui, Jianxin Wang et al.NeurIPS 2025
  4. Linear Time Algorithms for Individually Fair k-means via Multi-Swap Local SearchBeirong Cui, Qilong Feng, Junyu HuangAAAI 2026
  5. Linear Time Algorithms for k-means with Multi-Swap Local SearchJunyu Huang, Qilong Feng, Ziyun Huang, Jinhui Xu et al.NeurIPS 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines