Lune

PPoPP2025顶会

Popcorn: Accelerating Kernel K-means on GPUs through Sparse Linear Algebra

Julian Bellavita, Thomas Pasquali, Laura Del Rio Martin, Flavio Vella, Giulia Guidi

摘要

K-means is a popular clustering algorithm with significant applications in numerous scientific and engineering areas. One drawback of K-means is its inability to identify nonlinearly separable clusters, which may lead to inaccurate solutions in certain cases. Kernel K-means is a variant of classical K-means that can find non-linearly separable clusters. However, it scales quadratically with respect to the size of the dataset, taking several minutes to cluster even mediumsized datasets on traditional CPU-based machines.

In this paper, we present a formulation of Kernel K-means using sparse-dense matrix multiplication (SpMM) and sparse matrix-vector multiplication (SpMV), and we show that our formulation enables the rapid implementation of a fast GPUbased version of Kernel K-means with little programming effort. Our implementation, named Popcorn, is the first opensource GPU-based implementation of Kernel K-means.

Popcorn achieves a speedup of up to 123.8× over a CPU implementation of Kernel K-means and a speedup of up to 2.6× over a GPU implementation of Kernel K-means that does not use sparse matrix computations. Our results support the effectiveness of sparse matrices as tools for efficient parallel programming.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper2

  1. Reducing communication in graph neural network trainingAlok Tripathy, Katherine A. Yelick, Aydin BuluçSC 2020 · 67 次引用
  2. Multiplying Matrices Without MultiplyingDavis W. Blalock, John V. GuttagICML 2021 · 62 次引用

相关 Paper

  1. BSP k-MeansSebastian Künzel, Daniel WeiskopfKDD 2026
  2. Coreset Spectral ClusteringBen Jourdan, Gregory Schwartzman, Peter Macgregor, He SunICLR 2025
  3. Fast and Accurate kk-means++ via Rejection SamplingVincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler 等NeurIPS 2020 · 32 次引用
  4. Kernel Methods Through the Roof: Handling Billions of Points EfficientlyGiacomo Meanti, Luigi Carratino, Lorenzo Rosasco, Alessandro RudiNeurIPS 2020 · 138 次引用
  5. Giga-scale Kernel Matrix-Vector Multiplication on GPURobert Hu, Siu Lun Chau, Dino Sejdinovic, Joan GlaunèsNeurIPS 2022 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖