English

Fast Approximation of Similarity Graphs with Kernel Density Estimation

Data Structures and Algorithms 2023-10-24 v1 Machine Learning

Abstract

Constructing a similarity graph from a set XX of data points in Rd\mathbb{R}^d is the first step of many modern clustering algorithms. However, typical constructions of a similarity graph have high time complexity, and a quadratic space dependency with respect to X|X|. We address this limitation and present a new algorithmic framework that constructs a sparse approximation of the fully connected similarity graph while preserving its cluster structure. Our presented algorithm is based on the kernel density estimation problem, and is applicable for arbitrary kernel functions. We compare our designed algorithm with the well-known implementations from the scikit-learn library and the FAISS library, and find that our method significantly outperforms the implementation from both libraries on a variety of datasets.

Keywords

Cite

@article{arxiv.2310.13870,
  title  = {Fast Approximation of Similarity Graphs with Kernel Density Estimation},
  author = {Peter Macgregor and He Sun},
  journal= {arXiv preprint arXiv:2310.13870},
  year   = {2023}
}

Comments

Spotlight paper at NeurIPS'23

R2 v1 2026-06-28T12:57:24.840Z