arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.36708cs.LGstat.ML
收藏

恢复有价值的内容:用于小批量k均值的证据加权净增益恢复

Revive What Pays: Evidence-Weighted Net-Gain Revival for Mini-Batch k-Means

Robotics Institute, Carnegie Mellon University(卡内基梅隆大学机器人研究所)

Eyal Weiss

AI总结:

提出无调参的证据加权净增益恢复规则,通过后验中位数决策优化小批量k均值的中心移动,在14个数据集上较FAISS的基于成本的恢复降低了2.9%测试误差,且可兼容GPU e-means等算法。

摘要:

小批量k均值算法(如e-means)会周期性地将很少使用的中心移动到能更大程度降低误差的位置,这一步骤被称为“恢复(revival)”。迄今为止最有效的规则是为FAISS库提出的基于成本的恢复规则,它比较移除一个中心的运行估计成本与拆分另一个中心的估计增益。这些估计对于大型、长期存在的集群是精确的,但对于小型或年轻的集群则大多是噪声,而该规则对所有估计一视同仁。我们将每次移动视为不确定性下的决策:仅当移动所资助的拆分的预测增益更有可能超过移除该中心的预测成本时,才移动该中心。每个估计会根据其证据(Gamma-Poisson率、经验贝叶斯成本比以及具有精度加权Paule-Mandel先验的对数增益)向中心群体收缩,决策使用后验中位数,与后验均值不同,后验中位数不会给一无所知的中心任何权重。该规则没有调优参数。在一项针对14个数据集、34种数据集规模组合和20个先前未使用的随机种子的预注册研究中,与基于成本的恢复相比,它将测试误差降低了2.9%,训练误差降低了8.9%;在5个轮次(epochs)下,测试误差和训练误差分别降低了5%和7%,而早期基于后验均值的版本在此情况下失效。其C++实现的决策步骤比基于成本的恢复多耗时约7%;自动提前结束移动阶段(一旦恢复不再产生收益就停止恢复)可在5或10个轮次下节省约5%的运行时间,误差代价最多为0.33%。该规则仅依赖每个中心的统计量,可在GPU e-means和o-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 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.

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

↑