Skip to content
DAH

Online network design: online Steiner tree and Steiner forest

Terminals or terminal pairs arrive one at a time and bought edges stay bought. The best ratio is Θ(log k); the exact ratio of the natural greedy algorithm is the live question.

On this page17 sections
Why other work relies on it

Competitive analysis of online network design is the standard model for incremental network building, and the greedy shortest-path rule is the baseline that more elaborate online Steiner algorithms are compared with.

Building a network edge by edge as requests arrive, with no way to undo purchases and no knowledge of what comes next.

  1. 1Requests arrive one by one
  2. 2Bought edges can never be undone
  3. 3Greedy: buy the cheapest new connection
  4. 4Compare cost with hindsight optimum
  5. 5Claimed: greedy loses an extra log log factor

The setting. A weighted graph (nodes joined by edges with costs) is known in advance. Requests then arrive one at a time. In the online Steiner tree problem each request is a node, and after it arrives the algorithm must have bought edges linking it to all earlier requests. In online Steiner forest each request is a pair of nodes (si,ti)(s_i,t_i) that must be connected to each other, but different pairs need not be connected to each other, so the bought edges can form several separate pieces. Edges, once bought, stay bought.

Online algorithms and competitive ratio. An online algorithm must decide with only part of the input. We measure it against OPT\mathrm{OPT}, the cost of the cheapest edge set that serves all kk requests, chosen by someone who saw the whole sequence. The algorithm is cc-competitive if on every request sequence its cost is at most c⋅OPTc\cdot\mathrm{OPT}. Here cc may depend on kk. The adversary picks the worst sequence, so this is a worst-case guarantee.

Greedy. When a pair arrives, set the cost of every already bought edge to zero and buy a shortest path (the cheapest route, as found by Dijkstra's algorithm) between sis_i and tit_i. It uses no randomness and no precomputation. For trees, Imase and Waxman (1991) showed greedy is O(log⁡k)O(\log k)-competitive, and that every online algorithm has ratio at least Ω(log⁡k)\Omega(\log k). Here log⁡k\log k grows very slowly: for a million requests it is about 20.

What was known for forests. Awerbuch, Azar and Bartal (1996) proved greedy is O(log⁡2k)O(\log^2 k)-competitive and conjectured the truth was O(log⁡k)O(\log k). Berman and Coulston (1997) gave a different, non-greedy algorithm that is O(log⁡k)O(\log k)-competitive, so the best achievable ratio is Θ(log⁡k)\Theta(\log k). Bamas, Drygala and Maggiori (SODA 2022) showed greedy achieves O(log⁡k⋅log⁡log⁡k)O(\log k\cdot\log\log k) on a wide but restricted class of instances.

The October 2026 claim. Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade (arXiv:2610.40569, 29 October 2026) claim that on every instance greedy costs at most about OPT⋅log⁡k⋅log⁡log⁡k\mathrm{OPT}\cdot\log k\cdot\log\log k, and that infinitely many instances force greedy to pay at least about that much. If correct, the greedy ratio is exactly Θ(log⁡klog⁡log⁡k)\Theta(\log k\log\log k), which refutes the O(log⁡k)O(\log k) conjecture.

Why a log⁡log⁡k\log\log k factor matters. For k=106k=10^6, log⁡2k≈20\log_2 k\approx 20 and log⁡2log⁡2k≈4\log_2\log_2 k\approx 4, so the extra factor is a small number in practice. Its importance is conceptual: it would say the simplest rule is provably, by a growing amount, worse than the cleverer one. The claim concerns only greedy, and the best possible ratio remains Θ(log⁡k)\Theta(\log k).

Status. This is a two-day-old preprint, not refereed, and DARC has seen no independent verification. Treat it as a claim.

Go deeper

The full technical text.

Online Steiner problems

In the online Steiner tree problem a weighted graph is known in advance and terminals arrive one at a time; after each arrival the algorithm must have bought edges connecting the new terminal to the earlier ones, and bought edges are never returned. In the online Steiner forest problem (also called the online generalized Steiner problem) the requests are pairs of vertices (si,ti)(s_i,t_i) and each pair must be connected before the next arrives, so the purchased edges may form many separate components. An algorithm is cc-competitive if its cost is at most cc times the cost of the cheapest edge set connecting all kk requested pairs, chosen with hindsight.

Greedy

The natural greedy algorithm connects each new pair by a shortest path in the graph where already-purchased edges cost zero, and pays only for the new edges. For Steiner trees the analysis of Imase and Waxman (1991) shows that this is O(log⁡k)O(\log k)-competitive and that no online algorithm does better than Ω(log⁡k)\Omega(\log k); that lower bound carries over to forests (as recalled by Awerbuch, Azar and Bartal). The tree analysis does not extend to forests, because greedy can keep many components alive at once.

What is known for forests

Awerbuch, Azar and Bartal (first presented at SODA 1996; journal version in Theoretical Computer Science, 2004) proved that greedy is O(log⁡2k)O(\log^2 k)-competitive (stated there in terms of the number of vertices nn) and observed that a key lemma of their analysis is tight up to a log⁡log⁡\log\log factor. Berman and Coulston (1997) then gave a different, non-greedy online algorithm that is O(log⁡k)O(\log k)-competitive, which is optimal in order. The Awerbuch–Azar–Bartal paper conjectures that greedy itself is O(log⁡k)O(\log k)-competitive.

Bamas, Drygala and Maggiori (SODA 2022) improved the analysis of greedy to O(log⁡k⋅log⁡log⁡k)O(\log k\cdot\log\log k) on a wide class of instances that contains all the hard examples published until then, leaving the general case open.

The October 2026 claim

Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade (arXiv:2610.40569, 29 October 2026, unrefereed) claim that greedy's worst-case competitive ratio on online Steiner forest is Θ(log⁡k⋅log⁡log⁡k)\Theta(\log k\cdot\log\log k): an upper bound of O(log⁡k⋅log⁡log⁡k)O(\log k\cdot\log\log k) for every instance, and a matching infinite family of instances on which greedy pays Ω(log⁡k⋅log⁡log⁡k)\Omega(\log k\cdot\log\log k) times the optimum. If correct, this refutes the O(log⁡k)O(\log k) conjecture and shows a Θ(log⁡log⁡k)\Theta(\log\log k) gap between greedy and the best online algorithm. It is a statement about one specific algorithm; the best achievable ratio stays Θ(log⁡k)\Theta(\log k).

Why it matters

Greedy is the algorithm one would actually run, since it needs no randomness or preprocessing, so its exact worst case says how much is lost by not using the more elaborate Berman–Coulston scheme. The problem also sits with the other competitive-analysis questions in the library, such as the kk-server conjecture, where the best deterministic ratio on every metric is likewise at stake.

Words on this page (10)
Words on this page
online algorithm
A method that must make permanent decisions as input arrives, without seeing the future requests.
competitive ratio
The worst-case factor by which an online algorithm's cost exceeds that of the best choice made with full hindsight.
Steiner tree
A cheapest set of edges in a weighted graph that connects a chosen set of terminal nodes, possibly through extra nodes.
Steiner forest
Like a Steiner tree, but only given pairs of nodes must be connected, so the result may be several separate trees.
greedy algorithm
A method that always takes the locally cheapest step and never revisits earlier choices.
shortest path
The route between two nodes of a weighted graph whose edge costs add up to the least.
weighted graph
Nodes joined by edges, where each edge carries a cost such as a length or price.
logarithm
The power to which a base must be raised to give a number; it grows very slowly, so $\log k$ is small even for huge $k$.
preprint
A paper posted publicly before peer review, so its claims have not yet been checked by independent referees.
Θ (theta) notation
Says a quantity grows at the same rate as a given function, bounded above and below up to constant factors.
New to this? Read first (3)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

Understanding map

map of the whole wiki →

What to read before Online network design: online Steiner tree and Steiner forest (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then

Open problems & questions

Progress timeline

  1. Oct 29, 2026
    Claimed tight bound Θ(log k log log k)
    Related to: Competitive ratio of the greedy algorithm for online Steiner forest

    Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade posted a preprint claiming matching upper and lower bounds for greedy, which would refute the O(log k) conjecture. Unrefereed.

    source
  2. Oct 29, 2026
    Claimed tight bound for greedy online Steiner forest

    Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade posted a preprint claiming that greedy is Θ(log k log log k)-competitive, refuting the O(log k) conjecture of Awerbuch, Azar and Bartal. Unrefereed.

    source
  3. Nov 19, 2021
    O(log k log log k) on a wide class of instances
    Related to: Competitive ratio of the greedy algorithm for online Steiner forest

    Bamas, Drygala and Maggiori showed that greedy is O(log k log log k)-competitive on a wide class of instances containing all previously published examples (SODA 2022).

    source
  4. Jan 1, 1996
    Greedy is O(log²) competitive; O(log) conjectured
    Related to: Competitive ratio of the greedy algorithm for online Steiner forest

    Awerbuch, Azar and Bartal proved that the Min-Cost (greedy) algorithm for the online generalized Steiner problem is O(log² n)-competitive and conjectured O(log n); the date is the SODA 1996 year, month and day not given.

    source