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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 0cb2e55d-065b-4592-9d0a-0c87bc18c0b4Cited by top-tier papers1
Ask how each one uses itBuilds 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
