Lune

NeurIPS2023Top-tier venue

Fast Approximation of Similarity Graphs with Kernel Density Estimation

Peter Macgregor, He Sun

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Subquadratic Algorithms for Kernel Matrices via Kernel Density Estimation cites Algorithms and Hardness for Linear Algebra on Geometric Graphs
  • Subquadratic Algorithms for Kernel Matrices via Kernel Density Estimation cites Kernel Density Estimation through Density Constrained Near Neighbor Search
  • Subquadratic Algorithms for Kernel Matrices via Kernel Density Estimation cites Spectral Sparsification of Metrics and Kernels
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Coreset Spectral ClusteringBen Jourdan, Gregory Schwartzman, Peter Macgregor, He SunICLR 2025

Builds on5

  1. A Tighter Analysis of Spectral Clustering, and BeyondPeter Macgregor, He SunICML 2022 · 19 citations
  2. Kernel Density Estimation through Density Constrained Near Neighbor SearchMoses Charikar, Michael Kapralov, Navid Nouri, Paris SiminelakisFOCS 2020 · 9 citations
  3. Algorithms and Hardness for Linear Algebra on Geometric GraphsJosh Alman, Timothy Chu, Aaron Schild, Zhao SongFOCS 2020 · 5 citations
  4. Spectral Sparsification of Metrics and KernelsKent QuanrudSODA 2021 · 5 citations
  5. Subquadratic Algorithms for Kernel Matrices via Kernel Density EstimationAinesh Bakshi, Piotr Indyk, Praneeth Kacham, Sandeep Silwal et al.ICLR 2023

Related papers

  1. Dynamic Similarity Graph Construction with Kernel Density EstimationSteinar Laenen, Peter Macgregor, He SunICML 2025
  2. Faster DBSCAN via subsampled similarity queriesHeinrich Jiang, Jennifer Jang, Jakub LackiNeurIPS 2020 · 18 citations
  3. Efficiently Computing Similarities to Private DatasetsArturs Backurs, Zinan Lin, Sepideh Mahabadi, Sandeep Silwal et al.ICLR 2024 · 9 citations
  4. Stars: Tera-Scale Graph Building for Clustering and LearningCJ Carey, Jonathan Halcrow, Rajesh Jayaram, Vahab Mirrokni et al.NeurIPS 2022 · 8 citations
  5. SBSC: A fast Self-tuned Bipartite proximity graph-based Spectral ClusteringAbdul Atif Khan, Rashmi Maheshwari, Mohammad Maksood Akhter, Sraban Kumar MohantySIGMOD 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines