Skip to main navigation Skip to search Skip to main content

Knor: A NUMA-optimized in-memory, distributed and semi-external-memory k-means library

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

Abstract

k-means is one of the most influential and utilized machine learning algorithms. Its computation limits the performance and scalability of many statistical analysis and machine learning tasks. We rethink and optimize k-means in terms of modern NUMA architectures to develop a novel parallelization scheme that delays and minimizes synchronization barriers. The k-means NUMA Optimized Routine (knor) library has (i) in-memory (knori), (ii) distributed memory (knord), and (ii) semi-external memory (knors) modules that radically improve the performance of k-means for varying memory and hardware budgets. knori boosts performance for single machine datasets by an order of magnitude or more. knors improves the scalability of k-means on a memory budget using SSDs. knors scales to billions of points on a single machine, using a fraction of the resources that distributed in-memory systems require. knord retains knori's performance characteristics, while scaling in-memory through distributed computation in the cloud. knor modifies Elkan's triangle inequality pruning algorithm such that we utilize it on billion-point datasets without the significant memory overhead of the original algorithm. We demonstrate knor outperforms distributed commercial products like H2O, Turi (formerly Dato, GraphLab) and Spark's MLlib by more than an order of magnitude for datasets of 107 to 109 points.

Original languageEnglish (US)
Title of host publicationHPDC 2017 - Proceedings of the 26th International Symposium on High-Performance Parallel and Distributed Computing
PublisherAssociation for Computing Machinery, Inc
Pages67-78
Number of pages12
ISBN (Electronic)9781450346993
DOIs
StatePublished - Jun 26 2017
Event26th ACM International Symposium on High-Performance Parallel and Distributed Computing, HPDC 2017 - Washington, United States
Duration: Jun 26 2017 → Jun 30 2017

Publication series

NameHPDC 2017 - Proceedings of the 26th International Symposium on High-Performance Parallel and Distributed Computing

Conference

Conference26th ACM International Symposium on High-Performance Parallel and Distributed Computing, HPDC 2017
Country/TerritoryUnited States
CityWashington
Period6/26/17 → 6/30/17

Keywords

  • Cloud
  • Clustering
  • K-means
  • NUMA
  • Parallel
  • Semi-external memory

ASJC Scopus subject areas

  • Software
  • Computational Theory and Mathematics
  • Computer Science Applications

Fingerprint

Dive into the research topics of 'Knor: A NUMA-optimized in-memory, distributed and semi-external-memory k-means library'. Together they form a unique fingerprint.

Cite this