Introduction
Bipartite matching is one of the most fundamental and extensively studied problems in graph algorithms, with a long history spanning combinatorial optimisation, theoretical computer science, and operations research. It serves as a canonical model for allocation problems, with applications ranging from job assignment to resource allocation [24 , 33 , 38 ] .
A closely related problem arises in combinatorial auctions, where each agent seeks a bundle of items that maximises their utility. In the unit-demand setting, this problem is equivalent to bipartite matching: agents correspond to vertices on one side (say, the left side), items to vertices on the other (right side), and feasible allocations correspond to matchings in the underlying bipartite graph. This connection is well studied in the literature; see, for example, [11 , 40 , 41 , 28 ] .
The Demand Query Model. Motivated by this connection, we study bipartite matching in the demand query model [40 , 41 ] , where a query specifies a vertex (agent) u u u on the left together with an ordering over the vertices (items) on the right side, and returns the first neighbour of u u u according to this ordering. This model captures the behaviour of unit-demand agents responding to prices. The measure of complexity for this model is the number of such queries and, crucially for this work, the number of rounds of adaptivity. As noted in [40 ] , this query model sits between standard adjacency matrix query, which demand query can simulate, and communication complexity which can simulate demand queries with logarithmic overhead. However, the complexity of these two models is significantly different: [21 ] showed that the deterministic communication complexity of exact bipartite matching is O ~ ( n ) \widetilde{O}(n) O ( n ) , but one needs Ω ( n 2 ) \Omega(n^2) Ω ( n 2 ) adjacency matrix queries to output a constant approximation of maximum matching, even in the randomised setting [3 , 16 ] .
Approximate Bipartite Matching. We study the problem of computing an approximate maximum matching in the demand query model. Let μ \mu μ denote the size of a maximum matching. For α ≥ 1 \alpha\ge1 α ≥ 1 , we say an algorithm achieves an α \alpha α -approximation if it outputs a matching of size at least μ / α \mu/\alpha μ / α .
We briefly mention the relevant past research here; we explain more in the next section. Combinatorial auctions, especially social welfare maximising allocation for unit-demand bidders (in other words, approximate bipartite matching), have long been studied through the lens of communication protocols, specifically using simultaneous message passing (SMP) protocols for one-round auctions [27 ] and using multiparty number-in-hand shared blackboard communication protocols when more rounds are involved [11 , 17 ] . Motivated by these communication protocols, [40 ] introduced the demand query model for bipartite matching, capturing a natural and concrete form of limited interaction between the agents and the allocator. Our work continues this line of research by studying the power of demand queries under a limited number of adaptive rounds, with a particular emphasis on lower bound techniques.
In terms of proving lower bounds for demand queries, there are two main techniques: multiparty communication complexity and Demand-OR query. We address both of them in this work. Firstly, [27 ] established the current best randomised multiparty number-in-hand shared blackboard communication protocol which is an O ( log n ) O(\log n) O ( log n ) -round protocol for constant-factor approximation, a result subsequently translated into the demand query framework by Nisan [40 ] . This communication model is indeed more powerful than the demand query model and, as a result, any lower bound obtained here holds true for the demand query. In this communication model, [27 , 35 ] also showed a single-round communication lower bound for matching.
Subsequently, [11 ] and [17 ] improved this lower bound for multiple rounds, and the current state-of-the-art is an Ω ( log n / log log n ) \Omega(\log n/\log\log n) Ω ( log n / log log n ) -round lower bound for achieving constant approximation of the maximum matching when O ( n ) O(n) O ( n ) communication is allowed per round [17 ] . We expound on these results in the next section.
The second technique is via a weaker query model, namely the Demand-OR query model, which only achieves parity with the standard demand query when Ω ( log n ) \Omega(\log n) Ω ( log n ) rounds are available for binary search. The existing deterministic lower bounds for demand queries provided by [40 ] rely on the Demand-OR query model, where it is shown that a k k k -round Demand-OR query algorithm must issue Ω ~ ( n 2 / k 3 ) \widetilde{\Omega}(n^2/k^3) Ω ( n 2 / k 3 ) queries1 per round in order to achieve constant-approximation.
Consequently, to the best of our knowledge, there are no existing lower bound techniques specifically tailored to the demand query model. Existing approaches proceed through stronger or less precise models, and therefore do not yield a complete picture of demand-query complexity. On one hand, even though communication-based lower bounds have proven effective for constant-factor approximations, if we aim for the exact version of the problem, it can be solved with O ~ ( n ) \widetilde{O}(n) O ( n ) total communication deterministically (even in two-party communication model) [21 ] given enough rounds. Achieving a comparable result with demand queries remains well beyond current algorithmic reach, and it might be the case that communication protocols are simply more powerful than demand query. On the other hand, although working with demand-OR query gives us an opportunity to develop new query-specific lower bound techniques, the log n \log n log n -round penalty might prove too expensive to show optimal bounds for fewer rounds. In this work, we develop lower bound techniques exclusive for a few rounds of demand queries.
Our results
Randomised demand query. We first consider completely non-adaptive algorithms. We know from [43 ] that we can get a n \sqrt{n} n -approximate maximum matching using only O ~ ( n ) \widetilde{O}(n) O ( n ) random neighbour queries which can be simulated by demand queries. Towards a lower bound, [27 ] showed that any randomised simultaneous message passing (SMP) protocol where each player sends at most n δ n^\delta n δ (δ < 1 \delta< 1 δ < 1 ) bits cannot approximate maximum matching better than a factor of O ( n 1 / 2 − 2 δ ) O(n^{1/2-2\delta}) O ( n 1/2 − 2 δ ) . In the non-adaptive setting, the SMP model is stronger than the general demand query model and hence, putting δ = 0 \delta=0 δ = 0 , we recover a n \sqrt{n} n -type lower bound when each player issues O ( 1 ) O(1) O ( 1 ) demand queries.
We recover and extend this bound using only demand queries, thus bypassing the requirement of using a (possibly) stronger model to prove lower bounds. More generally, when O ( n 1 + δ ) O(n^{1+\delta}) O ( n 1 + δ ) demand queries are allowed, we obtain a tight Θ ( n 1 / 2 − δ / 2 ) \Theta(n^{1/2-\delta/2}) Θ ( n 1/2 − δ /2 ) expected-size approximation tradeoff. The same lower bound holds for algorithms required to achieve their approximation with constant probability, and for δ ≥ 0 \delta\ge0 δ ≥ 0 the upper bound also holds with constant probability. For example, when δ = 1 / 4 \delta=1/4 δ = 1/4 , [27 ] rules out constant-factor approximation, whereas we rule out any o ( n 3 / 8 ) o(n^{3/8}) o ( n 3/8 ) -approximation. We additionally establish a high-probability lower bound that loses only a factor of log n \sqrt{\log n} log n .
Theorem 1 (Non-adaptive/ One round). Consider non-adaptive demand query algorithms for maximum matching. Then, for every δ ∈ [ − 1 , 1 ] \delta\in[-1,1] δ ∈ [ − 1 , 1 ] ,
Setting δ = 0 \delta= 0 δ = 0 gives a tight Θ ( n ) \Theta(\sqrt{n}) Θ ( n ) expected-size approximation bound with O ( n ) O(n) O ( n ) queries, recovering the corresponding one-round results of [27 , 40 ] . However, our main result is when the number of rounds of adaptivity is increased to more than one, for example, what happens when there are k > 1 k > 1 k > 1 rounds and we can issue n 1 + δ n^{1+\delta} n 1 + δ demand queries in each round. [27 ] left as an open question what meaningful lower bound we can prove in this limited adaptivity regime. However, as mentioned before, the model of computation for [27 ] is multiparty number-in-hand shared blackboard model of communication. Any demand query protocol can be simulated in this model with only a logarithmic overhead: Each player simulates the demand query protocol (using shared randomness) and when it is their turn to answer a query, they simply communicate the answer (which is an edge) using O ( log n ) O(\log n) O ( log n ) bits. Indeed, for this model, [11 ] improved the results of [27 ] to multiple rounds where they prove an Ω ( n 1 / 5 k ) \Omega(n^{1/5^k}) Ω ( n 1/ 5 k ) -approximation lower bound for k k k -round randomised communication protocols. Subsequently [17 ] showed that any k k k -round communication protocol that outputs a constant-approximation matching must use Ω ( n 1 + 1 / k / k 4 ) \Omega(n^{1+1/k}/k^4) Ω ( n 1 + 1/ k / k 4 ) bits of communication.
A couple of points to note: First, these communication lower bounds exploit an array of sophisticated round elimination and direct sum techniques and, as such, are complicated. For example, [17 ] employs a reduction from multiparty set disjointness and even proving a multiparty set disjointness lower bound requires careful use of information complexity and direct sum arguments. This is not unusual as round elimination arguments even in two-party communication complexity, let alone multiparty, require care because of the powerful nature of the model. In contrast, for demand queries, we fully recover these bounds by a significantly simpler analysis. To our knowledge, no such lower bound technique for randomised demand query protocols was known before our work. Secondly, even though [17 ] showed a lower bound for constant-approximation, for superconstant approximation factors, the only lower bound is from [11 ] which we improve exponentially2 . Here is our main result:
Theorem 2 (Few rounds, O ( n ) O(n) O ( n ) queries.). Let k ≤ log n k \le\log n k ≤ log n be the number of rounds. Then,
any randomised algorithm that uses O ( n ) O(n) O ( n ) demand queries per round has worst-case expected-size approximation factor Ω ( n 1 / ( 2 k ) k ) \Omega\left(\frac{n^{1/(2k)}}{k}\right) Ω ( k n 1/ ( 2 k ) ) . The same asymptotic lower bound holds for algorithms that achieve their approximation with probability at least 2 / 3 2/3 2/3 ;
there is a randomised algorithm that uses O ( n ) O(n) O ( n ) demand queries per round and achieves approximation factor O ( n 1 / ( k + 1 ) k ) O\left(\frac{n^{1/(k+1)}}{k}\right) O ( k n 1/ ( k + 1 ) ) in expectation and with probability at least 2 / 3 2/3 2/3 .
Theorem 2 follows from Theorem 7 and Theorem 8. The upper-bound algorithm is the same independent-neighbour greedy algorithm underlying [27 ] , but our analysis improves its dependence on k k k . We also show that this improvement is essentially tight for this particular algorithm: in the natural low-round regime, there are graphs on which its approximation factor is Ω ( n 1 / ( k + 1 ) / k ) \Omega(n^{1/(k+1)}/k) Ω ( n 1/ ( k + 1 ) / k ) , matching our upper bound up to constant factors. This algorithm-specific optimality does not close the remaining gap for unrestricted demand-query algorithms. A general demand query reveals not only a returned neighbour but also certifies every vertex preceding it in the query order to be a non-neighbour. An arbitrary algorithm can correlate these prefixes across many left vertices and use this negative information in later rounds, whereas the independent-neighbour greedy algorithm uses demand queries only as random-neighbour samples. Thus closing the gap requires either a stronger lower bound that remains hard against such correlated-prefix strategies or a new algorithm that exploits these additional certificates.
For low-adaptivity demand query algorithms with O ( n ) O(n) O ( n ) queries per round, the remaining gap is therefore between an Ω ( n 1 / ( 2 k ) / k ) \Omega(n^{1/(2k)}/k) Ω ( n 1/ ( 2 k ) / k ) lower bound and an O ( n 1 / ( k + 1 ) / k ) O(n^{1/(k+1)}/k) O ( n 1/ ( k + 1 ) / k ) upper bound. More generally, with O ( n 1 + δ ) O(n^{1+\delta}) O ( n 1 + δ ) queries per round, our expected-size lower and upper bounds are, respectively,
Ω ( n ( 1 − k δ ) / ( 2 k ) k ) and O ( n ( 1 − k δ ) / ( k + 1 ) k ) . \Omega\left(\frac{n^{(1-k\delta)/(2k)}}{k}\right)
\quad\text{and}\quad
O\left(\frac{n^{(1-k\delta)/(k+1)}}{k}\right). Ω ( k n ( 1 − k δ ) / ( 2 k ) ) and O ( k n ( 1 − k δ ) / ( k + 1 ) ) .
The improvement in the upper bound becomes especially significant when the number of rounds grows. Combined with our lower bound, it resolves the round complexity of constant-factor approximation up to constant factors.
Theorem 3 (Constant-approximation). With O ( n ) O(n) O ( n ) demand queries per round:
any randomised algorithm that outputs an O ( 1 ) O(1) O ( 1 ) -approximate maximum matching, even with probability 1 / n 1/n 1/ n , needs Ω ( log n log log n ) \Omega\left(\frac{\log n}{\log\log n}\right) Ω ( l o g l o g n l o g n ) rounds;
for every fixed ε > 0 \varepsilon> 0 ε > 0 , there is a randomised algorithm that outputs a ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximate maximum matching with high probability in O ( log n log log n ) O\left(\frac{\log n}{\log\log n}\right) O ( l o g l o g n l o g n ) rounds.
As mentioned, [17 ] also achieves this round complexity lower bound but for the communication model.
The same randomised algorithm also yields a ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximate minimum vertex cover with high probability in O ( log n / log log n ) O(\log n/\log\log n) O ( log n / log log n ) rounds and O ( n ) O(n) O ( n ) demand queries per round, using one additional round to identify unmatched left vertices with unmatched neighbours (Lemma 5.3). The corresponding Demand-OR result incurs only polylogarithmic query overhead (Lemma 6.3).
Deterministic demand query. We also obtain near-tight bounds for deterministic algorithms. Here the dependence on the number of rounds can be characterised up to logarithmic factors.
Theorem 4 (Deterministic algorithms). Let q q q be the number of demand queries allowed per round. If k q < n kq<n k q < n , no deterministic k k k -round algorithm guarantees any finite multiplicative approximation on every graph. If k q ≥ n kq\ge n k q ≥ n , the optimal deterministic approximation factor is Θ ~ ( n 2 k 2 q ) \widetilde{\Theta}\left(\frac{n^2}{k^2q}\right) Θ ( k 2 q n 2 ) . More precisely, there is an upper bound O ( n 2 log 2 n k 2 q ) O\left(\frac{n^2\log^2 n}{k^2q}\right) O ( k 2 q n 2 l o g 2 n ) , and every deterministic algorithm has approximation factor at least Ω ( n 2 k 2 q log ( 2 + k q / n ) ) \Omega\left(\frac{n^2}{k^2q\log(2+kq/n)}\right) Ω ( k 2 q l o g ( 2 + k q / n ) n 2 ) .
In particular, with Θ ( n ) \Theta(n) Θ ( n ) demand queries per round, deterministic constant approximation requires and can be achieved in Θ ~ ( n ) \widetilde{\Theta}(\sqrt n) Θ ( n ) rounds. This gives a polynomial separation from the randomised round complexity above. For comparison, Nisan’s deterministic demand-query lower bound for constant approximation gives the requirement q = Ω ( n 2 / ( k 3 log 4 n ) ) q=\Omega(n^2/(k^3\log^4 n)) q = Ω ( n 2 / ( k 3 log 4 n )) [40 Corollary 2] . Our lower bound improves the polynomial round dependence to k 2 k^2 k 2 for the unrestricted approximation problem. By König’s theorem, the same near-tight deterministic tradeoff holds for constructing an approximate minimum vertex cover (Lemma 7.10). Combined with the randomised upper bound above, this gives a polynomial separation in the round complexity of constant-approximation vertex cover (Lemma 7.11).
Demand-OR query. Finally, we note that [40 ] utilises a slightly weaker variant of the demand query, the demand-OR query, to establish lower bounds against deterministic algorithms. A demand-OR query consists of a left vertex u ∈ L u \in L u ∈ L and a subset S ⊆ R S \subseteq R S ⊆ R , and the oracle returns 1 if there exists a vertex v ∈ S v \in S v ∈ S such that u v uv uv is an edge, and 0 otherwise. While a demand query can simulate a demand-OR query in a single step (by placing S S S at the prefix of the permutation), the converse simulation in [40 ] relies on sequential binary search, which incurs an O ( log n ) O(\log n) O ( log n ) blow-up in round complexity.
An interesting question is whether this round blow-up is truly necessary. Since we are concerned with the limited-round regime (k ≪ log n k \ll\log n k ≪ log n ), such a blow-up is significant. While our lower bounds for demand queries naturally extend to the weaker demand-OR model, a naive simulation of our upper bound would suffer this log n \log n log n round penalty. We demonstrate that this penalty is not inherent: using non-adaptive geometric subsampling together with an exact singleton-recovery primitive, we can trade a polylogarithmic increase in the number of queries per round for no increase in round complexity. This keeps the round complexity identical to the stronger demand query model.
Theorem 5. Let q = n 1 + δ q = n^{1+\delta} q = n 1 + δ . Using k k k rounds of adaptivity and O ~ ( q ) \widetilde{O}(q) O ( q ) Demand-OR queries per round, one can obtain expected-size approximation factor O ( n 1 − k δ k k + 1 ) O\left(\frac{n^{1-k\delta}}{k^{k+1}}\right) O ( k k + 1 n 1 − k δ ) . For δ ≥ 0 \delta\ge0 δ ≥ 0 , the same asymptotic approximation holds with probability at least 2 / 3 2/3 2/3 . Moreover, for every fixed ε > 0 \varepsilon> 0 ε > 0 , a ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximation can be obtained with high probability in O ( log n / log log n ) O(\log n/\log\log n) O ( log n / log log n ) rounds using O ( n log 3 n ) O(n\log^3 n) O ( n log 3 n ) Demand-OR queries per round.
For deterministic Demand-OR queries, when q ≥ n q \ge n q ≥ n and k ≥ 2 k \ge2 k ≥ 2 we obtain the same Θ ~ ( n 2 / ( k 2 q ) ) \widetilde{\Theta}(n^2/(k^2q)) Θ ( n 2 / ( k 2 q )) approximation tradeoff as for deterministic demand queries. In contrast, in one round exactly n 2 n^2 n 2 deterministic Demand-OR queries are necessary and sufficient to guarantee any finite multiplicative approximation on every graph. For minimum vertex cover, however, one round and q ≥ n q \ge n q ≥ n Demand-OR queries already suffice for an O ( n 2 / q ) O(n^2/q) O ( n 2 / q ) -approximation (Lemma 7.12).
Related Work
Maximum matching and minimum vertex cover have been extensively studied in restricted-access graph models. In particular, a large body of work studies estimating the maximum matching size (equivalently vertex cover size in bipartite graphs) using adjacency-list and adjacency-matrix queries [22 , 37 , 14 , 20 , 18 , 15 , 16 , 19 , 2 ] . In these models, constructing an approximate matching admits simple and essentially tight query bounds, motivating the extensive study of the more challenging problem of estimating the matching size. Related problems have also been studied in one-way and simultaneous communication models [32 , 8 ] , where the input is distributed among multiple parties. Matching has also been studied in distributed sketching and massively parallel computation models [9 , 10 CLM+18, GKX+18] .
Matching and vertex cover have also been extensively studied in graph streams. The recent breakthrough lower bound for matching in insertion-only streams implies that the simple greedy algorithm is optimal [6 , 7 ] . For dynamic streams, where both edge insertions and deletions are allowed, [8 DK20, 12 , 42 ] establish asymptotically optimal space bounds for approximating maximum matching and minimum vertex cover. Multi-pass streaming algorithms for matching have also been extensively studied, with [30 , 13 ] establishing important upper and lower bounds for insertion-only streams, and [1 ] settling the pass complexity of approximate matching in dynamic streams. Unlike our setting, the complexity measure is space rather than queries.
Table 1. Table 1: Comparison with previous results. The table highlights improvements over previous work rather than listing all results of this paper. Here k k k denotes the number of rounds, q q q the number of queries per round, and α \alpha α the approximation factor. Randomised approximation factors are stated in expectation. The one-round randomised result holds for − 1 ≤ δ ≤ 1 -1\le\delta\le1 − 1 ≤ δ ≤ 1 , and the general k k k -round result for − 1 ≤ δ ≤ 1 / k -1\le\delta\le1/k − 1 ≤ δ ≤ 1/ k . All approximation factors are understood to be at least one. The deterministic demand-query tradeoff assumes k q ≥ n kq\ge n k q ≥ n ; otherwise no finite approximation is possible. Red highlights terms in previous bounds that have been improved, while blue highlights the corresponding improvements in this work.
Organisation
We provide a technical overview covering Theorem 2 , Theorem 4 and Theorem 5 in § 2 . In § 3 , we define the required notation, tools, and the model of demand queries. Subsequently, in § 4 , we prove our main result, which is the randomised lower bound. In § 5 , we give the randomised upper bounds and their improved analysis compared to previous work. In § 6 , we give our algorithms and bounds for Demand-OR queries. Finally, in § 7 , we prove the deterministic round–query tradeoff.
Technical overview
We explain the main ideas behind our bounds. For simplicity, we consider O ( n ) O(n) O ( n ) demand queries per round, corresponding to δ = 0 \delta= 0 δ = 0 , and suppress logarithmic factors in the query and approximation bounds. Throughout, the graph has n n n vertices on each side, and μ \mu μ denotes its maximum matching size.
Randomised lower bound
We construct a random bipartite graph G = ( L ∪ R , E ) G = (L \cup R,E) G = ( L ∪ R , E ) with n n n vertices on each side. We may assume k n − 1 2 k ≤ 1 / 2 kn^{-\frac{1}{2k}} \leq1/2 k n − 2 k 1 ≤ 1/2 , since otherwise the claimed approximation lower bound is constant, which is a triviality. First, we choose a random partition R = T 0 ⊔ ⋯ ⊔ T k R = T_0 \sqcup\cdots\sqcup T_k R = T 0 ⊔ ⋯ ⊔ T k . Each right vertex v v v chooses exactly one layer, independently of the other right vertices, with
Pr [ v ∈ T i ] = { n − 1 2 k , 0 ≤ i < k , 1 − k n − 1 2 k , i = k . \Pr[v \in T_i] =
\begin{cases}
n^{-\frac{1}{2k}}, & 0 \leq i < k,\\
1 - kn^{-\frac{1}{2k}}, & i = k.
\end{cases} Pr [ v ∈ T i ] = { n − 2 k 1 , 1 − k n − 2 k 1 , 0 ≤ i < k , i = k .
Conditional on this partition, we include each pair u v uv uv , with u ∈ L u \in L u ∈ L and v ∈ T i v \in T_i v ∈ T i , independently with probability n − i k n^{-\frac{i}{k}} n − k i . Thus every vertex in T 0 T_0 T 0 is adjacent to all of L L L , and the expected degree of a vertex in T i T_i T i is n 1 − i k n^{1-\frac{i}{k}} n 1 − k i , decreasing by a factor of n 1 k n^{\frac{1}{k}} n k 1 between successive layers. The algorithm is given the labeled vertex sets, but the layer assignments are hidden.
Each of the first k k k layers has expected size n 1 − 1 2 k n^{1-\frac{1}{2k}} n 1 − 2 k 1 , so their union has expected size k n 1 − 1 2 k kn^{1-\frac{1}{2k}} k n 1 − 2 k 1 . These layers provide many easily discovered edges, but any matching can use each of their right vertices only once. Meanwhile, T k T_k T k has linear size with high probability. Although its vertices have expected degree one, the graph between L L L and T k T_k T k contains a matching of size Ω ( n ) \Omega(n) Ω ( n ) with high probability. Finding a matching substantially larger than the total size of the denser layers therefore requires discovering edges into this sparse layer.
Figure 1. The lower bound construction.
The main difficulty is that a demand query reveals not only an edge but also certifies every preceding pair to be a non-edge. We therefore track both positive and negative information obtained by the algorithm. At the end of round r r r , we discard any right vertex that is incident to a certified edge or to more than n r / k n^{r/k} n r / k certified non-edges. Let R r R_r R r denote the set of remaining right vertices. Thus, every vertex in R r R_r R r has no certified incident edge and at most n r / k n^{r/k} n r / k certified incident non-edges. We will keep track of the number of discarded vertices as it will help us bound the size of matching found.
Fix a transcript of the first r r r rounds and let v ∈ R r v \in R_r v ∈ R r . Since v v v has at most n r / k n^{r/k} n r / k certified non-edges incident to it, this information reduces the probability that v v v belongs to T r T_r T r by at most a constant factor. Consequently,
Pr [ v ∈ T r ∣ transcript ] = Ω ( n − 1 / ( 2 k ) ) . \Pr[v \in T_r \mid\text{transcript}] = \Omega(n^{-1/(2k)}). Pr [ v ∈ T r ∣ transcript ] = Ω ( n − 1/ ( 2 k ) ) .
Since a vertex in T r T_r T r is adjacent to each left vertex with probability n − r / k n^{-r/k} n − r / k , every uncertified pair ( u , v ) (u,v) ( u , v ) with v ∈ R r v \in R_r v ∈ R r is an edge with conditional probability at least Ω ( n − r / k − 1 / ( 2 k ) ) \Omega(n^{-r/k-1/(2k)}) Ω ( n − r / k − 1/ ( 2 k ) ) . It follows that a demand query certifies at most O ( n r / k + 1 / ( 2 k ) ) O(n^{r/k+1/(2k)}) O ( n r / k + 1/ ( 2 k ) ) new pairs involving vertices in R r R_r R r in expectation. With O ( n ) O(n) O ( n ) queries in round r + 1 r+1 r + 1 , the expected number of newly certified non-edges involving these vertices is therefore O ( n 1 + r / k + 1 / ( 2 k ) ) O(n^{1+r/k+1/(2k)}) O ( n 1 + r / k + 1/ ( 2 k ) ) .
A vertex of R r R_r R r can exceed the next threshold n ( r + 1 ) / k n^{(r+1)/k} n ( r + 1 ) / k only after acquiring Ω ( n ( r + 1 ) / k ) \Omega(n^{(r+1)/k}) Ω ( n ( r + 1 ) / k ) new certified non-edges. Thus the expected number of vertices discarded for this reason at the end of round r + 1 r+1 r + 1 is
O ( n 1 + r / k + 1 / ( 2 k ) n ( r + 1 ) / k ) = O ( n 1 − 1 / ( 2 k ) ) . O\left(\frac{n^{1+r/k+1/(2k)}}{n^{(r+1)/k}}\right)=O(n^{1-1/(2k)}). O ( n ( r + 1 ) / k n 1 + r / k + 1/ ( 2 k ) ) = O ( n 1 − 1/ ( 2 k ) ) .
A vertex of R r R_r R r can also be discarded because it acquired a certified edge adjacent to it. We will only count edges in incident to T k T_k T k , accounting for dense layers separately. Since a pair incident to a vertex in T k T_k T k is an edge with probability 1 / n 1/n 1/ n , each uncertified pair has probability at most 1 / n 1/n 1/ n of being an edge into T k T_k T k . Consequently, among the pairs certified in round r + 1 r+1 r + 1 , the expected number of edges into T k T_k T k is at most
O ( n 1 + r / k + 1 / ( 2 k ) n ) = O ( n 1 − 1 / ( 2 k ) ) , O\left(\frac{n^{1+r/k+1/(2k)}}{n}\right)=O(n^{1-1/(2k)}), O ( n n 1 + r / k + 1/ ( 2 k ) ) = O ( n 1 − 1/ ( 2 k ) ) ,
where we use r ≤ k − 1 r \le k-1 r ≤ k − 1 . This also bounds the expected number of vertices in R r ∩ T k R_r \cap T_k R r ∩ T k discarded because of certified edges.
We therefore discard O ( n 1 − 1 / ( 2 k ) ) O(n^{1-1/(2k)}) O ( n 1 − 1/ ( 2 k ) ) vertices per round in expectation, and hence O ( k n 1 − 1 / ( 2 k ) ) O(kn^{1-1/(2k)}) O ( k n 1 − 1/ ( 2 k ) ) over all rounds. The dense layers together contain O ( k n 1 − 1 / ( 2 k ) ) O(kn^{1-1/(2k)}) O ( k n 1 − 1/ ( 2 k ) ) vertices in expectation. Thus, the total number of right vertices discarded because of certified edges or the non-edge thresholds is O ( k n 1 − 1 / ( 2 k ) ) O(kn^{1-1/(2k)}) O ( k n 1 − 1/ ( 2 k ) ) in expectation.
The set of discarded vertices, together with all vertices in the denser layers, forms a vertex cover of the certified edges: every certified edge either has its right endpoint in a denser layer or has its right endpoint discarded. Therefore, any matching consisting only of certified edges has expected size O ( k n 1 − 1 / ( 2 k ) ) . O(kn^{1-1/(2k)}). O ( k n 1 − 1/ ( 2 k ) ) . Note that a similar bound also holds true if the algorithm is allowed to output uncertified edges as part of the matching.
Finally, since the graph has a matching of size Ω ( n ) \Omega(n) Ω ( n ) with high probability, comparing this with the expected matching size obtainable by the algorithm yields an approximation lower bound of
Ω ( n 1 / ( 2 k ) k ) . \Omega\left(\frac{n^{1/(2k)}}{k}\right). Ω ( k n 1/ ( 2 k ) ) .
The same lower bound holds for algorithms that succeed with constant probability.
Randomised upper bound
We use the independent-neighbour greedy algorithm underlying [26 ] : In each round, every unmatched left vertex independently samples a uniformly random neighbour, when one exists, among the right vertices unmatched at the start of that round. A demand query implements this by placing those right vertices first in a uniformly random order. We process the returned edges greedily, without further queries. Our analysis improves the dependence on k k k by retaining the progress made across all rounds. This is the primary difference from the analysis of [26 ] which lets us match the lower bound for constant approximation with q = O ( n ) q = O(n) q = O ( n ) .
Let X X X be the final matching size. At least μ − 2 X \mu- 2X μ − 2 X edges of a fixed maximum matching have both endpoints still unmatched. Consider one such edge u v uv uv whose endpoints remain unmatched throughout the execution. Let R r R_r R r denote the unmatched right vertices at the beginning of round r r r , and write d r = ∣ N ( u ) ∩ R r ∣ d_r = |N(u) \cap R_r| d r = ∣ N ( u ) ∩ R r ∣ . Since u u u remains unmatched, it participates in every round. In round r r r , some neighbours of u u u may be matched to other left vertices before u u u is processed. Let f r f_r f r be the fraction of its d r d_r d r neighbours that are still available when u u u is processed. Observe that every neighbour available at the beginning of round r + 1 r + 1 r + 1 must also have been available when u u u was processed in round r r r . Therefore,
f r ≥ d r + 1 d r . f_r \ge\frac{d_{r+1}}{d_r}. f r ≥ d r d r + 1 .
Multiplying these inequalities over all k k k rounds gives
∏ r = 1 k f r ≥ ∏ r = 1 k d r + 1 d r = d k + 1 d 1 . \prod_{r=1}^{k} f_r \ge\prod_{r=1}^{k} \frac{d_{r+1}}{d_r} = \frac{d_{k+1}}{d_1}. r = 1 ∏ k f r ≥ r = 1 ∏ k d r d r + 1 = d 1 d k + 1 .
Now, at most X X X right vertices are matched during the entire execution, so d 1 − d k + 1 ≤ X d_1 - d_{k+1} \le X d 1 − d k + 1 ≤ X . Moreover, d k + 1 ≥ 1 d_{k+1} \ge1 d k + 1 ≥ 1 , since v v v remains unmatched and is a neighbour of u u u . Consequently,
∏ r = 1 k f r ≥ d k + 1 d k + 1 + X ≥ 1 X + 1 . \prod_{r=1}^{k} f_r \ge\frac{d_{k+1}}{d_{k+1} + X} \ge\frac{1}{X+1}. r = 1 ∏ k f r ≥ d k + 1 + X d k + 1 ≥ X + 1 1 .
Finally, by the arithmetic–geometric mean inequality,
∑ r = 1 k f r ≥ k ( ∏ r = 1 k f r ) 1 / k ≥ k ( X + 1 ) 1 / k . \sum_{r=1}^{k} f_r \ge k\left(\prod_{r=1}^{k} f_r\right)^{1/k} \ge\frac{k}{(X+1)^{1/k}}. r = 1 ∑ k f r ≥ k ( r = 1 ∏ k f r ) 1/ k ≥ ( X + 1 ) 1/ k k .
The significance of this inequality comes from understanding what f r f_r f r represents. Although all samples in a round are drawn simultaneously, for the sake of analysis, we expose them in the fixed greedy processing order. Since the samples of different left vertices are independent, conditional on the previously exposed samples, the sample of a vertex u u u remains uniform among its neighbours unmatched at the beginning of the round. Some of these neighbours may already have been matched by the time u u u is processed. Consequently, the conditional probability that u u u is matched is precisely f r f_r f r , the fraction of its round-start neighbours that remain unmatched when u u u is processed. By linearity of expectation, the expected sum of these conditional probabilities over all vertices and rounds equals the expected size of the matching produced by the algorithm. Thus, if many edges of the optimum matching remain unmatched, the preceding inequality guarantees substantial accumulated progress across the k k k rounds, which in turn forces the expected output matching to be large.
More concretely, let f r , u f_{r,u} f r , u denote the conditional probability that u u u gets matched when processed in round r r r , taking f r , u = 0 f_{r,u}=0 f r , u = 0 if u u u is already matched. Since at least ( μ − 2 X ) (\mu-2X) ( μ − 2 X ) edges of a fixed maximum matching survive, the preceding argument gives
A = ∑ u ∈ L ∑ r = 1 k f r , u ≥ k ( μ − 2 X ) ( X + 1 ) 1 / k . A=\sum_{u\in L}\sum_{r=1}^{k}f_{r,u}\geq\frac{k(\mu-2X)}{(X+1)^{1/k}}. A = u ∈ L ∑ r = 1 ∑ k f r , u ≥ ( X + 1 ) 1/ k k ( μ − 2 X ) .
Even though A A A is not the same random variable as X X X 3 , the crucial observation is that E [ A ] = E [ X ] \mathbb{E}[A]=\mathbb{E}[X] E [ A ] = E [ X ] . Call this common expectation m m m . If m ≥ μ / 8 m\geq\mu/8 m ≥ μ /8 , we already have a constant approximation. Otherwise, Markov’s inequality gives Pr [ X ≤ 2 m ] ≥ 1 / 2 \Pr[X\leq2m]\geq1/2 Pr [ X ≤ 2 m ] ≥ 1/2 . On this event, μ − 2 X ≥ μ / 2 \mu-2X\geq\mu/2 μ − 2 X ≥ μ /2 , and hence
A ≥ μ 2 ( 2 m + 1 ) 1 / k . A\geq\frac{\mu}{2(2m+1)^{1/k}}. A ≥ 2 ( 2 m + 1 ) 1/ k μ .
Taking expectations, we obtain
m = E [ A ] ≥ k μ 4 ( 2 m + 1 ) 1 / k . m=\mathbb{E}[A]\geq\frac{k\mu}{4(2m+1)^{1/k}}. m = E [ A ] ≥ 4 ( 2 m + 1 ) 1/ k k μ .
Since m ≥ 1 m\geq1 m ≥ 1 whenever μ > 0 \mu>0 μ > 0 , this implies m = Ω ( ( k μ ) k / ( k + 1 ) ) m=\Omega((k\mu)^{k/(k+1)}) m = Ω (( k μ ) k / ( k + 1 ) ) . Combining the two cases, and using μ ≤ n \mu\leq n μ ≤ n , the resulting expected-size approximation factor is O ( n 1 / ( k + 1 ) / k ) O(n^{1/(k+1)}/k) O ( n 1/ ( k + 1 ) / k ) .
Deterministic lower bound
Our proof builds on the adversarial approach of [40 ] : answer the queries while keeping two graphs consistent with every answer, one with a large matching and another whose edges meet a small vertex cover. Nisan preserves a perfect matching in the first graph by ensuring that no vertex loses too many possible neighbours. His adversary uses a small hitting set to answer large queries, while the remaining small queries are handled by declaring the corresponding pairs absent. However, if too many such pairs are incident on a vertex, declaring them absent would violate this invariant. Nisan handles these “heavy” vertices by instead fixing all their remaining undecided incident pairs present. This preserves the perfect matching, but each heavy vertex now contributes to the vertex cover of the second graph. The resulting lower bound is therefore limited by the need to balance the size of the hitting sets against the number of heavy vertices.
More concretely, let θ \theta θ be a threshold separating large and small queries in each round. Nisan answers all large queries using a hitting set of size O ( n log n / θ ) O(n\log n/\theta) O ( n log n / θ ) . The remaining small queries involve at most q θ q\theta q θ undecided pairs. To ensure that no vertex loses more than n / ( 2 k ) n/(2k) n / ( 2 k ) possible neighbours in a round, any vertex incident on more than n / ( 2 k ) n/(2k) n / ( 2 k ) of these pairs is declared heavy. There can be at most O ( k q θ / n ) O(kq\theta/n) O ( k q θ / n ) such vertices, and all their remaining incident pairs are fixed present. Consequently, the vertex cover of the small graph has size at most
O ( k ( n log n θ + k q θ n ) ) . O\left(k\left(\frac{n\log n}{\theta}+\frac{kq\theta}{n}\right)\right). O ( k ( θ n log n + n k q θ ) ) .
Balancing these two terms gives θ = Θ ( n log n / ( k q ) ) \theta=\Theta(n\sqrt{\log n/(kq)}) θ = Θ ( n log n / ( k q ) ) , resulting in a cover of size O ~ ( k 3 / 2 q ) \widetilde{O}(k^{3/2}\sqrt{q}) O ( k 3/2 q ) . For q = Θ ( n ) q=\Theta(n) q = Θ ( n ) , this yields an approximation lower bound of only Ω ~ ( n / k 3 / 2 ) \widetilde{\Omega}(\sqrt{n}/k^{3/2}) Ω ( n / k 3/2 ) .
Our key change is to preserve only a matching of size Ω ( n ) \Omega(n) Ω ( n ) , rather than a perfect matching. This allows us to retire a small number of left vertices whose neighbourhoods become too restricted: we fix all their remaining undecided pairs absent and answer future queries from their fixed neighbourhoods. Retirement adds no edges, so it does not enlarge the cover of the small graph. Instead of protecting every vertex separately, we bound the total number of pairs fixed absent by queries to active vertices, and use this to bound how many vertices must be retired.
For O ( n ) O(n) O ( n ) queries per round, choose a prefix threshold θ = c n / k \theta= cn/k θ = c n / k , where c > 0 c > 0 c > 0 is sufficiently small. At the start of each round, consider the undecided pairs preceding each query’s first known edge, or all undecided pairs if no edge is known. For every query with at least θ \theta θ such pairs, take the right endpoints of the first θ \theta θ . A set T r T_r T r of O ~ ( k ) \widetilde{O}(k) O ( k ) right vertices intersects all but at most n / ( 8 k ) n/(8k) n / ( 8 k ) of these prefixes. We retire the left vertices with a missed prefix, and fix every undecided pair between the remaining active left vertices and T r T_r T r present before answering any query. These commitments ensure that each query to an active vertex fixes at most θ \theta θ new pairs absent. At the end of the round, we also retire any active left vertex that has accumulated at least n / 2 n/2 n /2 absent pairs.
Over all k k k rounds, queries to active vertices fix at most O ( k n θ ) O(kn\theta) O ( k n θ ) pairs absent. Thus only O ( k θ ) = O ( c n ) O(k\theta) = O(cn) O ( k θ ) = O ( c n ) vertices are retired by the absent-pair threshold, in addition to at most n / 8 n/8 n /8 retired because of missed prefixes. More than n / 2 n/2 n /2 left vertices therefore remain active, each with more than n / 2 n/2 n /2 possible neighbours. Meanwhile, every pair fixed present has its right endpoint in
T = ⋃ r = 1 k T r , ∣ T ∣ = O ~ ( k 2 ) . T = \bigcup_{r=1}^{k} T_r,\qquad|T| = \widetilde{O}(k^2). T = r = 1 ⋃ k T r , ∣ T ∣ = O ( k 2 ) .
Making all undecided pairs absent gives a graph whose matching size is at most ∣ T ∣ |T| ∣ T ∣ . Making them present gives a graph with a matching of size at least ⌊ n / 2 ⌋ \lfloor n/2\rfloor ⌊ n /2 ⌋ . Both completions preserve every answer, including all non-edges certified by its prefix, so a deterministic algorithm must return the same matching on both.
This gives an approximation lower bound of Ω ~ ( n / k 2 ) \widetilde{\Omega}(n/k^2) Ω ( n / k 2 ) , compared with Ω ~ ( n / k 3 / 2 ) \widetilde{\Omega}(\sqrt{n}/k^{3/2}) Ω ( n / k 3/2 ) from [40 ] . The polynomial improvement comes from eliminating the extra cover vertices needed to protect heavy vertices, allowing the larger threshold θ = Θ ( n / k ) \theta= \Theta(n/k) θ = Θ ( n / k ) . Working directly with demand-query prefixes also avoids the logarithmic round overhead in working with Demand-OR queries (as Nisan did) instead of demand queries.
Deterministic upper bound
A sequential greedy algorithm processes the left vertices one at a time, matching each vertex to a currently unmatched neighbour whenever possible. This produces a maximal matching and hence a 2-approximation, but its direct implementation requires up to n n n rounds: each demand query depends on which right vertices were matched by earlier queries. Our approach is to recover enough neighbours in advance to process several left vertices without making further queries. We first explain how to execute such a batch, and then how to trade approximation quality for fewer rounds.
More concretely, consider a batch B B B of at most b b b left vertices, and let S S S be the right vertices currently unmatched. For each u ∈ B u \in B u ∈ B , recover b b b distinct neighbours in S S S , or all its neighbours in S S S if fewer than b b b exist. We can then process the vertices of B B B greedily using only these lists. If a vertex has a list of size b b b , at most b − 1 b - 1 b − 1 of its listed neighbours can have been used by earlier vertices in the batch, so at least one remains available. If its list has fewer than b b b neighbours, the list is complete, and we can determine exactly whether an available neighbour remains. Thus the recovered lists suffice to execute a valid sequential greedy process within the batch, without any further queries.
To recover these lists, we use a binary-tree search procedure that, given a vertex u u u and a set S S S of available right vertices, finds b b b distinct neighbours of u u u in S S S , or all such neighbours if fewer than b b b exist. This takes O ( log n ) O(\log n) O ( log n ) rounds and O ( b ) O(b) O ( b ) demand queries per round. Running the procedure in parallel for all vertices of B B B therefore allows us to process an entire batch in O ( log n ) O(\log n) O ( log n ) rounds, using O ( b 2 ) O(b^2) O ( b 2 ) queries per round.
To obtain the approximation–round tradeoff, partition L L L into g g g balanced groups L 1 , … , L g L_1,\ldots,L_g L 1 , … , L g . For each group L i L_i L i , run a separate greedy execution on G [ L i , R ] G[L_i,R] G [ L i , R ] , processing its vertices in batches of size b = Θ ( n / g ) b = \Theta\left(\sqrt{n/g}\right) b = Θ ( n / g ) .
Each group independently computes a maximal matching in its subgraph G [ L i , R ] G[L_i,R] G [ L i , R ] , without coordinating with the other groups. Thus, the same right vertex may be matched in different groups, but not more than once within any individual group. We eventually return the largest of these matchings. Their total query cost per round is O ( g b 2 ) = O ( n ) O(gb^2)=O(n) O ( g b 2 ) = O ( n ) .
Each group contains O ( n / g ) O(n/g) O ( n / g ) left vertices and therefore needs O ( n / ( g b ) + 1 ) O(n/(gb)+1) O ( n / ( g b ) + 1 ) batches. Consequently, all executions finish in
O ( ( n g b + 1 ) log n ) = O ( n g log n ) O\left(\left(\frac{n}{gb}+1\right)\log n\right)=O\left(\sqrt{\frac{n}{g}}\log n\right) O ( ( g b n + 1 ) log n ) = O ( g n log n )
rounds.
Let M i M_i M i be the matching produced by group L i L_i L i . We return the largest of these matchings, rather than their union, since different groups may have used the same right vertices. To see why this gives a 2 g 2g 2 g -approximation, fix a maximum matching M ⋆ M^\star M ⋆ of G G G . Each M i M_i M i is maximal in G [ L i , R ] G[L_i,R] G [ L i , R ] , so every edge of M ⋆ M^\star M ⋆ whose left endpoint belongs to L i L_i L i meets an edge of M i M_i M i . Each edge of M i M_i M i can meet at most two edges of M ⋆ M^\star M ⋆ . Summing over the groups gives
∑ i = 1 g ∣ M i ∣ ≥ μ 2 , max 1 ≤ i ≤ g ∣ M i ∣ ≥ μ 2 g . \sum_{i=1}^{g}|M_i| \ge\frac{\mu}{2},\qquad\max_{1\le i\le g}|M_i| \ge\frac{\mu}{2g}. i = 1 ∑ g ∣ M i ∣ ≥ 2 μ , 1 ≤ i ≤ g max ∣ M i ∣ ≥ 2 g μ .
Increasing the number of groups thus reduces the number of batches processed sequentially, at the cost of a proportionate loss in approximation.
For k k k at least a sufficiently large multiple of log n \log n log n , choosing
g = Θ ( max { 1 , n log 2 n k 2 } ) g=\Theta\left(\max\left\{1,\frac{n\log^2 n}{k^2}\right\}\right) g = Θ ( max { 1 , k 2 n log 2 n } )
fits the executions within k k k rounds. This gives approximation factor
O ( max { 1 , n log 2 n k 2 } ) = O ~ ( max { 1 , n k 2 } ) , O\left(\max\left\{1,\frac{n\log^2 n}{k^2}\right\}\right)=\widetilde{O}\left(\max\left\{1,\frac{n}{k^2}\right\}\right), O ( max { 1 , k 2 n log 2 n } ) = O ( max { 1 , k 2 n } ) ,
matching our deterministic lower bound up to logarithmic factors.
Demand-OR queries
Our randomised demand query algorithm uses demand queries only to sample a uniform neighbour inside a specified set of right vertices. Thus, to obtain the same algorithms using Demand-OR queries, it suffices to simulate the following primitive: given a left vertex u ∈ L u\in L u ∈ L and a set S ⊆ R S\subseteq R S ⊆ R , return a uniformly random neighbour of u u u in S S S , if one exists, and otherwise report that no neighbour exists.
We prove a simulation lemma showing that this primitive can be implemented using O ( log 2 n ) O(\log^2 n) O ( log 2 n ) Demand-OR queries in a single nonadaptive round. The algorithm detects an empty neighbourhood with certainty. Otherwise, it returns a genuine neighbour with constant probability, and its output is exactly uniform conditional on success. This avoids the O ( log n ) O(\log n) O ( log n ) adaptive rounds needed by the trivial binary-search simulation, at the cost of an O ( log 2 n ) O(\log^2 n) O ( log 2 n ) blowup in the number of queries.
We now explain the main idea behind this simulation, which uses well-known techniques from the L 0 L_0 L 0 -sampling literature [39 , 36 , 5 , 34 ] . The idea is to guess the number d d d of neighbours of u u u in S S S in powers of two, using guesses 1 , 2 , 4 , … 1, 2, 4, \ldots 1 , 2 , 4 , … . For each guess g g g , sample the vertices of S S S independently with probability 1 / g 1/g 1/ g . One of these guesses satisfies d ≤ g < 2 d d \le g < 2d d ≤ g < 2 d , so its sampling rate is Θ ( 1 / d ) \Theta(1/d) Θ ( 1/ d ) and isolates exactly one neighbour with constant probability. To detect and recover this neighbour, label the right vertices in binary. Query the sampled set and, for each bit position, its two subsets consisting of vertices with bit zero or bit one. A unique neighbour gives exactly one positive answer at every position. Two distinct neighbours give two positive answers at some position. The test therefore verifies uniqueness and recovers a genuine neighbour. All sampling scales and all bit queries are fixed before any answers are received, so the entire procedure takes one round.
By symmetry, the first successful trial in a fixed ordering of independent trials returns an exactly uniform neighbour, conditional on success. A constant number of independent repetitions per guess ensures high constant success probability. The O ( log n ) O(\log n) O ( log n ) guesses and O ( log n ) O(\log n) O ( log n ) queries per trial give O ( log 2 n ) O(\log^2 n) O ( log 2 n ) queries per simulated call. Consequently, applying our demand-query upper bound gives the same asymptotic approximation using k k k rounds and O ( q log 2 n ) O(q\log^2 n) O ( q log 2 n ) Demand-OR queries per round. Additional parallel repetitions yield the high-probability ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximation in O ( log n / log log n ) O(\log n/\log\log n) O ( log n / log log n ) rounds using O ~ ( n ) \widetilde{O}(n) O ( n ) queries per round.
Prelimilaries
Notation. For a bipartite graph G = ( V , E ) G=(V,E) G = ( V , E ) where V = L ⊔ R V=L\sqcup R V = L ⊔ R . For each vertex v ∈ V v\in V v ∈ V , we denote by N ( v ) = { u ∈ V : ( u , v ) ∈ E } N(v)=\{u\in V:(u,v)\in E\} N ( v ) = { u ∈ V : ( u , v ) ∈ E } its neighbourhood and by deg ( v ) = ∣ N ( v ) ∣ \deg(v)=|N(v)| deg ( v ) = ∣ N ( v ) ∣ its degree. For a set of vertices S S S we define N S ( v ) = N ( v ) ∩ S N_S(v)=N(v)\cap S N S ( v ) = N ( v ) ∩ S and deg S ( v ) = ∣ N S ( v ) ∣ \deg_S(v)=|N_S(v)| deg S ( v ) = ∣ N S ( v ) ∣ .
Let μ ( G ) \mu(G) μ ( G ) be the size of the maximum matching of the graph G G G . For a subset F F F of edges in E E E , we use V ( F ) V(F) V ( F ) to denote the vertices incident on F F F ; similarly, for a set U U U of vertices, E ( U ) E(U) E ( U ) denotes the edges incident on $U. For sets A , B A,B A , B of vertices, E ( A , B ) E(A,B) E ( A , B ) denotes the edges between A A A and B B B . We further use G [ U ] G[U] G [ U ] for any set U U U of vertices to denote the induced subgraph of G G G on U U U .
General Inequalities We use the following inequality a number of times in this work.
Proposition 3.1. 1 4 ≤ ( 1 − 1 x ) x ≤ 1 e \frac{1}{4}\le\left(1-\frac{1}{x}\right)^x\le\frac{1}{e} 4 1 ≤ ( 1 − x 1 ) x ≤ e 1 for all x ≥ 2 x\ge2 x ≥ 2 .
The Demand Query Model The demand query model is defined over a bipartite graph G = ( L ∪ R , E ) G=(L\cup R,E) G = ( L ∪ R , E ) with ∣ L ∣ = ∣ R ∣ = n |L|=|R|=n ∣ L ∣ = ∣ R ∣ = n . A single demand query q q q is specified by an ordered pair q = ( u q , σ q ) q=(u_q,\sigma_q) q = ( u q , σ q ) where u q ∈ L u_q\in L u q ∈ L and σ q \sigma_q σ q is a permutation of the vertex set R R R . Upon issuing this demand query, the oracle returns
dem ( q ) = arg min v ∈ R { σ q − 1 ( v ) : u q v ∈ E } . \operatorname{dem}(q)=\arg\min_{v\in R}\{\sigma_q^{-1}(v):u_qv\in E\}. dem ( q ) = arg v ∈ R min { σ q − 1 ( v ) : u q v ∈ E } .
Thus, this demand query certifies that there is an edge between u q u_q u q and dem ( q ) \operatorname{dem}(q) dem ( q ) in G G G . It also certifies that u q v u_qv u q v is not an edge in G G G for all { v : σ q ( v ) < σ q ( dem ( q ) ) } \{v:\sigma_q(v)<\sigma_q(\operatorname{dem}(q))\} { v : σ q ( v ) < σ q ( dem ( q ))} . If N ( u ) = ∅ N(u)=\emptyset N ( u ) = ∅ , the oracle returns ⊥ \perp ⊥ . This interface generalises the standard neighbour query by allowing the algorithm to specify an arbitrary preference hierarchy over the set of potential edges incident to a vertex. Note that this query does not give any other information about u q v u_qv u q v edges ∀ v : σ q ( v ) > σ q ( dem ( q ) ) \forall v:\sigma_q(v)>\sigma_q(\operatorname{dem}(q)) ∀ v : σ q ( v ) > σ q ( dem ( q )) . Therefore, given query set Q Q Q , we can certify ( u , v ) ∈ L × R (u,v)\in L\times R ( u , v ) ∈ L × R by either edges, non-edges, as in the following definition, or uncertified edges.
Definition 3.2. Given query set Q Q Q and their responses, we certify the edges of G G G in the following way:
Graph edges: Certify ( u , v ) ∈ C ( Q ) (u,v) \in C(Q) ( u , v ) ∈ C ( Q ) if there exist q ∈ Q q \in Q q ∈ Q such that u = u q u = u_q u = u q and v = dem ( q ) v = \operatorname{dem}(q) v = dem ( q ) .
Graph non-edges: Certify ( u , v ) ∈ C ‾ ( Q ) (u,v) \in\overline{C}(Q) ( u , v ) ∈ C ( Q ) if there exists q ∈ Q q \in Q q ∈ Q such that u = u q u = u_q u = u q and σ q ( v ) < σ q ( dem ( q ) ) \sigma_q(v) < \sigma_q(\operatorname{dem}(q)) σ q ( v ) < σ q ( dem ( q )) .
For the remaining pairs ( u , v ) (u,v) ( u , v ) , we are uncertain whether it belongs to the graph or not. We call them uncertified pairs . We will also use the following definition in the proof.
Definition 3.3 (C ( v , Q ) C(v,Q) C ( v , Q ) , C ‾ ( v , Q ) \overline{C}(v,Q) C ( v , Q ) ). We define C ( v , Q ) C(v,Q) C ( v , Q ) to be the set of all edges in C ( Q ) C(Q) C ( Q ) incident to v v v and C ‾ ( v , Q ) \overline{C}(v,Q) C ( v , Q ) to be the set of all edges in C ‾ ( Q ) \overline{C}(Q) C ( Q ) incident to v v v .
Although Lemma 3.3 is defined for any vertex v ∈ L ∪ R v \in L \cup R v ∈ L ∪ R , we will primarily use this definition where v ∈ R v \in R v ∈ R .
We use the following standard concentration inequalities. The first is a standard form of Chernoff bounds.
Proposition 3.4 (Chernoff bound; c.f. [29 ] ). Suppose X 1 , … , X m X_1,\ldots,X_m X 1 , … , X m are m m m independent random variables with range [ 0 , 1 ] [0,1] [ 0 , 1 ] each. Let X : = ∑ i = 1 m X i X := \sum_{i=1}^{m} X_i X := ∑ i = 1 m X i and μ L ≤ E [ X ] ≤ μ H \mu_L \le\mathbb{E}[X] \le\mu_H μ L ≤ E [ X ] ≤ μ H . Then, for any ε > 0 \varepsilon> 0 ε > 0 ,
Pr ( X > ( 1 + ε ) ⋅ μ H ) ≤ exp ( − ε 2 ⋅ μ H 3 + ε ) and Pr ( X < ( 1 − ε ) ⋅ μ L ) ≤ exp ( − ε 2 ⋅ μ L 2 + ε ) . \Pr\left(X > (1+\varepsilon)\cdot\mu_H\right) \le\exp\left(-\frac{\varepsilon^2\cdot\mu_H}{3+\varepsilon}\right)
\quad\text{and}\quad
\Pr\left(X < (1-\varepsilon)\cdot\mu_L\right) \le\exp\left(-\frac{\varepsilon^2\cdot\mu_L}{2+\varepsilon}\right). Pr ( X > ( 1 + ε ) ⋅ μ H ) ≤ exp ( − 3 + ε ε 2 ⋅ μ H ) and Pr ( X < ( 1 − ε ) ⋅ μ L ) ≤ exp ( − 2 + ε ε 2 ⋅ μ L ) .
We use the term “with high probability” to mean with probability at least 1 − n − c 1-n^{-c} 1 − n − c for some large constant c > 0 c>0 c > 0 , which can be made arbitrarily large by increasing the queries of our algorithms by a constant factor.
A Randomised k k k -round Lower Bound
In this section, we prove our main lower bound for randomised algorithms with a bounded number of rounds of demand queries. Throughout the section, G=(L\mathbin{\mathaccent\cdot\cup}R,E) is a bipartite graph with ∣ L ∣ = ∣ R ∣ = n |L|=|R|=n ∣ L ∣ = ∣ R ∣ = n , and μ ( G ) \mu(G) μ ( G ) denotes its maximum matching size. All logarithms are natural unless a base is specified. If an algorithm outputs a set of pairs M M M , let W = ∣ M ∣ W=|M| W = ∣ M ∣ when M M M is a matching in G G G , and let W = 0 W=0 W = 0 otherwise. Thus an output-size bound applies to every valid output matching, including one that contains edges not certified by the queries.
Theorem 6. Let 1 ≤ k ≤ ⌊ log 2 n ⌋ 1 \le k \le\lfloor\log_2 n \rfloor 1 ≤ k ≤ ⌊ log 2 n ⌋ , − 1 ≤ δ ≤ 1 / k -1 \le\delta\le1/k − 1 ≤ δ ≤ 1/ k , and β : = 1 / ( 2 k ) − δ / 2 \beta:= 1/(2k)-\delta/2 β := 1/ ( 2 k ) − δ /2 . Any randomised algorithm that uses k k k rounds and O ( n 1 + δ ) O(n^{1+\delta}) O ( n 1 + δ ) demand queries per round has an input graph G G G with μ ( G ) = Ω ( n ) \mu(G)=\Omega(n) μ ( G ) = Ω ( n ) on which, with probability at least 1 − O ( n − 2 ) 1-O(n^{-2}) 1 − O ( n − 2 ) over the algorithm’s randomness,
W = O ( k n 1 − β log n + k log n ) . W=O\left(kn^{1-\beta}\sqrt{\log n}+k\log n\right). W = O ( k n 1 − β log n + k log n ) .
Consequently, its worst-case approximation factor is
Ω ( max { 1 , min { n β k log n , n k log n } } ) . \Omega\left(\max\left\{1,\min\left\{\frac{n^\beta}{k\sqrt{\log n}},\frac{n}{k\log n}\right\}\right\}\right). Ω ( max { 1 , min { k log n n β , k log n n } } ) .
In particular, for δ ≥ 0 \delta\ge0 δ ≥ 0 , this gives the approximation lower bound
Ω ( max { 1 , n β k log n } ) . \Omega\left(\max\left\{1,\frac{n^\beta}{k\sqrt{\log n}}\right\}\right). Ω ( max { 1 , k log n n β } ) .
Remark 4.1. If k n − β log n > 1 / 2 kn^{-\beta}\sqrt{\log n} > 1/2 k n − β log n > 1/2 , then k n 1 − β log n > n / 2 kn^{1-\beta}\sqrt{\log n} > n/2 k n 1 − β log n > n /2 . Since every matching has size at most n n n , the stated output-size bound follows immediately on any graph with a perfect matching. We therefore assume for the rest of the proof that
k n − β log n ≤ 1 2 . (1) kn^{-\beta}\sqrt{\log n} \le\frac{1}{2}. \tag*{(1)} k n − β log n ≤ 2 1 . (1)
All estimates below are for sufficiently large n n n ; their constants may depend on the constant in the query bound.
In § 4.1 , we define the hard distribution. § 4.2 describes the proof strategy, and § 4.3 and § 4.4 establish the properties needed to analyse each round. We complete the proof in § 4.5 .
The Hard Distribution
Definition 4.2 (μ k , δ \mu_{k,\delta} μ k , δ ). For parameters satisfying (1), let μ k , δ \mu_{k,\delta} μ k , δ be the following distribution on bipartite graphs with vertex set L ⊔ R L \sqcup R L ⊔ R , where ∣ L ∣ = ∣ R ∣ = n |L| = |R| = n ∣ L ∣ = ∣ R ∣ = n .
R R R partitioning. Independently for each v ∈ R v \in R v ∈ R , assign v v v to exactly one of T 0 , T 1 , … , T k T_0, T_1, \ldots, T_k T 0 , T 1 , … , T k . Each set T j T_j T j , for j < k j < k j < k , is chosen with probability n − β log n n^{-\beta}\sqrt{\log n} n − β log n , and T k T_k T k is chosen with the remaining probability 1 − k n − β log n 1 - kn^{-\beta}\sqrt{\log n} 1 − k n − β log n .
Edges. Conditional on this partition, include every pair ( u , v ) ∈ L × R (u,v) \in L \times R ( u , v ) ∈ L × R independently, with probability p j : = n − j / k p_j := n^{-j/k} p j := n − j / k when v ∈ T j v \in T_j v ∈ T j .
The algorithm is given the labelled vertex sets L L L and R R R , but not the partition into the sets T j T_j T j .
The vertices in T 0 T_0 T 0 have the highest degree, and the expected degree decreases geometrically across T 1 , … , T k T_1, \ldots, T_k T 1 , … , T k . In particular, a vertex in T k T_k T k has edge probability 1 / n 1/n 1/ n , and hence expected degree one. Each of the other layers has expected size n 1 − β log n n^{1-\beta}\sqrt{\log n} n 1 − β log n . We will use the notation
D : = ⋃ j = 0 k − 1 T j D := \bigcup_{j=0}^{k-1} T_j D := j = 0 ⋃ k − 1 T j
for the union of these dense layers.
Observation 4.3. With probability at least 1 − n − 4 1 - n^{-4} 1 − n − 4 ,
∣ D ∣ = O ( k n 1 − β log n + log n ) . |D| = O\left(kn^{1-\beta}\sqrt{\log n} + \log n\right). ∣ D ∣ = O ( k n 1 − β log n + log n ) . Moreover, Pr [ ∣ T k ∣ < n / 3 ] = exp ( − Ω ( n ) ) \Pr[|T_k| < n/3] = \exp(-\Omega(n)) Pr [ ∣ T k ∣ < n /3 ] = exp ( − Ω ( n )) .
Proof. For v ∈ R v \in R v ∈ R , the indicators of the events v ∈ D v \in D v ∈ D are independent Bernoulli random variables with parameter k n − β log n kn^{-\beta}\sqrt{\log n} k n − β log n . Therefore,
∣ D ∣ ∼ Bin ( n , k n − β log n ) , E ∣ D ∣ = k n 1 − β log n . |D| \sim\operatorname{Bin}\left(n,kn^{-\beta}\sqrt{\log n}\right), \qquad\mathbb{E}|D| = kn^{1-\beta}\sqrt{\log n}. ∣ D ∣ ∼ Bin ( n , k n − β log n ) , E ∣ D ∣ = k n 1 − β log n .
The first assertion follows from the additive Chernoff bound. For the second assertion, ∣ T k ∣ |T_k| ∣ T k ∣ is binomial with mean at least n / 2 n/2 n /2 by (1), so the lower-tail Chernoff bound applies.
Lemma 4.4. A graph G G G sampled from μ k , δ \mu_{k,\delta} μ k , δ satisfies μ ( G ) ≥ n / 10 \mu(G) \ge n/10 μ ( G ) ≥ n /10 with probability 1 − exp ( − Ω ( n ) ) 1 - \exp(-\Omega(n)) 1 − exp ( − Ω ( n )) .
Proof. Condition on any layer assignment with ∣ T k ∣ ≥ n / 3 |T_k| \ge n/3 ∣ T k ∣ ≥ n /3 . Process ⌊ n / 3 ⌋ \lfloor n/3\rfloor ⌊ n /3 ⌋ vertices of T k T_k T k in a fixed order, and greedily match each to an unmatched neighbour in L L L whenever possible. As long as the current matching has size less than n / 10 n/10 n /10 , at least 9 n / 10 9n/10 9 n /10 vertices of L L L are unmatched. The edges from the current vertex to these vertices are unexposed, independent Bernoulli 1 / n 1/n 1/ n variables. Thus the conditional probability of adding a matching edge is at least
1 − ( 1 − 1 / n ) 9 n / 10 ≥ 1 − e − 0.9 > 1 2 . 1-(1-1/n)^{9n/10} \ge1-e^{-0.9} > \frac{1}{2}. 1 − ( 1 − 1/ n ) 9 n /10 ≥ 1 − e − 0.9 > 2 1 .
Stop when the matching first has size at least n / 10 n/10 n /10 , and replace any subsequent success indicators by independent fair coins. Every indicator in this sequence has conditional success probability at least 1 / 2 1/2 1/2 . Coupling successive indicators using independent uniform random variables shows that their sum stochastically dominates Bin ( ⌊ n / 3 ⌋ , 1 / 2 ) \operatorname{Bin}(\lfloor n/3\rfloor,1/2) Bin (⌊ n /3 ⌋ , 1/2 ) . If the matching never reaches size n / 10 n/10 n /10 , this sequence agrees with the original greedy process. The lower-tail Chernoff bound therefore makes this event exp ( − Ω ( n ) ) \exp(-\Omega(n)) exp ( − Ω ( n )) . Finally, remove the conditioning using Observation 4.3 .
Proof Overview
To prove Theorem 6, we first fix an arbitrary deterministic algorithm A L G \mathrm{ALG} ALG and analyse its execution on G ∼ μ k , δ G \sim\mu_{k,\delta} G ∼ μ k , δ . Let c 0 ≥ 1 c_0 \ge1 c 0 ≥ 1 be a constant such that A L G \mathrm{ALG} ALG asks at most c 0 n 1 + δ c_0 n^{1+\delta} c 0 n 1 + δ demand queries per round. Let Q 1 , Q 2 , … , Q k Q_1,Q_2,\ldots,Q_k Q 1 , Q 2 , … , Q k be the query sets in its successive rounds, and let Q ≤ r : = ⋃ i = 1 r Q i Q_{\le r}:=\bigcup_{i=1}^{r}Q_i Q ≤ r := ⋃ i = 1 r Q i . All queries in a round are chosen before any responses from that round are received.
We recall the information certified by a demand query. A query q = ( u q , σ q ) q=(u_q,\sigma_q) q = ( u q , σ q ) specifies a left vertex and an ordering σ q ( 1 ) , … , σ q ( n ) \sigma_q(1),\ldots,\sigma_q(n) σ q ( 1 ) , … , σ q ( n ) of R R R . Its response dem ( q ) \operatorname{dem}(q) dem ( q ) is the first neighbour of u q u_q u q in this ordering, or ⊥ \bot ⊥ if there is no neighbour. When dem ( q ) ≠ ⊥ \operatorname{dem}(q)\ne\bot dem ( q ) = ⊥ , define
YES ( q ) : = { ( u q , dem ( q ) ) } , \operatorname{YES}(q):=\{(u_q,\operatorname{dem}(q))\}, YES ( q ) := {( u q , dem ( q ))} ,
NO ( q ) : = { ( u q , σ q ( i ) ) : 1 ≤ i < σ q − 1 ( dem ( q ) ) } . \operatorname{NO}(q):=\{(u_q,\sigma_q(i)):1\le i<\sigma_q^{-1}(\operatorname{dem}(q))\}. NO ( q ) := {( u q , σ q ( i )) : 1 ≤ i < σ q − 1 ( dem ( q ))} .
When dem ( q ) = ⊥ \operatorname{dem}(q)=\bot dem ( q ) = ⊥ , let YES ( q ) = ∅ \operatorname{YES}(q)=\varnothing YES ( q ) = ∅ and NO ( q ) = { u q } × R \operatorname{NO}(q)=\{u_q\}\times R NO ( q ) = { u q } × R . For a set Q Q Q of answered queries, write
YES ( Q ) : = ⋃ q ∈ Q YES ( q ) , NO ( Q ) : = ⋃ q ∈ Q NO ( q ) . \operatorname{YES}(Q):=\bigcup_{q\in Q}\operatorname{YES}(q),
\qquad
\operatorname{NO}(Q):=\bigcup_{q\in Q}\operatorname{NO}(q). YES ( Q ) := q ∈ Q ⋃ YES ( q ) , NO ( Q ) := q ∈ Q ⋃ NO ( q ) .
These are the pairs certified to be edges and non-edges, respectively. A pair in neither set is uncertified . We write YES ( v , Q ) \operatorname{YES}(v,Q) YES ( v , Q ) and NO ( v , Q ) \operatorname{NO}(v,Q) NO ( v , Q ) for the pairs in these sets incident on v v v .
At the end of each round, we categorise the vertices of R R R according to the information obtained so far. Define nested sets R = R 0 ⊇ R 1 ⊇ ⋯ ⊇ R k R=R_0\supseteq R_1\supseteq\cdots\supseteq R_k R = R 0 ⊇ R 1 ⊇ ⋯ ⊇ R k by
R r + 1 : = { v ∈ R r : ∣ YES ( v , Q ≤ r + 1 ) ∣ = 0 and ∣ NO ( v , Q ≤ r + 1 ) ∣ ≤ n ( r + 1 ) / k } . (2) R_{r+1}:=\left\{v\in R_r:\left|\operatorname{YES}(v,Q_{\le r+1})\right|=0\ \text{and}\ \left|\operatorname{NO}(v,Q_{\le r+1})\right|\le n^{(r+1)/k}\right\}. \tag*{(2)} R r + 1 := { v ∈ R r : ∣ YES ( v , Q ≤ r + 1 ) ∣ = 0 and ∣ NO ( v , Q ≤ r + 1 ) ∣ ≤ n ( r + 1 ) / k } . (2)
Thus a vertex leaves R r R_r R r if an incident edge is certified, or if the number of its incident certified non-edges exceeds the next threshold. For 0 ≤ r < k 0\le r<k 0 ≤ r < k , let
NO r : = { v ∈ R r : ∣ NO ( v , Q ≤ r + 1 ) ∣ > n ( r + 1 ) / k } , \operatorname{NO}_r:=\left\{v\in R_r:\left|\operatorname{NO}(v,Q_{\le r+1})\right|>n^{(r+1)/k}\right\}, NO r := { v ∈ R r : ∣ NO ( v , Q ≤ r + 1 ) ∣ > n ( r + 1 ) / k } ,
YES r : = { v ∈ R r : ∣ YES ( v , Q r + 1 ) ∣ ≥ 1 } . \operatorname{YES}_r:=\left\{v\in R_r:\left|\operatorname{YES}(v,Q_{r+1})\right|\ge1\right\}. YES r := { v ∈ R r : ∣ YES ( v , Q r + 1 ) ∣ ≥ 1 } .
Then R r ∖ R r + 1 = NO r ∪ YES r R_r\setminus R_{r+1}=\operatorname{NO}_r\cup\operatorname{YES}_r R r ∖ R r + 1 = NO r ∪ YES r . Notice that a vertex in R r R_r R r has no previously certified incident edge, so the definition of YES r \operatorname{YES}_r YES r could equivalently use Q ≤ r + 1 Q_{\le r+1} Q ≤ r + 1 .
Every edge certified by the algorithm has its right endpoint in R ∖ R k R \setminus R_k R ∖ R k . Therefore, R ∖ R k R \setminus R_k R ∖ R k is a vertex cover for the certified edges. To bound its size, we count the vertices in D D D once over the entire execution, and analyse the remaining removals round by round. In particular,
∣ R ∖ R k ∣ ≤ ∣ D ∣ + ∑ r = 0 k − 1 ∣ N O r ∣ + ∑ r = 0 k − 1 ∣ Y E S r ∩ T k ∣ . (3) |R \setminus R_k| \leq|D| + \sum_{r=0}^{k-1} |\mathrm{NO}_r| + \sum_{r=0}^{k-1} |\mathrm{YES}_r \cap T_k|. \tag*{(3)} ∣ R ∖ R k ∣ ≤ ∣ D ∣ + r = 0 ∑ k − 1 ∣ NO r ∣ + r = 0 ∑ k − 1 ∣ YES r ∩ T k ∣. (3)
The first term is controlled by Observation 4.3. For the other two terms, we will show, with high probability, that
∑ r = 0 k − 1 ∣ N O r ∣ = O ( k n 1 − β log n ) , \sum_{r=0}^{k-1} |\mathrm{NO}_r| = O\left(kn^{1-\beta}\sqrt{\log n}\right), r = 0 ∑ k − 1 ∣ NO r ∣ = O ( k n 1 − β log n ) ,
∑ r = 0 k − 1 ∣ Y E S r ∩ T k ∣ = O ( n 1 − β log n + k log n ) . \sum_{r=0}^{k-1} |\mathrm{YES}_r \cap T_k| = O\left(n^{1-\beta}\sqrt{\log n} + k\log n\right). r = 0 ∑ k − 1 ∣ YES r ∩ T k ∣ = O ( n 1 − β log n + k log n ) .
We then account separately for uncertified output pairs into T k T_k T k . Any output pair into D D D is included in the same single charge for D D D .
To analyse round r + 1 r+1 r + 1 , fix an arbitrary positive-probability transcript τ \tau τ of the first r r r rounds. This fixes the queries and responses in these rounds, the set R r R_r R r , and the queries in Q r + 1 Q_{r+1} Q r + 1 , but not their responses. All conditional estimates below hold uniformly over such transcripts. We suppress the superscript τ \tau τ on these fixed objects to keep the notation simple.
Properties of the Graph Distribution
The proof uses the following independence properties of μ k , δ \mu_{k,\delta} μ k , δ .
Observation 4.5. The layer assignments and incident edge variables associated with distinct vertices of R R R are independent. Conditional on v ∈ T i v \in T_i v ∈ T i , the pairs ( u , v ) (u,v) ( u , v ) , u ∈ L u \in L u ∈ L , are independent Bernoulli n − i / k n^{-i/k} n − i / k variables and are independent of all random data at other right vertices.
This follows directly from Definition 4.2. The conditioning on v ∈ T i v \in T_i v ∈ T i in the second assertion is necessary: without it, finding an edge incident on v v v can increase the probability that v v v belongs to a denser layer, and hence change the probability that another incident pair is an edge. We next show how independence across right vertices is preserved after fixing a transcript.
Definition 4.6 (E τ \mathcal{E}_\tau E τ , E τ ( v ) \mathcal{E}_\tau(v) E τ ( v ) ). Let E τ \mathcal{E}_\tau E τ be the event that every pair in Y E S ( Q ≤ r ) \mathrm{YES}(Q_{\leq r}) YES ( Q ≤ r ) is an edge and every pair in N O ( Q ≤ r ) \mathrm{NO}(Q_{\leq r}) NO ( Q ≤ r ) is a non-edge. Similarly, E τ ( v ) \mathcal{E}_\tau(v) E τ ( v ) is the event that the pairs in Y E S ( v , Q ≤ r ) \mathrm{YES}(v,Q_{\leq r}) YES ( v , Q ≤ r ) are edges and the pairs in N O ( v , Q ≤ r ) \mathrm{NO}(v,Q_{\leq r}) NO ( v , Q ≤ r ) are non-edges.
Although E τ \mathcal{E}_\tau E τ holds trivially because of the transcript τ \tau τ , we define it anyway, as it clarifies the probability space used in the proof. We use Pr [ A ] \Pr[A] Pr [ A ] for probability under the initial distribution μ k , δ \mu_{k,\delta} μ k , δ , and Pr [ A ∣ E τ ] \Pr[A \mid\mathcal{E}_\tau] Pr [ A ∣ E τ ] for probability after the transcript is fixed.
Lemma 4.7. The event E τ \mathcal{E}_\tau E τ is exactly the event that A L G \mathrm{ALG} ALG produces transcript τ \tau τ , and
E τ = ⋂ v ∈ R E τ ( v ) . \mathcal{E}_\tau= \bigcap_{v \in R} \mathcal{E}_\tau(v). E τ = v ∈ R ⋂ E τ ( v ) . Conditional on E τ \mathcal{E}_\tau E τ , the random data at distinct right vertices remain independent. Conditional further on v ∈ T i v \in T_i v ∈ T i , the uncertified pairs incident on v v v remain independent Bernoulli n − i / k n^{-i/k} n − i / k variables.
Proof. A demand-query response specifies exactly that the returned pair is present and all earlier pairs in the query ordering are absent; a response ⊥ \perp ⊥ specifies that all pairs in that row are absent. These are precisely the constraints in E τ \mathcal{E}_{\tau} E τ . Because the algorithm is deterministic, fixing earlier responses also fixes its later queries. Thus these constraints characterise the entire transcript, including its adaptive choices.
Each event E τ ( v ) \mathcal{E}_{\tau}(v) E τ ( v ) depends only on the layer assignment of v v v and its incident edge variables. These collections of random data are independent across v v v by Observation 4.5 . Conditioning on their product event therefore preserves independence across right vertices. Once a layer is fixed, the incident edge bits were independent, and the transcript only fixes some of their coordinates. The remaining coordinates keep their original independent distributions.
Helper Lemmas
In this section, we analyse the demand queries in round r + 1 r+1 r + 1 conditioned on a transcript τ \tau τ through round r r r .
The probability of belonging to a layer. For a vertex in R r R_r R r , no incident edge has been certified, and at most n r / k n^{r/k} n r / k incident non-edges have been certified. We show that this information is insignificant for altering the probability of a vertex v ∈ T i v \in T_i v ∈ T i , i.e., it has not reduced the probability of belonging to T i T_i T i , for i ≥ r i \ge r i ≥ r , by more than a constant factor.
Lemma 4.8. For every v ∈ R r v \in R_r v ∈ R r and i ≥ r i \ge r i ≥ r ,
Pr [ v ∈ T i ∣ E τ ] ≥ 1 4 Pr [ v ∈ T i ] . \Pr[v \in T_i \mid\mathcal{E}_{\tau}] \ge\frac{1}{4}\Pr[v \in T_i]. Pr [ v ∈ T i ∣ E τ ] ≥ 4 1 Pr [ v ∈ T i ] .
Proof. For r = 0 r=0 r = 0 , the transcript is empty and the assertion is immediate. Suppose r ≥ 1 r \ge1 r ≥ 1 . By the definition of R r R_r R r , the event E τ ( v ) \mathcal{E}_{\tau}(v) E τ ( v ) prescribes only non-edges, and there are at most n r / k n^{r/k} n r / k of them. Conditional independence within a fixed layer gives
Pr [ E τ ( v ) ∣ v ∈ T i ] = ( 1 − n − i / k ) ∣ NO ( v , Q ≤ r ) ∣ ≥ ( 1 − n − i / k ) n r / k ≥ ( 1 − n − r / k ) n r / k ≥ 1 4 . \begin{aligned}
\Pr[\mathcal{E}_{\tau}(v) \mid v \in T_i] = (1-n^{-i/k})^{|\operatorname{NO}(v,Q_{\le r})|}
\ge(1-n^{-i/k})^{n^{r/k}} \\
&\ge(1-n^{-r/k})^{n^{r/k}} \ge\frac{1}{4}.
\end{aligned} Pr [ E τ ( v ) ∣ v ∈ T i ] = ( 1 − n − i / k ) ∣ NO ( v , Q ≤ r ) ∣ ≥ ( 1 − n − i / k ) n r / k ≥ ( 1 − n − r / k ) n r / k ≥ 4 1 .
For the last inequality, use ( 1 − 1 / x ) x ≥ 1 / 4 (1-1/x)^x \ge1/4 ( 1 − 1/ x ) x ≥ 1/4 for x ≥ 2 x \ge2 x ≥ 2 and n r / k ≥ n 1 / k ≥ 2 n^{r/k} \ge n^{1/k} \ge2 n r / k ≥ n 1/ k ≥ 2 . By Lemma 4.7 and Bayes’ rule,
Pr [ v ∈ T i ∣ E τ ] = Pr [ v ∈ T i ∣ E τ ( v ) ] = Pr [ E τ ( v ) ∣ v ∈ T i ] Pr [ v ∈ T i ] Pr [ E τ ( v ) ] ≥ 1 4 Pr [ v ∈ T i ] , \begin{aligned}
\Pr[v \in T_i \mid\mathcal{E}_{\tau}] = \Pr[v \in T_i \mid\mathcal{E}_{\tau}(v)] \\
&= \frac{\Pr[\mathcal{E}_{\tau}(v) \mid v \in T_i]\Pr[v \in T_i]}{\Pr[\mathcal{E}_{\tau}(v)]}
\ge\frac{1}{4}\Pr[v \in T_i],
\end{aligned} Pr [ v ∈ T i ∣ E τ ] = Pr [ v ∈ T i ∣ E τ ( v )] = Pr [ E τ ( v )] Pr [ E τ ( v ) ∣ v ∈ T i ] Pr [ v ∈ T i ] ≥ 4 1 Pr [ v ∈ T i ] ,
as required.
Lemma 4.9. For every r < k r < k r < k and every uncertified pair ( u , v ) (u,v) ( u , v ) with v ∈ R r v \in R_r v ∈ R r ,
Pr [ ( u , v ) ∈ E ∣ E τ ] ≥ 1 4 n − r / k − β log n . \Pr[(u,v) \in E \mid\mathcal{E}_{\tau}] \ge\frac{1}{4}n^{-r/k-\beta}\sqrt{\log n}. Pr [( u , v ) ∈ E ∣ E τ ] ≥ 4 1 n − r / k − β log n .
Proof. It is enough to count the possibility that v ∈ T r v \in T_r v ∈ T r . By Lemmas 4.7 and 4.8 ,
Pr [ ( u , v ) ∈ E ∣ E τ ] ≥ Pr [ ( u , v ) ∈ E ∣ v ∈ T r , E τ ] Pr [ v ∈ T r ∣ E τ ] ≥ n − r / k ⋅ 1 4 Pr [ v ∈ T r ] = 1 4 n − r / k − β log n . \begin{aligned}
\Pr[(u,v) \in E \mid\mathcal{E}_{\tau}] \ge\Pr[(u,v) \in E \mid v \in T_r,\mathcal{E}_{\tau}] \Pr[v \in T_r \mid\mathcal{E}_{\tau}] \\
&\ge n^{-r/k}\cdot\frac{1}{4}\Pr[v \in T_r] \\
&= \frac{1}{4}n^{-r/k-\beta}\sqrt{\log n}.
\end{aligned} Pr [( u , v ) ∈ E ∣ E τ ] ≥ Pr [( u , v ) ∈ E ∣ v ∈ T r , E τ ] Pr [ v ∈ T r ∣ E τ ] ≥ n − r / k ⋅ 4 1 Pr [ v ∈ T r ] = 4 1 n − r / k − β log n .
Bounding the number of newly certified pairs. Set
t r : = ⌈ 32 n r / k + β log n ⌉ . (4) t_r := \left\lceil32n^{r/k+\beta}\sqrt{\log n}\right\rceil. \tag*{(4)} t r := ⌈ 32 n r / k + β log n ⌉ . (4)
For a query q = ( u q , σ q ) ∈ Q r + 1 q=(u_q,\sigma_q) \in Q_{r+1} q = ( u q , σ q ) ∈ Q r + 1 , let F q F_q F q be the first t r t_r t r pairs ( u q , v ) (u_q,v) ( u q , v ) with v ∈ R r v \in R_r v ∈ R r that are uncertified after round r r r , in the order induced by σ q \sigma_q σ q . If there are fewer than t r t_r t r such pairs, take all of them. Both t r t_r t r and F q F_q F q are fixed by the transcript before round r + 1 r+1 r + 1 .
Lemma 4.10. For any query q ∈ Q r + 1 q \in Q_{r+1} q ∈ Q r + 1 ,
Pr [ ∣ ( N O ( q ) ∖ N O ( Q ≤ r ) ) ∩ ( L × R r ) ∣ ≥ t r ∣ E τ ] ≤ n − 8 . \Pr[|(NO(q) \setminus NO(Q_{\leq r})) \cap(L \times R_r)| \geq t_r \mid\mathcal{E}_{\tau}] \leq n^{-8}. Pr [ ∣ ( N O ( q ) ∖ N O ( Q ≤ r )) ∩ ( L × R r ) ∣ ≥ t r ∣ E τ ] ≤ n − 8 . Moreover, except with conditional probability at most n − 8 n^{-8} n − 8 , every newly certified pair in L × R r L \times R_r L × R r supplied by q q q belongs to F q F_q F q .
Proof. Let v 1 , v 2 , … v_1,v_2,\ldots v 1 , v 2 , … list the right endpoints of the previously uncertified pairs into R r R_r R r in the query ordering. If the query certifies at least t r t_r t r of these pairs to be non-edges, its first t r t_r t r pairs in this list must all be absent. The converse need not hold, since the query may stop earlier at a vertex outside R r R_r R r . If the list has fewer than t r t_r t r pairs, the claimed event is impossible. Otherwise, since the vertices v i v_i v i are distinct, Lemmas 4.7 and 4.9 give
Pr [ ⋂ i = 1 t r { ( u q , v i ) ∉ E } ∣ E τ ] = ∏ i = 1 t r Pr [ ( u q , v i ) ∉ E ∣ E τ ] ≤ ( 1 − 1 4 n − r / k − β log n ) t r ≤ exp ( − 8 log n ) = n − 8 . \begin{aligned}
\Pr\left[\bigcap_{i=1}^{t_r}\{(u_q,v_i)\notin E\}\mathrel{\bigg|}\mathcal{E}_{\tau}\right]
= \prod_{i=1}^{t_r}\Pr[(u_q,v_i)\notin E\mid\mathcal{E}_{\tau}] \\
&\leq\left(1-\frac{1}{4}n^{-r/k-\beta}\sqrt{\log n}\right)^{t_r} \\
&\leq\exp(-8\log n)=n^{-8}.
\end{aligned} Pr [ i = 1 ⋂ t r {( u q , v i ) ∈ / E } E τ ] = i = 1 ∏ t r Pr [( u q , v i ) ∈ / E ∣ E τ ] ≤ ( 1 − 4 1 n − r / k − β log n ) t r ≤ exp ( − 8 log n ) = n − 8 .
If any newly certified pair into R r R_r R r lies beyond F q F_q F q , then the query must also have passed all of the first t r t_r t r pairs without finding an edge. The same bound therefore proves the second assertion.
Lemma 4.11. Let N e w r \mathrm{New}_r New r be the set of pairs in L × R r L \times R_r L × R r that were uncertified after round r r r and are certified by the end of round r + 1 r+1 r + 1 . Then, conditional on any transcript τ \tau τ through round r r r ,
∣ N e w r ∣ = O ( n 1 + δ + r / k + β log n ) |\mathrm{New}_r|=O\left(n^{1+\delta+r/k+\beta}\sqrt{\log n}\right) ∣ New r ∣ = O ( n 1 + δ + r / k + β log n ) with probability at least 1 − O ( n − 6 ) 1-O(n^{-6}) 1 − O ( n − 6 ) .
Proof. Let B r \mathcal{B}_r B r be the event that all newly certified pairs in L × R r L \times R_r L × R r supplied by each query q ∈ Q r + 1 q \in Q_{r+1} q ∈ Q r + 1 lie in F q F_q F q . Since δ ≤ 1 / k ≤ 1 \delta\leq1/k \leq1 δ ≤ 1/ k ≤ 1 , the number of queries in the round is at most c 0 n 2 c_0n^2 c 0 n 2 . A union bound using Lemma 4.10 gives
Pr [ B r ∣ E τ ] ≤ c 0 n − 6 . (5) \Pr[\mathcal{B}_r\mid\mathcal{E}_{\tau}] \leq c_0n^{-6}. \tag*{(5)} Pr [ B r ∣ E τ ] ≤ c 0 n − 6 . (5)
Put F r : = ⋃ q ∈ Q r + 1 F q F_r := \bigcup_{q\in Q_{r+1}} F_q F r := ⋃ q ∈ Q r + 1 F q , which is fixed by τ \tau τ . On B r B_r B r ,
∣ N e w r ∣ ≤ ∣ F r ∣ ≤ c 0 n 1 + δ t r = O ( n 1 + δ + r / k + β log n ) . (6) |\mathrm{New}_r| \le|F_r| \le c_0n^{1+\delta}t_r = O\left(n^{1+\delta+r/k+\beta}\sqrt{\log n}\right). \tag*{(6)} ∣ New r ∣ ≤ ∣ F r ∣ ≤ c 0 n 1 + δ t r = O ( n 1 + δ + r / k + β log n ) . (6)
The last equality absorbs the ceiling in (4) , using β ≥ 0 \beta\ge0 β ≥ 0 . Notice that F r F_r F r is defined and fixed by τ \tau τ whether or not B r B_r B r occurs.
Proof of Theorem 6
We now bound the three terms in (3) , beginning with the vertices that leave R r R_r R r because of certified non-edges.
Counting vertices adjacent to certified non-edges.
Lemma 4.12. For every 0 ≤ r < k 0 \le r < k 0 ≤ r < k , conditional on any transcript through round r r r ,
∣ N O r ∣ = O ( n 1 − β log n ) |\mathrm{NO}_r| = O\left(n^{1-\beta}\sqrt{\log n}\right) ∣ NO r ∣ = O ( n 1 − β log n ) with probability at least 1 − O ( n − 6 ) 1-O(n^{-6}) 1 − O ( n − 6 ) . Consequently,
∑ r = 0 k − 1 ∣ N O r ∣ = O ( k n 1 − β log n ) \sum_{r=0}^{k-1}|\mathrm{NO}_r| = O\left(kn^{1-\beta}\sqrt{\log n}\right) r = 0 ∑ k − 1 ∣ NO r ∣ = O ( k n 1 − β log n ) with probability at least 1 − O ( k n − 6 ) 1-O(kn^{-6}) 1 − O ( k n − 6 ) .
Proof. By Lemma 4.11 , at most O ( n 1 + δ + r / k + β log n ) O\left(n^{1+\delta+r/k+\beta}\sqrt{\log n}\right) O ( n 1 + δ + r / k + β log n ) previously uncertified pairs in L × R r L \times R_r L × R r are certified in round r + 1 r+1 r + 1 , except with conditional probability O ( n − 6 ) O(n^{-6}) O ( n − 6 ) . A vertex v ∈ R r v \in R_r v ∈ R r already has at most n r / k n^{r/k} n r / k certified non-edges. This also holds for r = 0 r=0 r = 0 , when the actual number is zero. Thus, if v ∈ N O r v \in\mathrm{NO}_r v ∈ NO r , it must acquire more than
n ( r + 1 ) / k − n r / k = n ( r + 1 ) / k ( 1 − n − 1 / k ) ≥ 1 2 n ( r + 1 ) / k n^{(r+1)/k}-n^{r/k}=n^{(r+1)/k}(1-n^{-1/k})\ge\frac{1}{2}n^{(r+1)/k} n ( r + 1 ) / k − n r / k = n ( r + 1 ) / k ( 1 − n − 1/ k ) ≥ 2 1 n ( r + 1 ) / k
new certified non-edges. Each new pair has only one right endpoint, so dividing the bound on ∣ N e w r ∣ |\mathrm{New}_r| ∣ New r ∣ by this threshold gives
∣ N O r ∣ = O ( n 1 + δ + β − 1 / k log n ) = O ( n 1 − β log n ) . |\mathrm{NO}_r| = O\left(n^{1+\delta+\beta-1/k}\sqrt{\log n}\right)=O\left(n^{1-\beta}\sqrt{\log n}\right). ∣ NO r ∣ = O ( n 1 + δ + β − 1/ k log n ) = O ( n 1 − β log n ) .
Here and below, we use the identity
1 + δ + β − 1 k = 1 − β . (7) 1+\delta+\beta-\frac{1}{k}=1-\beta. \tag*{(7)} 1 + δ + β − k 1 = 1 − β . (7)
The conditional bound is uniform over the preceding transcript. Averaging over that transcript and taking a union bound over the k k k rounds proves the second assertion.
Counting vertices adjacent to certified edges. We account for all vertices in D D D using Observation 4.3 , regardless of the rounds in which their incident edges are discovered. It remains to bound the vertices in Y E S r ∩ T k \mathrm{YES}_r\cap T_k YES r ∩ T k .
Lemma 4.13. For every 0 ≤ r < k 0 \le r < k 0 ≤ r < k , conditional on any transcript through round r r r ,
∣ Y E S r ∩ T k ∣ = O ( n δ + r / k + β log n + log n ) \lvert\mathrm{YES}_r \cap T_k\rvert= O\left(n^{\delta+r/k+\beta}\sqrt{\log n}+\log n\right) ∣ YES r ∩ T k ∣ = O ( n δ + r / k + β log n + log n ) with probability at least 1 − O ( n − 4 ) 1-O(n^{-4}) 1 − O ( n − 4 ) . Consequently,
∑ r = 0 k − 1 ∣ Y E S r ∩ T k ∣ = O ( n 1 − β log n + k log n ) \sum_{r=0}^{k-1}\lvert\mathrm{YES}_r \cap T_k\rvert= O\left(n^{1-\beta}\sqrt{\log n}+k\log n\right) r = 0 ∑ k − 1 ∣ YES r ∩ T k ∣ = O ( n 1 − β log n + k log n ) with probability at least 1 − O ( k n − 4 ) 1-O(kn^{-4}) 1 − O ( k n − 4 ) .
Proof. Fix the preceding transcript τ \tau τ , and recall the sets F q F_q F q and F r = ⋃ q ∈ Q r + 1 F q F_r=\bigcup_{q\in Q_{r+1}}F_q F r = ⋃ q ∈ Q r + 1 F q . For ( u , v ) ∈ F r (u,v)\in F_r ( u , v ) ∈ F r , let Exist ( u , v ) \operatorname{Exist}(u,v) Exist ( u , v ) be the indicator of the event
{ ( u , v ) ∈ E } ∩ { v ∈ T k } , \{(u,v)\in E\}\cap\{v\in T_k\}, {( u , v ) ∈ E } ∩ { v ∈ T k } ,
and define
Z r : = ∑ ( u , v ) ∈ F r Exist ( u , v ) . Z_r:=\sum_{(u,v)\in F_r}\operatorname{Exist}(u,v). Z r := ( u , v ) ∈ F r ∑ Exist ( u , v ) .
On the event B r \mathcal{B}_r B r from (5) , every edge certified in this round with right endpoint in R r R_r R r belongs to F r F_r F r . Each vertex of Y E S r ∩ T k \mathrm{YES}_r\cap T_k YES r ∩ T k is incident on at least one such edge. Therefore, on B r \mathcal{B}_r B r ,
∣ Y E S r ∩ T k ∣ ≤ Z r . \lvert\mathrm{YES}_r\cap T_k\rvert\le Z_r. ∣ YES r ∩ T k ∣ ≤ Z r .
We next bound Z r Z_r Z r conditional on E τ \mathcal{E}_\tau E τ . The set F r F_r F r is fixed by this conditioning. Condition further on any complete layer assignment having positive probability. Every pair in F r F_r F r is uncertified after round r r r . By Lemma 4.7 , the edge bits of these pairs whose right endpoints lie in T k T_k T k are mutually independent Bernoulli 1 / n 1/n 1/ n variables. For all other pairs, Exist ( u , v ) = 0 \operatorname{Exist}(u,v)=0 Exist ( u , v ) = 0 . Consequently, Z r Z_r Z r is stochastically dominated by Bin ( ∣ F r ∣ , 1 / n ) \operatorname{Bin}(\lvert F_r\rvert,1/n) Bin (∣ F r ∣ , 1/ n ) : the zero indicators can be replaced by fresh independent Bernoulli 1 / n 1/n 1/ n variables. This dominating distribution is the same for every layer assignment, so the domination remains valid after averaging over those assignments.
An additive binomial tail bound now gives
Pr [ Z r > 2 ∣ F r ∣ n + 10 log n ∣ E τ ] ≤ n − 4 . (8) \Pr\left[Z_r>\frac{2\lvert F_r\rvert}{n}+10\log n\mathrel{\bigg|}\mathcal{E}_\tau\right]\le n^{-4}. \tag*{(8)} Pr [ Z r > n 2 ∣ F r ∣ + 10 log n E τ ] ≤ n − 4 . (8)
For example, for X ∼ Bin ( m , 1 / n ) X\sim\operatorname{Bin}(m,1/n) X ∼ Bin ( m , 1/ n ) , the estimate E [ 2 X ] ≤ e m / n \mathbb{E}[2^X]\le e^{m/n} E [ 2 X ] ≤ e m / n and Markov’s inequality imply this bound. We combine (8) with the prefix event by writing
Pr [ ∣ Y E S r ∩ T k ∣ > 2 ∣ F r ∣ n + 10 log n ∣ E τ ] ≤ Pr [ B r c ∣ E τ ] + Pr [ Z r > 2 ∣ F r ∣ n + 10 log n ∣ E τ ] ≤ c 0 n − 6 + n − 4 . \Pr\left[\lvert\mathrm{YES}_r\cap T_k\rvert>\frac{2\lvert F_r\rvert}{n}+10\log n\mathrel{\bigg|}\mathcal{E}_\tau\right]
\le\Pr[\mathcal{B}_r^{c}\mid\mathcal{E}_\tau]+\Pr\left[Z_r>\frac{2\lvert F_r\rvert}{n}+10\log n\mathrel{\bigg|}\mathcal{E}_\tau\right]
\le c_0n^{-6}+n^{-4}. Pr [ ∣ YES r ∩ T k ∣ > n 2 ∣ F r ∣ + 10 log n E τ ] ≤ Pr [ B r c ∣ E τ ] + Pr [ Z r > n 2 ∣ F r ∣ + 10 log n E τ ] ≤ c 0 n − 6 + n − 4 .
In particular, the estimate for Z r Z_r Z r does not condition on B r \mathcal{B}_r B r . By (6) ,
∣ F r ∣ n = O ( n δ + r / k + β log n ) , \frac{\lvert F_r\rvert}{n}=O\left(n^{\delta+r/k+\beta}\sqrt{\log n}\right), n ∣ F r ∣ = O ( n δ + r / k + β log n ) ,
which proves the bound for one round. For the sum over rounds, use n 1 / k ≥ 2 n^{1/k} \ge2 n 1/ k ≥ 2 to obtain
∑ r = 0 k − 1 n r / k = n − 1 n 1 / k − 1 ≤ 2 n 1 − 1 / k . \sum_{r=0}^{k-1} n^{r/k} = \frac{n-1}{n^{1/k}-1} \le2n^{1-1/k}. r = 0 ∑ k − 1 n r / k = n 1/ k − 1 n − 1 ≤ 2 n 1 − 1/ k .
The bounds above are uniform over each preceding transcript, so averaging and a union bound over the rounds give
∑ r = 0 k − 1 ∣ Y E S r ∩ T k ∣ = O ( n δ + β log n ∑ r = 0 k − 1 n r / k + k log n ) = O ( n 1 + δ + β − 1 / k log n + k log n ) = O ( n 1 − β log n + k log n ) . \begin{aligned}
\sum_{r=0}^{k-1} |\mathrm{YES}_r \cap T_k|
&= O\left(n^{\delta+\beta}\sqrt{\log n}\sum_{r=0}^{k-1} n^{r/k} + k\log n\right) \\
&= O\left(n^{1+\delta+\beta-1/k}\sqrt{\log n} + k\log n\right) \\
&= O\left(n^{1-\beta}\sqrt{\log n} + k\log n\right).
\end{aligned} r = 0 ∑ k − 1 ∣ YES r ∩ T k ∣ = O ( n δ + β log n r = 0 ∑ k − 1 n r / k + k log n ) = O ( n 1 + δ + β − 1/ k log n + k log n ) = O ( n 1 − β log n + k log n ) .
with probability at least 1 − O ( k n − 4 ) 1-O(kn^{-4}) 1 − O ( k n − 4 ) .
Accounting for uncertified output edges. We have bounded the right endpoints needed for certified output edges. The algorithm may also output pairs that were not certified by a query. We now bound the number of these pairs that are true edges into T k T_k T k .
Lemma 4.14. The number of true uncertified output edges with right endpoint in T k T_k T k is O ( log n ) O(\log n) O ( log n ) with probability at least 1 − n − 4 1-n^{-4} 1 − n − 4 , whenever the output pairs have distinct endpoints.
Proof. Fix the final transcript. The deterministic algorithm’s output is now fixed. If its pairs do not have distinct endpoints, then W = 0 W=0 W = 0 , so there is no valid output matching to bound. Otherwise, there are at most n n n output pairs, with distinct right endpoints.
For an uncertified output pair ( u , v ) (u,v) ( u , v ) with Pr [ v ∈ T k ∣ E τ ] > 0 \Pr[v \in T_k \mid\mathcal{E}_{\tau}]>0 Pr [ v ∈ T k ∣ E τ ] > 0 , Lemma 4.7 gives
Pr [ v ∈ T k , ( u , v ) ∈ E ∣ E τ ] = Pr [ v ∈ T k ∣ E τ ] Pr [ ( u , v ) ∈ E ∣ v ∈ T k , E τ ] = 1 n Pr [ v ∈ T k ∣ E τ ] ≤ 1 n . \Pr[v \in T_k,\ (u,v) \in E \mid\mathcal{E}_{\tau}]
= \Pr[v \in T_k \mid\mathcal{E}_{\tau}]
\Pr[(u,v) \in E \mid v \in T_k,\mathcal{E}_{\tau}]
= \frac{1}{n}\Pr[v \in T_k \mid\mathcal{E}_{\tau}]
\le\frac{1}{n}. Pr [ v ∈ T k , ( u , v ) ∈ E ∣ E τ ] = Pr [ v ∈ T k ∣ E τ ] Pr [( u , v ) ∈ E ∣ v ∈ T k , E τ ] = n 1 Pr [ v ∈ T k ∣ E τ ] ≤ n 1 .
If Pr [ v ∈ T k ∣ E τ ] = 0 \Pr[v \in T_k \mid\mathcal{E}_{\tau}]=0 Pr [ v ∈ T k ∣ E τ ] = 0 , the same bound holds because the joint event is impossible. The indicators of these joint events are independent across distinct right endpoints by Lemma 4.7 . Their sum is therefore stochastically dominated by Bin ( n , 1 / n ) \operatorname{Bin}(n,1/n) Bin ( n , 1/ n ) , and is O ( log n ) O(\log n) O ( log n ) except with conditional probability at most n − 4 n^{-4} n − 4 . Averaging over the final transcript proves the assertion.
Completing the proof. First consider a deterministic algorithm, and suppose its output M M M is a valid matching. Its edges with right endpoint in D D D contribute at most ∣ D ∣ |D| ∣ D ∣ , whether or not those edges were certified. Consider a certified output edge whose right endpoint v v v belongs to T k T_k T k . At the round when v v v first left the nested sets R r R_r R r , it was counted either by N O r \mathrm{NO}_r NO r or by Y E S r ∩ T k \mathrm{YES}_r \cap T_k YES r ∩ T k . Thus all such certified output edges are covered by the two sums below. Writing U U U for the number of true uncertified output edges into T k T_k T k , we obtain
W ≤ ∣ D ∣ + ∑ r = 0 k − 1 ∣ N O r ∣ + ∑ r = 0 k − 1 ∣ Y E S r ∩ T k ∣ + U . (9) W \le|D| + \sum_{r=0}^{k-1} |\mathrm{NO}_r| + \sum_{r=0}^{k-1} |\mathrm{YES}_r \cap T_k| + U. \tag*{(9)} W ≤ ∣ D ∣ + r = 0 ∑ k − 1 ∣ NO r ∣ + r = 0 ∑ k − 1 ∣ YES r ∩ T k ∣ + U . (9)
An output pair certified to be a non-edge cannot occur in a valid matching. If the output is invalid, W = 0 W=0 W = 0 and the desired upper bound holds automatically.
Apply Observation 4.3 as a single event under the original graph distribution, and combine it with Lemmas 4.12 , 4.13 , and 4.14 . No transcript estimate was conditioned on the size of D D D . A union bound and (9) give
W = O ( k n 1 − β log n + k log n ) (10) W = O\left(kn^{1-\beta}\sqrt{\log n} + k\log n\right) \tag*{(10)} W = O ( k n 1 − β log n + k log n ) (10)
with probability at least 1 − O ( k n − 4 ) 1-O(kn^{-4}) 1 − O ( k n − 4 ) over G ∼ μ k , δ G\sim\mu_{k,\delta} G ∼ μ k , δ . By Lemma 4.4 , μ ( G ) ≥ n / 10 \mu(G)\ge n/10 μ ( G ) ≥ n /10 except with probability exp ( − Ω ( n ) ) \exp(-\Omega(n)) exp ( − Ω ( n )) .
Finally, let the algorithm be randomised. Fixing its entire random tape gives a deterministic algorithm to which the same distributional bound applies. The distribution μ k , δ \mu_{k,\delta} μ k , δ and the constants in (10) do not depend on the tape. Let
B : = C ( k n 1 − β log n + k log n ) . B := C\left(kn^{1-\beta}\sqrt{\log n} + k\log n\right). B := C ( k n 1 − β log n + k log n ) .
for a sufficiently large constant C C C . Averaging over the random tape ω \omega ω yields
Pr G , ω [ W > B ] = O ( k n − 4 ) . \Pr_{G,\omega}[W>B]=O(kn^{-4}). G , ω Pr [ W > B ] = O ( k n − 4 ) .
Let H \mathcal{H} H be the event μ ( G ) ≥ n / 10 \mu(G)\ge n/10 μ ( G ) ≥ n /10 . Averaging now over graphs in this event gives
E G ∣ H [ Pr ω [ W > B ∣ G ] ] ≤ O ( k n − 4 ) Pr G [ H ] = O ( k n − 4 ) . \mathbb{E}_{G\mid\mathcal{H}}\left[\Pr_{\omega}[W>B\mid G]\right]\le\frac{O(kn^{-4})}{\Pr_G[\mathcal{H}]}=O(kn^{-4}). E G ∣ H [ ω Pr [ W > B ∣ G ] ] ≤ Pr G [ H ] O ( k n − 4 ) = O ( k n − 4 ) .
Therefore there is a fixed graph G G G with μ ( G ) ≥ n / 10 \mu(G)\ge n/10 μ ( G ) ≥ n /10 for which Pr ω [ W > B ∣ G ] = O ( k n − 4 ) \Pr_{\omega}[W>B\mid G]=O(kn^{-4}) Pr ω [ W > B ∣ G ] = O ( k n − 4 ) . This is in particular O ~ ( n − 2 ) \widetilde{O}(n^{-2}) O ( n − 2 ) , as asserted in Theorem 6.
On this graph, dividing the linear optimum by the output-size bound gives
n k n 1 − β log n + k log n = Θ ( min { n β k log n , n k log n } ) . \frac{n}{kn^{1-\beta}\sqrt{\log n}+k\log n}
=\Theta\left(\min\left\{\frac{n^\beta}{k\sqrt{\log n}},\frac{n}{k\log n}\right\}\right). k n 1 − β log n + k log n n = Θ ( min { k log n n β , k log n n } ) .
Combining this with the universal lower bound of one on an approximation factor proves the stated general bound. For δ ≥ 0 \delta\ge0 δ ≥ 0 , we have β ≤ 1 / ( 2 k ) ≤ 1 / 2 \beta\le1/(2k)\le1/2 β ≤ 1/ ( 2 k ) ≤ 1/2 , so n 1 − β log n n^{1-\beta}\sqrt{\log n} n 1 − β log n dominates log n \log n log n . This gives the final assertion of the theorem. □
An Expected-Size Lower Bound
In this section, we prove a corresponding lower bound on the expected size of the output matching. We use the same layered construction, with a different choice of layer probabilities. We then bound the contribution of each query directly in expectation.
Theorem 7 (Expected-size and constant-error lower bounds). Let 1 ≤ k ≤ ⌊ log 2 n ⌋ 1\le k\le\lfloor\log_2 n\rfloor 1 ≤ k ≤ ⌊ log 2 n ⌋ , − 1 ≤ δ ≤ 1 / k -1\le\delta\le1/k − 1 ≤ δ ≤ 1/ k , and β : = 1 / ( 2 k ) − δ / 2 \beta:=1/(2k)-\delta/2 β := 1/ ( 2 k ) − δ /2 . Any randomised algorithm that uses k k k rounds and O ( n 1 + δ ) O(n^{1+\delta}) O ( n 1 + δ ) demand queries per round has an input graph G G G with μ ( G ) ≥ n / 10 \mu(G)\ge n/10 μ ( G ) ≥ n /10 on which
E W = O ( k n 1 − β + 1 ) , (11) \mathbb{E}W=O\left(kn^{1-\beta}+1\right), \tag*{(11)} E W = O ( k n 1 − β + 1 ) , (11) where the expectation is over the algorithm’s randomness. Consequently, its worst-case expected-size approximation factor is
Ω ( max { 1 , n β k } ) . \Omega\left(\max\left\{1,\frac{n^\beta}{k}\right\}\right). Ω ( max { 1 , k n β } ) . The same asymptotic lower bound holds for algorithms required to return a valid approximation with probability at least 2 / 3 2/3 2/3 .
The remaining budget range δ > 1 / k \delta> 1/k δ > 1/ k gives only the trivial approximation lower bound of one: in this range the displayed output-size bound already exceeds n n n .
We first consider the case k n − β ≤ 1 / 2 kn^{-\beta} \le1/2 k n − β ≤ 1/2 . Let μ k , δ exp \mu_{k,\delta}^{\exp} μ k , δ e x p denote the distribution in Definition 4.2 , with the layer probabilities replaced by
Pr [ v ∈ T j ] = n − β ( 0 ≤ j < k ) , Pr [ v ∈ T k ] = 1 − k n − β . \Pr[v \in T_j] = n^{-\beta} \qquad(0 \le j < k), \qquad\Pr[v \in T_k] = 1-kn^{-\beta}. Pr [ v ∈ T j ] = n − β ( 0 ≤ j < k ) , Pr [ v ∈ T k ] = 1 − k n − β .
The edge probabilities remain p j = n − j / k p_j = n^{-j/k} p j = n − j / k . The layer assignments are independent across right vertices, as before.
Fix a deterministic algorithm ALG. We use the same sets R r R_r R r , N O r NO_r N O r , Y E S r YES_r Y E S r and D = ⋃ j < k T j D = \bigcup_{j<k} T_j D = ⋃ j < k T j as in the preceding proof. The proofs of Lemmas 4.7 and 4.8 apply unchanged to this distribution. In particular, after fixing a transcript τ \tau τ through round r r r , every uncertified pair ( u , v ) (u,v) ( u , v ) with v ∈ R r v \in R_r v ∈ R r satisfies
Pr [ ( u , v ) ∈ E ∣ E τ ] ≥ 1 4 n − r / k − β . (12) \Pr[(u,v) \in E \mid\mathcal{E}_{\tau}] \ge\frac{1}{4}n^{-r/k-\beta}. \tag*{(12)} Pr [( u , v ) ∈ E ∣ E τ ] ≥ 4 1 n − r / k − β . (12)
We start by bounding the contribution of one demand query.
Lemma 4.15. Fix a transcript τ \tau τ through round r r r , and let q = ( u q , σ q ) ∈ Q r + 1 q = (u_q,\sigma_q) \in Q_{r+1} q = ( u q , σ q ) ∈ Q r + 1 . Let H q H_q H q be the number of previously uncertified pairs in L × R r L \times R_r L × R r that q q q certifies to be non-edges. Under μ k , δ exp \mu_{k,\delta}^{\exp} μ k , δ e x p ,
E [ H q ∣ E τ ] ≤ 4 n r / k + β , \mathbb{E}[H_q \mid\mathcal{E}_{\tau}] \le4n^{r/k+\beta}, E [ H q ∣ E τ ] ≤ 4 n r / k + β , and
Pr [ dem ( q ) ∈ R r ∩ T k ∣ E τ ] ≤ 4 n r / k + β − 1 . \Pr[\operatorname{dem}(q) \in R_r \cap T_k \mid\mathcal{E}_{\tau}] \le4n^{r/k+\beta-1}. Pr [ dem ( q ) ∈ R r ∩ T k ∣ E τ ] ≤ 4 n r / k + β − 1 .
Proof. List the previously uncertified pairs into R r R_r R r in the order induced by σ q \sigma_q σ q as
( u q , v 1 ) , ( u q , v 2 ) , … (u_q,v_1),(u_q,v_2),\ldots ( u q , v 1 ) , ( u q , v 2 ) , …
This list is fixed by the preceding transcript, and its right endpoints are distinct.
If H q ≥ t H_q \ge t H q ≥ t , then the first t t t pairs in this list must all be absent. Using independence across right vertices and (12) , we obtain
Pr [ H q ≥ t ∣ E τ ] ≤ ( 1 − 1 4 n − r / k − β ) t . \Pr[H_q \ge t \mid\mathcal{E}_{\tau}] \le\left(1-\frac{1}{4}n^{-r/k-\beta}\right)^t. Pr [ H q ≥ t ∣ E τ ] ≤ ( 1 − 4 1 n − r / k − β ) t .
If the list contains fewer than t t t pairs, the event is impossible. Summing the tail gives
E [ H q ∣ E τ ] = ∑ t ≥ 1 Pr [ H q ≥ t ∣ E τ ] ≤ 4 n r / k + β . \mathbb{E}[H_q \mid\mathcal{E}_{\tau}] = \sum_{t \ge1}\Pr[H_q \ge t \mid\mathcal{E}_{\tau}] \le4n^{r/k+\beta}. E [ H q ∣ E τ ] = t ≥ 1 ∑ Pr [ H q ≥ t ∣ E τ ] ≤ 4 n r / k + β .
For the second assertion, suppose the query returns v i ∈ T k v_i \in T_k v i ∈ T k . Then ( u q , v i ) (u_q,v_i) ( u q , v i ) is an edge, and every preceding pair in the list is a non-edge. Since ( u q , v i ) (u_q,v_i) ( u q , v i ) is uncertified after round r r r ,
Pr [ v i ∈ T k , ( u q , v i ) ∈ E ∣ E τ ] = 1 n Pr [ v i ∈ T k ∣ E τ ] ≤ 1 n . \Pr[v_i \in T_k,(u_q,v_i) \in E \mid\mathcal{E}_{\tau}] = \frac{1}{n}\Pr[v_i \in T_k \mid\mathcal{E}_{\tau}] \le\frac{1}{n}. Pr [ v i ∈ T k , ( u q , v i ) ∈ E ∣ E τ ] = n 1 Pr [ v i ∈ T k ∣ E τ ] ≤ n 1 .
This joint event is independent of the absence of the preceding pairs, because they have different right endpoints. Therefore,
Pr [ dem ( q ) ∈ R r ∩ T k ∣ E τ ] ≤ 1 n ∑ i ≥ 1 ( 1 − 1 4 n − r / k − β ) i − 1 = 4 n η r / k + β − 1 . \begin{aligned}
\Pr[\operatorname{dem}(q) \in R_r \cap T_k \mid\mathcal{E}_{\tau}] \le\frac{1}{n}\sum_{i \ge1}\left(1-\frac{1}{4}n^{-r/k-\beta}\right)^{i-1} \\
&= 4n^{\eta^{r/k+\beta-1}}.
\end{aligned} Pr [ dem ( q ) ∈ R r ∩ T k ∣ E τ ] ≤ n 1 i ≥ 1 ∑ ( 1 − 4 1 n − r / k − β ) i − 1 = 4 n η r / k + β − 1 .
The query may stop earlier at a vertex outside R r R_r R r , which only decreases the probability being bounded.
Proof of Theorem 7. If k n − β > 1 / 2 kn^{-\beta}>1/2 k n − β > 1/2 , then k n 1 − β > n / 2 kn^{1-\beta}>n/2 k n 1 − β > n /2 , so the claimed output-size bound follows immediately on any graph with a perfect matching. We therefore assume k n − β ≤ 1 / 2 kn^{-\beta}\le1/2 k n − β ≤ 1/2 and use μ k , δ exp \mu_{k,\delta}^{\exp} μ k , δ e x p .
First fix a deterministic algorithm ALG, and let c 0 ≥ 1 c_0\ge1 c 0 ≥ 1 be a constant such that it asks at most c 0 n 1 + δ c_0n^{1+\delta} c 0 n 1 + δ demand queries per round. We bound its expected output using the same accounting as in (9) .
Counting vertices adjacent to certified non-edges. Fix a transcript τ \tau τ through round r r r . As in the proof of Lemma 4.12 , a vertex in N O r \mathrm{NO}_r NO r must acquire more than
n ( r + 1 ) / k − n r / k ≥ 1 2 n ( r + 1 ) / k n^{(r+1)/k}-n^{r/k}\ge\frac{1}{2}n^{(r+1)/k} n ( r + 1 ) / k − n r / k ≥ 2 1 n ( r + 1 ) / k
new certified non-edges. The total number of these new non-edges is at most ∑ q ∈ Q r + 1 H q \sum_{q\in Q_{r+1}}H_q ∑ q ∈ Q r + 1 H q . Thus Lemma 4.15 gives
E [ ∣ N O r ∣ ∣ E τ ] ≤ 2 n ( r + 1 ) / k ∑ q ∈ Q r + 1 E [ H q ∣ E τ ] = O ( n 1 + δ + β − 1 / k ) = O ( n 1 − β ) . \begin{aligned}
\mathbb{E}[|\mathrm{NO}_r|\mid\mathcal{E}_\tau]
\le\frac{2}{n^{(r+1)/k}}\sum_{q\in Q_{r+1}}\mathbb{E}[H_q\mid\mathcal{E}_\tau] \\
&=O\left(n^{1+\delta+\beta-1/k}\right) \\
&=O\left(n^{1-\beta}\right).
\end{aligned} E [ ∣ NO r ∣ ∣ E τ ] ≤ n ( r + 1 ) / k 2 q ∈ Q r + 1 ∑ E [ H q ∣ E τ ] = O ( n 1 + δ + β − 1/ k ) = O ( n 1 − β ) .
The last equality uses 1 + δ + β − 1 / k = 1 − β 1+\delta+\beta-1/k=1-\beta 1 + δ + β − 1/ k = 1 − β . Averaging over the transcript and summing over the rounds yields
E [ ∑ r = 0 k − 1 ∣ N O r ∣ ] = O ( k n 1 − β ) . \mathbb{E}\left[\sum_{r=0}^{k-1}|\mathrm{NO}_r|\right]
=O\left(kn^{1-\beta}\right). E [ r = 0 ∑ k − 1 ∣ NO r ∣ ] = O ( k n 1 − β ) .
Counting vertices adjacent to certified edges. Every vertex in Y E S r ∩ T k \mathrm{YES}_r\cap T_k YES r ∩ T k is returned by at least one query in round r + 1 r+1 r + 1 . Applying the second assertion of Lemma 4.15 separately to each query gives
E [ ∣ Y E S r ∩ T k ∣ ∣ E τ ] ≤ ∑ q ∈ Q r + 1 Pr [ dem ( q ) ∈ R r ∩ T k ∣ E τ ] = O ( n δ + r / k + β ) . \begin{aligned}
\mathbb{E}[|\mathrm{YES}_r\cap T_k|\mid\mathcal{E}_\tau]
\le\sum_{q\in Q_{r+1}}\Pr[\operatorname{dem}(q)\in R_r\cap T_k\mid\mathcal{E}_\tau] \\
&=O\left(n^{\delta+r/k+\beta}\right).
\end{aligned} E [ ∣ YES r ∩ T k ∣ ∣ E τ ] ≤ q ∈ Q r + 1 ∑ Pr [ dem ( q ) ∈ R r ∩ T k ∣ E τ ] = O ( n δ + r / k + β ) .
Neither this calculation nor the preceding calculation requires independence between different queries.
Since
∑ r = 0 k − 1 n r / k = n − 1 n 1 / k − 1 ≤ 2 n 1 − 1 / k , \sum_{r=0}^{k-1}n^{r/k}
=\frac{n-1}{n^{1/k}-1}
\le2n^{1-1/k}, r = 0 ∑ k − 1 n r / k = n 1/ k − 1 n − 1 ≤ 2 n 1 − 1/ k ,
we obtain
E [ ∑ r = 0 k − 1 ∣ Y E S r ∩ T k ∣ ] = O ( n δ + β ∑ r = 0 k − 1 n r / k ) = O ( n 1 + δ + β − 1 / k ) . = O ( n 1 − β ) . \begin{aligned}
\mathbb{E}\left[\sum_{r=0}^{k-1}|\mathrm{YES}_r\cap T_k|\right]
=O\left(n^{\delta+\beta}\sum_{r=0}^{k-1}n^{r/k}\right) \\
&=O\left(n^{1+\delta+\beta-1/k}\right). \\
&= O\left(n^{1-\beta}\right).
\end{aligned} E [ r = 0 ∑ k − 1 ∣ YES r ∩ T k ∣ ] = O ( n δ + β r = 0 ∑ k − 1 n r / k ) = O ( n 1 + δ + β − 1/ k ) . = O ( n 1 − β ) .
The dense vertices are again counted once over the entire execution. Their expected number is
E ∣ D ∣ = k n 1 − β . \mathbb{E}\lvert D\rvert= kn^{1-\beta}. E ∣ D ∣ = k n 1 − β .
Accounting for uncertified output edges. Fix the final transcript. As in the proof of Lemma 4.14 , every uncertified output pair ( u , v ) (u,v) ( u , v ) has probability at most 1 / n 1/n 1/ n of being a true edge with v ∈ T k v \in T_k v ∈ T k . An output whose pairs have distinct endpoints contains at most n n n such pairs, so their expected contribution is at most one. If the output pairs share an endpoint, then W = 0 W=0 W = 0 . All output edges into D D D are already covered by the charge to ∣ D ∣ \lvert D\rvert ∣ D ∣ .
Combining these estimates with (9) gives
E G ∼ μ k , δ e x p W = O ( k n 1 − β + 1 ) . (13) \mathbb{E}_{G\sim\mu_{k,\delta}^{\mathrm{exp}}} W = O\left(kn^{1-\beta}+1\right). \tag*{(13)} E G ∼ μ k , δ exp W = O ( k n 1 − β + 1 ) . (13)
The proof of Lemma 4.4 also applies to μ k , δ e x p \mu_{k,\delta}^{\mathrm{exp}} μ k , δ exp : the sparse layer has probability at least 1 / 2 1/2 1/2 , and its incident edges have probability 1 / n 1/n 1/ n . Consequently,
Pr [ μ ( G ) ≥ n / 10 ] = 1 − exp ( − Ω ( n ) ) . \Pr\left[\mu(G)\ge n/10\right]=1-\exp\left(-\Omega(n)\right). Pr [ μ ( G ) ≥ n /10 ] = 1 − exp ( − Ω ( n ) ) .
Now let the algorithm be randomised, with random tape ω \omega ω . The bound in (13) holds uniformly for every fixed tape, so it also holds after averaging over ω \omega ω . Writing H \mathcal{H} H for the event μ ( G ) ≥ n / 10 \mu(G)\ge n/10 μ ( G ) ≥ n /10 , we have
E G ∣ H [ E ω [ W ∣ G ] ] ≤ E G , ω W Pr [ H ] = O ( k n 1 − β + 1 ) . \mathbb{E}_{G\mid\mathcal{H}}\left[\mathbb{E}_{\omega}[W\mid G]\right]
\le\frac{\mathbb{E}_{G,\omega}W}{\Pr[\mathcal{H}]}
=O\left(kn^{1-\beta}+1\right). E G ∣ H [ E ω [ W ∣ G ] ] ≤ Pr [ H ] E G , ω W = O ( k n 1 − β + 1 ) .
There is therefore a fixed graph G G G with μ ( G ) ≥ n / 10 \mu(G)\ge n/10 μ ( G ) ≥ n /10 on which the expected output satisfies (11) .
Since β ≤ 1 \beta\le1 β ≤ 1 , we have k n 1 − β ≥ 1 kn^{1-\beta}\ge1 k n 1 − β ≥ 1 . Dividing the linear optimum by the expected output bound, and using the lower bound of one on an approximation factor, gives
Ω ( max { 1 , n β k } ) . \Omega\left(\max\left\{1,\frac{n^\beta}{k}\right\}\right). Ω ( max { 1 , k n β } ) .
Finally, if an algorithm returns a valid α \alpha α -approximation with probability at least 2 / 3 2/3 2/3 on every input, then on this graph
E W ≥ 2 3 μ ( G ) α . \mathbb{E}W\ge\frac{2}{3}\frac{\mu(G)}{\alpha}. E W ≥ 3 2 α μ ( G ) .
Combining this with (11) gives the same lower bound on α \alpha α , up to a constant factor.
We next record the consequences for one round and for constant approximation. For the latter, we use the following observation about the failure probability in the preceding high-probability proof.
Remark 4.16. For every fixed c > 0 c>0 c > 0 , Theorem 6 also holds with failure probability at most n − c n^{-c} n − c , allowing the constant in its output-size bound to depend on c c c .
To see this, replace the candidate-prefix length by
t r = ⌈ 4 ( c + 6 ) n r / k + β log n ⌉ . t_r=\left\lceil4(c+6)n^{r/k+\beta}\sqrt{\log n}\right\rceil. t r = ⌈ 4 ( c + 6 ) n r / k + β log n ⌉ .
The probability that a query passes this prefix without finding an edge is then at most n − c − 6 n^{-c-6} n − c − 6 . Taking the constants in the additive binomial bounds sufficiently large makes their failure probabilities at most n − c − 6 n^{-c-6} n − c − 6 as well. The same union bounds over at most c 0 k n 2 c_0kn^2 c 0 k n 2 queries and over the rounds, followed by averaging over graphs with linear optimum, give failure probability at most n − c n^{-c} n − c for sufficiently large n n n . Only the constants in the output-size bound change.
Corollary 4.17 (One round and constant approximation). For k = 1 k=1 k = 1 , any randomised algorithm using O ( n 1 + δ ) O(n^{1+\delta}) O ( n 1 + δ ) demand queries has expected-size and constant-error approximation lower bound
Ω ( n ( 1 − δ ) / 2 ) . \Omega\left(n^{(1-\delta)/2}\right). Ω ( n ( 1 − δ ) /2 ) . Moreover, an algorithm using O ( n ) O(n) O ( n ) demand queries per round that returns a constant approximation with probability at least n − d n^{-d} n − d on every input, for any fixed d > 0 d>0 d > 0 , requires
Ω ( log n log log n ) \Omega\left(\frac{\log n}{\log\log n}\right) Ω ( log log n log n ) rounds.
Proof. For k = 1 k=1 k = 1 , we have β = ( 1 − δ ) / 2 \beta=(1-\delta)/2 β = ( 1 − δ ) /2 , so the first assertion follows directly from Theorem 7 . For the second assertion, it is enough to rule out
k ≤ 1 4 log n log log n . k\leq\frac{1}{4}\frac{\log n}{\log\log n}. k ≤ 4 1 log log n log n .
In this range,
n 1 / ( 2 k ) ≥ ( log n ) 2 . n^{1/(2k)}\geq(\log n)^2. n 1/ ( 2 k ) ≥ ( log n ) 2 .
Apply the strengthened high-probability bound above with δ = 0 \delta=0 δ = 0 and failure exponent c = d + 1 c=d+1 c = d + 1 . Its output-size threshold, divided by n n n , is
O d ( k log n n 1 / ( 2 k ) + k log n n ) = o ( 1 ) . O_d\left(\frac{k\sqrt{\log n}}{n^{1/(2k)}}+\frac{k\log n}{n}\right)=o(1). O d ( n 1/ ( 2 k ) k log n + n k log n ) = o ( 1 ) .
The selected input has maximum matching size at least n / 10 n/10 n /10 . For any fixed approximation factor, a valid approximation on this input must therefore exceed the output-size threshold once n n n is sufficiently large. Its probability is at most n − d − 1 < n − d n^{-d-1}<n^{-d} n − d − 1 < n − d , a contradiction.
The Two-Round Hard Distribution
We now consider the expected-size hard distribution when k = 2 k=2 k = 2 and δ = 0 \delta=0 δ = 0 . We show that two rounds suffice to find a matching of size Ω ( n 3 / 4 / log n ) \Omega(n^{3/4}/\log n) Ω ( n 3/4 / log n ) using at most n n n demand queries per round. Thus the exponent of the lower bound obtained from this distribution is tight, up to logarithmic factors.
The same algorithm works when the probabilities of the two dense layers are multiplied by any fixed positive constant.
Proposition 4.18. Fix a constant a 0 > 0 a_0>0 a 0 > 0 . Independently assign every vertex of R R R to the layers T 0 , T 1 , T 2 T_0,T_1,T_2 T 0 , T 1 , T 2 with probabilities
Pr [ v ∈ T 0 ] = Pr [ v ∈ T 1 ] = a 0 n − 1 / 4 , Pr [ v ∈ T 2 ] = 1 − 2 a 0 n − 1 / 4 . \Pr[v\in T_0]=\Pr[v\in T_1]=a_0n^{-1/4},\qquad\Pr[v\in T_2]=1-2a_0n^{-1/4}. Pr [ v ∈ T 0 ] = Pr [ v ∈ T 1 ] = a 0 n − 1/4 , Pr [ v ∈ T 2 ] = 1 − 2 a 0 n − 1/4 .
Conditional on the layers, include each pair ( u , v ) ∈ L × R (u,v) \in L \times R ( u , v ) ∈ L × R independently, with probability 1 1 1 , n − 1 / 2 n^{-1/2} n − 1/2 , or 1 / n 1/n 1/ n according as v v v belongs to T 0 T_0 T 0 , T 1 T_1 T 1 , or T 2 T_2 T 2 .
For sufficiently large n n n , a two-round randomised algorithm using at most n n n demand queries per round finds a matching of size
Ω ( n 3 / 4 log n ) \Omega\left(\frac{n^{3/4}}{\log n}\right) Ω ( log n n 3/4 )
with high probability over the graph and the algorithm’s randomness. Consequently, this distribution admits an O ( n 1 / 4 log n ) O(n^{1/4}\log n) O ( n 1/4 log n ) approximation in two rounds.
Proof. The first round will identify a large set of vertices contained in T 2 T_2 T 2 . The second round will find a matching into this set. To keep the edges used in the second round independent of the first-round information, partition L L L into two fixed sets L A , L B L_A,L_B L A , L B , with
∣ L A ∣ = ⌊ n / 2 ⌋ , ∣ L B ∣ = ⌈ n / 2 ⌉ . |L_A| = \lfloor n/2\rfloor,\qquad|L_B| = \lceil n/2\rceil. ∣ L A ∣ = ⌊ n /2 ⌋ , ∣ L B ∣ = ⌈ n /2 ⌉ .
The first round uses only vertices in L A L_A L A , and the second round uses only vertices in L B L_B L B .
The first round. Let
t : = ⌈ C n log n ⌉ , g : = ⌊ ∣ L A ∣ t ⌋ , t := \lceil C\sqrt{n}\log n\rceil,\qquad g := \left\lfloor\frac{|L_A|}{t}\right\rfloor, t := ⌈ C n log n ⌉ , g := ⌊ t ∣ L A ∣ ⌋ ,
where C > 0 C>0 C > 0 is a sufficiently large constant. Partition g t gt g t vertices of L A L_A L A into g g g groups of size t t t , leaving the remaining vertices unused.
For each group U U U , independently choose a uniformly random set S U ⊆ R S_U \subseteq R S U ⊆ R of size
ℓ : = ⌊ c 1 n 1 / 4 ⌋ , \ell:= \lfloor c_1n^{1/4}\rfloor, ℓ := ⌊ c 1 n 1/4 ⌋ ,
where c 1 > 0 c_1>0 c 1 > 0 is a fixed constant. Every vertex u ∈ U u\in U u ∈ U asks a demand query that places S U S_U S U first in its ordering.
We accept S U S_U S U if every response from a vertex in U U U lies outside S U S_U S U or is ⊥ \bot ⊥ . This happens exactly when
E ( U , S U ) = ∅ . E(U,S_U)=\varnothing. E ( U , S U ) = ∅ .
Let S S S be the union of all accepted sets. The first round uses g t ≤ ∣ L A ∣ ≤ n / 2 gt\leq|L_A|\leq n/2 g t ≤ ∣ L A ∣ ≤ n /2 queries.
Properties of the graph distribution. For U ⊆ L U\subseteq L U ⊆ L , write N ( U ) N(U) N ( U ) for the set of its neighbours in R R R . We first establish three properties of the layers and the edges incident on L A L_A L A .
First, every vertex of T 1 T_1 T 1 has a neighbour in every group with high probability. For a fixed v ∈ T 1 v\in T_1 v ∈ T 1 and a fixed group U U U , the probability of having no such neighbour is
( 1 − n − 1 / 2 ) t ≤ exp ( − t / n ) ≤ n − C . (1-n^{-1/2})^t\leq\exp(-t/\sqrt{n})\leq n^{-C}. ( 1 − n − 1/2 ) t ≤ exp ( − t / n ) ≤ n − C .
A union bound over the vertices and groups proves the assertion. Every vertex of T 0 T_0 T 0 has a neighbour in every group because all its incident pairs are edges. Therefore, on this event, every accepted set is contained in T 2 T_2 T 2 .
Second, with high probability,
∣ N ( U ) ∣ = O ( n 3 / 4 ) |N(U)|=O(n^{3/4}) ∣ N ( U ) ∣ = O ( n 3/4 )
for every group U U U . Indeed, a binomial tail bound gives ∣ T 0 ∪ T 1 ∣ = O ( n 3 / 4 ) |T_0\cup T_1|=O(n^{3/4}) ∣ T 0 ∪ T 1 ∣ = O ( n 3/4 ) . Conditional on the layers, the number of edges from a group U U U to T 2 T_2 T 2 is binomial with expectation at most $t. Another binomial tail bound, followed by a union bound over the groups, makes this number O ( t ) O(t) O ( t ) simultaneously for all groups. Since
t = O ( n log n ) = o ( n 3 / 4 ) , t = O(\sqrt{n}\log n) = o(n^{3/4}), t = O ( n log n ) = o ( n 3/4 ) ,
the claimed bound on ∣ N ( U ) ∣ |N(U)| ∣ N ( U ) ∣ follows.
Third, define
Z : = { v ∈ T 2 : N ( v ) ∩ L A = ∅ } . Z := \{v \in T_2 : N(v) \cap L_A = \varnothing\}. Z := { v ∈ T 2 : N ( v ) ∩ L A = ∅ } .
Then ∣ Z ∣ = Ω ( n ) |Z| = \Omega(n) ∣ Z ∣ = Ω ( n ) with high probability. To see this, condition on the layers. We have ∣ T 2 ∣ = Ω ( n ) |T_2| = \Omega(n) ∣ T 2 ∣ = Ω ( n ) with high probability, and each vertex of T 2 T_2 T 2 belongs to Z Z Z independently with probability
( 1 − 1 / n ) ∣ L A ∣ = Ω ( 1 ) . (1 - 1/n)^{|L_A|} = \Omega(1). ( 1 − 1/ n ) ∣ L A ∣ = Ω ( 1 ) .
The assertion follows from the lower-tail Chernoff bound.
These three properties hold simultaneously with high probability. Their failure probability can be made smaller than any fixed inverse polynomial by taking C C C sufficiently large.
Bounding the size of the accepted set. Condition on a layer assignment and on all edges incident on L A L_A L A for which the three properties above hold. The random choices of the sets S U S_U S U are still independent across groups.
Fix z ∈ Z z \in Z z ∈ Z and a group U U U . Since z ∉ N ( U ) z \notin N(U) z ∈ / N ( U ) , the probability that S U S_U S U contains z z z and is accepted is exactly
Pr [ z ∈ S U , S U is accepted ] = ℓ n ( n − 1 − ∣ N ( U ) ∣ ℓ − 1 ) ( n − 1 ℓ − 1 ) . \Pr[z \in S_U,\ S_U\text{ is accepted}] =
\frac{\ell}{n}
\frac{\binom{n-1-|N(U)|}{\ell-1}}{\binom{n-1}{\ell-1}}. Pr [ z ∈ S U , S U is accepted ] = n ℓ ( ℓ − 1 n − 1 ) ( ℓ − 1 n − 1 − ∣ N ( U ) ∣ ) .
The ratio of binomial coefficients can be written as
∏ i = 0 ℓ − 2 ( 1 − ∣ N ( U ) ∣ n − 1 − i ) . \prod_{i=0}^{\ell-2}\left(1-\frac{|N(U)|}{n-1-i}\right). i = 0 ∏ ℓ − 2 ( 1 − n − 1 − i ∣ N ( U ) ∣ ) .
Since ∣ N ( U ) ∣ = O ( n 3 / 4 ) |N(U)| = O(n^{3/4}) ∣ N ( U ) ∣ = O ( n 3/4 ) and ℓ = Θ ( n 1 / 4 ) \ell= \Theta(n^{1/4}) ℓ = Θ ( n 1/4 ) , this product is bounded below by a positive constant. More explicitly, for sufficiently large n n n , its logarithm is at least
− O ( ∣ N ( U ) ∣ ℓ n ) = − O ( 1 ) . -O\left(\frac{|N(U)|\ell}{n}\right) = -O(1). − O ( n ∣ N ( U ) ∣ ℓ ) = − O ( 1 ) .
Thus there is a constant c 2 > 0 c_2 > 0 c 2 > 0 such that
Pr [ z ∈ S U , S U is accepted ] ≥ c 2 ℓ n \Pr[z \in S_U,\ S_U\text{ is accepted}] \ge c_2\frac{\ell}{n} Pr [ z ∈ S U , S U is accepted ] ≥ c 2 n ℓ
for every z ∈ Z z \in Z z ∈ Z and every group U U U .
By independence across groups,
Pr [ z ∈ S ] ≥ 1 − ( 1 − c 2 ℓ n ) g . \Pr[z \in S] \ge1-\left(1-c_2\frac{\ell}{n}\right)^g. Pr [ z ∈ S ] ≥ 1 − ( 1 − c 2 n ℓ ) g .
As g ℓ = o ( n ) g\ell= o(n) g ℓ = o ( n ) and ∣ Z ∣ = Ω ( n ) |Z| = \Omega(n) ∣ Z ∣ = Ω ( n ) , summing over z ∈ Z z \in Z z ∈ Z gives
E ∣ S ∣ ≥ ∣ Z ∣ ( 1 − ( 1 − c 2 ℓ n ) g ) = Ω ( g ℓ ) . \mathbb{E}|S| \ge|Z|\left(1-\left(1-c_2\frac{\ell}{n}\right)^g\right) = \Omega(g\ell). E ∣ S ∣ ≥ ∣ Z ∣ ( 1 − ( 1 − c 2 n ℓ ) g ) = Ω ( g ℓ ) .
To show concentration, regard ∣ S ∣ \lvert S\rvert ∣ S ∣ as a function of the g g g independent choices S U S_U S U . Changing one choice can remove at most ℓ \ell ℓ vertices from the union and add at most ℓ \ell ℓ vertices. Thus its effect on ∣ S ∣ \lvert S\rvert ∣ S ∣ is at most 2 ℓ 2\ell 2 ℓ . The bounded-differences inequality gives
∣ S ∣ = Ω ( g ℓ ) = Ω ( n 3 / 4 log n ) \lvert S\rvert= \Omega(g\ell) = \Omega\left(\frac{n^{3/4}}{\log n}\right) ∣ S ∣ = Ω ( g ℓ ) = Ω ( log n n 3/4 )
except with conditional probability exp ( − Ω ( g ) ) \exp(-\Omega(g)) exp ( − Ω ( g )) . Also, deterministically,
∣ S ∣ ≤ g ℓ = o ( n ) . \lvert S\rvert\leq g\ell= o(n). ∣ S ∣ ≤ g ℓ = o ( n ) .
The second round. Each vertex u ∈ L B u \in L_B u ∈ L B asks a demand query that places an independently uniform random ordering of S S S first. We retain the responses that lie in S S S . For each distinct returned right vertex, we keep one of its returned edges.
We show that this produces Ω ( ∣ S ∣ ) \Omega(\lvert S\rvert) Ω (∣ S ∣) matching edges. Condition further on all the first-round random choices, so that S S S is fixed. On the event considered above, S ⊆ T 2 S \subseteq T_2 S ⊆ T 2 . The pairs in L B × S L_B \times S L B × S are still independent Bernoulli 1 / n 1/n 1/ n variables: all the graph information conditioned on concerns the layers and the edges incident on L A L_A L A .
Write m : = ∣ S ∣ m := \lvert S\rvert m := ∣ S ∣ . For each u ∈ L B u \in L_B u ∈ L B , the probability that its response belongs to S S S is
1 − ( 1 − 1 / n ) m = Θ ( m / n ) . 1 - (1 - 1/n)^m = \Theta(m/n). 1 − ( 1 − 1/ n ) m = Θ ( m / n ) .
These events are independent across the vertices of L B L_B L B . Since ∣ L B ∣ ≥ n / 2 \lvert L_B\rvert\geq n/2 ∣ L B ∣ ≥ n /2 and m = o ( n ) m = o(n) m = o ( n ) , the expected number of such responses is at least m / 4 m/4 m /4 for sufficiently large n n n . A Chernoff bound therefore gives at least m / 8 m/8 m /8 responses in S S S , except with probability exp ( − Ω ( m ) ) \exp(-\Omega(m)) exp ( − Ω ( m )) .
Conditional on which rows return a vertex in S S S , their returned vertices are independent and uniform in S S S . This follows from symmetry and from the independent random ordering used in each row. Consider the first ⌊ m / 8 ⌋ \lfloor m/8\rfloor ⌊ m /8 ⌋ such responses. The expected number of distinct right vertices among them is
m ( 1 − ( 1 − 1 m ) ⌊ m / 8 ⌋ ) = Ω ( m ) . m\left(1 - \left(1 - \frac{1}{m}\right)^{\lfloor m/8\rfloor}\right) = \Omega(m). m ( 1 − ( 1 − m 1 ) ⌊ m /8 ⌋ ) = Ω ( m ) .
Changing one response changes this number by at most one. Another application of bounded differences shows that the number of distinct returned vertices is Ω ( m ) \Omega(m) Ω ( m ) except with probability exp ( − Ω ( m ) ) \exp(-\Omega(m)) exp ( − Ω ( m )) .
The retained edges form a matching: only one edge is kept for each right endpoint, and each left vertex supplied at most one response. Its size is therefore
Ω ( m ) = Ω ( n 3 / 4 log n ) . \Omega(m) = \Omega\left(\frac{n^{3/4}}{\log n}\right). Ω ( m ) = Ω ( log n n 3/4 ) .
The second round uses ∣ L B ∣ ≤ n \lvert L_B\rvert\leq n ∣ L B ∣ ≤ n queries. Combining the failure probabilities proves the claimed success probability over the graph and the algorithm’s randomness.
Finally, μ ( G ) ≤ n \mu(G) \leq n μ ( G ) ≤ n , so a matching of this size gives an O ( n 1 / 4 log n ) O(n^{1/4}\log n) O ( n 1/4 log n ) approximation.
Scope of the exponent gap. For O ( n ) O(n) O ( n ) demand queries per round, Theorem 7 gives approximation lower bound
Ω ( max { 1 , n 1 / ( 2 k ) k } ) . \Omega\left(\max\left\{1,\frac{n^{1/(2k)}}{k}\right\}\right). Ω ( max { 1 , k n 1/ ( 2 k ) } ) .
The general upper bound in Theorem 8 has factor
O ( n 1 / ( k + 1 ) k k / ( k + 1 ) ) O\left(\frac{n^{1/(k+1)}}{k^{k/(k+1)}}\right) O ( k k / ( k + 1 ) n 1/ ( k + 1 ) )
up to logarithmic factors. For fixed k > 1 k > 1 k > 1 , the exponents 1 / ( 2 k ) 1/(2k) 1/ ( 2 k ) and 1 / ( k + 1 ) 1/(k + 1) 1/ ( k + 1 ) remain different.
Proposition 4.18 shows that the particular two-round distribution used here admits an O ( n 1 / 4 log n ) O(n^{1/4}\log n) O ( n 1/4 log n ) approximation. Its guarantee is over a graph sampled from that distribution and the algorithm’s randomness. It does not give the same guarantee on arbitrary graphs. These results leave the approximation gap for arbitrary demand-query algorithms open.
A Randomised k k k -round Upper Bound
In this section, we prove an upper bound for finding an approximate maximum matching using k k k rounds of demand queries. We use the independent-neighbour greedy algorithm of [27 ] with a modification when fewer than n n n queries are available per round. The analysis keeps the contribution of every round. This gives the following tradeoff, including the dependence on k k k .
Throughout this section, G = ( L ⊔ R , E ) G = (L \mathbin{\sqcup} R, E) G = ( L ⊔ R , E ) is a fixed bipartite graph with ∣ L ∣ = ∣ R ∣ = n |L| = |R| = n ∣ L ∣ = ∣ R ∣ = n , and μ : = μ ( G ) \mu:= \mu(G) μ := μ ( G ) . All probabilities and expectations are over the algorithm’s randomness. An expected-size approximation factor α \alpha α means that the expected size of the returned matching is at least μ / α \mu/\alpha μ / α .
Theorem 8 (k k k -round upper bound). Let k ≥ 1 k \ge1 k ≥ 1 and 1 ≤ q ≤ n 2 1 \le q \le n^2 1 ≤ q ≤ n 2 be integers. There is a randomised algorithm using at most k k k rounds and at most q q q demand queries per round whose output M M M is always a matching. For μ > 0 \mu> 0 μ > 0 , it satisfies
E ∣ M ∣ ≥ c min { μ , k q μ n , ( k q μ n ) k / ( k + 1 ) } , (14) \mathbb{E}|M| \ge c\min\left\{\mu,\frac{kq\mu}{n},\left(\frac{kq\mu}{n}\right)^{k/(k+1)}\right\}, \tag*{(14)} E ∣ M ∣ ≥ c min { μ , n k q μ , ( n k q μ ) k / ( k + 1 ) } , (14) where c > 0 c > 0 c > 0 is an absolute constant. In particular, its worst-case expected-size approximation factor is
O ( max { 1 , n 1 / ( k + 1 ) ( k q / n ) k / ( k + 1 ) } ) . (15) O\left(\max\left\{1,\frac{n^{1/(k+1)}}{(kq/n)^{k/(k+1)}}\right\}\right). \tag*{(15)} O ( max { 1 , ( k q / n ) k / ( k + 1 ) n 1/ ( k + 1 ) } ) . (15) When q ≥ n q \ge n q ≥ n , the same asymptotic approximation factor is achieved with probability at least 2 / 3 2/3 2/3 , with the same round and query budgets.
For q = Θ ( n 1 + δ ) q = \Theta(n^{1+\delta}) q = Θ ( n 1 + δ ) , the approximation factor in (15) becomes
O ( max { 1 , n ( 1 − k δ ) / ( k + 1 ) k k / ( k + 1 ) } ) . (16) O\left(\max\left\{1,\frac{n^{(1-k\delta)/(k+1)}}{k^{k/(k+1)}}\right\}\right). \tag*{(16)} O ( max { 1 , k k / ( k + 1 ) n ( 1 − k δ ) / ( k + 1 ) } ) . (16)
The maximum with one records that an approximation factor cannot be smaller than one. In particular, taking q = n q = n q = n gives factor O ( max { 1 , n 1 / ( k + 1 ) / k k / ( k + 1 ) } ) O(\max\{1,n^{1/(k+1)}/k^{k/(k+1)}\}) O ( max { 1 , n 1/ ( k + 1 ) / k k / ( k + 1 ) }) . The probability guarantee in the theorem applies whenever q ≥ n q \ge n q ≥ n ; for smaller budgets, the theorem asserts the expected-size guarantee.
In § 5.1 , we describe the algorithm and check its query budget. We give the proof overview in § 5.2 , followed by the helper lemmas and the proof of Theorem 8 . In § 5.5 , we show that the same algorithm obtains a ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximation with high probability in O ( log n / log log n ) O(\log n/\log\log n) O ( log n / log log n ) rounds.
The Algorithm
We first recall how to obtain a uniformly random neighbour of a left vertex u u u inside a set S ⊆ R S \subseteq R S ⊆ R . Ask a demand query that places an independently uniform ordering of S S S first. If the response lies in S S S , it is exactly uniform in N ( u ) ∩ S N(u) \cap S N ( u ) ∩ S . Otherwise, including when the response is ⊥ \perp ⊥ , the query certifies that N ( u ) ∩ S = ∅ N(u) \cap S = \varnothing N ( u ) ∩ S = ∅ , and we discard the response.
The algorithm maintains a matching M M M . In this section, L r L_r L r and R r R_r R r denote the unmatched left and right vertices at the beginning of round r r r , respectively.
Independent-neighbour greedy.
Initially, set M : = ∅ M := \varnothing M := ∅ , L 1 : = L L_1 := L L 1 := L , and R 1 : = R R_1 := R R 1 := R . If q ≥ n q \ge n q ≥ n , set t : = ⌊ q / n ⌋ t := \lfloor q/n \rfloor t := ⌊ q / n ⌋ and fix an ordering of L L L . If q < n q < n q < n , fix a balanced partition of L L L into q q q nonempty groups and fix an ordering of these groups.
In each round r ∈ { 1 , … , k } r \in\{1,\ldots,k\} r ∈ { 1 , … , k } , issue the following queries before processing any of their answers.
When q ≥ n q \ge n q ≥ n : every u ∈ L r u \in L_r u ∈ L r asks t t t independent random-neighbour queries into R r R_r R r . These responses form an ordered list of samples for u u u .
When q < n q < n q < n : independently select one vertex uniformly from each group. If the selected vertex belongs to L r L_r L r , ask one random-neighbour query for it into R r R_r R r . A group whose selected vertex is already matched asks no query.
Process the answers greedily.
When q ≥ n q \ge n q ≥ n : process L r L_r L r in the fixed left-vertex order. Match u u u to the first still-unmatched neighbour in its sampled list, if such a neighbour exists.
When q < n q < n q < n : process the groups in their fixed order. Add the selected vertex’s returned edge if both endpoints are still unmatched.
Add these edges to M M M , and let L r + 1 L_{r+1} L r + 1 and R r + 1 R_{r+1} R r + 1 be the vertices that remain unmatched.
After round k k k , return M M M .
Every sampled edge is a true edge, and an edge is added only when both endpoints are unmatched. Thus the output is always a matching. All selections and query orderings in a round are fixed before any answer from that round is used. The greedy processing does not make additional queries and never examines samples belonging to an unprocessed vertex or group.
When q ≥ n q \ge n q ≥ n , each round uses at most n t = n ⌊ q / n ⌋ ≤ q nt = n\lfloor q/n \rfloor\le q n t = n ⌊ q / n ⌋ ≤ q queries. When q < n q < n q < n , each of the q q q groups asks at most one query. Therefore the query budget holds in every execution, rather than only in expectation.
Proof Overview
Fix a maximum matching M ⋆ M^\star M ⋆ of G G G , and write X X X for the size of the algorithm’s final matching. At most 2 X 2X 2 X edges of M ⋆ M^\star M ⋆ have an endpoint matched by the algorithm. Consider any of the remaining edges, say u v uv uv . Both endpoints of this edge remain unmatched throughout the execution.
For each round r r r , consider the fraction of v v v ’s round-start neighbours that are still available when u u u , or its group in the low-budget case, is processed. If this fraction is small, then many of its neighbours must have been matched in that round. However, the algorithm matches only X X X right vertices in total, while v v v remains an available neighbour of u u u at the end. These two facts imply that the product of the k k k availability fractions is at least 1 / ( X + 1 ) 1/(X+1) 1/ ( X + 1 ) . Their sum is consequently at least k / ( X + 1 ) 1 / k k/(X+1)^{1/k} k / ( X + 1 ) 1/ k .
We relate these fractions to the conditional probability of adding an edge at each processing step. Let A A A be the sum of these conditional probabilities over the whole execution. We will show that surviving edges of M ⋆ M^\star M ⋆ force A A A to be large. On the other hand, E A = E X \mathbb{E}A=\mathbb{E}X E A = E X , and an exponential bound shows that A A A is unlikely to be much larger than X X X . These statements give both the expected-size and the constant-error guarantees.
The inequality obtained from the surviving edges holds for every completed execution. We do not condition the distribution of a query on the event that its left vertex remains unmatched at termination.
Helper Lemmas
For the analysis, put s : = q / n s := q/n s := q / n . Expose the random choices in each round in the order in which its vertices or groups are processed. This is only an ordering of the analysis: all queries in the round were issued together. At a processing step, the unexposed choices are still independent of the information exposed so far. In the low-budget case, expose a group’s selected vertex and its sample together, when that group is processed.
Index the processing steps over all rounds by j j j . Let F j − 1 \mathcal{F}_{j-1} F j − 1 be the information exposed before step j j j , and let Y j ∈ { 0 , 1 } Y_j \in\{0,1\} Y j ∈ { 0 , 1 } indicate whether this step adds an edge to M M M . Set
p j : = E [ Y j ∣ F j − 1 ] , X : = ∑ j Y j = ∣ M ∣ , A : = ∑ j p j . (17) p_j := \mathbb{E}[Y_j \mid\mathcal{F}_{j-1}], \qquad X := \sum_j Y_j = |M|, \qquad A := \sum_j p_j. \tag*{(17)} p j := E [ Y j ∣ F j − 1 ] , X := j ∑ Y j = ∣ M ∣ , A := j ∑ p j . (17)
We may include zero-success steps for inactive vertices, so that the number of steps is fixed. The tower property gives
E A = E X . (18) \mathbb{E}A = \mathbb{E}X. \tag*{(18)} E A = E X . (18)
For a left vertex u u u active in round r r r , define
d r ( u ) : = ∣ N ( u ) ∩ R r ∣ . d_r(u) := |N(u) \cap R_r|. d r ( u ) := ∣ N ( u ) ∩ R r ∣.
Let f r , u f_{r,u} f r , u be the fraction of these neighbours that are still unmatched immediately before u u u is processed. When q < n q<n q < n , use the moment immediately before u u u ’s group is processed, before its selected vertex is exposed. Set f r , u : = 0 f_{r,u} := 0 f r , u := 0 for an inactive vertex or when d r ( u ) = 0 d_r(u)=0 d r ( u ) = 0 .
Surviving edges force progress. We first make the argument from the proof overview precise. For a real number z z z , write ( z ) + : = max { z , 0 } (z)_+ := \max\{z,0\} ( z ) + := max { z , 0 } .
Lemma 5.1. For every execution of the algorithm,
A ≥ c 0 ( μ − 2 X ) + min { 1 , k s ( X + 1 ) 1 / k } . (19) A \ge c_0(\mu-2X)_+ \min\left\{1,\frac{ks}{(X+1)^{1/k}}\right\}. \tag*{(19)} A ≥ c 0 ( μ − 2 X ) + min { 1 , ( X + 1 ) 1/ k k s } . (19) where c 0 > 0 c_0>0 c 0 > 0 is an absolute constant. When q = n q=n q = n , the stronger bound
A ≥ k ( μ − 2 X ) + ( X + 1 ) 1 / k (20) A \ge\frac{k(\mu-2X)_+}{(X+1)^{1/k}} \tag*{(20)} A ≥ ( X + 1 ) 1/ k k ( μ − 2 X ) + (20) holds. When q < n q<n q < n , we also have
A ≥ k s ( μ − 2 X ) + 2 ( X + 1 ) 1 / k . (21) A \ge\frac{ks(\mu-2X)_+}{2(X+1)^{1/k}}. \tag*{(21)} A ≥ 2 ( X + 1 ) 1/ k k s ( μ − 2 X ) + . (21)
Proof. Fix a maximum matching M ⋆ M^\star M ⋆ . At most 2 X 2X 2 X of its edges have an endpoint matched by the algorithm. Consider an edge u v ∈ M ⋆ uv \in M^\star uv ∈ M ⋆ whose endpoints are both unmatched at termination. The vertex u u u is active in every round, and d k + 1 ( u ) ≥ 1 d_{k+1}(u) \ge1 d k + 1 ( u ) ≥ 1 because v ∈ R k + 1 v \in R_{k+1} v ∈ R k + 1 . Since the sets of unmatched right vertices only shrink,
f r , u ≥ d r + 1 ( u ) d r ( u ) ( 1 ≤ r ≤ k ) . (22) f_{r,u} \ge\frac{d_{r+1}(u)}{d_r(u)} \qquad(1 \le r \le k). \tag*{(22)} f r , u ≥ d r ( u ) d r + 1 ( u ) ( 1 ≤ r ≤ k ) . (22)
Also, exactly X X X right vertices are matched over the entire execution, so
d 1 ( u ) − d k + 1 ( u ) ≤ X . d_1(u)-d_{k+1}(u) \le X. d 1 ( u ) − d k + 1 ( u ) ≤ X .
Multiplying (22) over the rounds gives
∏ r = 1 k f r , u ≥ d k + 1 ( u ) d 1 ( u ) ≥ d k + 1 ( u ) d k + 1 ( u ) + X ≥ 1 X + 1 . \prod_{r=1}^{k} f_{r,u} \ge\frac{d_{k+1}(u)}{d_1(u)} \ge\frac{d_{k+1}(u)}{d_{k+1}(u)+X} \ge\frac{1}{X+1}. r = 1 ∏ k f r , u ≥ d 1 ( u ) d k + 1 ( u ) ≥ d k + 1 ( u ) + X d k + 1 ( u ) ≥ X + 1 1 .
The arithmetic–geometric mean inequality therefore gives
∑ r = 1 k f r , u ≥ k ( X + 1 ) 1 / k . (23) \sum_{r=1}^{k} f_{r,u} \ge\frac{k}{(X+1)^{1/k}}. \tag*{(23)} r = 1 ∑ k f r , u ≥ ( X + 1 ) 1/ k k . (23)
We now relate these fractions to the conditional probabilities in (17) .
When q ≥ n q \ge n q ≥ n . Immediately before an active vertex u u u is processed, its t t t samples are independent and uniform in its round-start neighbourhood. Thus, when that neighbourhood is nonempty, its conditional probability of being matched at this step is
1 − ( 1 − f r , u ) t ≥ ( 1 − e − 1 ) min { 1 , t f r , u } ≥ c 0 min { 1 , s f r , u } . 1-(1-f_{r,u})^t \ge(1-e^{-1})\min\{1,tf_{r,u}\} \ge c_0\min\{1,sf_{r,u}\}. 1 − ( 1 − f r , u ) t ≥ ( 1 − e − 1 ) min { 1 , t f r , u } ≥ c 0 min { 1 , s f r , u } .
The last inequality uses t = ⌊ s ⌋ ≥ s / 2 t=\lfloor s\rfloor\ge s/2 t = ⌊ s ⌋ ≥ s /2 . The lower bound also holds when the neighbourhood is empty, because then f r , u = 0 f_{r,u}=0 f r , u = 0 . For any nonnegative numbers z 1 , … , z k z_1,\ldots,z_k z 1 , … , z k ,
∑ r = 1 k min { 1 , z r } ≥ min { 1 , ∑ r = 1 k z r } . \sum_{r=1}^{k}\min\{1,z_r\} \ge\min\left\{1,\sum_{r=1}^{k}z_r\right\}. r = 1 ∑ k min { 1 , z r } ≥ min { 1 , r = 1 ∑ k z r } .
Consequently, by (23) , the left endpoint of each surviving edge of M ⋆ M^\star M ⋆ contributes at least
c 0 min { 1 , k s ( X + 1 ) 1 / k } c_0\min\left\{1,\frac{ks}{(X+1)^{1/k}}\right\} c 0 min { 1 , ( X + 1 ) 1/ k k s }
to A A A . Distinct matching edges have distinct left endpoints. Summing over the at least ( μ − 2 X ) + (\mu-2X)_+ ( μ − 2 X ) + surviving edges proves (19) in this case.
If q = n q=n q = n , there is exactly one sample per active left vertex. Its conditional probability of being matched is exactly f r , u f_{r,u} f r , u . We can therefore sum (23) directly, without truncation or a constant loss. This proves (20) .
When q < n q<n q < n . Consider a group B B B in round r r r . Conditional on the information exposed before this group is processed, its selected vertex is uniform in B B B . Conditional on selecting an active vertex u u u , the probability that its sample is still available is f r , u f_{r,u} f r , u . Hence this group’s conditional probability of adding an edge is exactly
1 ∣ B ∣ ∑ u ∈ B ∩ L r f r , u . \frac{1}{|B|}\sum_{u\in B\cap L_r} f_{r,u}. ∣ B ∣ 1 u ∈ B ∩ L r ∑ f r , u .
The partition is balanced, and q < n q<n q < n , so
∣ B ∣ ≤ ⌈ n q ⌉ ≤ 2 n q . |B| \le\left\lceil\frac{n}{q} \right\rceil\le\frac{2n}{q}. ∣ B ∣ ≤ ⌈ q n ⌉ ≤ q 2 n .
The group’s conditional success probability is therefore at least ( s / 2 ) ∑ u ∈ B ∩ L r f r , u (s/2)\sum_{u\in B\cap L_r} f_{r,u} ( s /2 ) ∑ u ∈ B ∩ L r f r , u . Sum over the groups and rounds, and keep only the contribution from the surviving edges of M ⋆ M^\star M ⋆ . Equation (23) gives
A ≥ s 2 ( μ − 2 X ) + k ( X + 1 ) 1 / k . A \ge\frac{s}{2}(\mu-2X)+\frac{k}{(X+1)^{1/k}}. A ≥ 2 s ( μ − 2 X ) + ( X + 1 ) 1/ k k .
which proves (21) . It also implies (19) , after decreasing c 0 c_0 c 0 if necessary. ■ \blacksquare ■
Relating conditional progress to the output. Equation (18) is sufficient for the expected-size bound. For the probability guarantees, we use the following exponential bound.
Lemma 5.2. For every θ > 0 \theta>0 θ > 0 ,
E [ exp ( − θ X + ( 1 − e − θ ) A ) ] ≤ 1. (24) \mathbb{E}\left[\exp\left(-\theta X+(1-e^{-\theta})A\right)\right]\le1. \tag*{(24)} E [ exp ( − θ X + ( 1 − e − θ ) A ) ] ≤ 1. (24) Proof. At a single processing step,
E [ e − θ Y j ∣ F j − 1 ] = 1 − ( 1 − e − θ ) p j ≤ exp ( − ( 1 − e − θ ) p j ) . \mathbb{E}\left[e^{-\theta Y_j}\mid\mathcal{F}_{j-1}\right]
=1-(1-e^{-\theta})p_j
\le\exp\left(-(1-e^{-\theta})p_j\right). E [ e − θ Y j ∣ F j − 1 ] = 1 − ( 1 − e − θ ) p j ≤ exp ( − ( 1 − e − θ ) p j ) . Thus
E [ e − θ Y j + ( 1 − e − θ ) p j ∣ F j − 1 ] ≤ 1. \mathbb{E}\left[e^{-\theta Y_j+(1-e^{-\theta})p_j}\mid\mathcal{F}_{j-1}\right]\le1. E [ e − θ Y j + ( 1 − e − θ ) p j ∣ F j − 1 ] ≤ 1. Multiplying the factors and applying conditional expectation one step at a time proves (24) . ■ \blacksquare ■
Proof of Theorem 8
We have already checked that the output is a matching and that the algorithm respects the query budget. It remains to prove the two approximation guarantees.
The expected size of the matching. Write m : = E X m:=\mathbb{E}X m := E X and z : = k s z:=ks z := k s . If m ≥ μ / 8 m\ge\mu/8 m ≥ μ /8 , then (14) follows immediately. We therefore assume m < μ / 8 m<\mu/8 m < μ /8 .
First, m > 0 m>0 m > 0 . Otherwise, X = 0 X=0 X = 0 almost surely. Lemma 5.1 would then give
A ≥ c 0 μ min { 1 , z } > 0 A\ge c_0\mu\min\{1,z\}>0 A ≥ c 0 μ min { 1 , z } > 0
almost surely, contradicting E A = E X = 0 \mathbb{E}A=\mathbb{E}X=0 E A = E X = 0 .
By Markov’s inequality, Pr [ X ≤ 2 m ] ≥ 1 / 2 \Pr[X\le2m]\ge1/2 Pr [ X ≤ 2 m ] ≥ 1/2 . On this event, μ − 2 X ≥ μ / 2 \mu-2X\ge\mu/2 μ − 2 X ≥ μ /2 and X + 1 ≤ 2 m + 1 X+1\le2m+1 X + 1 ≤ 2 m + 1 . Taking expectations in (19) and using (18) , we obtain
m ≥ c 1 μ min { 1 , z ( 2 m + 1 ) 1 / k } , (25) m\ge c_1\mu\min\left\{1,\frac{z}{(2m+1)^{1/k}}\right\}, \tag*{(25)} m ≥ c 1 μ min { 1 , ( 2 m + 1 ) 1/ k z } , (25)
where c 1 > 0 c_1>0 c 1 > 0 is an absolute constant.
If m < 1 m<1 m < 1 , then ( 2 m + 1 ) 1 / k ≤ 3 (2m+1)^{1/k}\le3 ( 2 m + 1 ) 1/ k ≤ 3 , and (25) gives
m ≥ c 1 3 μ min { 1 , z } . m\ge\frac{c_1}{3}\mu\min\{1,z\}. m ≥ 3 c 1 μ min { 1 , z } .
This is sufficient, since min { μ , μ z , ( μ z ) k / ( k + 1 ) } ≤ μ min { 1 , z } \min\{\mu,\mu z,(\mu z)^{k/(k+1)}\}\leq\mu\min\{1,z\} min { μ , μ z , ( μ z ) k / ( k + 1 ) } ≤ μ min { 1 , z } .
Now suppose m ≥ 1 m\geq1 m ≥ 1 . If z ≥ ( 2 m + 1 ) 1 / k z\geq(2m+1)^{1/k} z ≥ ( 2 m + 1 ) 1/ k , then (25) gives m ≥ c 1 μ m\geq c_1\mu m ≥ c 1 μ , which again suffices. Otherwise, using 2 m + 1 ≤ 3 m 2m+1\leq3m 2 m + 1 ≤ 3 m , we get
m 1 + 1 / k ≥ c 1 3 μ z . m^{1+1/k}\geq\frac{c_1}{3}\mu z. m 1 + 1/ k ≥ 3 c 1 μ z .
Therefore
m = Ω ( ( μ z ) k / ( k + 1 ) ) , m=\Omega\left((\mu z)^{k/(k+1)}\right), m = Ω ( ( μ z ) k / ( k + 1 ) ) ,
with an absolute implicit constant independent of k k k . Combining the cases proves (14) .
Dividing this expected-size bound into μ \mu μ gives approximation factor
O ( max { 1 , 1 k s , μ 1 / ( k + 1 ) ( k s ) k / ( k + 1 ) } ) . O\left(\max\left\{1,\frac{1}{ks},\frac{\mu^{1/(k+1)}}{(ks)^{k/(k+1)}}\right\}\right). O ( max { 1 , k s 1 , ( k s ) k / ( k + 1 ) μ 1/ ( k + 1 ) } ) .
Since μ ≤ n \mu\leq n μ ≤ n and n k s = k q ≥ 1 nks=kq\geq1 nk s = k q ≥ 1 , we have
1 k s ≤ n 1 / ( k + 1 ) ( k s ) k / ( k + 1 ) . \frac{1}{ks}\leq\frac{n^{1/(k+1)}}{(ks)^{k/(k+1)}}. k s 1 ≤ ( k s ) k / ( k + 1 ) n 1/ ( k + 1 ) .
Thus the factor is bounded by (15) .
The constant-error guarantee. Assume q ≥ n q\geq n q ≥ n and μ > 0 \mu>0 μ > 0 . Set
B : = min { μ , ( μ k s ) k / ( k + 1 ) } , x : = c 3 B , B:=\min\left\{\mu,(\mu ks)^{k/(k+1)}\right\},\qquad x:=c_3B, B := min { μ , ( μ k s ) k / ( k + 1 ) } , x := c 3 B ,
where c 3 > 0 c_3>0 c 3 > 0 is a sufficiently small absolute constant. We show that Pr [ X < x ] ≤ 1 / 3 \Pr[X<x]\leq1/3 Pr [ X < x ] ≤ 1/3 .
First suppose x ≥ 1 x\geq1 x ≥ 1 . Choose c 3 ≤ 1 / 4 c_3\leq1/4 c 3 ≤ 1/4 , so that x ≤ μ / 4 x\leq\mu/4 x ≤ μ /4 . On the event X < x X<x X < x , we have μ − 2 X ≥ μ / 2 \mu-2X\geq\mu/2 μ − 2 X ≥ μ /2 and X + 1 ≤ 2 x X+1\leq2x X + 1 ≤ 2 x . Lemma 5.1 therefore gives
A ≥ c 0 μ 4 min { 1 , k s x 1 / k } . A\geq\frac{c_0\mu}{4}\min\left\{1,\frac{ks}{x^{1/k}}\right\}. A ≥ 4 c 0 μ min { 1 , x 1/ k k s } .
The definition of B B B gives B ≤ μ B\leq\mu B ≤ μ and B 1 + 1 / k ≤ μ k s B^{1+1/k}\leq\mu ks B 1 + 1/ k ≤ μ k s . Since x ≤ B x\leq B x ≤ B , it follows that
μ min { 1 , k s x 1 / k } ≥ B . \mu\min\left\{1,\frac{ks}{x^{1/k}}\right\}\geq B. μ min { 1 , x 1/ k k s } ≥ B .
Taking c 3 ≤ c 0 / 32 c_3\leq c_0/32 c 3 ≤ c 0 /32 yields A ≥ 8 x A\geq8x A ≥ 8 x on the event X < x X<x X < x . Apply Lemma 5.2 with θ = 1 \theta=1 θ = 1 . On this event, the exponent in (24) is at least [ 8 ( 1 − e − 1 ) − 1 ] x [8(1-e^{-1})-1]x [ 8 ( 1 − e − 1 ) − 1 ] x . Hence
Pr [ X < x ] ≤ exp ( − [ 8 ( 1 − e − 1 ) − 1 ] x ) ≤ e − 4 x < 1 3 . \Pr[X<x]\leq\exp(-[8(1-e^{-1})-1]x)\leq e^{-4x}<\frac{1}{3}. Pr [ X < x ] ≤ exp ( − [ 8 ( 1 − e − 1 ) − 1 ] x ) ≤ e − 4 x < 3 1 .
If x < 1 x<1 x < 1 , the event X < x X<x X < x is impossible. On a nonempty graph, the first round with at least one sample per left vertex always adds an edge. Thus X ≥ 1 X\geq1 X ≥ 1 deterministically.
We have proved that X ≥ c 3 B X\geq c_3B X ≥ c 3 B with probability at least 2 / 3 2/3 2/3 . Because k s ≥ 1 ks\geq1 k s ≥ 1 , this is the same output-size bound as (14) , up to an absolute constant. It gives the claimed approximation guarantee and completes the proof of Theorem 8 .
An explicit bound with one sample per vertex. The stronger inequality (20) also gives the following useful form of the expected-size guarantee when q = n q=n q = n :
E X ≥ μ 2 + ( μ + 1 ) 1 / k / k . (26) \mathbb{E}X \ge\frac{\mu}{2+(\mu+1)^{1/k}/k}. \tag*{(26)} E X ≥ 2 + ( μ + 1 ) 1/ k / k μ . (26)
Indeed, X ≤ μ X\le\mu X ≤ μ , so (20) implies
A ≥ k ( μ − 2 X ) ( μ + 1 ) 1 / k . A\ge\frac{k(\mu-2X)}{(\mu+1)^{1/k}}. A ≥ ( μ + 1 ) 1/ k k ( μ − 2 X ) .
This inequality also holds when μ − 2 X < 0 \mu-2X<0 μ − 2 X < 0 , because A ≥ 0 A\ge0 A ≥ 0 . Taking expectations, using E A = E X \mathbb{E}A=\mathbb{E}X E A = E X , and rearranging proves (26) .
Optimal-Order Rounds for Constant Approximation
We now use the same one-sample algorithm to obtain a constant approximation with high probability. Summing the progress over all rounds is important here: it gives the required guarantee after O ( log n / log log n ) O(\log n/\log\log n) O ( log n / log log n ) rounds rather than O ( log n ) O(\log n) O ( log n ) rounds. In the following theorem, log \log log denotes the natural logarithm.
Theorem 9. Fix ε > 0 \varepsilon>0 ε > 0 . For sufficiently large n n n , the independent-neighbour greedy algorithm, with one random-neighbour demand query per active left vertex per round, returns a ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximate maximum matching in
k : = ⌊ 2 log n log log n ⌋ k:=\left\lfloor\frac{2\log n}{\log\log n}\right\rfloor k := ⌊ log log n 2 log n ⌋ rounds with high probability. It uses at most n n n demand queries per round, and its failure probability is at most
exp ( − Ω ε ( k 2 ) ) = n − ω ( 1 ) . \exp\left(-\Omega_{\varepsilon}(k^2)\right)=n^{-\omega(1)}. exp ( − Ω ε ( k 2 ) ) = n − ω ( 1 ) .
Proof. The assertion is immediate when μ = 0 \mu=0 μ = 0 , so assume μ > 0 \mu>0 μ > 0 . Let
B : = { X < μ 2 + ε } . \mathcal{B}:=\left\{X<\frac{\mu}{2+\varepsilon}\right\}. B := { X < 2 + ε μ } .
be the failure event. We first show that, on B \mathcal{B} B , the total conditional matching probability A A A is large.
Every round adds an edge on the failure event. Whenever the current matching has size less than μ / 2 \mu/2 μ /2 , some edge of a fixed maximum matching has both endpoints unmatched. The residual graph is therefore nonempty. Since every active left vertex asks a random-neighbour query, the next round adds at least one edge.
On B \mathcal{B} B , the matching size stays below μ / ( 2 + ε ) < μ / 2 \mu/(2+\varepsilon)<\mu/2 μ / ( 2 + ε ) < μ /2 throughout the execution. Hence every round adds an edge, and
X ≥ k , μ > ( 2 + ε ) k . (27) X\ge k,\qquad\mu>(2+\varepsilon)k. \tag*{(27)} X ≥ k , μ > ( 2 + ε ) k . (27)
The conditional progress is much larger than the output. By (20) , on B \mathcal{B} B we have
A ≥ ε 2 + ε k μ ( μ + 1 ) 1 / k . (28) A\ge\frac{\varepsilon}{2+\varepsilon}\frac{k\mu}{(\mu+1)^{1/k}}. \tag*{(28)} A ≥ 2 + ε ε ( μ + 1 ) 1/ k k μ . (28)
The function y / ( y + 1 ) 1 / k y/(y+1)^{1/k} y / ( y + 1 ) 1/ k is increasing for y > 0 y>0 y > 0 . Together with (27) , this gives
A = Ω ε ( k 2 ) on B . (29) A=\Omega_{\varepsilon}(k^2)\qquad\text{on }\mathcal{B}. \tag*{(29)} A = Ω ε ( k 2 ) on B . (29)
Also, dividing (28) by X < μ / ( 2 + ε ) X < \mu/(2+\varepsilon) X < μ / ( 2 + ε ) and using μ ≤ n \mu\le n μ ≤ n , we obtain
A X ≥ ε k ( n + 1 ) 1 / k . \frac{A}{X} \ge\frac{\varepsilon k}{(n+1)^{1/k}}. X A ≥ ( n + 1 ) 1/ k ε k .
For the chosen number of rounds,
( n + 1 ) 1 / k = O ( log n ) , k ( n + 1 ) 1 / k ⟶ ∞ . (n+1)^{1/k}=O\left(\sqrt{\log n}\right), \qquad\frac{k}{(n+1)^{1/k}}\longrightarrow\infty. ( n + 1 ) 1/ k = O ( log n ) , ( n + 1 ) 1/ k k ⟶ ∞.
Consequently A ≥ 4 X A \ge4X A ≥ 4 X on B \mathcal{B} B for sufficiently large n n n .
Bounding the failure probability. Apply Lemma 5.2 with θ = 1 \theta=1 θ = 1 . On B \mathcal{B} B , the exponent satisfies
− X + ( 1 − e − 1 ) A ≥ ( 1 − e − 1 − 1 4 ) A = Ω ε ( k 2 ) , -X+(1-e^{-1})A \ge\left(1-e^{-1}-\frac{1}{4}\right)A=\Omega_{\varepsilon}(k^2), − X + ( 1 − e − 1 ) A ≥ ( 1 − e − 1 − 4 1 ) A = Ω ε ( k 2 ) ,
where the last equality uses (29) . Markov’s inequality therefore gives
Pr [ B ] ≤ exp ( − Ω ε ( k 2 ) ) . \Pr[\mathcal{B}] \le\exp\left(-\Omega_{\varepsilon}(k^2)\right). Pr [ B ] ≤ exp ( − Ω ε ( k 2 ) ) .
Finally, k 2 / log n ⟶ ∞ k^2/\log n\longrightarrow\infty k 2 / log n ⟶ ∞ , so this probability is smaller than n − c n^{-c} n − c for every fixed c > 0 c>0 c > 0 once n n n is sufficiently large. This proves the theorem. ▮
Combined with the round lower bound from the preceding section, Theorem 9 shows that the number of rounds required for constant approximation with O ( n ) O(n) O ( n ) demand queries per round is
Θ ( log n log log n ) . \Theta\left(\frac{\log n}{\log\log n}\right). Θ ( log log n log n ) .
up to constant factors. The lower bound already holds for constant success probability, while the upper bound above holds with high probability.
Corollary 5.3 (Randomised minimum vertex cover). For every fixed ε > 0 \varepsilon>0 ε > 0 , there is a randomised algorithm that outputs a ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximate minimum vertex cover with high probability in O ( log n / log log n ) O(\log n/\log\log n) O ( log n / log log n ) rounds, using at most n n n demand queries per round.
Proof. Run the one-sample algorithm for k = ⌈ 2 log n / log log n ⌉ k=\lceil2\log n/\log\log n\rceil k = ⌈ 2 log n / log log n ⌉ rounds. Let M M M be its matching, X = ∣ M ∣ X=|M| X = ∣ M ∣ , and A A A the sum of conditional matching probabilities defined in (17) . In one additional round, query every unmatched left vertex, placing all unmatched right vertices first in its demand ordering. Let U U U be the unmatched left vertices for which the response lies among the unmatched right vertices, and output
C : = V ( M ) ∪ U . C:=V(M)\cup U. C := V ( M ) ∪ U .
Every edge has an endpoint in C C C : this is immediate for an edge incident to a matched vertex, while the left endpoint of an edge with both endpoints unmatched belongs to U U U . Thus C C C is a vertex cover.
For every u ∈ U u\in U u ∈ U , a neighbour of u u u remains unmatched throughout the execution. The argument proving (23) therefore applies to u u u , whether or not it is the endpoint of a surviving edge of the fixed optimum matching. With one sample per active left vertex, its contribution to A A A is at least k / ( X + 1 ) 1 / k k/(X+1)^{1/k} k / ( X + 1 ) 1/ k . Since distinct vertices of U U U contribute distinct processing steps, we have, for every execution,
A ≥ k ∣ U ∣ ( X + 1 ) 1 / k . (30) A\ge\frac{k|U|}{(X+1)^{1/k}}. \tag*{(30)} A ≥ ( X + 1 ) 1/ k k ∣ U ∣ . (30)
Fix c > 0 c > 0 c > 0 . Lemma 5.2 with θ = 1 \theta= 1 θ = 1 implies
Pr [ A > 4 X + 4 ( c + 2 ) log n ] ≤ n − c − 2 . (31) \Pr[A > 4X + 4(c + 2) \log n] \le n^{-c-2}. \tag*{(31)} Pr [ A > 4 X + 4 ( c + 2 ) log n ] ≤ n − c − 2 . (31)
Indeed, on this event the exponent − X + ( 1 − e − 1 ) A -X + (1 - e^{-1})A − X + ( 1 − e − 1 ) A is at least ( c + 2 ) log n (c + 2) \log n ( c + 2 ) log n , so Markov’s inequality applies.
If U = ∅ U = \varnothing U = ∅ , then ∣ C ∣ = 2 X ≤ 2 μ |C| = 2X \le2\mu ∣ C ∣ = 2 X ≤ 2 μ . Otherwise an edge remains between unmatched vertices after the k k k matching rounds. Such an edge also exists at the beginning of every earlier round. As all unmatched left vertices sample a neighbour in each round, each round adds an edge. Therefore X ≥ k X \ge k X ≥ k and μ ≥ k \mu\ge k μ ≥ k . On the event complementary to (31) , using (30) and X ≤ μ ≤ n X \le\mu\le n X ≤ μ ≤ n gives
∣ U ∣ μ ≤ ( n + 1 ) 1 / k k ( 4 + 4 ( c + 2 ) log n μ ) ≤ ( n + 1 ) 1 / k k ( 4 + 4 ( c + 2 ) log n k ) = o ( 1 ) . \frac{|U|}{\mu} \le\frac{(n+1)^{1/k}}{k}\left(4+\frac{4(c+2)\log n}{\mu}\right) \le\frac{(n+1)^{1/k}}{k}\left(4+\frac{4(c+2)\log n}{k}\right)=o(1). μ ∣ U ∣ ≤ k ( n + 1 ) 1/ k ( 4 + μ 4 ( c + 2 ) log n ) ≤ k ( n + 1 ) 1/ k ( 4 + k 4 ( c + 2 ) log n ) = o ( 1 ) .
The final equality follows from ( n + 1 ) 1 / k = O ( log n ) (n+1)^{1/k}=O(\sqrt{\log n}) ( n + 1 ) 1/ k = O ( log n ) and k = Θ ( log n / log log n ) k=\Theta(\log n/\log\log n) k = Θ ( log n / log log n ) . Hence ∣ C ∣ = 2 X + ∣ U ∣ ≤ ( 2 + ε ) μ |C|=2X+|U|\le(2+\varepsilon)\mu ∣ C ∣ = 2 X + ∣ U ∣ ≤ ( 2 + ε ) μ for all sufficiently large n n n . By König’s theorem, μ \mu μ is also the minimum vertex-cover size. Since c c c was arbitrary, the result holds with high probability.
Proposition 5.4 (The single-edge obstruction). On the distribution consisting of one uniformly random edge in L × R L \times R L × R , any randomised algorithm making at most Q Q Q demand queries in total has probability at most min { 1 , Q / n + 1 / n 2 } \min\{1,Q/n+1/n^2\} min { 1 , Q / n + 1/ n 2 } of returning a valid nonempty matching. For an algorithm that always returns a valid matching on every graph, its expected output size on this distribution is at most min { 1 , Q / n } \min\{1,Q/n\} min { 1 , Q / n } .
Proof. Fix the random tape. Until the unique edge is found, the responses are exactly those on the empty graph. Along that all-negative execution, at most Q Q Q distinct left vertices are queried. The probability that the unique edge’s left endpoint is among them is at most Q / n Q/n Q / n . If no queried row contains it, a valid nonempty output must be the single correct edge. The all-negative transcript fixes this possible guessed pair, whose unconditional probability is at most 1 / n 2 1/n^2 1/ n 2 . An always-valid algorithm must instead output the empty matching on this transcript, because it is also the transcript of the empty graph. Average over the random tape.
The Long-Round, Small-Budget Regime
Theorem 10 (Tight expected-size tradeoff for many rounds). Suppose 1 ≤ q ≤ n 1 \le q \le n 1 ≤ q ≤ n and k ≥ 2 log ( n + 1 ) k \ge2\log(n+1) k ≥ 2 log ( n + 1 ) . The optimal worst-case expected-size approximation factor among always-valid randomised algorithms, with at most q q q demand queries per round, is
Θ ( max { 1 , n k q } ) . \Theta\left(\max\left\{1,\frac{n}{kq}\right\}\right). Θ ( max { 1 , k q n } ) .
Proof. Equations (21) and (20) imply, in both cases q ≤ n q \le n q ≤ n ,
A ≥ k s 2 ( n + 1 ) 1 / k ( μ − 2 X ) . A \ge\frac{ks}{2(n+1)^{1/k}}(\mu-2X). A ≥ 2 ( n + 1 ) 1/ k k s ( μ − 2 X ) .
Take expectations, use (18) , and rearrange:
E X ≥ μ 2 + 2 ( n + 1 ) 1 / k / ( k s ) = Ω ( μ min { 1 , k s } ) . \mathbb{E}X \ge\frac{\mu}{2+2(n+1)^{1/k}/(ks)}=\Omega\left(\mu\min\{1,ks\}\right). E X ≥ 2 + 2 ( n + 1 ) 1/ k / ( k s ) μ = Ω ( μ min { 1 , k s } ) .
Here ( n + 1 ) 1 / k ≤ e (n+1)^{1/k}\le\sqrt{e} ( n + 1 ) 1/ k ≤ e . Conversely, Proposition 5.4 , with Q = k q Q=kq Q = k q , supplies an input with optimum one and expected output at most min { 1 , k q / n } \min\{1,kq/n\} min { 1 , k q / n } . The trivial lower bound of one on an approximation factor covers k q ≥ n kq\ge n k q ≥ n .
For q = n 1 + δ ≤ n q = n^{1+\delta} \le n q = n 1 + δ ≤ n , this is Θ ( max { 1 , ( k n δ ) − 1 } ) \Theta(\max\{1,(kn^\delta)^{-1}\}) Θ ( max { 1 , ( k n δ ) − 1 }) . In particular, the expression saturates at a constant when k n δ ≥ 1 kn^\delta\ge1 k n δ ≥ 1 ; it must not be interpreted as an approximation factor smaller than one.
Tightness for Independent-Neighbour Greedy
The next lower bound applies to the independent-neighbour greedy algorithm of § 5.1 with q = n q = n q = n . It proves that the n 1 / ( k + 1 ) n^{1/(k+1)} n 1/ ( k + 1 ) dependence in our upper-bound analysis is inherent to this particular algorithm, rather than an artifact of the proof.
Why this does not close the upper–lower bound gap. It is important to distinguish an algorithm-specific lower bound from a lower bound in the demand-query model. Let α k ⋆ ( n ) \alpha_k^\star(n) α k ⋆ ( n ) denote the best worst-case approximation factor achievable by an arbitrary k k k -round randomized demand-query algorithm using O ( n ) O(n) O ( n ) queries per round. Ignoring polylogarithmic and polynomial-in-k k k factors, our model-wide results currently give
n 1 / ( 2 k ) ≲ α k ⋆ ( n ) ≲ n 1 / ( k + 1 ) . n^{1/(2k)} \lesssim\alpha_k^\star(n) \lesssim n^{1/(k+1)}. n 1/ ( 2 k ) ≲ α k ⋆ ( n ) ≲ n 1/ ( k + 1 ) .
The theorem below shows only that the specific independent-neighbour greedy algorithm attains the right-hand exponent in the worst case: its approximation factor is Ω ( n 1 / ( k + 1 ) / k ) \Omega(n^{1/(k+1)}/k) Ω ( n 1/ ( k + 1 ) / k ) on an explicit family of graphs. Hence no sharper analysis of this algorithm can improve its exponent to 1 / ( 2 k ) 1/(2k) 1/ ( 2 k ) .
This does not imply the same lower bound for an arbitrary demand-query algorithm. A general demand query reveals more than a single sampled neighbour: if a query returns v v v , then every vertex placed before v v v in the query permutation is simultaneously certified to be a non-neighbour. An unrestricted algorithm can coordinate these prefixes across many left vertices and use the resulting negative information in later rounds. By contrast, the algorithm in § 5.1 uses demand queries only as independent random-neighbour samples and does not exploit such correlated certificates. Indeed, shared-prefix filtering can substantially outperform independent-neighbour sampling on natural layered instances. Therefore, closing the remaining exponent gap requires either a stronger lower bound that remains hard against these correlated-prefix strategies, or a new algorithm that exploits the additional information exposed by demand queries.
Theorem 11 (Algorithm-specific lower bound). There is an absolute constant C > 0 C > 0 C > 0 such that, whenever
n 1 / ( k + 1 ) ≥ C ( k + log n ) , n^{1/(k+1)} \ge C(k + \log n), n 1/ ( k + 1 ) ≥ C ( k + log n ) , there is a bipartite graph with μ ( G ) ≥ n / 2 \mu(G) \ge n/2 μ ( G ) ≥ n /2 on which the one-sample independent-neighbour greedy algorithm satisfies
E ∣ M ∣ ≤ C k n k / ( k + 1 ) . \mathbb{E}|M| \le Ckn^{k/(k+1)}. E ∣ M ∣ ≤ C k n k / ( k + 1 ) . Its worst-case expected-size approximation is therefore Ω ( n 1 / ( k + 1 ) / k ) \Omega(n^{1/(k+1)}/k) Ω ( n 1/ ( k + 1 ) / k ) . In this range, this matches (15) up to absolute constants, since k 1 / ( k + 1 ) k^{1/(k+1)} k 1/ ( k + 1 ) is bounded.
Proof. Fix a sufficiently large absolute constant B B B , and put
a = ( n B k − 1 ) 1 / ( k + 1 ) , h = ⌊ n / a ⌋ , p j = ( B a ) − j ( 0 ≤ j < k ) . a = \left(\frac{n}{B^{k-1}}\right)^{1/(k+1)}, \qquad h = \lfloor n/a\rfloor, \qquad p_j = (Ba)^{-j} \quad(0 \le j < k). a = ( B k − 1 n ) 1/ ( k + 1 ) , h = ⌊ n / a ⌋ , p j = ( B a ) − j ( 0 ≤ j < k ) .
Choosing the theorem’s constant large enough ensures a ≥ C 1 log n a \ge C_1\log n a ≥ C 1 log n and a ≥ 2 k a \ge2k a ≥ 2 k , where C 1 C_1 C 1 is as large as required below. Partition R R R into layers T 0 , … , T k − 1 T_0,\ldots,T_{k-1} T 0 , … , T k − 1 of size h h h and a set P P P of size n − k h ≥ n / 2 n-kh \ge n/2 n − k h ≥ n /2 . Independently insert every pair from L L L to T j T_j T j with probability p j p_j p j . Give each vertex of P P P exactly one neighbour, with these neighbours distinct. These private edges form a matching of size ∣ P ∣ |P| ∣ P ∣ . The useful parameter relations, including the harmless rounding of h h h , are
h p k − 1 = Θ ( a ) , ( B a ) k − 1 = n / a 2 = Θ ( h / a ) . (32) hp_{k-1} = \Theta(a), \qquad(Ba)^{k-1} = n/a^2 = \Theta(h/a). \tag*{(32)} h p k − 1 = Θ ( a ) , ( B a ) k − 1 = n / a 2 = Θ ( h / a ) . (32)
A property uniform over remaining subsets. With positive probability, simultaneously for every layer T j T_j T j ,
deg T j ( u ) ≤ 2 h p j for every u ∈ L , (33) \deg_{T_j}(u) \le2hp_j \quad\text{for every } u \in L, \tag*{(33)} deg T j ( u ) ≤ 2 h p j for every u ∈ L , (33)
and, for every W ⊆ T j W \subseteq T_j W ⊆ T j with ∣ W ∣ ≥ 3 h / 4 |W| \ge3h/4 ∣ W ∣ ≥ 3 h /4 ,
∣ { u ∈ L : deg W ( u ) < h p j / 4 } ∣ ≤ D / p j (34) \left|\{u \in L : \deg_W(u) < hp_j/4\}\right| \le D/p_j \tag*{(34)} ∣ { u ∈ L : deg W ( u ) < h p j /4 } ∣ ≤ D / p j (34)
for an absolute constant D D D . The first assertion follows from Chernoff bounds because h p j ≥ c a ≥ c C 1 log n hp_j \ge ca \ge cC_1\log n h p j ≥ c a ≥ c C 1 log n . For the second, a violation gives a set U U U of m = ⌈ D / p j ⌉ m = \lceil D/p_j\rceil m = ⌈ D / p j ⌉ vertices and a set W W W with e ( U , W ) < m h p j / 4 e(U,W) < mhp_j/4 e ( U , W ) < mh p j /4 , whereas its expectation is at least 3 m h p j / 4 3mhp_j/4 3 mh p j /4 . For fixed U , W U,W U , W , this event has probability exp ( − Ω ( m h p j ) ) = exp ( − Ω ( D h ) ) \exp(-\Omega(mhp_j)) = \exp(-\Omega(Dh)) exp ( − Ω ( mh p j )) = exp ( − Ω ( D h )) . There are at most 2 h ( e n / m m ) 2^h\binom{en/m}{m} 2 h ( m e n / m ) choices. Since h p j ≥ c C 1 log n hp_j \ge cC_1\log n h p j ≥ c C 1 log n , choosing C 1 C_1 C 1 sufficiently large absorbs the factor ( e n / m m ) \binom{en/m}{m} ( m e n / m ) , and choosing D D D sufficiently large absorbs 2 h 2^h 2 h . A union bound over the layers proves the claim. If m > n m > n m > n , the assertion is automatic. Fix a graph satisfying these properties. The uniformity over W W W permits its remaining subset to be chosen adaptively by the algorithm.
Later layers survive until their designated rounds. Stop the execution if, at the beginning of some round r r r , fewer than 3 h / 4 3h/4 3 h /4 vertices of T r − 1 T_{r-1} T r − 1 remain unmatched. Before stopping, (34) implies that all but D / p r − 1 D/p_{r-1} D / p r − 1 left vertices have at least h p r − 1 / 4 hp_{r-1}/4 h p r − 1 /4 available neighbours in T r − 1 T_{r-1} T r − 1 . For each nonexceptional active vertex, the probability of sampling a neighbour in a later layer T j T_j T j , j ≥ r j \ge r j ≥ r , is at most
2 h p j h p r − 1 / 4 = 8 ( B a ) − ( j − r + 1 ) . \frac{2hp_j}{hp_{r-1}/4} = 8(Ba)^{-(j-r+1)}. h p r − 1 /4 2 h p j = 8 ( B a ) − ( j − r + 1 ) .
For fixed j ≥ 1 j \ge1 j ≥ 1 , the sum of the conditional expectations of samples entering T j T_j T j in rounds 1 , … , j 1,\ldots,j 1 , … , j , before stopping, is at most
8 n ∑ r = 1 j ( B a ) − ( j − r + 1 ) + D ∑ r = 1 j ( B a ) r − 1 ≤ 16 n B a + 2 D ( B a ) j − 1 ≤ h / 16. \begin{aligned}
8n\sum_{r=1}^{j}(Ba)^{-(j-r+1)} + D\sum_{r=1}^{j}(Ba)^{r-1} \le\frac{16n}{Ba} + 2D(Ba)^{j-1} \\
&\le h/16.
\end{aligned} 8 n r = 1 ∑ j ( B a ) − ( j − r + 1 ) + D r = 1 ∑ j ( B a ) r − 1 ≤ B a 16 n + 2 D ( B a ) j − 1 ≤ h /16.
The final inequality follows by first taking B B B sufficiently large and then C 1 C_1 C 1 sufficiently large; for j ≤ k − 1 j \le k-1 j ≤ k − 1 , ( B a ) j − 1 / h = O ( 1 / ( B a 2 ) ) (Ba)^{j-1}/h = O(1/(Ba^2)) ( B a ) j − 1 / h = O ( 1/ ( B a 2 )) .
For completeness, if adapted indicators I i I_i I i have conditional means z i z_i z i with ∑ i z i ≤ h / 16 \sum_i z_i \le h/16 ∑ i z i ≤ h /16 on every history, then
E e ∑ i I i ≤ e ( e − 1 ) h / 16 , Pr [ ∑ i I i ≥ h / 4 ] ≤ e − Ω ( h ) . \mathbb{E}e^{\sum_i I_i} \le e^{(e-1)h/16}, \qquad\Pr\left[\sum_i I_i \ge h/4\right] \le e^{-\Omega(h)}. E e ∑ i I i ≤ e ( e − 1 ) h /16 , Pr [ i ∑ I i ≥ h /4 ] ≤ e − Ω ( h ) .
This follows by conditioning one indicator at a time, using E [ e I i ∣ F i − 1 ] ≤ e ( e − 1 ) z i \mathbb{E}[e^{I_i}\mid\mathcal{F}_{i-1}] \le e^{(e-1)z_i} E [ e I i ∣ F i − 1 ] ≤ e ( e − 1 ) z i , or equivalently the associated exponential supermartingale. Apply this to the stopped sample counts for each j j j . A right vertex can be matched only if it is sampled. A union bound thus shows that stopping occurs with probability at most k e − Ω ( h ) ke^{-\Omega(h)} k e − Ω ( h ) . Round one starts with its entire first layer, so there is no initial failure event.
Few private edges are sampled. Before stopping, a nonexceptional vertex in round r r r samples its private edge with probability at most 4 / ( h p r − 1 ) 4/(hp_{r-1}) 4/ ( h p r − 1 ) ; an exceptional vertex contributes at most one. The expected number of private-edge samples in the stopped execution is at most
∑ r = 1 k ( 4 n h p r − 1 + D p r − 1 ) = O ( ( a + D ) ( B a ) k − 1 ) = O ( h ) , (35) \sum_{r=1}^{k}\left(\frac{4n}{hp_{r-1}}+\frac{D}{p_{r-1}}\right)
= O\left((a+D)(Ba)^{k-1}\right) = O(h), \tag*{(35)} r = 1 ∑ k ( h p r − 1 4 n + p r − 1 D ) = O ( ( a + D ) ( B a ) k − 1 ) = O ( h ) , (35)
by (32) . If stopping occurs, the final matching has at most n n n edges, whose expected extra contribution is at most n k e − Ω ( h ) = o ( h ) nke^{-\Omega(h)} = o(h) nk e − Ω ( h ) = o ( h ) . All nonprivate matching edges use one of the k h kh k h dense-layer vertices. Therefore
E ∣ M ∣ ≤ k h + O ( h ) = O ( k n / a ) = O ( k n k / ( k + 1 ) ) , \mathbb{E}|M| \le kh + O(h) = O(kn/a) = O\left(kn^{k/(k+1)}\right), E ∣ M ∣ ≤ k h + O ( h ) = O ( k n / a ) = O ( k n k / ( k + 1 ) ) ,
since B ( k − 1 ) / ( k + 1 ) ≤ B B^{(k-1)/(k+1)} \le B B ( k − 1 ) / ( k + 1 ) ≤ B . The private matching certifies μ ( G ) ≥ n / 2 \mu(G) \ge n/2 μ ( G ) ≥ n /2 , completing the proof.
Algorithms using Demand-OR queries
A Demand-OR query specifies u ∈ L u \in L u ∈ L and S ⊆ R S \subseteq R S ⊆ R and returns whether N ( u ) ∩ S N(u) \cap S N ( u ) ∩ S is nonempty. We show that the random-neighbour queries used in § 5 can be replaced by nonadaptive Demand-OR procedures. We simulate uniform random-neighbour queries , not demand queries with an arbitrary prescribed ordering. This distinction is important when the number of adaptive rounds is small.
The construction uses geometric subsampling, as in support-sampling algorithms [36 ] . Its singleton test is deterministic. Consequently a successful call always returns a genuine neighbour, and its conditional output distribution is exactly uniform. The only error is a detectable failure to produce a neighbour.
Theorem 12 (Demand-OR upper bounds). Let 1 ≤ q ≤ n 2 1 \le q \le n^2 1 ≤ q ≤ n 2 and k ≥ 1 k \ge1 k ≥ 1 . Using k k k rounds and O ( q log 2 n ) O(q\log^2 n) O ( q log 2 n ) Demand-OR queries per round, an always-valid randomised algorithm obtains an O ( max { 1 , n ( k q ) k / ( k + 1 ) } ) O\left(\max\left\{1,\frac{n}{(kq)^{k/(k+1)}}\right\}\right) O ( max { 1 , ( k q ) k / ( k + 1 ) n } ) -approximation in expectation. For q ≥ n q \ge n q ≥ n , the same asymptotic factor is obtained with probability at least 2 / 3 2/3 2/3 . Moreover, for every fixed ε > 0 \varepsilon> 0 ε > 0 , a ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximation is obtained with high probability in O ( log n / log log n ) O(\log n/\log\log n) O ( log n / log log n ) rounds using O ( n log 3 n ) O(n\log^3 n) O ( n log 3 n ) Demand-OR queries per round.
The guarantee in expectation cannot be replaced by a uniform high-probability guarantee over all small budgets: the single-edge obstruction of Lemma 5.4 already applies to the stronger demand-query model.
Exact singleton detection and recovery
Lemma 6.1 (An exact nonadaptive singleton primitive). Given u ∈ L u \in L u ∈ L and S ⊆ R S \subseteq R S ⊆ R , 1 + 2 ⌈ log 2 n ⌉ 1 + 2\lceil\log_2 n\rceil 1 + 2 ⌈ log 2 n ⌉ deterministic nonadaptive Demand-OR queries distinguish the cases ∣ N ( u ) ∩ S ∣ = 0 |N(u)\cap S| = 0 ∣ N ( u ) ∩ S ∣ = 0 , ∣ N ( u ) ∩ S ∣ = 1 |N(u)\cap S| = 1 ∣ N ( u ) ∩ S ∣ = 1 , and ∣ N ( u ) ∩ S ∣ ≥ 2 |N(u) \cap S| \ge2 ∣ N ( u ) ∩ S ∣ ≥ 2 . In the singleton case they also recover the unique neighbour.
Proof. Index the vertices of R R R by 0 , 1 , … , n − 1 0,1,\ldots,n-1 0 , 1 , … , n − 1 , and use the binary representation of each vertex’s index. Let d = ⌈ log 2 n ⌉ d = \lceil\log_2 n\rceil d = ⌈ log 2 n ⌉ . Ask the query ( u , S ) (u,S) ( u , S ) and, for every bit position i ∈ { 0 , … , d − 1 } i \in\{0,\ldots,d-1\} i ∈ { 0 , … , d − 1 } , both queries
( u , S i , 0 ) , ( u , S i , 1 ) , S i , b = { v ∈ S : bit i of the index of v is b } . (u,S_{i,0}), \qquad(u,S_{i,1}), \qquad S_{i,b} = \{v \in S : \text{bit }i\text{ of the index of }v\text{ is }b\}. ( u , S i , 0 ) , ( u , S i , 1 ) , S i , b = { v ∈ S : bit i of the index of v is b } .
If the first answer is zero, the neighbourhood is empty. Otherwise, a singleton neighbourhood makes exactly one answer in every bit pair positive. Conversely, two distinct neighbours differ at some bit, making both answers of that pair positive. Thus exactly one positive answer in every pair is equivalent to a singleton. The positive sides identify all bits of its index and hence the neighbour itself. All sets are fixed before any response is obtained.
Why both bit sides are queried. Using only the bit-one sets recovers a label under a singleton promise , but does not verify the promise. For example, neighbours with binary indices 01 and 10 would produce the bit pattern 11, which need not be a neighbour. The paired queries rule out such false acceptances deterministically and remove the need to condition a sampler’s uniformity claim on a potentially biased random testing event.
Exact uniformity with detectable failure
Lemma 6.2 (Nonadaptive random-neighbour sampling). For 0 < δ < 1 0 < \delta< 1 0 < δ < 1 , there is a one-round randomised procedure using
O ( log 2 n ( 1 + log ( 1 / δ ) ) ) O\left(\log^2 n\left(1+\log(1/\delta)\right)\right) O ( log 2 n ( 1 + log ( 1/ δ ) ) ) Demand-OR queries with the following properties on input ( u , S ) (u,S) ( u , S ) . If N ( u ) ∩ S = ∅ N(u) \cap S = \varnothing N ( u ) ∩ S = ∅ , it returns No neighbour with certainty. Otherwise it either returns a valid neighbour or returns Fail, with failure probability at most δ \delta δ . Conditional on returning a neighbour, each element of N ( u ) ∩ S N(u) \cap S N ( u ) ∩ S is returned with exactly the same probability.
Algorithm 1. An algorithm to sample a random neighbour using Demand-OR queries.
Input: Demand-OR query access to a graph, a vertex u ∈ L u \in L u ∈ L , a set S ⊆ R S \subseteq R S ⊆ R , and a failure probability δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) .
Output: A uniformly random neighbour of u u u in S S S , or No neighbour if no neighbour exists, or Fail.
Parameters: d = ⌈ log 2 n ⌉ d = \lceil\log_2 n\rceil d = ⌈ log 2 n ⌉ and T = max { 1 , ⌈ 2 e log ( 1 / δ ) ⌉ } T = \max\{1,\lceil2e\log(1/\delta)\rceil\} T = max { 1 , ⌈ 2 e log ( 1/ δ )⌉} .
Queries:
Query ( u , S ) (u,S) ( u , S ) .
For every j ∈ { 0 , … , d } j \in\{0,\ldots,d\} j ∈ { 0 , … , d } and every t ∈ { 1 , … , T } t \in\{1,\ldots,T\} t ∈ { 1 , … , T } : (a) Construct S j , t ⊆ S S_{j,t} \subseteq S S j , t ⊆ S by including each vertex independently with probability 2 − j 2^{-j} 2 − j . (b) Run the exact singleton primitive on S j , t S_{j,t} S j , t .
Postprocessing:
If the query ( u , S ) (u,S) ( u , S ) returns 0 0 0 , output No neighbour.
Let ( j ∗ , t ∗ ) (j^*,t^*) ( j ∗ , t ∗ ) be the lexicographically first pair for which the singleton primitive succeeds. Output the neighbour recovered by that copy of the singleton primitive.
If no such pair exists, output Fail.
Proof of Lemma 6.2. Write s = ∣ N ( u ) ∩ S ∣ s = \lvert N(u) \cap S\rvert s = ∣ N ( u ) ∩ S ∣ . Emptiness is detected exactly by ( u , S ) (u,S) ( u , S ) . For s ≥ 1 s \ge1 s ≥ 1 , let K = 2 ⌈ log 2 s ⌉ K = 2^{\lceil\log_2 s\rceil} K = 2 ⌈ l o g 2 s ⌉ , i.e., the smallest power of two that is at least s s s . Then s ≤ K < 2 s s \le K < 2s s ≤ K < 2 s . For a trial at the scale corresponding to K K K , exactly one neighbour is isolated with probability
s K ( 1 − 1 / K ) s − 1 ≥ 1 2 e . \frac{s}{K}(1-1/K)^{s-1} \ge\frac{1}{2e}. K s ( 1 − 1/ K ) s − 1 ≥ 2 e 1 .
For s = 1 s = 1 s = 1 , the scale K = 1 K = 1 K = 1 isolates that neighbour with certainty; for s ≥ 2 s \ge2 s ≥ 2 , use s / K ≥ 1 / 2 s/K \ge1/2 s / K ≥ 1/2 and ( 1 − 1 / s ) s − 1 ≥ e − 1 (1-1/s)^{s-1} \ge e^{-1} ( 1 − 1/ s ) s − 1 ≥ e − 1 . Independent repetitions at this scale fail simultaneously with probability at most ( 1 − 1 / ( 2 e ) ) T ≤ δ (1-1/(2e))^T \le\delta ( 1 − 1/ ( 2 e ) ) T ≤ δ . There are O ( log n ) O(\log n) O ( log n ) scales and T T T trials per scale. Each trial uses O ( log n ) O(\log n) O ( log n ) deterministic queries. This proves the query count. All random subsets and all their bit partitions are fixed before responses are used, so there is no additional adaptive round.
Finally, for a fixed trial with sampling probability p p p and a fixed neighbour v v v , the probability that v v v is the unique sampled neighbour is p ( 1 − p ) s − 1 p(1-p)^{s-1} p ( 1 − p ) s − 1 , independent of the identity of v v v . The trials are independent. Thus the probability that v v v is returned by the first successful trial is
∑ ( j , t ) Pr [ all earlier trials are nonsingletons ] 2 − j ( 1 − 2 − j ) s − 1 , \sum_{(j,t)} \Pr[\text{all earlier trials are nonsingletons}]\,2^{-j}(1-2^{-j})^{s-1}, ( j , t ) ∑ Pr [ all earlier trials are nonsingletons ] 2 − j ( 1 − 2 − j ) s − 1 ,
again independent of v v v . The singleton test is exact, so this calculation is unconditional apart from the fixed input. Summing over neighbours and conditioning on a return proves exact uniformity. Every returned pair is a true edge.
Transferring the matching guarantees
Expected-size and constant-error parts of Theorem 12 . Replace each random-neighbour call in the algorithm of § 5.1 by an independent copy of the isolation sampler with δ = 1 / 16 \delta=1/16 δ = 1/16 . Treat Fail as an empty sample. Each round uses O ( q log 2 n ) O(q\log^2 n) O ( q log 2 n ) queries, and the output is always a matching.
Fix the input graph and the history before processing a vertex. Its round-start neighbourhood is fixed; let π \pi π be the sampler’s probability of returning a neighbour from it. If the neighbourhood is nonempty, π ≥ 15 / 16 \pi\ge15/16 π ≥ 15/16 , and exact conditional uniformity gives probability π f r , u \pi f_{r,u} π f r , u of a returned neighbour still being available. With t t t independent calls the conditional matching probability is
1 − ( 1 − π f r , u ) t ≥ c min { 1 , ( q / n ) f r , u } . 1-(1-\pi f_{r,u})^t\ge c\min\{1,(q/n)f_{r,u}\}. 1 − ( 1 − π f r , u ) t ≥ c min { 1 , ( q / n ) f r , u } .
In the low-budget implementation, the conditional success probability of a group B B B is
1 ∣ B ∣ ∑ u ∈ B ∩ L r π r , u f r , u ≥ 15 q 32 n ∑ u ∈ B ∩ L r f r , u . \frac{1}{|B|}\sum_{u\in B\cap L_r}\pi_{r,u}f_{r,u}\ge\frac{15q}{32n}\sum_{u\in B\cap L_r}f_{r,u}. ∣ B ∣ 1 u ∈ B ∩ L r ∑ π r , u f r , u ≥ 32 n 15 q u ∈ B ∩ L r ∑ f r , u .
Here empty neighbourhoods contribute zero. Thus the pathwise proof of Lemma 5.1 remains valid with a different absolute constant. The expectation argument gives the stated approximation guarantee, including the optimum-sensitive bound (14) .
For q ≥ n q\ge n q ≥ n , the compensator proof of the constant-error guarantee also applies. In its small-threshold case x < 1 x<1 x < 1 , the only relevant failure is an empty output on a nonempty graph. In the first round, choose any fixed left vertex with a neighbour. If a preceding step has already added an edge, the output is nonempty. Otherwise a successful sampler for this vertex supplies an available edge. Since it has at least one call, the probability of an empty output is at most 1 / 16 1/16 1/16 . This replaces the deterministic nonemptiness observation used in the demand-query proof and completes the constant-error guarantee.
High-probability constant-approximation part. Use the sampler with failure probability δ = n − c − 4 \delta=n^{-c-4} δ = n − c − 4 per call, and run the one-sample algorithm for k = ⌈ 2 log n / log log n ⌉ k=\lceil2\log n/\log\log n\rceil k = ⌈ 2 log n / log log n ⌉ rounds. Each simulated round now uses O c ( n log 2 n ) O_c(n\log^2 n) O c ( n log 2 n ) Demand-OR queries. Couple a call to an ideal uniform-neighbour call by using its exactly uniform returned neighbour when it succeeds, and by drawing a fresh uniform neighbour for the ideal call if it fails. Equivalently, conditional on the current input to the call, first draw a uniform neighbour and an independent success coin, whose success probability is the sampler’s actual return probability. This realises the joint law required by the sampler lemma. The real and ideal algorithms agree until the first failed call. Every conditional failure probability is at most δ \delta δ , and there are at most k n kn k n calls. Consequently the probability that the two executions diverge is at most k n δ ≤ n − c − 2 kn\delta\le n^{-c-2} k n δ ≤ n − c − 2 for sufficiently large n n n . By Theorem 9 , the ideal execution returns a ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximation with failure probability n − ω ( 1 ) n^{-\omega(1)} n − ω ( 1 ) . Combining the two bounds proves the claim.
This is a first-divergence coupling argument. We do not condition the entire adaptive execution on the event that every call succeeds; such conditioning need not preserve the ideal execution’s law.
Corollary 6.3 (Randomised vertex cover using Demand-OR queries). For every fixed ε > 0 \varepsilon> 0 ε > 0 , a ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximate minimum vertex cover can be constructed with high probability in O ( log n / log log n ) O(\log n / \log\log n) O ( log n / log log n ) rounds using O ( n log 3 n ) O(n\log^3 n) O ( n log 3 n ) Demand-OR queries per round.
Proof. Simulate the matching phase of Lemma 5.3 using the high-probability coupling above. In one final round, ask ( u , R ′ ) (u,R') ( u , R ′ ) for every unmatched left vertex u u u , where R ′ R' R ′ is the set of unmatched right vertices, and add u u u to the matching endpoints exactly when the answer is one. These final Demand-OR queries identify the set U U U in Lemma 5.3 without error, so the resulting cover has the same guarantee. The last round uses at most n n n queries.
Deterministic round–query tradeoffs
Randomisation changes the round complexity substantially. In the deterministic setting we obtain matching polynomial dependence on the number of rounds and the per-round query budget. The remaining gap is logarithmic, rather than a gap in the exponent of n n n .
The lower bound is a direct adversary for demand queries. It keeps all positive answers incident to a small right-hand set, while preserving a linear-size matching in another graph consistent with the same transcript. Unlike an adversary that preserves a perfect matching, it may discard a small fraction of left vertices. This freedom makes it possible to use small sets that hit most , rather than all, long query prefixes. The upper bound uses a different idea: recover several neighbours per vertex in parallel, and then simulate a block of sequential greedy decisions without further queries.
Throughout this section, n ≥ 2 n \ge2 n ≥ 2 , 1 ≤ q ≤ n 2 1 \le q \le n^2 1 ≤ q ≤ n 2 , and k ≥ 1 k \ge1 k ≥ 1 are integers. Queries originate on the left side only. Put
D = 1 + ⌈ log 2 n ⌉ , Λ = log ( 2 + k q n ) . D = 1 + \lceil\log_2 n \rceil,\qquad\Lambda= \log\left(2+\frac{kq}{n}\right). D = 1 + ⌈ log 2 n ⌉ , Λ = log ( 2 + n k q ) .
A deterministic approximation must be valid on every graph, including the empty graph. The quantity being approximated is the maximum matching size, but the algorithm must output an actual matching.
Theorem 13 (Deterministic tradeoff). The following statements hold with absolute implicit constants.
If k q < n kq < n k q < n , no deterministic algorithm with k k k rounds and at most q q q demand queries per round guarantees any finite multiplicative approximation on every graph.
If k q ≥ n kq \ge n k q ≥ n , there is a deterministic algorithm using at most k k k rounds and at most q q q demand queries per round with approximation factor
O ( max { 1 , n 2 D 2 k 2 q } ) . (36) O\left(\max\left\{1,\frac{n^2D^2}{k^2q}\right\}\right). \tag*{(36)} O ( max { 1 , k 2 q n 2 D 2 } ) . (36)
Every deterministic algorithm subject to those budgets has worst-case approximation factor at least
Ω ( max { 1 , n 2 k 2 q Δ } ) . (37) \Omega\left(\max\left\{1,\frac{n^2}{k^2q\Delta}\right\}\right). \tag*{(37)} Ω ( max { 1 , k 2 q Δ n 2 } ) . (37)
Consequently, throughout the feasible range k q ≥ n kq \ge n k q ≥ n , the optimal factor is Θ ~ ( max { 1 , n 2 / ( k 2 q ) } ) \widetilde{\Theta}(\max\{1,n^2/(k^2q)\}) Θ ( max { 1 , n 2 / ( k 2 q )}) . For q = Θ ( n ) q=\Theta(n) q = Θ ( n ) and fixed k k k , the optimal factor is Θ ( n ) \Theta(n) Θ ( n ) , without logarithmic losses.
Here the last assertion uses a separate one-round upper bound, proved below.
Upper bound: recover lists and process batches
We start with a deterministic primitive that uses only Demand-OR queries. As a demand query simulates one Demand-OR query by placing its set first, the primitive is available in both models.
Lemma 7.1 (Parallel recovery of a bounded neighbour list). Given u ∈ L u \in L u ∈ L , S ⊆ R S \subseteq R S ⊆ R , and an integer b ≥ 1 b \ge1 b ≥ 1 , one can recover min { b , ∣ N ( u ) ∩ S ∣ } \min\{b, |N(u) \cap S|\} min { b , ∣ N ( u ) ∩ S ∣ } distinct neighbours using D D D rounds and at most 2 b 2b 2 b Demand-OR queries per round. If fewer than b b b neighbours exist, all of them are recovered.
Proof. Fix a balanced binary partition tree of R R R of depth ⌈ log 2 n ⌉ \lceil\log_2 n\rceil ⌈ log 2 n ⌉ , padding the leaves with empty cells if necessary. Intersect each cell with S S S . A cell is positive when its intersection contains a neighbour of u u u .
Query the root. At each subsequent level, query both children of every retained positive cell. Retain all positive children if there are at most b b b , and otherwise retain any b b b of them, according to a fixed rule. There are at most b b b retained cells and at most 2 b 2b 2 b queries at each level. Once b b b disjoint positive cells are retained, each has a positive descendant, so at least b b b positive cells remain available at every later level. At the leaves these yield b b b distinct neighbours. If the total number of neighbours is smaller than b b b , no positive cell is ever discarded, and every neighbour is recovered. All choices at a level depend only on answers at earlier levels, giving the stated round count.
Lemma 7.2 (Processing one batch). Let B ⊆ L B \subseteq L B ⊆ L have size at most b b b , and let S S S be the currently unmatched right vertices. In D D D rounds and at most 2 b 2 2b^2 2 b 2 Demand-OR queries per round, one can process B B B by a valid sequential greedy matching execution relative to S S S .
Proof. For every vertex of B B B , recover b b b neighbours in S S S , or all its neighbours if fewer exist, using Lemma 7.1 . Run these recoveries in parallel. Then process B B B in a fixed order without making further queries, matching a vertex to an unused member of its recovered list when possible.
If its list has b b b members, at most b − 1 b-1 b − 1 right vertices have been used earlier in this batch, so one listed neighbour remains free. If its list has fewer than b b b members, the list is complete. Thus whenever the procedure leaves a vertex unmatched, it has no available neighbour. These are exactly the decisions required of a sequential greedy execution, with its neighbour choices determined by the lists. The parallel query count is at most b ⋅ 2 b b \cdot2b b ⋅ 2 b per round.
Lemma 7.3 (Parallel groups). Suppose 1 ≤ g ≤ min { n , ⌊ q / 2 ⌋ } 1 \le g \le\min\{n,\lfloor q/2\rfloor\} 1 ≤ g ≤ min { n , ⌊ q /2 ⌋} . There is a 2 g 2g 2 g -approximation using at most q q q Demand-OR queries per round and at most
D ( 2 2 n g q + 2 ) (38) D\left(\frac{2\sqrt{2}n}{\sqrt{gq}}+2\right) \tag*{(38)} D ( g q 2 2 n + 2 ) (38) rounds. With g = 1 g=1 g = 1 , its output is a maximal matching.
Proof. Partition L L L into g g g balanced groups L 1 , … , L g L_1,\ldots,L_g L 1 , … , L g . For each group, independently maintain a matching in G [ L i , R ] G[L_i,R] G [ L i , R ] and process its left vertices in batches of size at most
b = ⌊ q 2 g ⌋ ≥ 1. b=\left\lfloor\sqrt{\frac{q}{2g}}\right\rfloor\ge1. b = ⌊ 2 g q ⌋ ≥ 1.
Here “independently” means separate deterministic executions and separate right-hand availability sets; it does not refer to randomness. Run corresponding batches of all groups in parallel, using Lemma 7.2 . The total per-round cost is at most 2 g b 2 ≤ q 2gb^2\le q 2 g b 2 ≤ q .
There are at most n / ( g b ) + 2 n/(gb)+2 n / ( g b ) + 2 batches per group. Since b ≥ 1 2 q / ( 2 g ) b\ge\frac{1}{2}\sqrt{q/(2g)} b ≥ 2 1 q / ( 2 g ) , their total round count is at most (38) . The output M i M_i M i of a group is maximal in G [ L i , R ] G[L_i,R] G [ L i , R ] , and hence has size at least μ i / 2 \mu_i/2 μ i /2 , where μ i \mu_i μ i is that group’s maximum matching size. This last inequality follows by charging each edge of an optimum to an incident edge of the maximal matching; each chosen edge receives at most two charges. Restricting an optimum of G G G to the left groups gives ∑ i μ i ≥ μ ( G ) \sum_i\mu_i\ge\mu(G) ∑ i μ i ≥ μ ( G ) . Therefore
max i ∣ M i ∣ ≥ 1 g ∑ i ∣ M i ∣ ≥ μ ( G ) 2 g . \max_i |M_i|\ge\frac{1}{g}\sum_i |M_i|\ge\frac{\mu(G)}{2g}. i max ∣ M i ∣ ≥ g 1 i ∑ ∣ M i ∣ ≥ 2 g μ ( G ) .
Output a largest M i M_i M i . Its edges form a matching even if different groups used common right vertices, because only one group’s matching is output. If g = 1 g=1 g = 1 , it is a maximal matching of G G G itself.
A one-round fallback for $q\ge n. When very few rounds are available, recovering full lists is unnecessary. One can instead insist that different output edges use different right-hand blocks.
Lemma 7.4 (One-round block algorithm). For q ≥ n q\ge n q ≥ n , a deterministic one-round algorithm using at most q q q demand queries returns an O ( n 2 / q ) O(n^2/q) O ( n 2 / q ) -approximation. It can also output a vertex cover C C C and its matching M M M with ∣ C ∣ ≤ O ( n 2 / q ) ∣ M ∣ |C|\le O(n^2/q)|M| ∣ C ∣ ≤ O ( n 2 / q ) ∣ M ∣ .
Proof. Set t = ⌊ q / n ⌋ t=\lfloor q/n\rfloor t = ⌊ q / n ⌋ . Partition R R R into t t t nonempty blocks of size at most B = ⌈ n / t ⌉ = O ( n 2 / q ) B=\lceil n/t\rceil=O(n^2/q) B = ⌈ n / t ⌉ = O ( n 2 / q ) . For every u ∈ L u\in L u ∈ L and every block, issue a demand query placing that block first. The n t ≤ q nt\le q n t ≤ q answers determine the entire bipartite incidence graph H H H between L L L and the blocks: an edge in H H H means that the corresponding left vertex has a neighbour in the block. Every positive incidence also comes with a witness edge of G G G . Compute a maximum matching J J J of H H H and output its witnesses as M M M . Because matched blocks are disjoint, these witnesses form a matching in G G G of size ∣ J ∣ |J| ∣ J ∣ .
A maximum matching in G G G occupies at least μ ( G ) / B \mu(G)/B μ ( G ) / B right blocks. Selecting one of its edges in every occupied block gives a matching in H H H , so ∣ M ∣ = ∣ J ∣ ≥ μ ( G ) / B |M|=|J|\ge\mu(G)/B ∣ M ∣ = ∣ J ∣ ≥ μ ( G ) / B . For the cover certificate, take a minimum vertex cover of the known bipartite graph H H H , whose size is ∣ J ∣ |J| ∣ J ∣ by bipartite matching duality. Replace each selected block by its right vertices, and keep every selected left vertex. This covers G G G and has size at most B ∣ J ∣ B|J| B ∣ J ∣ .
A low-budget fallback. When q < n q<n q < n , a full scan of the left vertices is possible as soon as k q ≥ n kq\ge n k q ≥ n . The following bound accounts explicitly for collisions among the vertices processed in the same round.
Lemma 7.5 (A single pass in batches). If k q ≥ n kq\ge n k q ≥ n , a deterministic demand-query algorithm uses at most k k k rounds and q q q queries per round and returns a matching M M M and a vertex cover C C C such that
∣ C ∣ ≤ ( ⌈ n / k ⌉ + 1 ) ∣ M ∣ . |C|\le(\lceil n/k\rceil+1)|M|. ∣ C ∣ ≤ (⌈ n / k ⌉ + 1 ) ∣ M ∣.
Proof. Partition L L L into at most k k k batches of size at most B = ⌈ n / k ⌉ ≤ q B = \lceil n/k\rceil\le q B = ⌈ n / k ⌉ ≤ q . In a batch’s round, each of its vertices asks one demand query preferring the right vertices unmatched at the beginning of the round. Greedily add edges among the feasible answers. Call a batch productive if it adds at least one edge.
Let C C C consist of the finally matched right vertices and every left vertex in a productive batch. If a batch adds no edge, no query in it could have returned a neighbour unmatched at the beginning of the round: the first such feasible answer would have been added. Thus all neighbours of a left vertex in an unproductive batch were already matched before that round. It follows that C C C covers every edge. There are at most ∣ M ∣ |M| ∣ M ∣ productive batches and exactly ∣ M ∣ |M| ∣ M ∣ matched right vertices, giving ∣ C ∣ ≤ ( B + 1 ) ∣ M ∣ |C| \le(B+1)|M| ∣ C ∣ ≤ ( B + 1 ) ∣ M ∣ .
Upper-bound part of Theorem 13 . If k ≥ n k \ge n k ≥ n , sequential greedy uses one query per round for at most n n n rounds and gives a maximal matching. Suppose henceforth that k < n k < n k < n . Feasibility k q ≥ n kq \ge n k q ≥ n then implies q ≥ 2 q \ge2 q ≥ 2 .
First assume
k ≥ 64 D max { 1 , n / q } . k \ge64D\max\{1,n/q\}. k ≥ 64 D max { 1 , n / q } .
Choose
g = max { 1 , ⌈ 128 n 2 D 2 k 2 q ⌉ } . g = \max\left\{1,\left\lceil\frac{128n^{2}D^{2}}{k^{2}q}\right\rceil\right\}. g = max { 1 , ⌈ k 2 q 128 n 2 D 2 ⌉ } .
The assumed inequality implies g ≤ min { n , ⌊ q / 2 ⌋ } g \le\min\{n,\lfloor q/2\rfloor\} g ≤ min { n , ⌊ q /2 ⌋} : before taking the ceiling, the displayed fraction is at most min { n , q } / 32 \min\{n,q\}/32 min { n , q } /32 , and the assertion also holds when the ceiling is one. Apply Lemma 7.3 . Its round count is at most k / 4 + 2 D ≤ k k/4+2D \le k k /4 + 2 D ≤ k , and its factor 2 g 2g 2 g is bounded by (35).
It remains to consider smaller k k k . If q ≥ n q \ge n q ≥ n , then k < 64 D k < 64D k < 64 D ; Lemma 7.4 gives factor O ( n 2 / q ) O(n^{2}/q) O ( n 2 / q ) , which is within a constant factor of (35). If q < n q < n q < n , then k < 64 D n / q k < 64Dn/q k < 64 D n / q . The factor in Lemma 7.5 is O ( 1 + n / k ) O(1+n/k) O ( 1 + n / k ) , and
n k ≤ 64 n 2 D 2 k 2 q , \frac{n}{k} \le64\frac{n^{2}D^{2}}{k^{2}q}, k n ≤ 64 k 2 q n 2 D 2 ,
using D ≥ 1 D \ge1 D ≥ 1 . This is again sufficient. Every algorithm used here respects the budget q q q exactly, not just in expectation or up to a constant factor.
Lower bound: two graphs with the same transcript
A partial graph assigns each pair in L × R L \times R L × R one of three states: present, absent, or undecided. An answer is committed only after all pairs preceding it in its demand ordering have been fixed absent. Consequently later decisions on undecided pairs cannot change an earlier answer.
Lemma 7.6 (A set hitting almost all prefixes). Let S S S be a family of at most q q q subsets of an n n n -element set, each of size θ ≥ 1 \theta\ge1 θ ≥ 1 , and suppose k q ≥ n kq \ge n k q ≥ n . There exists a set T T T of size at most
h = min { n , ⌈ n θ log ( 16 k q n ) ⌉ } h = \min\left\{n,\left\lceil\frac{n}{\theta}\log\left(\frac{16kq}{n}\right)\right\rceil\right\} h = min { n , ⌈ θ n log ( n 16 k q ) ⌉ } that misses at most n / ( 8 k ) n/(8k) n / ( 8 k ) members of S S S .
Proof. If h = n h=n h = n , take the whole ground set. Otherwise a uniformly random h h h -element set misses a fixed θ \theta θ -set with probability at most
( n − θ h ) ( n h ) ≤ ( 1 − θ / n ) h ≤ e − h θ / n ≤ e − log ( 16 k q / n ) = n 16 k q . \frac{\binom{n-\theta}{h}}{\binom{n}{h}} \le(1-\theta/n)^h \le e^{-h\theta/n} \le e^{-\log(16kq/n)} = \frac{n}{16kq}. ( h n ) ( h n − θ ) ≤ ( 1 − θ / n ) h ≤ e − h θ / n ≤ e − l o g ( 16 k q / n ) = 16 k q n .
Its expected number of missed members is at most n / ( 16 k ) n/(16k) n / ( 16 k ) . Therefore some set misses at most n / ( 8 k ) n/(8k) n / ( 8 k ) members. This is an existence argument for the adversary; no random choice by the algorithm is involved.
Lemma 7.7 (Indistinguishable completions). Suppose k q ≥ n kq \ge n k q ≥ n and θ = ⌊ n 2 / ( 64 k q ) ⌋ ≥ 1 \theta= \left\lfloor n^2/(64kq)\right\rfloor\ge1 θ = ⌊ n 2 / ( 64 k q ) ⌋ ≥ 1 . For any deterministic k k k -round algorithm using at most q q q demand queries per round, there are two graphs with the same transcript, G s m a l l G_{\mathrm{small}} G small and G l a r g e G_{\mathrm{large}} G large , such that
μ ( G l a r g e ) ≥ ⌊ n / 2 ⌋ , G s m a l l has a right-side vertex cover of size O ( k 2 q n Λ ) . \mu(G_{\mathrm{large}}) \ge\lfloor n/2\rfloor,\qquad G_{\mathrm{small}}\text{ has a right-side vertex cover of size }O\left(\frac{k^2q}{n}\Lambda\right). μ ( G large ) ≥ ⌊ n /2 ⌋ , G small has a right-side vertex cover of size O ( n k 2 q Λ ) .
Proof. Fix a deterministic algorithm. We describe an adversary that answers its queries while assigning each pair in L × R L \times R L × R one of three states: present, absent, or undecided. A fixed state is never changed.
Initially all pairs are undecided and all left vertices are active. To retire a left vertex means fixing all its remaining undecided incident pairs absent. Its neighbourhood is then completely determined, and all future queries to it are answered from this fixed neighbourhood. Retirement does not change any previously fixed pair.
Let
θ = ⌊ n 2 64 k q ⌋ ≥ 1 , h = min { n , ⌈ n θ log ( 16 k q n ) ⌉ } . \theta=\left\lfloor\frac{n^2}{64kq}\right\rfloor\ge1,\qquad h=\min\left\{n,\left\lceil\frac{n}{\theta}\log\left(\frac{16kq}{n}\right)\right\rceil\right\}. θ = ⌊ 64 k q n 2 ⌋ ≥ 1 , h = min { n , ⌈ θ n log ( n 16 k q ) ⌉ } .
After round r r r , write A r A_r A r for the active left vertices and T ≤ r = T 1 ∪ ⋯ ∪ T r T_{\le r}=T_1\cup\cdots\cup T_r T ≤ r = T 1 ∪ ⋯ ∪ T r for the right vertices selected by the adversary. We maintain the following invariants:
Every present pair has its right endpoint in T ≤ r T_{\le r} T ≤ r , i.e., T ≤ r T_{\le r} T ≤ r is a vertex cover, and ∣ T ≤ r ∣ ≤ r h \lvert T_{\le r}\rvert\le rh ∣ T ≤ r ∣ ≤ r h .
Every vertex in A r A_r A r has fewer than n / 2 n/2 n /2 incident pairs fixed absent. Every vertex outside A r A_r A r has its entire neighbourhood fixed.
The number of active vertices satisfies
∣ A r ∣ ≥ n ( 1 − 5 r 32 k ) . \lvert A_r\rvert\ge n\left(1-\frac{5r}{32k}\right). ∣ A r ∣ ≥ n ( 1 − 32 k 5 r ) .
We also ensure that every answer is determined by the partial graph: a returned pair is fixed present and every preceding pair in its query order is fixed absent; an answer ⊥ \bot ⊥ has its entire row fixed absent. Thus every completion of the undecided pairs preserves all previous answers.
These properties suffice for the lemma. At the end of round k k k , make every undecided pair absent to obtain G s m a l l G_{\mathrm{small}} G small . By the first invariant, T ≤ k T_{\le k} T ≤ k is a right-side vertex cover of this graph, of size at most k h = O ( k 2 q n Λ ) kh=O\left(\frac{k^2q}{n}\Lambda\right) k h = O ( n k 2 q Λ ) . Alternatively, make every undecided pair present to obtain G l a r g e G_{\mathrm{large}} G large . By the second and third invariants, at least 27 n / 32 27n/32 27 n /32 left vertices have degree greater than n / 2 n/2 n /2 in this completion. Greedily matching any ⌊ n / 2 ⌋ \lfloor n/2\rfloor ⌊ n /2 ⌋ of these vertices succeeds: when each vertex is processed, fewer than n / 2 n/2 n /2 right vertices have been used. Consequently,
μ ( G l a r g e ) ≥ ⌊ n / 2 ⌋ . \mu(G_{\mathrm{large}})\ge\lfloor n/2\rfloor. μ ( G large ) ≥ ⌊ n /2 ⌋ .
Both completions give the same transcript.
It remains to describe the adversary and verify the invariants. They hold initially, with A 0 = L A_0=L A 0 = L and T ≤ 0 = ∅ T_{\le0}=\varnothing T ≤ 0 = ∅ . Consider round r r r , whose queries are all fixed before any of its answers are given. Long queries. For each query to an active left vertex, list the undecided pairs preceding its first already-present pair, in query order. If there is no present pair, list all undecided pairs in the row. Call the query long if this list has at least θ \theta θ entries, and let its prefix set consist of the right endpoints of the first θ \theta θ entries. All other queries are short.
Apply Lemma 7.6 to the family of long-query prefix sets, counting repeated sets once for each query. It gives a set T r T_r T r of size at most h h h that misses at most n / ( 8 k ) n/(8k) n / ( 8 k ) prefixes. Retire every active left vertex having a missed prefix. This retires at most n / ( 8 k ) n/(8k) n / ( 8 k ) vertices.
For every remaining active left vertex, fix all its undecided pairs into T r T_r T r present. Add T r T_r T r to T ≤ r − 1 T_{\leq r-1} T ≤ r − 1 to obtain T ≤ r T_{\leq r} T ≤ r . Make all these positive commitments before answering any query of the round. The first invariant is preserved, since new present pairs enter T r T_r T r and ∣ T r ∣ ≤ h |T_r| \leq h ∣ T r ∣ ≤ h .
Answering the queries. Answer queries to retired vertices from their fixed rows. For each query to a still-active vertex, return its first present pair and fix all preceding undecided pairs absent. If the row has no present pair, return ⊥ \bot ⊥ and fix all its remaining undecided pairs absent.
These answers are consistent with one another and with all earlier answers. Indeed, the positive commitments have already been made, and answering a query changes only undecided pairs to absent. In particular, it cannot remove a present pair that determines the answer to another query.
Moreover, each query to a still-active vertex fixes at most θ \theta θ new absent pairs. A long query has a present pair among its first θ \theta θ entries from the round-start list, because its prefix was hit by T r T_r T r . A short query had fewer than θ \theta θ undecided pairs before its earlier first present pair, or fewer than θ \theta θ undecided pairs altogether. New positive commitments and answers to other queries can only reduce the number that it fixes absent.
Retiring vertices with too many absent pairs. At the end of the round, retire every still-active left vertex with at least n / 2 n/2 n /2 incident pairs fixed absent. This restores the second invariant. Retirement preserves the first invariant and all answers, since it fixes only undecided pairs absent.
To verify the third invariant, distinguish pairs fixed absent while answering queries to active vertices from the additional pairs fixed absent during retirement. Only the former are counted in the following budget. Since each query creates at most θ \theta θ such pairs, their total number through round r r r is at most
Every vertex retired by the absent-pair threshold has accumulated at least n / 2 n/2 n /2 such pairs before retirement. Distinct left vertices have disjoint incident pairs, so the number retired by this rule through round r r r is at most
2 r q θ n ≤ r n 32 k . \frac{2rq\theta}{n} \leq\frac{rn}{32k}. n 2 r q θ ≤ 32 k r n .
The missed-prefix rule has retired at most r n / ( 8 k ) rn/(8k) r n / ( 8 k ) vertices. Therefore
∣ A r ∣ ≥ n − r n 8 k − r n 32 k = n ( 1 − 5 r 32 k ) , |A_r| \geq n-\frac{rn}{8k}-\frac{rn}{32k}
= n\left(1-\frac{5r}{32k}\right), ∣ A r ∣ ≥ n − 8 k r n − 32 k r n = n ( 1 − 32 k 5 r ) ,
as required. This verifies the invariants after every round.
Finally, since θ = ⌊ n 2 / ( 64 k q ) ⌋ ≥ 1 \theta=\lfloor n^2/(64kq)\rfloor\geq1 θ = ⌊ n 2 / ( 64 k q )⌋ ≥ 1 ,
n θ ≤ 128 k q n . \frac{n}{\theta} \leq\frac{128kq}{n}. θ n ≤ n 128 k q .
Using k q / n ≥ 1 kq/n \geq1 k q / n ≥ 1 and log ( 16 k q / n ) = O ( Λ ) \log(16kq/n)=O(\Lambda) log ( 16 k q / n ) = O ( Λ ) , we obtain
∣ T ≤ k ∣ ≤ k h ≤ k ( 1 + n θ log ( 16 k q n ) ) = O ( k 2 q n Λ ) . |T_{\leq k}| \leq kh \leq k\left(1+\frac{n}{\theta}\log\left(\frac{16kq}{n}\right)\right)
=O\left(\frac{k^2q}{n}\Lambda\right). ∣ T ≤ k ∣ ≤ k h ≤ k ( 1 + θ n log ( n 16 k q ) ) = O ( n k 2 q Λ ) .
Together with the two completions described above, this proves the lemma.
Comparison with Nisan. Nisan’s adversary [40 Section 3] limits the number of new absent pairs at every vertex in each round, preserving a completion with a perfect matching. To maintain this condition, it fixes additional pairs present at heavily queried vertices, which contributes to the cover of the small completion. Here we instead bound the total number of absent pairs created by queries to active vertices and retire the few left vertices that become too damaged. Preserving a linear-size matching, rather than a perfect matching, is sufficient for our approximation lower bound. This removes the heavy-vertex contribution to the cover and permits θ = Θ ( n 2 / ( k q ) ) \theta= \Theta(n^2/(kq)) θ = Θ ( n 2 / ( k q )) . Allowing a few missed prefixes gives the factor Λ \Lambda Λ , while handling demand-query prefixes directly avoids the round overhead of simulation by OR queries.
Lower-bound and feasibility parts of Theorem 13 . If k q < n kq < n k q < n , follow the algorithm on the empty graph. Some left vertex is never queried. Adding one edge incident to that vertex does not change the transcript. The algorithm must output the empty matching on the empty graph and hence also on this one-edge graph, contradicting every finite multiplicative approximation.
Now suppose k q ≥ n kq \ge n k q ≥ n . If θ ≥ 1 \theta\ge1 θ ≥ 1 , apply Lemma 7.7 . The algorithm outputs the same matching on both completions. Validity on G s m a l l G_{\mathrm{small}} G small forces its size to be at most ∣ T ∣ |T| ∣ T ∣ , whereas the optimum on G l a r g e G_{\mathrm{large}} G large is at least ⌊ n / 2 ⌋ \lfloor n/2 \rfloor ⌊ n /2 ⌋ . This proves the nonconstant term of (37) ; the trivial bound of one handles parameters where that term is bounded. If θ = 0 \theta= 0 θ = 0 , then n 2 / ( k q ) < 64 n^2/(kq) < 64 n 2 / ( k q ) < 64 , so n 2 / ( k 2 q Λ ) = O ( 1 ) n^2/(k^2q\Lambda) = O(1) n 2 / ( k 2 q Λ ) = O ( 1 ) and the same trivial bound suffices. This proof also handles guesses of uncertified edges: any such output must still be valid on the small completion.
For fixed k k k and q = Θ ( n ) q = \Theta(n) q = Θ ( n ) , Λ = Θ ( 1 ) \Lambda= \Theta(1) Λ = Θ ( 1 ) and the lower bound is Ω ( n ) \Omega(n) Ω ( n ) . If q ≥ n q \ge n q ≥ n , the one-round block algorithm has factor O ( n ) O(n) O ( n ) . For q < n q < n q < n with feasible fixed k k k and q = Θ ( n ) q = \Theta(n) q = Θ ( n ) , Lemma 7.5 gives the same factor.
Corollaries: maximal matching, certificates, and randomisation
Corollary 7.8 (Round complexity of constant approximation). For n ≤ q ≤ n 2 n \le q \le n^2 n ≤ q ≤ n 2 , the deterministic round complexity of obtaining a constant approximation, and that of constructing a maximal matching, is
Θ ~ ( n / q ) . \widetilde{\Theta}(n/\sqrt{q}). Θ ( n / q ) . For q = Θ ( n ) q = \Theta(n) q = Θ ( n ) , the explicit lower and upper bounds are Ω ( n / log n ) \Omega(\sqrt{n/\log n}) Ω ( n / log n ) and O ( n log n ) O(\sqrt{n}\log n) O ( n log n ) , respectively.
Proof. Set g = 1 g = 1 g = 1 in Lemma 7.3 . It constructs a maximal matching in O ( D n / q ) O(Dn/\sqrt{q}) O ( D n / q ) rounds; this is a 2-approximation. Conversely, (37) requires k 2 q Λ = Ω ( n 2 ) k^2q\Lambda= \Omega(n^2) k 2 q Λ = Ω ( n 2 ) for any fixed constant approximation. For k ≤ n k \le n k ≤ n and q ≤ n 2 q \le n^2 q ≤ n 2 , Λ = O ( log n ) \Lambda= O(\log n) Λ = O ( log n ) , giving k = Ω ( n / q log n ) k = \Omega(n/\sqrt{q\log n}) k = Ω ( n / q log n ) , as well as the trivial requirement k ≥ 1 k \ge1 k ≥ 1 . If k > n k > n k > n , the asserted lower bound already holds. Every maximal matching is a 2-approximation, so the same lower bound applies to constructing one.
Corollary 7.9 (Polynomial exponents). Fix exponents γ ≥ 0 \gamma\ge0 γ ≥ 0 and − 1 ≤ δ ≤ 1 -1 \le\delta\le1 − 1 ≤ δ ≤ 1 with γ + δ ≥ 0 \gamma+ \delta\ge0 γ + δ ≥ 0 . Up to integer rounding, for k = n γ k = n^\gamma k = n γ and q = n 1 + δ q = n^{1+\delta} q = n 1 + δ the optimal deterministic approximation factor is
n max { 0 , 1 − δ − 2 γ } + o ( 1 ) . n^{\max\{0,1-\delta-2\gamma\}+o(1)}. n m a x { 0 , 1 − δ − 2 γ } + o ( 1 ) .
Proof. Feasibility is k q ≥ n kq \ge n k q ≥ n . Substitute the parameters in Theorem 13 ; all displayed logarithmic factors are n o ( 1 ) n^{o(1)} n o ( 1 ) . If rounding changes feasibility at the boundary, round k k k or q q q upward.
Corollary 7.10 (Matching and cover certificates). The algorithm proving (35) can return both a matching M M M and a vertex cover C C C with
∣ M ∣ ≤ μ ( G ) ≤ ∣ C ∣ ≤ O ( max { 1 , n 2 D 2 k 2 q } ) ∣ M ∣ . |M| \le\mu(G) \le|C| \le O\left(\max\left\{1,\frac{n^2D^2}{k^2q}\right\}\right)|M|. ∣ M ∣ ≤ μ ( G ) ≤ ∣ C ∣ ≤ O ( max { 1 , k 2 q n 2 D 2 } ) ∣ M ∣. The deterministic approximation tradeoff of Theorem 13 also holds, up to the same logarithmic factors, for minimum vertex cover and maximum fractional matching.
Proof. In the group algorithm, let C C C be the union of the endpoints of all M i M_i M i . Each M i M_i M i is maximal on its left group, so its endpoints cover all edges incident to that group. Thus C C C covers G G G and
∣ C ∣ ≤ 2 ∑ i ∣ M i ∣ ≤ 2 g max i ∣ M i ∣ . |C| \le2\sum_i |M_i| \le2g\max_i |M_i|. ∣ C ∣ ≤ 2 i ∑ ∣ M i ∣ ≤ 2 g i max ∣ M i ∣.
The one-round and one-pass fallbacks already include the corresponding certificates. The endpoints of sequential greedy supply a cover when k ≥ n k \ge n k ≥ n .
Any matching has size at most the size of any vertex cover. Also, if x x x is a fractional matching (nonnegative edge weights with incident sum at most one at each vertex), any vertex cover bounds ∑ e x e \sum_e x_e ∑ e x e from above. Therefore the certificate inequality gives the asserted upper bounds for both objectives, without needing to recover any additional edges.
For the lower bounds use the same two completions. Every fractional matching feasible on G s m a l l G_{\mathrm{small}} G small has total value at most ∣ T ∣ |T| ∣ T ∣ , since all its edges meet T T T . The identical output cannot approximate the linear-size integral matching of G l a r g e G_{\mathrm{large}} G large more accurately. For vertex cover, any common output valid on G l a r g e G_{\mathrm{large}} G large has size at least ⌊ n / 2 ⌋ \lfloor n/2\rfloor ⌊ n /2 ⌋ , but G s m a l l G_{\mathrm{small}} G small has the cover T T T . This gives the same approximation lower bound. If k q < n kq < n k q < n , the empty-graph and one-edge argument rules out a finite approximation for these objectives as well.
Corollary 7.11 (Deterministic versus randomised rounds). With Θ ( n ) \Theta(n) Θ ( n ) demand queries per round, a constant approximation to either maximum matching or minimum vertex cover requires Θ ~ ( n ) \widetilde{\Theta}(\sqrt{n}) Θ ( n ) rounds deterministically. With randomisation, O ( log n / log log n ) O(\log n/\log\log n) O ( log n / log log n ) rounds suffice for both problems with high probability. For matching construction, this randomised round complexity is also necessary up to constants.
Proof. Combine Lemmas 7.8 and 7.10 with Theorem 9 and Lemmas 4.17 and 5.3. The randomised lower bound is invoked only for matching construction.
Demand-OR queries and the one-round boundary
Theorem 14 (Deterministic Demand-OR tradeoff after two rounds). For q ≥ n q \ge n q ≥ n and k ≥ 2 k \ge2 k ≥ 2 , the deterministic approximation bounds (35) and (37) also hold for Demand-OR queries. Thus their optimal factor is Θ ~ ( max { 1 , n 2 / ( k 2 q ) } ) \widetilde{\Theta}(\max\{1,n^2/(k^2q)\}) Θ ( max { 1 , n 2 / ( k 2 q )}) in this range. Moreover, for every 2 ≤ k ≤ n 2 \le k \le n 2 ≤ k ≤ n , the per-round Demand-OR query complexity of obtaining a constant-factor approximation is O ~ ( n 2 / k 2 ) \widetilde{O}(n^2/k^2) O ( n 2 / k 2 ) , without the restriction q ≥ n q \ge n q ≥ n .
Proof. For k ≥ 64 D k \ge64D k ≥ 64 D , use the group algorithm and the choice of g g g in the proof of Theorem 13 ; these use only Demand-OR queries and remain valid when k ≥ n k \ge n k ≥ n . It remains to replace the one-round demand-query fallback when k < 64 D k < 64D k < 64 D . Partition R R R into t = ⌈ q / n ⌉ t=\lceil q/n\rceil t = ⌈ q / n ⌉ blocks as in Lemma 7.4 . In round one, use n t ≤ q nt \le q n t ≤ q Demand-OR queries to recover the left–block incidence graph, and compute a maximum matching of that graph. In round two, for each selected left–block pair, query all individual pairs in that block. Selected blocks are disjoint, so the second round uses at most n ≤ q n \le q n ≤ q queries. Recover one witness per selected incidence. The original block argument gives factor O ( n 2 / q ) O(n^2/q) O ( n 2 / q ) , which suffices when k < 64 D k < 64D k < 64 D .
The lower bound follows because one demand query simulates one Demand-OR query. An algorithm for the weaker model would otherwise contradict (36) in the stronger model.
For the constant-approximation claim, if 2 ≤ k < 8 D 2 \le k < 8D 2 ≤ k < 8 D , query all n 2 n^2 n 2 pairs individually in one round. Otherwise, set q = ⌈ 32 n 2 D 2 / k 2 ⌉ q = \lceil32n^2D^2/k^2 \rceil q = ⌈ 32 n 2 D 2 / k 2 ⌉ and apply Lemma 7.3 with g = 1 g = 1 g = 1 . Its output is a maximal matching, and it uses at most k / 2 + 2 D ≤ k k/2 + 2D \le k k /2 + 2 D ≤ k rounds. Hence q = O ( n 2 D 2 / k 2 ) q = O(n^2D^2/k^2) q = O ( n 2 D 2 / k 2 ) suffices throughout 2 ≤ k ≤ n 2 \le k \le n 2 ≤ k ≤ n . Conversely, (36) requires q = Ω ( n 2 / ( k 2 log n ) ) q = \Omega(n^2/(k^2 \log n)) q = Ω ( n 2 / ( k 2 log n )) for any fixed constant approximation, since Λ = O ( log n ) \Lambda= O(\log n) Λ = O ( log n ) when k ≤ n k \le n k ≤ n and q ≤ n 2 q \le n^2 q ≤ n 2 .
The restriction q ≥ n q \ge n q ≥ n in this two-round fallback is explicit. For q < n q < n q < n , Lemma 7.3 still supplies the stated Demand-OR upper bound whenever its round requirement is met, but the one-pass demand-query fallback does not transfer automatically.
Theorem 15 (Exact nonadaptive Demand-OR threshold). A deterministic one-round Demand-OR algorithm that always returns a valid matching and guarantees any finite multiplicative approximation on every bipartite graph requires at least n 2 n^2 n 2 queries. Conversely, n 2 n^2 n 2 queries suffice to recover the entire graph and find a maximum matching.
Proof. The upper bound queries each pair separately. For the lower bound, suppose fewer than n 2 n^2 n 2 queries are issued. Some left vertex u u u participates in t < n t < n t < n queries, with sets S 1 , … , S t ⊆ R S_1,\ldots,S_t \subseteq R S 1 , … , S t ⊆ R . Make every other left vertex isolated.
Start with U = R U = R U = R . Whenever some S i ∩ U S_i \cap U S i ∩ U is a singleton { v } \{v\} { v } , remove v v v from U U U . That query’s intersection becomes empty and can never witness another removal. There are therefore at most t t t removals, and U U U is nonempty. At termination each S i ∩ U S_i \cap U S i ∩ U has size zero or at least two. For every v ∈ U v \in U v ∈ U , the two neighbourhoods
N ( u ) = U and N ( u ) = U ∖ { v } N(u) = U \qquad\text{and} \qquad N(u) = U \setminus\{v\} N ( u ) = U and N ( u ) = U ∖ { v }
produce identical answers to every query. Answers at other left vertices are zero in both cases.
No pair incident to u u u is guaranteed present under this transcript: a pair outside U U U is absent in the first graph, and a pair to v ∈ U v \in U v ∈ U is absent in its corresponding second graph. Thus an always-valid deterministic algorithm must output the empty matching. But the graph with neighbourhood U U U has maximum matching size one, contradicting every finite approximation factor.
The underlying obstruction is deterministic nonadaptive single-element recovery; the broader round–query tradeoffs for that primitive are studied by Assadi, Chakrabarty, and Khanna [4 ] . Here it produces a sharp model distinction: n n n one-round demand queries suffice for an n n n -approximation, but fewer than n 2 n^2 n 2 one-round deterministic Demand-OR queries cannot guarantee any finite approximation. From two rounds onward, with q ≥ n q \ge n q ≥ n , the polynomial tradeoffs of the two models agree.
Proposition 7.12 (One-round deterministic Demand-OR vertex cover). For every n ≤ q ≤ n 2 n \le q \le n^2 n ≤ q ≤ n 2 , there is a deterministic one-round Demand-OR algorithm using at most q q q queries that outputs an O ( n 2 / q ) O(n^2/q) O ( n 2 / q ) -approximate minimum vertex cover.
Proof. Partition R R R into t = ⌈ q / n ⌉ t = \lceil q/n \rceil t = ⌈ q / n ⌉ blocks of size at most B = ⌈ n / t ⌉ = O ( n 2 / q ) B = \lceil n/t \rceil= O(n^2/q) B = ⌈ n / t ⌉ = O ( n 2 / q ) . Query ( u , S ) (u,S) ( u , S ) for each u ∈ L u \in L u ∈ L and each block S S S . These n t ≤ q nt \le q n t ≤ q responses specify the bipartite incidence graph H H H between left vertices and right blocks. Find a minimum vertex cover C H C_H C H in H H H . Output the left vertices of C H C_H C H together with all right vertices in its selected blocks. This is a vertex cover of G G G of size at most B ∣ C H ∣ B\lvert C_H\rvert B ∣ C H ∣ . By König’s theorem, ∣ C H ∣ = μ ( H ) ≤ μ ( G ) \lvert C_H\rvert= \mu(H) \le\mu(G) ∣ C H ∣ = μ ( H ) ≤ μ ( G ) : every matching of H H H can be realised by choosing one original edge from each of its distinct matched blocks. Thus the output has size at most B μ ( G ) = B τ ( G ) B\mu(G) = B\tau(G) B μ ( G ) = B τ ( G ) , where τ ( G ) \tau(G) τ ( G ) is the minimum vertex-cover size. No witness edges need to be recovered by the queries.
AI Acknowledgment
ChatGPT 5.6 Sol and 6 Astra were used extensively for typesetting and editing various parts of this work. An earlier version of this work was written entirely without LLM assistance. We subsequently interacted with ChatGPT, which led to an improved analysis of our randomised k k k -round upper bound (by a factor of Θ ( k ) \Theta(k) Θ ( k ) ) and the development of the deterministic round–query bounds presented here.