English

Achieving Almost Exact Recovery in Almost Quadratic Time: Rank-Based Graph Matching via Local Tree Correlation Tests

Data Structures and Algorithms 2026-07-10 v1 Statistics Theory Machine Learning

Abstract

This paper studies graph matching under the correlated Erdo˝s-Reˊnyi\text{Erd\H{o}s-R\'{e}nyi} (ER) graph pair model. This model first samples an ER(n,λns)\mathrm{ER}(n,\frac{\lambda}{ns}) base graph, whose edges are then independently subsampled twice with probability ss to produce two correlated ER(n,λn)\mathrm{ER}(n,\frac{\lambda}{n}) graphs. We propose a graph matching algorithm that has n2+o(1)n^{2+o(1)} time complexity and achieves almost exact recovery with high probability under the assumptions λ=(logn)α+o(1)\lambda=(\log n)^{\alpha+o(1)} for some α(0,1)\alpha\in(0,1) and s(COtter,1]s\in(\sqrt{C_{\mathrm{Otter}}},1], where COtter0.338C_{\mathrm{Otter}}\approx 0.338 is Otter's tree-counting constant. This is the first algorithm with almost quadratic time complexity in this regime of λ\lambda, while the best known result in this regime is the chandelier-counting algorithm with time complexity O(nc(s))O(n^{c(s)}), where c(s)c(s)\rightarrow \infty as ss approaches COtter\sqrt{C_\mathrm{Otter}} from above. The proposed algorithm is based on local tree correlation tests. It uses a rank-based algorithm to match the vertex pairs instead of threshold-based rules in the literature. This avoids the need of computing an explicit threshold, which is computationally difficult to obtain. To prove the almost exact recovery result, we establish a new analysis of tree correlation tests in the diverging-degree regime, where both the mean degree and the tree depth grow with nn. Based on this new result, we establish the existence of a threshold for a threshold-based graph matching algorithm via local tree correlation tests. Finally, we couple the performance of the rank-based algorithm with the threshold-based algorithm to show almost exact recovery.

Keywords

Cite

@article{arxiv.2607.09087,
  title  = {Achieving Almost Exact Recovery in Almost Quadratic Time: Rank-Based Graph Matching via Local Tree Correlation Tests},
  author = {Jiale Cheng and Ziao Wang and Lei Ying},
  journal= {arXiv preprint arXiv:2607.09087},
  year   = {2026}
}