atlas

Research map / Learning theory and algorithms / Combinatorial and search optimization

OneBatchPAM: A Fast and Frugal K-Medoids Algorithm

AAAI 2025 · Learning theory and algorithms › Combinatorial and search optimization · approach: Heuristic and local search algorithms · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes OneBatchPAM, a k-medoids local-search that estimates swap objectives with a single random batch of size O(log n), cutting dissimilarity computations to O(n log n) while approximating FasterPAM's solutions.

Problem

Scalable k-medoids clustering: PAM-style local search needs O(n^2) pairwise dissimilarities and memory, which is infeasible for large n with expensive dissimilarities.

Approach

Compute dissimilarities only between all n points and one uniformly drawn batch of size m=O(log n), and use the batch-estimated objective to pick swaps over the full candidate set X_n (not just the batch), with a Hoeffding-based theorem showing the same swaps as FasterPAM w.h.p.; adds debiasing and nearest-neighbor importance weighting.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use nearest-neighbor importance weighting instead of uniform sampling (ablation)OneBatchPAM · Small scaleΔRO (%): above 1.2% over uniform samplingHelped
use nearest-neighbor importance weighting instead of uniform sampling (ablation)OneBatchPAM · Large scaleΔRO (%): 1.2 -> 0.0Helped
set sampled-point self-dissimilarity to infinity (ablation)OneBatchPAM · Small and large scaleΔRO (%): 3.9 -> 3.7; 1.2 -> 0.8Helped
use lightweight coreset sampling instead of uniform sampling (ablation)OneBatchPAM · Small scaleΔRO (%): 3.9 -> 12.3Hurt
use lightweight coreset sampling instead of uniform sampling (ablation)OneBatchPAM · Large scaleΔRO (%): 1.2 -> 2.8Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MNIST CIFAR-10 abalone bankruptcy mapping drybean letter dota2 gas covertype

Benchmarks: MNIST CIFAR-10 abalone bankruptcy mapping drybean letter dota2 gas covertype

Metrics: relative objective (ΔRO) relative time (RT)

Baselines: FasterPAM BanditPAM++ FasterCLARA k-means++ kmc2 LS-k-means++ Alternate Random

Builds on: PAM FastPAM FasterPAM CLARA BanditPAM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy