On Simplifying Large-Scale Spatial Vectors: Fast, Memory-Efficient, and Cost-Predictable -Means
Yushuai Ji, Zepeng Liu, Sheng Wang, Yuan Sun, Zhiyong Peng
Abstract
The-means algorithm can simplify large-scale spatial vectors, such as 2D geo-Locations and 3D point clouds, to support fast analytics and learning. However, when processing large-scale datasets, existing-means algorithms have been developed to achieve high performance with significant compu-tational resources, such as memory and CPU usage time. These algorithms, though effective, are not well-suited for resource-constrained devices. In this paper, we propose a fast, memory-efficient, and cost-predictable-means called Dask-means. We first accelerate-means by designing a memory-efficient accelerator, which utilizes an optimized nearest neighbor search over a memory-tunable index to assign spatial vectors to clusters in batches. We then design a lightweight cost estimator to predict the memory cost and runtime of the k-means task, allowing it to request appropriate memory from devices or adjust the accelerator's required space to meet memory constraints, and ensure sufficient CPU time for running k-means. Experiments show that when simplifying datasets with scale such as, Dask-means uses less than 30MB of memory, and achieves over 168 times speedup compared to the widely-used Lloyd's algorithm. We also validate Dask-means on mobile devices, where it demonstrates significant speedup and low memory cost compared to other state-of-the-art (SOTA)-means algorithms. Our cost estimator achieves a memory cost estimation error with a difference of less than 3% from the actual ones and an MSE for predicted runtime at least 52.1 % lower than SOTA methods.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5da14ed2-fe92-47b5-9a2f-7c64f33ca5a9Cited by top-tier papers2
- Federated and Balanced Clustering for High-dimensional DataYushuai Ji, Shengkun Zhu, Shixun Huang, Zepeng Liu et al.VLDB 2025 · 5 citations
- Updatable Balanced Index for Fast on-Device Search with Auto-Selection ModelYushuai Ji, Sheng Wang, Zhiyu Chen, Yuan Sun et al.ICDE 2026
Builds on7
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs et al.ICML 2022 · 1,464 citations
- On the Efficiency of K-Means Clustering: Evaluation, Optimization, and Algorithm SelectionSheng Wang, Yuan Sun, Zhifeng BaoVLDB 2021 · 34 citations
- Quantifying and Reducing Registration Uncertainty of Spatial Vector Labels on Earth ImageryWenchong He, Zhe Jiang, Marcus Kriby, Yiqun Xie et al.KDD 2022 · 15 citations
- Bayes DistNet - A Robust Neural Network for Algorithm Runtime Distribution PredictionsJake Tuero, Michael BuroAAAI 2021 · 1 citation
- SampleNet: Differentiable Point Cloud SamplingItai Lang, Asaf Manor, Shai AvidanCVPR 2020
Related papers
- BSP k-MeansSebastian Künzel, Daniel WeiskopfKDD 2026
- OneBatchPAM: A Fast and Frugal K-Medoids AlgorithmAntoine de Mathelin, Nicolas Enrique Cecchi, François Deheeger, Mathilde Mougeot et al.AAAI 2025 · 3 citations
- Simple, Scalable and Effective Clustering via One-Dimensional ProjectionsMoses Charikar, Monika Henzinger, Lunjia Hu, Maximilian Vötsch et al.NeurIPS 2023 · 6 citations
- Angle K-MeansShenfei Pei, Ruiyu Huang, Yiqing Hu, Zhongqi Lin et al.ICLR 2026
- Fast -Means via Data-Aware Grouping and Gap-Optimized Lower BoundXiaogang Huang, Dan Zhuang, Jianbao Chen, Tiefeng Ma et al.ICDE 2026
