The Design of Competitive Online Algorithms via a Primal-Dual Approach VII: Online Group Steiner TreesTextbook
Motivation
The group Steiner tree problem generalizes the ordinary Steiner tree problem: given a rooted tree and several groups of vertices, find a minimum-cost subtree that connects at least one vertex of each group to the root. It is a canonical instance of the generalized-connectivity family this survey studies in Chapter 11 — a family that also contains the online set-cover problem (Chapter 5 of this series) as a special case. Buchbinder and Naor's chapter shows how to convert the celebrated offline randomized-rounding algorithm of Garg, Konjevod and Ravi [56] into an online one, by imitating its per-edge coupling structure one iteration at a time as the online fractional solution (obtained from this survey's own Chapter 4 framework) evolves. This mission formalizes that online rounding scheme's three defining probabilistic guarantees and the resulting competitive-ratio theorem.
Setting
Fix a rooted tree T = (V, E, r) with non-negative edge costs c : E → ℝ, and k groups
g₁, …, g_k ⊆ V, each request (r, gᵢ) arriving online. An online covering algorithm (from
Chapter 4's framework, applied to the LP relaxation of this connectivity problem) maintains a
monotonically increasing fractional weight w : E → ℝ on the edges, reinterpreted so that wₑ
is the maximum flow that can be routed through e to any vertex of its subtree — a technical
substitution needed so weights are monotone non-increasing along any root-to-leaf path, the
property the rounding algorithm requires. At the end of each iteration in which some weights are
augmented from w to w' = w + δ, the rounding algorithm processes every edge e with
δₑ > 0, in topological order starting from the root, and randomly decides whether to add it to
a growing random edge-cover C ⊆ E: deterministically, if w'ₑ > 1; via a single coin flip, if
e is incident to the root or its parent edge's inclusion in C is already certain; via a coin
flip conditional on the parent edge already being in C, otherwise. Because a coin is only ever
flipped for a child once its parent is (or is already known to be) in C, C always induces a
connected subtree containing the root.
Formalization targets
Theorem 11.4 (the goal, p. 231): there is a randomized online algorithm for the group Steiner
problem in trees with competitive ratio O(log²n log k), where n is the number of leaves. It
is built by running T independent trials of the rounding scheme in parallel and taking the
union of the resulting covers, for T chosen (this mission's own explicit derivation — the book
gives only the narrative "we run O(log k log N) independent trials... using simple
probabilistic analysis") so that every group fails to be covered with probability at most
1/(2k), while the union's expected cost stays at T · log(n) · OPT.
Three milestones, in attack order, each stated exactly as the book states it (p. 230-231), with
the book's own caveat "we state the main lemmas and omit the proofs" preserved — no in-source
proof exists for any of the three beyond the algorithm's own description, so each is left sorry
with no invented proof strategy:
- Lemma 11.1: at the end of an iteration,
ℙ[e ∈ C] = w'ₑfor every edge, andℙ[e ∈ C] = 1wheneverwₑ > 1already. - Lemma 11.2: the expected cost of
Cis at most∑_{e∈T} cₑ w'ₑ(linearity of expectation applied to Lemma 11.1). - Lemma 11.3: for a group
gof size at mostNwith total routable flowwg ≥ 1, the probability some vertex ofgis covered isΩ(1/log N).
Significance
This is the survey's most involved application of the primal-dual framework: unlike Chapters 5, 9, 10 and 13, which round a single scalar decision per online step, the group Steiner algorithm must couple an entire iteration's worth of edge decisions so that the resulting random set stays a connected subtree — the coin-flip probabilities in the Algorithm box are exactly the minimal adjustment needed to keep marginal probabilities matching the fractional solution while preserving this connectivity invariant online. No formal development of the group Steiner problem (online or offline) was found on the platform as of 2026-09-20; this mission is the first.
Difficulty
Two distinct obstacles. First, faithfully representing "the probability that e ∈ C" for an
online, coupled random process without assuming its proof: the mission represents the
algorithm's random cover as an abstract finite probability distribution RandomCover E and
states each lemma as an implication from the Algorithm box's three coupling rules (transcribed as
hypotheses on marginal and conditional probabilities) to the claimed marginal or expected-value
conclusion — capturing exactly what the book asserts without proof, rather than either assuming
the conclusion trivially or constructing a full multi-iteration coupled process (which the
source's own "we omit the proofs" indicates is genuinely nontrivial, citing [56]). Second,
Theorem 11.4's own competitive ratio is stated in the book only asymptotically, with a purely
narrative derivation ("we run O(log k log N) independent trials... we get a competitive ratio
of O(log n log k log N)... probability at least 1 − 1/k") and no displayed formula anywhere
in the chapter. Per this series' explicit-constants rule, this mission supplies its own explicit
closed form for the number of trials T and the resulting bounds via a standard
Chernoff/union-bound argument applied to Lemma 11.3's constant α; this derivation is the
mission's own (documented below), not a transcription, since none exists in the source to
transcribe.
Formalization scope
RandomCover E is a finite pmf p : Finset E → ℝ (Finset E itself finite since E is
Fintype), with marg, condProb and expectedCost/probHits derived from it by ordinary
Finset sums — no measure theory, since the sample space is always finite. RoundedTree E bundles
parent : E → Option E (e(p)) and a non-negative cost. Lemma 11.3's wg (the flow routable to
a group's vertices simultaneously) is left as hypothesis-supplied data rather than defined via an
explicit max-flow formalization, which this mission's scope does not require (welcome
contribution). Theorem 11.4's number of trials is the explicit closed form
T = ⌈(log N · log(2k)) / α⌉, α the (existentially quantified, uniform) constant from Lemma
11.3; its coverage guarantee is 1 − 1/(2k) per group (this mission's own union-bound
derivation), not the book's stated 1 − 1/k — the book reaches the stronger bound via an
additional shortest-path fallback mechanism for any group the trials miss, which is out of scope
here (welcome contribution, along with completing any of the four sorrys and formalizing
Theorem 11.5's extension to general graphs via HST embedding, out of scope since it depends on an
external embedding result not proved in this book).
Selected references
- N. Buchbinder, J. Naor. The Design of Competitive Online Algorithms via a Primal-Dual Approach. Foundations and Trends in Theoretical Computer Science, 3(2-3):93-263, 2009. https://doi.org/10.1561/0400000024
- N. Garg, G. Konjevod, R. Ravi. A polylogarithmic approximation algorithm for the group Steiner tree problem. Journal of Algorithms, 37(1):66-84, 2000 (cited as [56] in the survey).
- N. Alon, B. Awerbuch, Y. Azar, N. Buchbinder, J. Naor. A general approach to online network optimization problems. ACM Transactions on Algorithms, 2(4):640-660, 2006 (cited as [4], the source of this chapter's results per the Notes, p. 231).