Large-scale k-means faces a memory-convergence trilemma: full-batch Lloyd needs O(nKD) per step and traps in local minima; memoryless EMA solvers (Sculley's MBKM, Meta FAIR's e-means) match 25-epoch Lloyd at a fraction of the cost on uniform embeddings using scalar counts, but cannot cross uphill barriers, destroy rare modes under mass-gated revival, and do no out-of-core filtering; staleness methods hold an unbounded Theta(n) table. Extending the EMA scaling law beyond convex single-trajectory updates, MA-Means holds O(1)-in-n statistics (0.1-51 MB for n=1e4 to 1e10) on a fused Triton BF16 + C++17 pipeline, uniting (i) an elastic K->K'->K candidate pool that spans non-monotone barriers and contracts via Benzecri Ward merging plus O(K) distortion-aware revival; (ii) coordinate-wise Aitken over-relaxation (w>1), proving the O(1/(T^2 rho_min)) optimality of fixed-basin linear EMA schedules yet eliminating moving-boundary bias in one step; and (iii) int8_chord checkpoints with zero-error transfer refusal. Across five public benchmarks (n up to 2e7, 10 seeds for Layer-2 and 5 for Layer-1, zero tuning) and 14 baselines, MA-Means wins 12 of 15 Layer-1 cells at 5 epochs (three 1M-row K=4096 cells are +0.05-0.07% MSE), including 1.69-1.78x equal-MSE speedup at 3 epochs vs. 5-epoch e-means on full 10M Deep10M. In Layer-2 BF16 it reaches equal MSE 1.32-1.90x faster, wins 10/10 seeds on ImageNet-CLIP (-0.61% MSE at K=1024, beating 25ep e-means and exact Hamerly; -0.26% at K=4096), cuts NYC-Taxi-20M MSE by 54.8-63.3% vs. e-means, eliminates 14.4-26.4% of out-of-core traffic with 0 false positives, and on one RTX 4090 runs 1.85x faster than e-means at n=100M with -0.7% to -1.0% MSE.


翻译:暂无翻译

0
下载
关闭预览

相关内容

TransMLA:多头潜在注意力(MLA)即为所需
专知会员服务
23+阅读 · 2025年2月13日
“推荐系统”加上“图神经网络”
机器学习与推荐算法
12+阅读 · 2020年3月23日
深度学习中Attention Mechanism详细介绍:原理、分类及应用
深度学习与NLP
10+阅读 · 2019年2月18日
无监督元学习表示学习
CreateAMind
27+阅读 · 2019年1月4日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
meta learning 17年:MAML SNAIL
CreateAMind
11+阅读 · 2019年1月2日
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
7+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
2+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
14+阅读 · 11月25日
相关VIP内容
TransMLA:多头潜在注意力(MLA)即为所需
专知会员服务
23+阅读 · 2025年2月13日
相关基金
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员