The Matching Number Characterizes the Query Complexity of Edge Counting and Degree Moment Estimation
Chenglin Fan, Wonseok Shin
Abstract
Consider an unknown graph G = (V,E) with vertex degrees dv, accessed only by sampling uniformly random edges and querying the degrees of their endpoints. We study the query complexity of estimating the number of edges m and the degree moments Ms = Σv ∈ V (dv)s for fixed integers s 2. In this model, [Beretta and Tětek, TALG 2024] estimate m within relative error using O( n/2+ n/) expected queries without knowing the number of vertices n, and [Bhattacharya and Pradhan, CIAC 2025] estimate Ms using O(n1-1/s/2) queries when n is given. We show that the query complexity of both problems is governed by the matching number ν of G (the maximum number of pairwise disjoint edges) rather than the number of vertices n, and that the dependence on for degree moments can be polynomially improved. Our algorithms rest on a simple observation: the endpoints of a maximum matching cover every edge, so a random endpoint of a random edge falls on this set of 2ν vertices with probability at least 1/2. For every ∈(0,1], we give advice-free algorithms that estimate m and Ms within relative error with probability at least 2/3, without knowledge of n, ν, or other graph parameters. Specifically, our algorithms use O(\ν/, 1/2+ν/\) expected queries for m and O(\ν1-1/s/2/s, ν1-1/(2s-1)/2/(2s-1)\) for Ms. Finally, our lower bounds show that for every k 2 and sufficiently small , these query complexities are optimal up to constant factors over graphs with matching number at most k.
Create a lesson
Related papers
Social Learning of Ranking: Getting the Top Right despite Local Herding
Shahrzad Haddadan, Jie Gao
Adaptive Sorting, also in the BST Model
Ivor van der Hoog, Eva Rotenberg, Daniel Rutschmann
Exact and Asymptotic Analysis of Greedy Online Facility Assignment on Cycle Metrics
Md. Tanzeem Rahat, Md. Rawha Siddiqi Riad, Md. Manzurul Hasan
Metric Planarity Testing is Hard
Anubhav Dhar, Debajyoti Kar, Sándor Kisfaludi-Bak et al.
Almost Lossless Transfer for Cuttable Distributed Problems
Wojciech Wawrzyniak
Approximation Algorithms for Dual-Memory Request Scheduling in Disaggregated LLM Inference
Xin Wang, Hong Shen, Hui Tian et al.