English

Average-case and smoothed analysis of graph isomorphism

Probability 2023-09-20 v2 Discrete Mathematics Combinatorics

Abstract

We propose a simple and efficient local algorithm for graph isomorphism which succeeds for a large class of sparse graphs. This algorithm produces a low-depth canonical labeling, which is a labeling of the vertices of the graph that identifies its isomorphism class using vertices' local neighborhoods. Prior work by Czajka and Pandurangan showed that the degree profile of a vertex (i.e., the sorted list of the degrees of its neighbors) gives a canonical labeling with high probability when npn=ω(log4(n)/loglogn)n p_n = \omega( \log^{4}(n) / \log \log n ) (and pn1/2p_{n} \leq 1/2); subsequently, Mossel and Ross showed that the same holds when npn=ω(log2(n))n p_n = \omega( \log^{2}(n) ). We first show that their analysis essentially cannot be improved: we prove that when npn=o(log2(n)/(loglogn)3)n p_n = o( \log^{2}(n) / (\log \log n)^{3} ), with high probability there exist distinct vertices with isomorphic 22-neighborhoods. Our first main result is a positive counterpart to this, showing that 33-neighborhoods give a canonical labeling when npn(1+δ)lognn p_n \geq (1+\delta) \log n (and pn1/2p_n \leq 1/2); this improves a recent result of Ding, Ma, Wu, and Xu, completing the picture above the connectivity threshold. Our second main result is a smoothed analysis of graph isomorphism, showing that for a large class of deterministic graphs, a small random perturbation ensures that 33-neighborhoods give a canonical labeling with high probability. While the worst-case complexity of graph isomorphism is still unknown, this shows that graph isomorphism has polynomial smoothed complexity.

Keywords

Cite

@article{arxiv.2211.16454,
  title  = {Average-case and smoothed analysis of graph isomorphism},
  author = {Julia Gaudio and Miklós Z. Rácz and Anirudh Sridhar},
  journal= {arXiv preprint arXiv:2211.16454},
  year   = {2023}
}

Comments

v2 contains major updates; in particular, the results have been extended to a smoothed analysis of graph isomorphism. The changes are also reflected in the new title. 30 pages, 3 figures

R2 v1 2026-06-28T07:17:08.038Z