Spectral Clustering in Birthday Paradox Time
Abstract
Given a vertex in a -clusterable graph, i.e. a graph whose vertex set can be partitioned into a disjoint union of -expanders of size with outer conductance bounded by , can one quickly tell which cluster it belongs to? This question goes back to the expansion testing problem of Goldreich and Ron'11. For a sample of logarithmic length walks from a given vertex approximately determines its cluster membership by the birthday paradox: two vertices whose random walk samples are `close' are likely in the same cluster. The study of the general case was initiated by Czumaj, Peng and Sohler [STOC'15], and the works of Chiplunkar et al. [FOCS'18], Gluch et al. [SODA'21] showed that random walk samples suffice for general . This matches the result up to polynomial factors in , but creates a conceptual inconsistency: if the birthday paradox is the guiding phenomenon, then the query complexity should decrease with the number of clusters ! Since clusters have size , we expect to need random walk samples, which decreases with . We design a novel representation of vertices in a -clusterable graph by a mixture of logarithmic length walks. This representation uses the optimal walks per vertex, and allows for a fast nearest neighbor search: given vertices representing the clusters, we can find the cluster of a given query vertex using nearly linear time in the representation size of . This gives a clustering oracle with query time and space complexity , matching the birthday paradox bound.
Keywords
Cite
@article{arxiv.2601.05883,
title = {Spectral Clustering in Birthday Paradox Time},
author = {Michael Kapralov and Ekaterina Kochetkova and Weronika Wrzos-Kaminska},
journal= {arXiv preprint arXiv:2601.05883},
year = {2026}
}
Comments
Abstract shortened to meet the arXiv character limit