Fast Approximation of Similarity Graphs with Kernel Density Estimation
Peter Macgregor, He Sun
Abstract
Constructing a similarity graph from a set of data points in 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 . 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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
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
Cited by top-tier papers1
Builds on5
- A Tighter Analysis of Spectral Clustering, and BeyondPeter Macgregor, He SunICML 2022 · 19 citations
- Kernel Density Estimation through Density Constrained Near Neighbor SearchMoses Charikar, Michael Kapralov, Navid Nouri, Paris SiminelakisFOCS 2020 · 9 citations
- Algorithms and Hardness for Linear Algebra on Geometric GraphsJosh Alman, Timothy Chu, Aaron Schild, Zhao SongFOCS 2020 · 5 citations
- Spectral Sparsification of Metrics and KernelsKent QuanrudSODA 2021 · 5 citations
- Subquadratic Algorithms for Kernel Matrices via Kernel Density EstimationAinesh Bakshi, Piotr Indyk, Praneeth Kacham, Sandeep Silwal et al.ICLR 2023
Related papers
- Dynamic Similarity Graph Construction with Kernel Density EstimationSteinar Laenen, Peter Macgregor, He SunICML 2025
- Faster DBSCAN via subsampled similarity queriesHeinrich Jiang, Jennifer Jang, Jakub LackiNeurIPS 2020 · 18 citations
- Efficiently Computing Similarities to Private DatasetsArturs Backurs, Zinan Lin, Sepideh Mahabadi, Sandeep Silwal et al.ICLR 2024 · 9 citations
- Stars: Tera-Scale Graph Building for Clustering and LearningCJ Carey, Jonathan Halcrow, Rajesh Jayaram, Vahab Mirrokni et al.NeurIPS 2022 · 8 citations
- SBSC: A fast Self-tuned Bipartite proximity graph-based Spectral ClusteringAbdul Atif Khan, Rashmi Maheshwari, Mohammad Maksood Akhter, Sraban Kumar MohantySIGMOD 2025 · 3 citations
