An Optimal Algorithm for Stochastic Vertex Cover

Jan van den Brand, Inge Li Gørtz, Chirag Pabbaraju, Debmalya Panigrahi, Clifford Stein, Miltiadis Stouras, Ola Svensson, Ali Vakilian

TL;DR

This paper resolves a central open question in stochastic graph algorithms by presenting the first optimal algorithm for the Stochastic Vertex Cover problem. It achieves a near-optimal $(1+\varepsilon)$-approximation using only $O_\varepsilon(n/p)$ edge queries, matching the known information-theoretic lower bound and eliminating a super-linear overhead that plagued prior state-of-the-art methods.

What Problem Does This Paper Address?

In the classic Vertex Cover problem, the goal is to find the smallest set of vertices that touches every edge in a graph. In many real-world networks (like social networks or disease-spreading pathways), we don't know the exact network structure upfront; we only know the probability that a connection exists.

This paper tackles the Stochastic Vertex Cover problem. Here, you are given a "base graph" $G$ and a probability $p$. The actual realized graph $G^\star$ is formed by independently sampling each edge of $G$ with probability $p$. The algorithm cannot see $G^\star$ directly; it must pay a cost to "query" individual edges and find out if they actually exist. The challenge is to find a $(1+\varepsilon)$-approximate minimum vertex cover for $G^\star$ while making as few edge queries as possible.

Prior to this work, algorithms either had to settle for a suboptimal approximation factor (like $3/2 + \varepsilon$) to keep queries linear, or they achieved a $(1+\varepsilon)$-approximation at the expense of a super-linear query complexity. The super-linear complexity was driven by a notorious graph-theoretic factor called $\mathrm{RS}(n)$ (related to Ruzsa-Szemerédi graphs). This paper asks: Is this super-linear overhead fundamental, or can we achieve a near-optimal approximation with an optimal number of queries?

Methods

The authors introduce a surprisingly simple, non-adaptive algorithm (meaning it decides which edges to query before seeing any query results).

  1. The Vertex-Cover Algorithm: The algorithm solves a deterministic optimization problem to select a "safe" subset of vertices $P$. It picks $P$ to minimize the size of $P$ plus the expected size of the remaining vertex cover, under the constraint that the remaining induced subgraph $G[V \setminus P]$ is sparse—specifically containing at most $O(n / (\varepsilon^5 p))$ edges.
  2. Querying & Completion: It then queries all remaining edges in this sparse subgraph, reveals its actual structure, computes its exact minimum vertex cover ($H$), and outputs $P \cup H$.

The Analysis Tool: Hybrid Martingales

While the algorithm is simple, proving it works is highly sophisticated. The authors analyze its performance by comparing it to an imaginary, adaptive "surrogate" algorithm. To make this comparison work, they prove a powerful new concentration bound for the size of a minimum vertex cover on random graphs.

Standard concentration techniques (like edge-exposure or vertex-exposure Doob martingales) yield bounds relative to the total number of edges or vertices. Instead, the authors construct a hybrid martingale that exposes edges in a sparse part of the graph first, and then exposes entire vertex neighborhoods in the denser parts. Applying Freedman’s inequality to this hybrid martingale proves that the minimum vertex cover size concentrates sharply around its expected value ($\mathrm{opt}$), rather than the total graph size.

Datasets

This is a purely theoretical paper in theoretical computer science/discrete mathematics. No empirical datasets or experimental benchmarks were used for evaluation.

Key Insights and Ideas

  • Non-Adaptivity Suffices: A major takeaway is that adaptivity (changing your next query based on previous answers) is not necessary to achieve optimal query complexity for this problem.
  • The $\mathrm{RS}(n)$ Overhead was an Artifact: Prior work suggested that graph correlations required a super-linear number of queries. This paper demonstrates that under full edge independence, the Ruzsa-Szemerédi graph bottleneck completely disappears.
  • The Power of Hybrid Exposure: The core mathematical "aha moment" is realizing that you don't have to stick to one martingale exposure strategy. Combining edge-exposure (for sparse regions) and vertex-exposure (for dense regions) keeps the variance bounded tightly enough to prove strong concentration.

Key Results

  • Optimal Query Complexity: The algorithm achieves a $(1+\varepsilon)$-approximation using $O(n / (\varepsilon^5 p))$ queries. This completely closes the gap to the information-theoretic lower bound of $\Omega(n/p)$.
  • New Concentration Bound: The paper establishes a general tail bound for the minimum vertex cover size $Z$ on random graphs: $$\Pr[|Z - \mathrm{opt}| \ge t] \le 2 \exp\left(-\frac{t^2}{4C \cdot \mathrm{opt} + 2t/3}\right)$$ where $C < 8$ is a constant. This bound is much sharper than what standard martingales provide and is of independent interest to graph theorists.

Limitations and Future Work

  • Dependence on $\varepsilon$: While the query complexity is linear in $n$, its dependence on the error parameter $\varepsilon$ is quite high ($1/\varepsilon^5$). The authors note that sharpening this polynomial dependence is an open problem.
  • Computational Efficiency: The paper focuses entirely on query (information) complexity, not computational complexity. Because finding an exact minimum vertex cover is NP-hard, solving the initial optimization problem and the final subgraph cover requires exponential time in the worst case. Developing a polynomial-time algorithm that matches these query bounds remains a challenge.
  • Broader Horizons: The authors suggest that applying these hybrid concentration techniques to other stochastic graph problems (like feedback vertex set or independent set) is a promising, under-explored direction.

Summary updated

BibTeX
@inproceedings{brand2026optimal,
  author = {Jan van den Brand and Inge Li Gørtz and Chirag Pabbaraju and Debmalya Panigrahi and Clifford Stein and Miltiadis Stouras and Ola Svensson and Ali Vakilian},
  title = {{An Optimal Algorithm for Stochastic Vertex Cover}},
  booktitle = {STOC},
  year = {2026},
  doi = {10.1145/3798129.3800863},
}
Figure