mlsanityData to 7 Oct 2026

FT K-means: A High-Performance K-means on GPU with Fault Tolerance

arXiv 2408.01391 ↗First posted 2 Aug 2024cs.DC cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

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 on NVIDIA T4 GPU and A100 GPU demonstrate that FT K-means without fault tolerance outperforms cuML's K-means implementation, showing a performance increase of 10%-300% in scenarios involving irregular data shapes. Moreover, the fault tolerance feature of FT K-means introduces only an overhead of 11%, maintaining robust performance even with tens of errors injected per second.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 11 of its 75 references that are in the map. First posted on arXiv 2 Aug 2024.

Builds on

11 of 75 references.

References · 11

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2020Machine Learning in Python: Main developments and technology trends in data science, machine learning, and artificial intelligencecited by 81
  3. 2022ByteTransformer: A High-Performance Transformer Boosted for Variable-Length Inputscited by 32
  4. 2021Silent Data Corruptions at Scalecited by 22
  5. 2021Arithmetic-Intensity-Guided Fault Tolerance for Neural Network Inference on GPUscited by 9
  6. 2023High-performance Effective Scientific Error-bounded Lossy Compression with Auto-tuned Multi-component Interpolationcited by 9
  7. 2023Anatomy of High-Performance GEMM with Online Fault Tolerance on GPUscited by 4
  8. 2021FT-BLAS: A High Performance BLAS Implementation With Online Fault Tolerancecited by 3
  9. 2018Improving Performance of Iterative Methods by Lossy Checkpontingcited by 2
  10. 2024TurboFFT: A High-Performance Fast Fourier Transform with Fault Tolerance on GPUcited by 2
  11. 2023FT-GEMM: A Fault Tolerant High Performance GEMM Implementation on x86 CPUscited by 1

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.