English

The statistical threshold for planted matchings and spanning trees

Statistics Theory 2026-02-10 v1 Statistics Theory

Abstract

In this paper, we study the problem of detecting the presence of a planted perfect matching or spanning tree in an Erd\H{o}s--R\'enyi random graph. More precisely, we study the hypothesis testing problem where the statistician observes a graph on nn vertices. Under the null hypothesis, the graph is a realization of an Erd\H{o}s--R\'enyi random graph G(n,q)G(n,q), while under the alternative hypothesis, the graph is the union of an Erd\H{o}s--R\'enyi random graph and a random perfect matching (or random spanning tree). In order to avoid trivial detection by counting edges, we adjust the alternative hypothesis so that the expected number of edges under both distributions coincides. We prove that in both problems, when qn1/2q\gg n^{-1/2}, no test can perform better than random guessing, while for qn1/2q\ll n^{-1/2}, there exist computationally efficient tests that guess correctly with high probability.

Keywords

Cite

@article{arxiv.2602.07669,
  title  = {The statistical threshold for planted matchings and spanning trees},
  author = {Louigi Addario-Berry and Omer Angel and Gábor Lugosi and Miklós Z. Rácz and Tselil Schramm},
  journal= {arXiv preprint arXiv:2602.07669},
  year   = {2026}
}
R2 v1 2026-07-01T10:26:13.329Z