Revive What Pays: Evidence-Weighted Net-Gain Revival for Mini-Batch k-Means
Abstract
Mini-batch k-means algorithms such as e-means periodically move rarely used centers to where they reduce the error more, a step called revival. The strongest rule so far, the cost-based revival proposed for the FAISS library, compares running estimates of the cost of removing a center and of the gain of splitting another. These estimates are precise for large, long-lived clusters and mostly noise for small or young ones, and the rule trusts them alike. We treat each move as a decision under uncertainty: a center is moved only if the predicted gain of the split it funds is more likely than not to exceed the predicted cost of its removal. Each estimate is shrunk toward the population of centers according to its evidence (Gamma-Poisson rates, empirical-Bayes cost ratios, and log-gains with a precision-weighted Paule-Mandel prior), and the decision uses posterior medians, which, unlike posterior means, give no credit to centers about which nothing is known. The rule has no tuning parameter. In a pre-registered study on 14 datasets, 34 dataset-size combinations and 20 previously unused seeds, it lowers the test error by 2.9% and the training error by 8.9% relative to cost-based revival, and by 5% and 7% with five epochs, where an earlier version based on posterior means broke down. With its decision in C++ it takes about 7% longer than cost-based revival; an automatic early end of the move phase, which stops revival once it has stopped paying, saves about 5% of the running time with five or ten epochs at a cost of at most 0.33% in error. The rule is a function of per-center statistics only and runs unchanged inside GPU e-means and o-means.
Create a lesson
Metadata
- Categories
- cs.LG, stat.ML
- Comments
- 29 pages, 4 figures. Code, protocols and run records: https://github.com/eyal-weiss/emeans-net-gain-revival (doi:10.5281/zenodo.24389631)
Related papers
Variational Mode Decomposition as Weighted Fuzzy c-Means
Shared title terminologycs.LGYuya Ohmichi
How Much Weight Can Your LLM Bench? Benchmarking Weight-Space Programming on Open Language Models
Shared title terminologycs.LGPedro Moreira, Leonida Lumburovska
What Survives Composition? A Survey of Hyperbolic Neural Networks, Dynamics, and Evidence
Shared title terminologycs.LGNico Alvarado
Jevidence: Evidence for System One Model Decisions
Shared title terminologycs.LGAndrew Cheng, Jonathan Geuter, David Alvarez-Melis et al.
Unilateral Adoption of LLM-Written Policy Weights in a Multi-UAV Aerial Base Station Game
Shared title terminologycs.LGYu-Chen Hsu, Li-Hsing Yen
Fast Weights Recurrent Transformer
Shared title terminologycs.LGIvan Anokhin, Daria Yasafova, Tianyu Zhao et al.