FT K-means: A High-Performance K-means on GPU with Fault Tolerance
Shixun Wu, Yitong Ding, Yujia Zhai, Jinyang Liu, Jiajun Huang, Zizhe, Jian, Huangliang Dai, Sheng Di, Bryan M. Wong, Zizhong Chen, Franck Cappello

TL;DR
FT K-means is a GPU-accelerated clustering algorithm that significantly improves performance and introduces fault tolerance, effectively handling soft errors with minimal overhead on modern NVIDIA GPUs.
Contribution
The paper presents a novel high-performance GPU implementation of K-means with online fault tolerance and a warp-level tensor-core error correction scheme.
Findings
FT K-means outperforms cuML's implementation by 10-300% on irregular data shapes.
Fault tolerance incurs only 11% overhead, maintaining robustness under error injection.
The approach achieves competitive performance with enhanced resilience to soft errors.
Abstract
K-means is a widely used algorithm in clustering, however, its efficiency is primarily constrained by the computational cost of distance computing. Existing implementations suffer from suboptimal utilization of computational units and lack resilience against soft errors. To address these challenges, we introduce FT K-means, a high-performance GPU-accelerated implementation of K-means with online fault tolerance. We first present a stepwise optimization strategy that achieves competitive performance compared to NVIDIA's cuML library. We further improve FT K-means with a template-based code generation framework that supports different data types and adapts to different input shapes. A novel warp-level tensor-core error correction scheme is proposed to address the failure of existing fault tolerance methods due to memory asynchronization during copy operations. Our experimental evaluations…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and ELM · Anomaly Detection Techniques and Applications · Network Security and Intrusion Detection
