Revive What Pays: Evidence-Weighted Net-Gain Revival for Mini-Batch k-Means
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…
- arXiv
- 2611.36708
- Authors
- Eyal Weiss
- Categories
- cs.LG · stat.ML