Manuscript Offprint
arXiv:2611.04506Dynamic Steiner Tree under Edge Updates
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The Steiner tree problem is the canonical generalization of minimum spanning tree (MST). When connectivity is required only among a fixed subset of vertices (terminals), the goal is to maintain a minimum-cost tree connecting these terminals as the graph undergoes edge updates. While dynamic MST has been studied since the 1980s [Frederickson, STOC'83, SICOMP'85], and the first sublinear-in-n dynamic MST algorithm dates back almost thirty-five years to Eppstein, Galil, Italiano, and Nissenzweig [FOCS'92, JACM'97], achieving sublinear-in-n update time for dynamic Steiner tree has long remained open, as a single edge update can invalidate many routes in the underlying terminal metric closure.
We present the first fully dynamic algorithm for Steiner tree that achieves a constant-factor approximation with sublinear-in-n update time. For any fixed , our deterministic algorithm maintains an -approximate Steiner tree for undirected graphs with polynomially bounded edge weights in amortized update time, answering cost queries in time, and reporting an explicit tree in time. Our approach combines periodic terminal-metric rebuilds on a dynamic spanner with a top-tree dynamic program that localizes edge deletions and reconnects surviving components through a dynamic distance sparsifier. Along the way, we give a simpler randomized insertion-only algorithm with a better, explicit approximation ratio.
Contents
| 1 Introduction | 2 |
|---|---|
| 2 Preliminaries | 10 |
| 3 Insertion-only Algorithm | 16 |
| 4 Fully Dynamic Algorithm | 18 |
| A Insertion-only Implementation and Analysis | 34 |
*University of Maryland, College Park. Emails: jeffgili, hajiagha, mahdavi, xcyang@umd.edu.
Steiner tree naturally generalizes minimum spanning tree: when every vertex is a terminal, the two problems coincide. Dynamic MST is one of the most fundamental problems in dynamic graph algorithms, serving as a natural abstraction of evolving networks and the primary motivation behind foundational dynamic tree data structures and techniques. Over forty years ago, Frederickson introduced topology trees to achieve an worst-case update bound for maintaining an MST in an -vertex -edge graph under edge updates [Fre85]. For the incremental setting, Sleator and Tarjan's link-cut trees [ST81] maintained an MST in time. To overcome graph density, Eppstein, Galil, Italiano, and Nissenzweig developed sparsification trees to obtain the first bound sublinear in [EGIN92, EGIN97]. Later, Holm, de Lichtenberg, and Thorup combined Euler tour trees with hierarchical edge levels to achieve amortized update time [HdLT01]. Despite their close relationship and more than four decades of progress on dynamic MST, comparable sublinear update time bounds have not previously been established for constant-factor Steiner tree approximation under edge updates in general weighted graphs. This gap motivates the following question:
Is there a fully dynamic (or even incremental) algorithm that maintains an -approximate Steiner tree in general weighted graphs with sublinear-in- update and cost-query time?
The above question has remained open across almost all regimes, including sparse unweighted graphs. In fact, the only known dynamic algorithm under edge updates, which improves upon recomputing from scratch, is an application of the additive spanner of Bergamaschi, Henzinger, Probst Gutenberg, Vassilevska Williams, and Wein [BHPG], which achieves update time, where is the number of terminals. However, their algorithm applies solely to unweighted graphs, and requires both a sublinear number of terminals and a dense graph to beat static recomputation. A separate line of work, dating back to Imase and Waxman [IW91] and studied extensively in online recourse models [GGK13, GK14] and dynamic settings [LOP], considers terminal arrivals and departures in a fixed graph. Leaving the underlying graph metric invariant, their results cannot extend to edge updates. Finally, while dynamic distance oracles and vertex sparsifiers maintain pairwise distances efficiently, they would require at least work to recalculate terminal distances. The fundamental obstacle is that a single edge update can simultaneously disrupt many shortest paths shared across multiple terminal pairs, and identifying which routes are invalidated and finding replacement paths in time has remained unresolved.
Our Contribution. We give a strong affirmative answer to the question above.
Theorem 1.1. Let be a connected -vertex fully dynamic undirected graph with edges initially, a terminal set , and polynomially bounded edge weights over all updates. For every fixed , there is a deterministic fully dynamic algorithm that maintains an -approximate Steiner tree for in with amortized update time and initialization time. After every update, cost queries take time, and reporting the Steiner tree takes time.
Ours is the first fully dynamic algorithm that maintains a constant-factor approximate Steiner tree in sublinear-in- update time across all graph densities and with no dependence on the terminal-set size. Notably, we also achieve robustness against an adaptive adversary and near-linear reporting time. See also Theorem 4.13 for a detailed version of this result.
In terms of techniques, we compute a terminal-metric MST on a sparse dynamic spanner, expanding this MST into a single tree so that any edge deletion breaks at most one tree edge. As an update arrives, a dynamic program over a fixed top-tree hierarchy [AHdLT05] decides in time which parts of this tree to keep, leaving a small number of components to reconnect. We estimate the reconnection cost by running Mehlhorn's algorithm [Meh88] on a dynamic vertex sparsifier. When an explicit tree is requested, we instead run Mehlhorn's algorithm on the current spanner to reconnect these components. Our final bounds are obtained using the deterministic dynamic spanner of Chuzhoy and Parter [CP25] and the deterministic dynamic vertex sparsifier of Haeupler, Long, and Saranurak [HLS24]; any improvement to their results would carry over directly to ours.
When updates consist only of edge insertions, we obtain a simpler randomized algorithm using elementary combinatorial tools that achieves a better approximation constant.
Theorem 1.2. Let be a connected -vertex incremental undirected graph with edges initially, a terminal set , and polynomially bounded edge weights over all updates. For every fixed , there is a randomized insertion-only algorithm that maintains an -approximate Steiner tree for in with expected amortized update time and expected initialization time. After every insertion, the approximation guarantee holds deterministically, cost queries take time, and reporting the Steiner tree takes time.
In particular, we can get a -approximation in update time; see Theorem A.7 for the full parameterized statement. Our incremental algorithm combines a dynamic spanner [BKS12] and a static distance oracle [TZ05] to maintain shortest paths among the endpoints of newly inserted edges. Extending these paths to each endpoint's nearest terminal yields terminal-to-terminal shortcuts whose weights only decrease over time, allowing us to maintain the resulting terminal MST dynamically via link-cut trees [ST81].
1.1 Technical Overview
In this work, we develop a dynamic framework that maintains an approximate terminal-metric spanning structure under edge updates, simultaneously achieving a constant approximation factor and sublinear-in- update time. From this structure we can read off the Steiner tree cost and report its edges efficiently. Our framework is presented in three steps. We begin by examining basic baselines obtained by combining known dynamic data structures and basic Steiner tree algorithms (Section 1.1.1), showing why off-the-shelf combinations either incur prohibitive query time or sacrifice constant approximation. We then introduce our periodic rebuilding framework in the simpler insertion-only setting (Section 1.1.2), and finally build on these ideas to obtain our deterministic fully dynamic algorithm (Section 1.1.3).
1.1.1 Baselines for Steiner cost estimation
Before describing our framework, we examine how existing dynamic primitives can be used to estimate the Steiner optimum. Table 1 summarizes the following direct reductions and compares them with our fully dynamic result.
A classical static 2-approximation offers a natural starting point. For an undirected weighted graph and terminal set of size , consider the complete graph on the terminals denoted by , with each edge weighted by its shortest-path distance in the underlying graph. An MST of this terminal metric closure expands into a Steiner tree of at most twice the optimum weight [KMB81], cf. Lemma 2.6. To avoid constructing the -edge clique explicitly, Mehlhorn [Meh88] runs a single multi-source Dijkstra computation from to partition into Voronoi regions around each vertex's nearest terminal at distance , contracts each region into its terminal root so that every cross-region edge induces a candidate edge between and of weight , and computes an MST of this sparse candidate graph in time, cf. Theorem 2.8. Maintaining this construction under edge updates to , however, presents significant algorithmic challenges. First, a single insertion or deletion can alter shortest-path distances across terminal pairs simultaneously. Second, several barriers emerge when combining this static metric-MST paradigm with known dynamic data structures such as distance oracles, spanners, or tree embeddings.
Distance oracles and vertex sparsifiers. A first approach is to use a dynamic distance oracle to estimate pairwise terminal shortest-path distances. For an oracle of stretch , querying all terminal pairs reconstructs a -approximate terminal metric on . An MST of this graph estimates within a factor using distance queries. Plugging in the deterministic dynamic distance oracle of Haeupler, Long, and Saranurak (HLS) [HLS24], which for any fixed achieves stretch , we get worst-case update time and an -approximate cost query in time, since each distance query takes time.
To avoid querying all pairs, we can maintain a dynamic vertex sparsifier on the terminal set that preserves pairwise distances within stretch , satisfying for all . Running Mehlhorn's linear-time terminal-MST construction directly on computes an MST of in time, again yielding a -approximate solution. Using the HLS vertex sparsifier [HLS24], we can maintain of size in amortized update time, reducing the cost-query time to .
Both reductions support inexpensive -time updates to their distance structure, but computing a fresh Steiner cost still requires an MST computation, incurring or time. Moreover, neither structure supports outputting an explicit Steiner tree in directly.
Spanners and Mehlhorn's construction. A second approach is to use a dynamic -spanner , which is a sparse subgraph satisfying for all vertex pairs. Because is an actual subgraph of , running Mehlhorn's construction on yields an explicit -approximate Steiner tree in time.
Using the deterministic dynamic spanner of Chuzhoy and Parter [CP25], which for any fixed achieves worst-case size and stretch in amortized update time, gives update time and query time. The main drawback of this approach is that every query requires re-running Mehlhorn's algorithm across all spanner edges, even when only an approximate cost is requested. Nonetheless, for reporting an explicit Steiner tree this bound is already near-linear, and our tree-reporting guarantee is achieved by implementing this approach (see Section 4.5.1 for details).
Tree embeddings. A third approach is to use a dynamic probabilistic dominating tree embedding, which is a rooted tree with satisfying for all and expected stretch as undergoes edge updates. On a single tree , the minimum-weight subgraph connecting is simply the unique minimal subtree spanning , of weight . Doubling this subtree and shortcutting between consecutive terminals yields a tour in of weight at most , so noncontraction implies , while routing an optimal Steiner tree of through gives by linearity of expectation. Augmenting this embedding with top trees [AHdLT05] allows us to maintain the weight of the minimal subtree spanning , with overhead per change to the embedding, making the -approximate cost estimate available in query time after every update.
Plugging in the dynamic probabilistic tree embeddings of Forster, Goranci, and Henzinger (FGH) [FGH21] yields an -approximate cost estimate in expectation with expected amortized update time and query time. While this combination achieves sublinear update time and query time for arbitrary , embedding a graph metric into a tree inevitably incurs distortion, so the approximation factor is superconstant and the structure does not provide an explicit Steiner tree.
| Method | Approximation | Update time | Cost query |
|---|---|---|---|
| HLS oracle + MST | worst case | ||
| HLS sparsifier + Mehlhorn | amortized | ||
| CP spanner + Mehlhorn | amortized | ||
| FGH embedding + top trees | exp. | exp. amortized | |
| This work | amortized |
Table 1: Fully dynamic Steiner tree on fixed terminals. All rows except FGH are deterministic.
1.1.2 An incremental framework
The main challenge is to maintain a constant-factor approximation with sublinear update time, independent of the number of terminals. To address it, we develop a framework that combines periodic global rebuilding with efficient local maintenance between rebuilds.
Periodic rebuilding. Our algorithm divides the update sequence into phases of updates. At the beginning of each phase, we compute and freeze a global approximate solution. After each graph update, we defer global restructuring by combining these frozen structures with Steiner augmentation structures that adapt the maintained solution and preserve a bounded approximation across the phase. If a full global reconstruction incurs a cost of and the work for one update within a phase is at most , the amortized cost per update is bounded by . Choosing the phase length appropriately balances the heavy cost of periodic rebuilding against the per-update maintenance between rebuilds.
Route maintenance. At the start of the phase, we take a frozen snapshot of a dynamic spanner [BKS12] and run Mehlhorn's construction on to compute a terminal-metric MST , which is a constant approximation at the start of the phase and remains fixed throughout it, along with a static path-reporting distance oracle [TZ05] on for querying frozen distances. We also record each vertex's closest terminal , called its owner, and its frozen owner distance for later usage.
As edges are inserted, routes computed at the start of the phase remain valid, but new insertions may create cheaper connections. In the insertion-only setting, any newly useful route must encounter a newly inserted edge and hence one of its endpoints. To capture this, let denote the set of at most edges inserted during the phase, and maintain an auxiliary multigraph on the endpoints of . The edge set of consists of two types of connections between these endpoints: virtual connections supplied by the frozen distance oracle (representing reusable old routes) and newly inserted edges with their actual weights (representing new routing opportunities). We maintain exact all-pairs shortest paths (APSP) on to capture updated routing distances among these endpoints, combining old paths and new insertions. This routing information allows us to adapt the maintained terminal MST by incorporating new connections alongside the fixed baseline .
After each insertion, for each of the endpoint pairs in with distinct owners, we add or update a candidate edge between their owners and , weighted by . These candidate weights can only decrease, allowing a link-cut tree to maintain a terminal MST of the augmented graph consisting of and the candidate edges in time per insertion. By the MST augmentation property (Lemma 2.10), augmenting rather than the full frozen terminal metric with preserves the minimum spanning tree weight (), while nearest-terminal ownership bounds the detour through endpoint owners (Lemma A.3), ensuring a constant-factor approximation throughout the phase (Theorem A.4). When an explicit Steiner tree is requested, we expand each selected terminal MST edge into its corresponding route in the current graph, using the stored frozen routes, inserted edges, and paths supplied by the distance oracle, and then take their union, remove cycles, and prune nonterminal leaves to obtain the solution. Balancing the amortized phase-rebuild cost against the per-insertion work yields the expected amortized update time of Theorem 1.2.
1.1.3 Fully dynamic framework
Our fully dynamic algorithm in Section 4 uses the same periodic rebuilding framework, combining frozen structures with Steiner augmentation structures. Supporting deletions, however, introduces two obstacles to our earlier approach: deleting a single graph edge invalidates all metric edges of whose underlying shortest paths use that edge, and it may destroy frozen routes in used by the auxiliary multigraph . We overcome both obstacles in sublinear deterministic time via four novel ingredients: (1) expanding into a single tree via coherent tree expansion so that any edge deletion breaks at most one tree edge, (2) recording both edge insertions and deletions on as zero-weight edges (spokes) to a virtual vertex (hub) in an auxiliary graph , (3) identifying a surviving forest of components of by maintaining an exact minimum Steiner tree on using dynamic programming on a top tree, and (4) reconnecting these surviving components in time by running Mehlhorn's construction on a dynamic distance sparsifier.
Coherent tree expansion. At the beginning of each -update phase on the phase-start graph , we take a frozen copy of the deterministic Chuzhoy-Parter dynamic -spanner [CP25] and run Mehlhorn's construction on to obtain each vertex's nearest terminal owner , its owner distance , the rooted owner forest, and a terminal-metric MST of . Each edge of corresponds to a shortest path in between two terminals, and several such paths may share edges inside the owner forest. We then apply coherent tree expansion (Lemma 2.9) to expand along the rooted owner forest and deduplicate its shared edges into a single tree spanning of weight . Working with rather than localizes structural damage: deleting an edge of removes at most one edge of , even if several frozen routes in used it.
Hub-augmented auxiliary graph. As updates arrive, deletions may destroy routes in , while insertions may create cheaper paths. To adapt to these changes, we construct an auxiliary graph that translates updates into virtual connections. We introduce an artificial vertex , called hub, and virtual zero-cost edges, called spokes, incident to . At the start of the phase, all edges of are enabled and all spokes are disabled. As updates occur, we update as follows:
-
Deletion handling: Deleting disables in and enables the zero-weight spokes and at its endpoints, providing a zero-cost bridge across the broken route in .
-
Insertion handling: Inserting an edge enables the zero-weight spokes and at the endpoints' terminal owners on , providing a zero-cost connection through that allows the algorithm to avoid expensive old routes in .
Letting denote the edges of deleted during the phase and denote the active terminals (frozen owners of endpoints of newly inserted edges), the set of active vertices with enabled spokes is of size , and the auxiliary graph is .
We maintain an exact minimum Steiner tree connecting in and remove and its selected spokes. This isolates which parts of are still worth keeping, leaving a forest of retained components. Since a phase contains updates and each update enables at most two spokes, has at most components, reducing the repair task from connecting all terminals to connecting at most components via current distances in in time. Our analysis bounds the forest's cost and the reconnection cost separately, showing that each is at most a constant multiple of .
To see why always contains a Steiner tree for of weight at most (Lemmas 4.5 and 4.6), consider removing all newly inserted edges from a minimum Steiner tree in , leaving components that consist only of surviving phase-start edges. Rather than doubling all edges of a terminal-containing component in a closed tour, we traverse from an endpoint of a removed newly inserted edge to a terminal , traversing each edge on the unique path in once and every other edge of twice, for a walk of length . Because is the nearest terminal to in , we have , so the subtraction along the walk pays for the shortest path from to in . By the MST augmentation property (Lemma 2.10), the terminals of each component together with can therefore be connected using routes in the frozen terminal metric of weight at most . Linking these components through their enabled owner spokes —and bypassing any deleted edge via its endpoint spokes —yields a Steiner tree for in of weight at most .
Minimum Steiner tree maintenance on the hub-augmented tree. Exact optimization on is enabled by its special “tree-plus-star” structure (Section 4.2): its non-spoke edges come from the fixed tree , while the virtual spokes form a star centered at . At the start of the phase, we build a balanced top-tree hierarchy of clusters [AHdLT05] on the edges of of height exposing a fixed root terminal , and run a static dynamic program (DP) to compute the initial optimal solution on with all -edges enabled and all spokes disabled. Because each cluster interacts with the rest of through at most two boundary vertices in and , each cluster has at most three interfaces and summarizes all partial solutions within using a constant-size DP table of 22 states. The top-tree hierarchy built on stays fixed throughout the phase; only the availability of -edges and spokes changes due to graph updates. Toggling a -edge or spoke updates its assigned cluster's local table and propagates changes up its ancestor path in the balanced hierarchy, recomputing tables in time each. Since each graph update toggles edges and spokes, maintaining the DP tables requires only time per update. Because the forest may contain edges, it is represented implicitly by the DP tables and backpointers (Lemma 4.3). We explain next how to use this implicit representation to extract one representative per component of and reconnect those components in .
Reconnecting surviving components. To reconnect the components of into a Steiner tree for , we select one representative vertex from each component and connect them in the current graph (Section 4.3). For a candidate subgraph , by lexicographically minimizing
the DP rules out unnecessary zero-weight spokes and terminal-free components, guaranteeing that every component of contains at least one terminal in and is incident to a unique selected spoke to (Lemma 4.1). Following the DP backpointers from the root only into clusters with selected spokes, we find the set of these spoke endpoints in time. Because each component of already connects its terminals to its representative in , connecting in suffices to connect . Moreover, since every component of contains a terminal in , the union of with an optimal Steiner tree for in connects all vertices of , proving that (Lemma 4.7).
To preserve approximate distances among , we maintain the deterministic HLS distance sparsifier [HLS24] (Theorem 2.5) on the monotonically growing superset of all active vertices accumulated during the phase. Because gains at most two newly active vertices per graph update and is reset to at phase boundaries, updating in takes amortized time per update and keeps (Lemma 4.4). By contrast, maintaining on directly would be slower, as a single edge update can cause the top-tree DP to switch which components connect to the hub and change vertices of at once. After each update, we run Mehlhorn's construction on in deterministic time to compute a terminal-metric MST on , whose weight (scaled by ) combined with provides our -time cost estimate (Theorem 4.9). Combining the phase-reconstruction time with the single-update processing time gives amortized update time
which we balance by setting to obtain deterministic amortized update time, i.e., for (Theorem 1.1).
1.2 Related Work
We review dynamic Steiner-tree algorithms across several update models, including graph-edge updates and changes to terminals or demands in a fixed metric. We then discuss dynamic graph primitives relevant to our approach and the Steiner cost-estimation bounds that follow from straightforward combinations of these tools.
Steiner trees under graph-edge updates. Several algorithms maintain approximate Steiner trees under changes to the underlying graph, providing the closest comparisons to our setting. Bergamaschi et al. [BHPG⁺²¹] maintain a -approximate Steiner tree in unweighted graphs under both edge and terminal updates, with high probability against an oblivious adversary. For terminals, their worst-case edge-update time is , including the time to report an explicit tree. Raikwar and Karmakar [RK23] give an incremental algorithm for weighted general graphs achieving a -approximation with update time. Subsequently, Raikwar, Sadharakiya, and Karmakar [RSK25] give a -approximate incremental algorithm for weighted general graphs with update time, where is the maximum number of edges on a weighted shortest path. They also give a -approximate fully dynamic algorithm for weighted planar graphs, processing a batch of updates in time for , where is the unweighted diameter of the graph.
Terminal updates, online recourse, and geometric variants. A separate line of work keeps the underlying graph fixed while allowing terminals or connection requirements to change. In a fixed underlying graph, Łącki et al. [ŁOP⁺¹⁵] obtain a -approximation with amortized time per terminal insertion or deletion, where is the metric aspect ratio. Online models often emphasize competitiveness and recourse, the number of changes to the maintained solution. This line includes Imase and Waxman [IW91], constant-competitive Steiner trees with constant recourse under arrivals [GGK13], and constant amortized recourse under terminal arrivals and departures [GK14]. For Steiner forest, Long et al. [LMST26] obtain constant competitiveness with logarithmic amortized recourse per arriving demand pair. In fixed-dimensional Euclidean space, Chan et al. [CGJ⁺²⁴] maintain an implicit -approximate Steiner tree with polylogarithmic amortized update time for fixed dimension and .
Dynamic minimum spanning trees. Dynamic MST is the all-terminal special case of our problem and a component of our incremental algorithm. Beyond the classical progression from Frederickson [Fre85] through sparsification [EGIN92, EGIN97] to deterministic amortized updates [HdLT01], Holm, Rotenberg, and Wulff-Nilsen [HRWN15] improved the deterministic amortized bound to . For worst-case updates, Kapron, King, and Mountjoy [KKM13] obtained polylogarithmic Monte Carlo bounds against an oblivious adversary; against an adaptive adversary, Nanongkai, Saranurak, and Wulff-Nilsen [NSWN17] achieved worst-case update time w.h.p., Chuzhoy et al. [CGL⁺²⁰] made this worst-case bound deterministic, and Meierhans, Probst Gutenberg, and Yeh [MPGY26] recently achieved polylogarithmic worst-case update time w.h.p.
Dynamic spanners. Dynamic spanners reduce the cost of our periodic rebuilds by preserving approximate distances in sparse subgraphs [PS89, ADD⁺⁹³, BS07]. Following early dynamic constructions [ADF⁺⁰⁷, Elk07], Baswana, Khurana, and Sarkar [BKS12] obtained -spanners of size in polylogarithmic expected amortized update time against an oblivious adversary, which we combine with geometric weight bucketing in our insertion-only algorithm. Subsequent work achieved faster amortized maintenance [FG19], sublinear worst-case update time [BK16, BFH21], and adaptive-adversary or deterministic guarantees [BvdBPG⁺22, BSS22, vdBCK⁺23], culminating in the deterministic constant-stretch spanners of Chuzhoy and Parter [CP25] via low-diameter router decompositions, which we use in our fully dynamic algorithm. Preserving distances alone, however, does not maintain a low-cost connection among the terminals; our use of sparsification is therefore coupled with periodic rebuilding and an optimizer for the retained solution.
Distance oracles and terminal sparsifiers. Distance oracles and terminal sparsifiers supply the distance and path information used to construct and repair terminal connections in our algorithms. Thorup-Zwick oracles [TZ05] supply the static distance interface in our incremental algorithm. Fully dynamic constant-stretch oracles include the randomized construction of Forster et al. [FGNS23] and the deterministic construction of Haeupler, Long, and Saranurak (HLS) [HLS24]. For fixed , HLS achieve stretch , worst-case update time, and distance-query time. Their separate terminal-sparsifier maintains a graph of size preserving terminal distances within , in amortized update time. Kyng, Meierhans, and Probst Gutenberg [KMPG24] give a complementary deterministic construction with subpolynomial stretch and worst-case update time, together with low-congestion embeddings.
Tree embeddings and cost estimates. Dynamic tree embeddings provide another route to Steiner cost estimation by approximating a graph's metric with a tree metric. While probabilistic tree embeddings were pioneered in the static setting by Bartal [Bar96, Bar98] and subsequently refined with optimal distortion bounds by Fakcharoenphol, Rao, and Talwar [FRT04], maintaining such metric approximations dynamically under edge updates has long proved challenging. Forster, Goranci, and Henzinger (FGH) [FGH21] advanced this frontier by designing dynamic algorithms for maintaining low-stretch probabilistic tree embeddings under edge updates, applying them to problems such as buy-at-bulk network design. Nevertheless, while black-box tree embeddings offer flexible metric reductions, translating tree-based solutions back into valid graph paths while guaranteeing sublinear update times and tight constant-factor approximations for fully dynamic Steiner tree remains difficult, motivating our direct structural and sparsification-based approach.
Organization. Section 2 presents the model and assumptions, algorithmic primitives, and terminal-metric MST tools. Section 3 introduces the insertion-only framework as a warm-up, with implementation details and analysis deferred to Appendix A. Section 4 develops the fully dynamic algorithm and establishes its approximation, time, and space guarantees.
2 Preliminaries
We first specify the graph model, weight assumptions, and how the maintained solution is represented. We then state the external spanner and distance primitives used by our algorithms. Section 2.3 develops the terminal-MST construction and its properties, used by both algorithms.
2.1 Model and Assumptions
Graph and update model. Let be an undirected graph on a fixed vertex set , , with a fixed terminal set , . All edge weights are strictly positive.
Write for the initial edge count and for the current edge count; is an upper bound on the total edge count throughout. We assume that the update sequence has polynomial length in .
The fully dynamic algorithm supports edge insertions, deletions, and weight changes (a weight change is processed internally by deleting the old edge and inserting a new edge with the updated weight, without affecting correctness or bounds), and is deterministic (thus holding against an adaptive adversary). The incremental algorithm supports only edge insertions and is randomized, with amortized update time bounded in expectation against an oblivious adversary. We assume that the initial graph and the graph resulting from each update are connected. Both algorithms always return a valid solution with the stated approximation guarantee. The notation suppresses polylogarithmic factors in .
Weights. We assume that all input weights throughout the update sequence lie in , where . For some , the fully dynamic algorithm uses rounded edge weights
The effect of this rounding on the approximation ratio is analyzed in Lemma 4.10.
Notation. For a weighted graph , let denote shortest-path distance and let be the minimum weight of a connected subgraph containing a specified vertex set . With nonnegative weights, cycles can be removed without increasing the cost, so is also the minimum weight of a Steiner tree connecting . We write for the weight of a minimum spanning tree of .
The terminal metric closure is the complete graph on with edge weight . For a tree on , we write
Maintained Output. After each update, our algorithms maintain the approximate Steiner tree implicitly by storing a compact representation of the solution (along with its cost estimation, which can be read in time) that, with additional reporting time, can be expanded to retrieve an explicit Steiner tree in . Our update-time bounds refer to maintaining the implicit solution. Reporting a solution explicitly incurs additional time that is analyzed separately. Note that the cost of reporting the approximate solution can be , since an optimal Steiner tree may contain edges.
2.2 Algorithmic Primitives
We introduce several dynamic graph primitives used by our algorithms and adapt their interfaces to our setting. Our insertion-only algorithm pairs BKS's randomized fully dynamic weighted spanner [BKS12] with the static path-reporting distance oracle of Thorup and Zwick [TZ05], while our fully dynamic algorithm pairs the deterministic dynamic spanner of Chuzhoy and Parter [CP25] with the deterministic dynamic distance sparsifier of Haeupler, Long, and Saranurak [HLS24].
Fully dynamic weighted spanners. A spanner is a subgraph that approximately preserves distances in the original graph. In our insertion-only algorithm, we use a weighted extension of BKS's randomized spanner [BKS12] to maintain a sparse graph under edge updates.
Theorem 2.1. Fix an integer and a constant . For undirected graphs with a polynomially bounded edge-weight ratio over the entire update sequence, a randomized fully dynamic structure maintains an explicit subgraph such that
The expected size is , and the expected amortized update time is against an oblivious update sequence. The stretch guarantee holds deterministically. Starting from edges, initialization takes time.
Proof Sketch. For unweighted graphs, [BKS12] maintains a -spanner of expected size in expected amortized time per edge insertion or deletion. Following [BKS12, Remark 1.2], we partition the edges into weight buckets with ratio and maintain an unweighted -spanner within each bucket; their union achieves weighted stretch at the cost of an factor in size and update time, absorbed in . Initializing the empty bucket structures on vertices and inserting the initial edges takes expected time, and weight changes are handled by deleting and reinserting the edge.
For our fully dynamic algorithm, we use the deterministic weighted spanner of Chuzhoy and Parter [CP25].
Theorem 2.2. For any fixed and an undirected -vertex graph with polynomially bounded positive integer edge weights over the entire update sequence, a deterministic fully dynamic data structure maintains an explicit subgraph satisfying
with worst-case size , amortized update time , initialization time from initial edges, and space , where and the stretch depends only on .
Proof Sketch. By [CP25, Corollary 9.2], for integer parameters and , an initially empty -vertex simple graph undergoing at most edge insertions and deletions with integer weights in admits a deterministic dynamic spanner of stretch and worst-case size in worst-case update time. Given a fixed , we choose integers and sufficiently large so that the update time is and, since , the size bound is , giving . Re-initializing the structure from scratch every updates (where is the edge count at the last rebuild, so at most edge operations occur between rebuilds) extends the guarantee to arbitrary and polynomial-length update sequences with amortized update overhead and space.
Static path-reporting distance oracle. Our insertion-only algorithm uses the static path-reporting distance oracle of Thorup and Zwick [TZ05]:
Theorem 2.3 ([TZ05]). For an integer , an undirected weighted -vertex graph with edges admits expected preprocessing time and expected space . For any connected pair , a query takes time and returns an estimate satisfying
On request, it reports a simple path of weight at most this estimate in time, where is the number of reported edges.
HLS distance sparsifiers. We use the dynamic distance sparsifier of Haeupler, Long, and Saranurak [HLS24]—a smaller weighted graph that preserves approximate distances among vertices from a designated set. Unlike a spanner, this object need not be a subgraph of the original graph, and it may contain auxiliary vertices and edges. Let us first recall their result. We write for their parameter .
Theorem 2.4 ([HLS24, Theorem 13.1(1)]). For some absolute constant , any parameter , and an undirected -vertex graph with polynomially bounded positive integer weights, there is a deterministic data structure maintaining an explicit sparsifier for a designated vertex set , satisfying
with size , amortized update time per edge or designated-vertex insertion or deletion, and initialization time , where the approximation factors , depend only on .
We make some slight modifications to their result to simplify its later usage.
Theorem 2.5 (cf. [HLS24]). For any fixed and an undirected -vertex graph with polynomially bounded positive integer weights, there is a deterministic data structure maintaining an explicit sparsifier with positive edge weights for a designated vertex set , satisfying
with size , amortized update time per edge or designated-vertex insertion or deletion, initialization time , and space , where and the approximation factor depends only on .
Proof Sketch. Given a fixed , we choose sufficiently small so that the and factors in Theorem 2.4 are bounded by . Scaling all edge weights of by ensures noncontraction () with . Re-initializing the structure from scratch on every operations (where is the edge count at initialization or the last rebuild, so throughout the window and the rebuild cost charges per operation) bounds the total work—and hence space—of the active instance by .
2.3 Terminal-Metric MSTs
We introduce several basic concepts and constructions used to approximate the Steiner tree. A classical approach to approximating the Steiner tree [KMB81] reduces finding a Steiner tree for a terminal set in to computing an MST of the terminal metric closure and unfolding its edges into shortest paths in , losing at most a factor of 2.
Lemma 2.6 (Metric MST). For a connected graph with positive edge weights and a nonempty terminal set ,
that is, the weight of an MST of the terminal metric closure is at most twice the weight of an optimal Steiner tree connecting U in Q. Moreover, replacing each edge of a spanning tree of by a shortest path in Q and taking the union of these paths yields a connected subgraph containing U, whose weight is no greater than that of the spanning tree. Deleting cycles and pruning leaves outside U yields a 2-approximate Steiner tree.
Proof. Doubling the edges of an optimal Steiner tree for in yields an Eulerian tour of weight visiting all terminals in . Shortcutting this tour between consecutive first visits to terminals in gives a spanning path of of weight at most by the triangle inequality, so . Expanding the edges of any spanning tree of into shortest paths in and taking their union connects while counting shared edges only once, and removing cycles and non- leaves preserves connectivity on without increasing weight.
Nearest-terminal forest. To avoid constructing the -edge metric clique explicitly, Mehlhorn [Meh88] partitions into Voronoi regions around the terminals. Given a connected graph with vertices, edges, and positive edge weights, and a nonempty terminal set , a single multi-source Dijkstra computation initialized with all terminals in (with consistent tie-breaking) runs in time and assigns each vertex a nearest terminal , called its owner, at distance
The shortest-path tree edges recorded by Dijkstra form a rooted forest—called the owner forest—in which each terminal is the root of a tree spanning its owned region .
Cross-region edges and metric MST construction. Given the partition of into terminal owner regions, we can replace the dense metric closure by a sparse graph on generated only by edges that cross between different regions. Call an edge a cross-region edge if its endpoints belong to different owner regions, namely, . Conceptually, represent each region by a supernode identified with its terminal root. Each cross-region edge gives a candidate edge between terminals and with weight
This weight is the length of a realizable route in Q that follows the owner tree from to x, crosses xy, and follows the other owner tree from y to . Figure 1 illustrates this construction.
Construct the candidate graph by scanning all M edges of Q and discarding those whose endpoints have the same owner. Among all candidate edges crossing the same two regions, retain one candidate edge of minimum weight. The resulting graph is a simple weighted graph on U with at most M edges.
Lemma 2.7 (Equality of cut minima). For any partition of terminal set into two nonempty groups and , the cheapest edge crossing this cut has the same weight in and in .

Figure 1: A cross-region edge induces a candidate edge between terminals and with weight . Arrows indicate its route in from to ; the dashed curve represents the candidate edge.
Proof. Every candidate edge in represents a walk in between its terminal endpoints, so its weight is at least their distance in ; hence the minimum weight crossing in is at least that in . Conversely, let and minimize , and fix a shortest path in . Since and , the path contains an edge with and . Because and , the induced candidate edge between and crosses with weight
and the lightest parallel candidate edge retained in is no heavier.
Because and have identical minimum cut weights across every partition of , the cut property of minimum spanning trees implies that an MST of the sparse candidate graph is also an exact MST of .
Theorem 2.8 (Mehlhorn terminal-MST construction [Meh88]). An MST of the candidate graph is also an MST of the terminal metric closure . Every selected candidate edge has weight equal to the distance in Q between its terminal endpoints and therefore represents an exact shortest path between them. The entire construction takes time and working space, without explicitly constructing the metric clique.
Proof. Starting from an MST of , repeatedly replacing each metric edge by a lightest edge in crossing the induced cut (which has no greater weight by Lemma 2.7) produces a spanning tree of of weight at most , so . Conversely, every edge corresponds to a walk in of weight , so for an MST of ,
Equality holds throughout, so is an MST of and for every . Finally, running multi-source Dijkstra from , scanning the edges of to build and deduplicate , and computing an MST of (on vertices and at most edges) each take time and space.
Coherent tree expansion. Each edge of the terminal-metric MST represents a shortest path in between two terminals, and several such paths may share edges inside the owner forest. In the dynamic setting, maintaining these paths separately would allow a single edge deletion to invalidate many routes of simultaneously. Instead, we expand along the rooted owner forest and deduplicate shared predecessor edges to obtain a single tree spanning , localizing the effect of any edge deletion to a single edge of .
Lemma 2.9 (Coherent expansion guarantee). The union obtained by expanding the terminal-metric MST using the owner forest and the corresponding cross-region edges is a tree in containing the terminal set , and
Given the owner forest and these cross-region edges, can be constructed in time.
Proof. Within each owner region, the union of the owner-forest paths from the endpoints of selected cross-region edges to their terminal root forms a subtree of that region's owner tree. Contracting each such subtree to its terminal root reduces to the tree , so is connected and acyclic, and thus a tree containing . Counting each shared edge once gives by Lemma 2.6. To construct in time, we walk up the owner forest from both endpoints of each of the cross-region edges of , marking visited vertices and stopping each walk upon reaching a terminal root or an already marked vertex so that each of the at most owner-forest edges is traversed at most once.
MST under graph augmentation. During an update phase, our algorithms augment the frozen terminal metric closure with a small set of edges. Rather than maintaining the dense graph , the following general MST sparsification lemma shows that replacing by its precomputed MST preserves the minimum spanning tree weight exactly.
Lemma 2.10 (MST under graph augmentation). Let be a connected weighted graph, and let be an MST of . Augment by adding a set of weighted edges, either connecting existing vertices of or introducing new vertices, such that is connected. Then
Parallel edges are allowed and retained as distinct edges in and .
Proof. Since , we have . Conversely, let be an MST of . For any edge , the cycle property of the MST of ensures that every edge on the unique path in has weight at most . Removing splits into two components, and at least one edge on the path in crosses this cut; replacing by yields a spanning tree of with weight at most and one fewer edge from . Repeating this exchange eliminates all edges of , producing a spanning tree of of weight at most .
3 Insertion-only Algorithm
We introduce our framework in a simpler form for insertion-only updates. Our approach is to divide the update sequence into phases of insertions and combine two components that together help us avoid recomputing terminal distances:
(i) Frozen structures, computed once at the beginning of each phase on top of the dynamic spanner , provide graph-wide routing information, including a baseline terminal-metric MST , nearest-terminal owners , and approximate all-pairs distances in .
(ii) Steiner augmentation structures, updated after each insertion on the at most 2B endpoints touched by the current phase, capture information associated with newly inserted edges, such as routes that use new edges and certain augmentations of .
Because no edges are deleted in the insertion-only model, all phase-start routes in remain valid throughout the phase; new insertions can only create cheaper connections between terminal owner regions, which we incorporate into via the MST augmentation property (Lemma 2.10). We describe the algorithm below and defer full implementation details and proofs to Appendix A.
Frozen structures. In the background, we maintain the dynamic spanner of Theorem 2.1 with stretch (for a fixed integer and constant ) and expected size . At the beginning of each phase, we copy the current spanner into a frozen snapshot and compute two static structures on :
(1) We run Mehlhorn's construction (Theorem 2.8) on to obtain a terminal-metric MST of , each vertex's nearest terminal owner , its owner distance , and the rooted owner forest in .
(2) We build the Thorup-Zwick path-reporting distance oracle (Theorem 2.3) on with stretch (for a fixed integer ), which answers queries with distance estimates and realizing walks in .
Steiner augmentation structures. Let denote the set of edges inserted so far in the current phase and let be the set of their endpoints, so and . Because any route in that improves upon must traverse at least one edge of , we maintain a weighted multigraph on the endpoint set with two types of edges:
-
every newly inserted edge with its actual weight ; and
-
for every pair of distinct vertices , a virtual edge of weight queried from the phase-start distance oracle on .
As edges are inserted into , we maintain exact all-pairs shortest-path distances and a next-hop matrix on in time per insertion. Thus, records the cheapest walk between and that combines newly inserted edges in with oracle paths in .
Maintaining the augmented terminal MST. To translate shortest paths in into connections between terminals in , we route each endpoint to its frozen terminal owner along the owner forest in . Specifically, after updating on an insertion, for every pair with , we create or update a candidate edge between terminals and of weight
which never increases during the phase because is fixed and insertions can only decrease . Each candidate edge represents a walk in the current graph formed by concatenating the owner-forest path from to , the shortest path in from to (with virtual edges expanded via the path-reporting oracle on ), and the owner-forest path from to . Letting denote the set of these candidate edges on , we maintain a minimum spanning tree of the augmented graph . By the MST augmentation property,
(4) so maintaining an MST of achieves the exact same weight as maintaining an MST of the full terminal metric augmented with . Since candidate weights only decrease during a phase, we can maintain dynamically in time per candidate update using a link-cut tree [ST81], taking time per insertion. When an explicit Steiner tree is requested, we coherently expand the owner-forest routes of in , extract a spanning forest of the -paths for the selected candidate edges and materialize its virtual edges via the path-reporting oracle, and finally delete cycles and prune non-terminal leaves.
After insertions occur, we start a new phase and rebuild the frozen structures on the current spanner. We also reset , , and . Balancing this periodic rebuild cost against the per-insertion update cost yields our amortized update time. In particular, choosing gives the guarantee stated in Theorem 1.2.
The fully dynamic algorithm in Section 4 retains the same framework, combining frozen structures with within-phase Steiner augmentation structures and mapping endpoints of newly inserted edges to their frozen terminal owners . However, deleting an edge may invalidate many routes represented by the terminal MST . To localize this impact, we will expand into a tree , where a deletion removes only the corresponding edge, and represent both newly inserted edges (via their owners ) and deleted edges of (via their endpoints ) by zero-weight spokes to an artificial hub . Rather than maintaining the auxiliary multigraph and candidate edges , a top-tree dynamic program will select portions of to retain. A dynamic distance sparsifier estimates the reconnection cost, while Mehlhorn's construction on the current spanner reconnects these portions when an explicit solution is requested.
4 Fully Dynamic Algorithm
This section is devoted to our main result, a fully dynamic algorithm for the Steiner tree problem that simultaneously achieves sublinear-in- update time and a constant factor approximation. Our algorithm builds on the dynamic spanner of Chuzhoy and Parter [CP25] (cf. Theorem 2.2) and the HLS distance sparsifier (cf. Theorem 2.5) to maintain a sparse tree spanning the terminals, while dynamically reconnecting its surviving pieces as edges are inserted and deleted. We present the overall algorithm in Section 4.1, followed by the details of its two core components: the maintenance of a minimum Steiner tree on a certain augmented tree in Section 4.2, and the component repair procedure in Section 4.3. We then establish the approximation guarantee in Section 4.4 and conclude with the update-time, reporting, and space analysis in Section 4.5.
4.1 Algorithm
We divide the update sequence into phases of updates each. Let denote the graph at the start of a phase; objects described as frozen are computed from at the phase boundary and remain fixed throughout the phase, whereas the current graph continues to evolve. Across all phases, our algorithm maintains two persistent data structures on the current graph : CP's deterministic dynamic -spanner with and an explicit HLS distance sparsifier on a designated vertex set containing a fixed root terminal . To respect the integer-weight requirements of Theorems 2.2 and 2.5, all internal structures operate on the rounded integer weights from (1); we write for through Theorem 4.9 to ease notation. We now describe how the algorithm builds its frozen structures at the start of a phase, maintains its Steiner augmentation structures, and reports an explicit Steiner tree upon query.
Frozen structures. At the beginning of each phase, we take a frozen copy of the current dynamic spanner and construct the following structures in two steps:
(1) Terminal-metric MST and owner forest. We run Mehlhorn's construction (Theorem 2.8) on with terminal set to obtain each vertex's nearest terminal owner , its owner distance , the rooted owner forest, and an MST of .
(2) Coherent tree expansion. Because a single edge deletion could invalidate many routes of simultaneously, we apply Lemma 2.9 to expand along the owner forest into a single tree spanning , retaining each shared edge only once.
Steiner augmentation structures. To track updates during a phase and decide which surviving pieces of to retain, we augment at the start of the phase with an artificial vertex , called hub, and a zero-weight artificial edge , called a spoke, for every vertex . Each edge of and each spoke may be enabled or disabled; we denote by the subgraph of enabled edges at time , and call a vertex whose spoke is enabled an active vertex (or an active terminal when ). At the start of a phase, all edges of are enabled and all spokes are disabled. As updates arrive during the phase, we update as follows:
-
Insertion handling. Inserting an edge enables the spokes and at the endpoints' frozen terminal owners , providing a zero-cost connection through that allows the algorithm to omit expensive old routes in .
-
Deletion handling. Deleting an edge disables in and enables the spokes and at its endpoints (which need not be terminals), providing a zero-cost bridge across the resulting gap in . Deleting an edge outside leaves unchanged.
Once enabled, a spoke remains enabled until the phase ends. Letting denote the set of active terminals, namely the frozen owners of all endpoints of edges inserted during the phase, and denote the edges of deleted during the phase, the set of active vertices at time is
where consists of the endpoints of all edges in ; the resulting auxiliary graph is
Note that sets , and only grow within a phase and each has size .
Reconnecting surviving subtrees. After updating and forwarding the graph update to and , our algorithm maintains its implicit Steiner tree in three steps:
(1) Maintaining an exact Steiner tree on (Section 4.2). Using dynamic programming over a fixed top-tree hierarchy on , we maintain a minimum Steiner tree connecting in that lexicographically minimizes
(weight, number of spokes, number of edges).
Removing the artificial vertex and its selected spokes from leaves a surviving forest . When uses , lexicographic optimality ensures that each component of contains a terminal in and a unique selected spoke to (Lemma 4.1). Collecting the endpoints in of these selected spokes gives a set of component representatives of size (with when is unused).
(2) Estimating reconnection cost via distance sparsifier (Section 4.3). Because each component of connects its terminals to its representative in , reconnecting in suffices to connect . Since may change substantially after a single update, we maintain the HLS distance sparsifier on the monotonically growing superset , inserting the newly active vertices per update and resetting to at phase boundaries. We run Mehlhorn's construction (Theorem 2.8) on with terminal set to compute an MST of , whose scaled weight upper-bounds the cost of reconnecting in .
(3) Implicit representation and tree reporting. The maintained implicit solution consists of the dynamic-programming backpointers on the top tree (encoding and ) together with the scalar upper-bound cost estimate combining the top-tree root weight with the scaled sparsifier MST weight. When an explicit Steiner tree is requested, we follow the backpointers to recover , run Mehlhorn's construction (Theorem 2.8) and coherent tree expansion (Lemma 2.9) on the current spanner with terminal set to obtain a tree connecting , and take the union , removing cycles and pruning nonterminal leaves.
Algorithm 1 summarizes initialization, reconstruction, update, and materialization procedures.
4.2 Minimum Steiner Tree Maintenance on Hub-Augmented Tree
In this section, we describe how to dynamically maintain a minimum Steiner tree connecting in . The graph has a special tree-plus-star structure: all of its non-spoke edges belong to the fixed tree , and every other edge is a zero-weight spoke incident to the hub . This structure helps us maintain a Steiner tree of minimum cost in time per update via dynamic programming. We first give a static algorithm for finding a minimum Steiner tree in , and then explain how to maintain this optimum dynamically.
Among all Steiner trees connecting in , we minimize the lexicographic triple
The second coordinate rules out unnecessary free hub spokes, while the third prefers fewer edges. Removing the hub and its incident spokes from yields the surviving forest
If is used in , we define the representative set to consist of the endpoints in of the selected spokes; if is unused, we set . Minimizing (7) guarantees that each component of spans at least one terminal and has a unique representative:
Lemma 4.1 (One representative per retained component). Every component of contains at least one original terminal and exactly one representative. If the hub is used, has at least two components, each connected to the hub by exactly one selected spoke. If the hub is unused, is connected and .
Proof. Every connected component of must contain a terminal in : otherwise, pruning that component and its incident spokes from the tree would preserve connectivity on while strictly improving (decreasing either weight or spoke count), contradicting optimality. If has multiple components, each must be incident to at least one spoke in to reach the others through , and at most one spoke because two spokes into the same component of would create a cycle
Algorithm 1 Fully Dynamic Steiner Tree Algorithm
1: procedure INITIALIZE() 2: Set rounded weights for all . Fix a root terminal and initialize the deterministic dynamic -spanner (Theorem 2.2) and HLS sparsifier with designated set (Theorem 2.5) on (under ). 3: Call STARTPHASE().
4: procedure STARTPHASE() ▷ invoked at initialization and every updates 5: Delete each from the HLS sparsifier to reset the designated set to , and set the active-vertex set to . 6: Copy into a frozen snapshot and run Mehlhorn's construction (Theorem 2.8) on to obtain terminal owners , the owner forest, and an MST of . 7: Expand along the owner forest into the tree (Lemma 2.9). 8: Initialize the top-tree data structure (Section 4.2) on under (all edges enabled, all spokes disabled), and set and .
9: procedure UPDATE(op, uv, w) ▷ see Remark 4.14 for weight changes 10: If op = insert, set . Forward the update to , , and . 11: If uv is inserted: enable spokes in ; for each , insert into the designated set of ; and add to . 12: If is deleted: disable uv and enable spokes in ; for each , insert into the designated set of ; and add to . 13: Select surviving forest (Section 4.2): Update the top-tree DP on to maintain the optimal tree and extract the representatives of . 14: Reconnect components (Section 4.3): Run Mehlhorn's construction on to compute an MST of and record (cost queries return ).
15: procedure MATERIALIZE() 16: Recover the forest by following the top-tree DP backpointers. 17: Run Mehlhorn's construction (Theorem 2.8) on to compute an MST of , and expand along its owner forest in into a tree (Lemma 2.9). 18: In , delete cycles and prune nonterminal leaves to return a Steiner tree for .
through . Finally, if has a single component, it already connects , so selecting any spoke would increase the spoke count without reducing weight; hence is unused and .
In the remainder of this subsection, we show how to compute and maintain . We first decompose into a hierarchy of connected subtrees of height using a top tree [AHdLT05], and assign each edge of and hub spoke of to a unique cluster where the dynamic program chooses whether to include it. Because each cluster interacts with the rest of through at most two boundary vertices in and the hub , we can summarize all partial solutions within a cluster using a constant-size DP table of 22 states. Finally, we show that each edge or spoke update only recomputes the DP tables along a single cluster-to-root path, and that following backpointers from the root extracts the representatives in time.
A fixed top-tree hierarchy on . To maintain under edge and spoke changes, we organize the fixed tree using a top tree [AHdLT05]. This is a balanced binary hierarchy that recursively

Figure 2: An example top-tree hierarchy on the four-edge path shown below it. Each box lists its edges and boundary set. The exposed terminal remains a boundary at every containing cluster. The vertex becomes internal only at the root merge; is already internal at its singleton leaf. The hub and spokes are absent from this hierarchy.
merges adjacent connected edge sets of into larger pieces. A node of the hierarchy represents a cluster: a connected set of edges of and their endpoints. The leaves represent individual edges of . Two sibling clusters have disjoint edge sets and share exactly one vertex.
To describe how a cluster connects to the rest of , we identify its boundary vertices. A vertex of a cluster is a boundary vertex (written ) if it is incident to an edge of or equals the fixed root terminal , which we designate as an external boundary vertex [AHdLT05]. Keeping in for every cluster containing it (even when no edge of is incident to ) ensures that at the root cluster we have and all terminals in are connected to .
By [AHdLT05], building the hierarchy on the edges of and exposing takes time and produces clusters of height such that every cluster has , as illustrated in Figure 2. Crucially, we build this hierarchy on all edges of (including disabled ones), and the hub spokes are not part of the hierarchy. Whether an edge or spoke is enabled determines whether it can be selected by our dynamic program, without altering the shape or boundary sets of the clusters; thus, the cluster tree itself remains fixed throughout the phase, and only the clusters' DP entries change upon updates.
Assigning each edge and spoke to a unique cluster. As our bottom-up dynamic program moves up the hierarchy, it builds partial Steiner trees by choosing whether to include or omit each enabled edge of . For edges of , this choice happens at the leaves. Because the hub spokes are not part of the top tree on , however, we must specify at which cluster the dynamic program chooses whether to include each spoke , so that every spoke is considered exactly once before its endpoint disappears from the cluster boundary. We have
-
Each edge is chosen (included or omitted) at its singleton leaf cluster .
-
Each potential spoke with is chosen at the unique cluster where first stops being a boundary vertex, i.e., the smallest cluster containing all edges of incident to . Once all edges of incident to lie inside a cluster, will never appear on the boundary of any ancestor cluster. This cluster is either a singleton leaf if (such as in Figure 2) or the merge of two child clusters and sharing once no edge incident to remains outside . The root spoke is chosen at the root cluster .
During a merge of two sibling clusters, only their single shared vertex can stop being a boundary vertex, so each merge introduces at most one spoke choice (plus at the root). For each edge of and spoke, we store a pointer to the cluster where its choice is made, allowing that cluster's DP table to be located in time when the edge or spoke is enabled or disabled.
Cluster states and dynamic-programming transitions. To build a Steiner tree connecting to , the dynamic program maintains partial solutions at each cluster by selecting enabled edges of the cluster and enabled spokes whose decisions are made in that cluster or its descendants. Once all choices inside have been made, vertices inside can connect to the rest of outside only through the boundary vertices (via edges of outside ) or through the hub (via spokes outside ). We therefore call
the interfaces of . For a partial solution inside to be extendable to a valid Steiner tree of , it must satisfy two basic conditions:
-
Connectivity: Every terminal in must be connected to at least one interface in . Otherwise, since no edge outside can ever touch an internal vertex of , that terminal would be permanently trapped inside with no way to reach . (Because remains in for every cluster containing it, any terminal already connected to automatically satisfies this condition.)
-
Acyclicity: The edges and spokes selected within must contain no cycle.
A feasible partial solution inside interacts with the rest of as follows. If a component inside contains a terminal, edges outside must eventually connect it to all other terminal-bearing components, and they can reach it through any interface in belonging to that component; conversely, if two interfaces in already lie in the same component inside , connecting them again outside would create a cycle.
We therefore encode a partial solution in by partitioning its interfaces into connected components within and assigning each group a terminal bit equal to 1 if that component in contains a terminal in , and 0 otherwise. For instance, when , the states
express different connectivity needs: in the first state, and lie in separate terminal-bearing components inside , so edges outside must eventually connect both and ; in the second state, and are already joined inside , so connecting through either or suffices to reach all terminals in their shared component. With up to three interfaces , there are at most 22 states:
| Grouping | Encodings | Number of states |
|---|---|---|
| Three separate groups | ||
| Two groups | ||
| One group | 2 |
Each cluster's DP table stores, for each state, the minimum cost triple (7) over all feasible partial solutions inducing that state (or if none exists), together with backpointers to the local edge/spoke choices and child states achieving it. We now describe how to compute these DP tables bottom-up in three stages: initializing singleton leaves, merging sibling clusters, and selecting the final tree at the root.
-
Singleton leaves. A leaf cluster with has at most two edges assigned to it ( and, for any endpoint , the spoke ), giving at most four enabled subsets (or at most eight if the singleton is also the root and decides ). We reject any subset that leaves a terminal endpoint of with no interface in . For each feasible subset, we record its induced partition and terminal bits on with cost if is selected (and otherwise), plus per selected spoke, keeping the minimum cost and local choices for each state in time.
-
Internal merges. To compute the table of from its children and sharing boundary vertex , we enumerate the at most combinations of finite-cost child states and the local spoke choice at if (or at the root to also choose ). Using only the recorded interface groups and terminal bits of and (without examining internal vertices or paths), we unite the groups connected through , , or , OR their terminal bits, and apply two feasibility checks:
(i) Acyclicity: Because and share no edges of or previously chosen spokes and overlap only at and , a cycle arises if and only if and already belong to the same group in both and (e.g., and , where each child provides a distinct path), or belong to the same group in one child while the spoke is also selected (or, at the root, and already lie in the same merged group when is selected). Any such combination is rejected.
(ii) No stranded terminals: If becomes internal (), its merged group cannot be reached by any edges outside and must therefore contain at least one surviving interface in whenever its merged terminal bit is 1 (rejecting, e.g., and when and is omitted, since loses its last interface). For every combination passing both checks, we project its partition onto by dropping if (for example, merging and with and omitted yields ) and update that state's table entry in time with the sum of the two child cost triples plus per selected local spoke.
- Root selection. At the root , where , we accept the states in which there is a single terminal-bearing group and it contains —namely (when the hub is used) and (when the hub is unused), whereas is rejected because its terminals lie in two disconnected components—and take the minimum cost triple over the accepted states.
Lemma 4.2 (Static top-tree DP on ). Given the top-tree hierarchy on , the DP tables of all clusters can be computed in time and space, and the root table returns a Steiner tree connecting in that minimizes (7).
Proof. The leaf and merge rules reject cycles and stranded terminals, and the root check requires all terminals to be connected to , ensuring feasibility. Optimality follows by induction on the cluster tree: any two partial solutions within a cluster that induce the same partition and terminal bits on are interchangeable with respect to any completion outside , and the transitions exhaust all local edge and spoke choices. Since there are clusters and each table has states updated in time, total time and space are .
Dynamic maintenance and representative extraction. Because the top-tree hierarchy on has height and remains fixed throughout the phase, toggling the availability of a single edge of or spoke only requires recomputing the DP tables along the path from its assigned cluster to the root, updating tables in time each. Since each graph update in toggles edges and spokes in , maintaining takes time per update.
Lemma 4.3 (Dynamic maintenance on ). The top-tree DP can be initialized at the start of a phase in time and space, maintains the exact optimum minimizing (7) in time per edge or spoke toggle, and supports:
(i) reading in time at the root;
(ii) extracting the representative set in time; and
(iii) reporting the edges of in time.
Proof. Constructing the top-tree hierarchy on and exposing takes time [AHdLT05], and initializing all DP tables takes time and space by Lemma 4.2. Each availability toggle affects only the ancestors of the edge's or spoke's assigned cluster, each recomputed in time, and is stored at the root.
To extract without listing , we inspect the optimal root entry: if its spoke count is zero, we return in time; otherwise, we follow its backpointers down the hierarchy, reporting locally selected spoke endpoints and recurring only into child entries with positive spoke count. Since each of the selected spokes is reached along a root-to-cluster path of length , this takes time.
Similarly, to report , we follow backpointers from the root and recurse only into child entries whose -edge count (total edges minus spokes in (7)) is positive, taking time.
In our algorithm, we initialize the top-tree hierarchy at the beginning of each phase with all edges of enabled and all spokes disabled. Each graph update generates only edge and spoke toggles, so maintaining the DP takes time per update. Moreover, always contains a feasible Steiner tree: whenever an edge of is disabled, the spokes and are enabled, providing the replacement path . Replacing disabled edges in by these paths preserves connectivity among all terminals. Thus, a connected subgraph containing always exists in .
4.3 Reconnecting Surviving Components
The forest already connects all original terminals within each of its connected components; by Lemma 4.1, reconnecting those components into a Steiner tree for reduces to connecting their representatives in the current graph . Running Mehlhorn's terminal-MST algorithm on or even on the current spanner after every update would be too slow for sublinear update time. Instead, we decouple per-update cost estimation from tree reporting:
(i) after each update, we run Mehlhorn's algorithm on the explicit HLS distance sparsifier (which has only vertices and edges) to compute an MST of and update the reconnection cost estimate ; and
(ii) because is a non-subgraph sparsifier whose edges are virtual shortcuts rather than edges of , whenever an explicit Steiner tree is requested we instead run Mehlhorn's construction and coherent expansion on the current dynamic spanner with terminal set to obtain a tree connecting .
Below, we first show how to maintain a designated vertex set in that always contains while changing by only vertices per graph update, and then describe how to estimate the reconnection cost on and materialize the reconnection tree on .
Maintaining a larger designated set. Using itself as the sparsifier's designated set would be costly: the representative set extracted from may change substantially after each graph update, causing the top-tree DP to switch which components of connect to the hub, changing vertices of at once. Instead, as the sparsifier's designated set, we use
containing the root terminal and all active vertices accumulated so far in the current phase. Since every enabled spoke has its -endpoint in (and when no spoke is used), we always have , so the distance guarantees of on automatically hold for all pairs in . Moreover, changes by only vertices per graph update: we initialize at the start of the algorithm, insert the at most two newly active vertices into after each update in amortized time (Theorem 2.5), and remove the active vertices from the ending phase at each phase boundary in total time (or amortized time per update). Throughout each phase, , so Theorem 2.5 guarantees
Representative reconnection. After extracting from the top-tree DP, we run Mehlhorn's construction (Theorem 2.8) on the sparsifier with terminal set (running multi-source Dijkstra from rather than all of or ). This computes an exact MST of in deterministic time, and we store the cost upper bound . When an explicit Steiner tree is requested, we run Mehlhorn's construction (Theorem 2.8) on the current spanner with terminal set to compute an MST of , coherently expand along its owner forest in into a tree (Lemma 2.9), and in delete cycles and prune leaves outside .
Lemma 4.4. Maintaining the designated set in the HLS sparsifier takes amortized time per graph update and amortized time for the vertex deletions at each phase boundary, ensuring and throughout. After each update, computing the MST of and updating the cost estimate takes deterministic time.
4.4 Approximation Analysis
We now turn to analyzing the approximation factor achieved by our algorithm against the optimum in the current graph . We bound the approximation factor in two steps. In Section 4.4.1, we first show that the surviving forest has weight at most , and in Section 4.4.2 we show that the tree obtained by Mehlhorn's construction on the current spanner reconnects the component representatives in at cost bounded by the scaled sparsifier MST weight and proportional to . Combining the surviving forest with this reconnection tree establishes our constant-factor approximation guarantee for integer weights (Theorem 4.9), which Lemma 4.10 then extends to polynomially bounded real weights.
4.4.1 Bounding the Surviving Forest Cost
Consider a minimum Steiner tree connecting R in . Removing all newly inserted edges (i.e., those inserted during the current phase) from leaves components consisting only of surviving phase-start edges of . Because hub spokes have weight zero in (their reconnection cost is paid in Section 4.4.2), the weight of in equals the weight of its -edges. Moreover, since is a minimum-weight Steiner tree in , we can upper-bound by using the surviving components of to construct a feasible Steiner tree in of weight at most .
The next lemma shows how to route each terminal-bearing component of in the frozen terminal metric , so that its terminals are connected both to one another and to an active terminal , at total cost at most . Rather than doubling all edges of in a closed tour, we traverse from an endpoint of a newly inserted edge to a terminal and use the weight along the path to pay for routing from to its nearest terminal in .
Lemma 4.5. Suppose uses at least one newly inserted edge. Let K be a terminal-containing component after all such edges are removed. Each such K contains a vertex x incident to a removed newly inserted edge, whose owner in the frozen spanner S has an enabled spoke . The terminals , together with , are spanned by a connected subgraph in of weight at most .
Proof. First, such an endpoint must exist. Because is a tree and at least one newly inserted edge is removed, at least two components remain. Each component was connected to the other components only through removed newly inserted edges, so it contains at least one vertex incident to such an edge. The owner of in the frozen spanner was added to when that edge was inserted, so the spoke is available.
Next, we fix any terminal . Since is a component obtained by deleting edges from the tree , it is also a tree; let be the length of its unique path. Starting at , we progress along this path: at each path vertex, we first explore every subtree attached outside the path by a depth-first traversal, returning to that vertex before advancing to the next path vertex, and at we finish exploring its attached subtrees and stop. This walk, denoted by , visits every vertex of , traversing each path edge once and every other edge twice, as illustrated in Figure 3. Its length is
Every edge of survives from . For each traversal of an edge in , we replace it by a shortest path in the frozen spanner , which has length
Let be the resulting walk in , obtained by concatenating the shortest paths that replace successive edge traversals of . Summing over the edge traversals of , with repetitions, gives

Figure 3: After removing the newly inserted edge , its endpoints lie in surviving components and , and their frozen owners have enabled zero-weight spokes to . In , the unique path is highlighted in blue and has length . At each vertex on the blue path, the red walk explores the off-path subtrees and returns to that vertex before moving to the next vertex. At , it explores the remaining subtrees, returns to , and stops. Path edges are traversed once and all other edges twice, giving length .
The shortest path from to in the frozen spanner has length
Concatenating this shortest path in with yields a walk in that begins at and visits every terminal in , of total length at most
The subtraction in the walk pays for the shortest path from to in .
Finally, since this walk in starts at the terminal and visits all terminals in , we list the visited terminals of in order of visit (ignoring consecutive repetitions of the same terminal) and replace the walk segment between each consecutive pair by the metric edge of weight in . Because is at most the length of the walk segment in between and , the resulting subgraph in spans and has weight at most (9).
Lemma 4.5 connects the terminals of each surviving component of to an active terminal using edges of the full terminal metric , and the enabled spoke links all these active terminals through the hub . To turn this into a valid Steiner tree inside , we use the MST augmentation property (Lemma 2.10) to replace the clique edges of with edges of the phase-start terminal MST , coherently expand those edges into paths in (Lemma 2.9), and bypass any deleted edge of via the zero-weight spokes .
Lemma 4.6. At any step of a phase, the surviving forest satisfies
Proof. First suppose that contains at least one newly inserted edge. For each terminal-containing component of after removing newly inserted edges, Lemma 4.5 provides a connected subgraph in spanning of weight at most together with an enabled spoke . Taking the union of these subgraphs and the set of corresponding spokes over all such components yields a connected subgraph spanning . Since spokes have weight zero in and the components are edge-disjoint subgraphs of , we have
Because is an MST of and is a connected subgraph of spanning , Lemma 2.10 implies that an MST of satisfies
Now we map into the auxiliary graph . By Lemma 2.9, replacing the -edges of by their coherent routes in (while keeping the spokes of in ) produces a connected subgraph of spanning of weight at most . If any edge used by this subgraph was deleted during the phase , then both endpoints have enabled zero-weight spokes and in ; replacing each such deleted edge by the two-spoke path preserves connectivity on without increasing weight. Removing cycles from the resulting connected subgraph yields a feasible Steiner tree in with .
In the remaining case where contains no newly inserted edge, we have . By the metric-MST bound (Lemma 2.6) and the fact that is a -spanner of ,
Expanding into and replacing any deleted edge by the zero-weight path as above again yields a feasible Steiner tree in with .
In either case, since minimizes weight among all Steiner trees connecting in and its spokes have weight zero, removing the spokes from leaves with
4.4.2 Bounding the Representative Reconnection Cost
We now bound the weight of the tree (and the stored estimate ) used to reconnect the surviving components of through their representatives . Because may include non-terminal vertices of , we first bound the optimal cost of connecting in in terms of (Lemma 4.7), and then show that and connect within a factor.
Lemma 4.7. At any step t of a phase, the minimum Steiner tree weight for the representative set in satisfies
Proof. By Lemma 4.1, each representative in belongs to a component of that also contains a terminal in . Consequently, the union of with a minimum Steiner tree for in connects all vertices of and has weight at most , proving the first inequality; Lemma 4.6 then gives the second.
Having related to , we next bound both the scaled sparsifier MST weight and the weight of the tree obtained by coherently expanding the terminal-metric MST of .
Lemma 4.8. At any step t of a phase, the tree connects all representatives in in and satisfies
Proof. Let be an MST of , used only for analysis. Since both and are complete graphs on , the edge set of also forms a spanning tree of , where each edge has weight instead of . Therefore,
(11)
Similarly, since is an MST of and is a spanning tree on the same vertex set , expanding coherently in (Lemma 2.9) produces a tree connecting with
Combining the bound on the surviving forest (Lemma 4.6) with the bounds on the reconnection tree and stored cost estimate (Lemmas 4.7 and 4.8) yields our approximation guarantee for integer-weighted graph .
Theorem 4.9. For positive polynomially bounded integer edge weights, the Steiner tree maintained by the algorithm in and the stored cost estimate satisfy
Proof. The union connects all original terminals. Removing cycles to obtain a spanning tree and then pruning leaves outside gives a Steiner tree for satisfying
(Lemma 4.8)
(Lemmas 4.6 and 4.8)
(Lemma 4.7)
Thus, upper-bounds the reported tree's cost and is a constant-factor approximation to the current optimum.
Returning to real weights. We now transfer the approximation guarantee from the rounded integer weights (for fixed ) to the original real weights at the cost of a factor.
Since and , every edge satisfies
For fixed , the maximum integer weight remains polynomial in . Moreover, because rounding only rescales edge weights, both instances share the exact same set of feasible Steiner trees.
Lemma 4.10. A -approximation in the integer-weighted instance gives a -approximation in the original real-weighted instance. Rounding takes initial time and additional time per update.
Proof. Summing (13) over the edges of any subgraph gives . Let be the -approximate Steiner tree returned in the integer instance (with optimum ), and let be an optimal Steiner tree under the original weights . Since is also a feasible Steiner tree in the integer instance, , and therefore
Evaluating takes time per edge, giving initial time and time per edge update.
Taking , we get approximation factor .
Under the original real weights, return for a cost-estimation query; this upper-bounds the reported tree's cost and satisfies the same approximation guarantee.
4.5 Time and Space Analysis
We now analyze the running time and space usage of our fully dynamic algorithm (Algorithm 1) for fixed approximation parameters with . In Section 4.5.1, we first bound the running time of each of the four procedures (initialization, phase reconstruction, single-update processing, and tree reporting) in terms of the phase length , and then choose to balance their running times. We bound the space usage in Lemma 4.12.
4.5.1 Running Time Analysis
Lemma 4.11. For fixed parameters and phase length , the procedures of Algorithm 1 satisfy the following deterministic time bounds:
(i) Initialization: time.
(ii) Phase reconstruction: amortized update time over B updates.
(iii) Single-update processing: amortized time per update.
(iv) Tree reporting: worst-case time per query.
Proof. We establish the four bounds in order.
Initialization. Rounding the initial edge weights takes time (Lemma 4.10), initializing the dynamic spanner takes time (Theorem 2.2), and initializing the HLS sparsifier with designated set takes time (Theorem 2.5). For the initial phase reconstruction on , the frozen spanner snapshot has at most edges and no active vertices need to be removed from a prior phase, so STARTPHASE takes time as shown next, which is absorbed by .
Phase reconstruction. Let be the number of edges in the frozen spanner snapshot at the start of a phase, where by Theorem 2.2. Copying and running Mehlhorn's construction to compute the owner forest and terminal-metric MST takes time (Theorem 2.8), coherently expanding into the tree takes time (Lemma 2.9), and building the top-tree hierarchy on and initializing its DP tables takes time (Lemmas 4.2 and 4.3). Resetting the sparsifier's designated set to removes the active vertices from the preceding phase in amortized time (Lemma 4.4). Charging each rebuild after the first to the updates of the preceding phase gives amortized time per update.
Single-update processing. On each edge update, rounding its weight takes time (Lemma 4.10), updating the dynamic spanner takes amortized time (Theorem 2.2), updating the top-tree DP on for the toggled edges and spokes takes time, and extracting the representative set takes time (Lemma 4.3). Forwarding the edge update to and inserting the newly active vertices into takes amortized time (Theorem 2.5 and Lemma 4.4), and running Mehlhorn's construction on to update the cost estimate takes time (Lemma 4.4). Summing these costs gives amortized time per update.
Tree reporting. When an explicit Steiner tree is requested, recovering the edges of the forest via the top-tree DP backpointers takes time (Lemma 4.3). Running Mehlhorn's construction on the current spanner with terminal set and coherently expanding the resulting terminal-metric MST into the tree takes worst-case time (Theorems 2.2 and 2.8, and Lemma 2.9). Since and have edges in total, removing cycles and pruning non-terminal leaves in takes time, giving worst-case reporting time.
Thus, any sequence of updates incurs total update time beyond initialization, corresponding to an amortized update time of
We balance the first and third terms by setting
which (since and imply ) gives deterministic amortized update time .
Lemma 4.12. Let be the current edge count. For fixed constants with and our choice of in (15), the total space used is
Proof. Storing the current graph takes space; maintaining the dynamic spanner , its frozen snapshot , and Mehlhorn's workspace on and takes space (Theorems 2.2 and 2.8); maintaining the HLS sparsifier takes space (Theorem 2.5); and storing the owner forest, , , and the top-tree hierarchy with its DP tables takes space (Theorem 2.8 and Lemma 4.3). Within a phase, maintaining and Mehlhorn's workspace on takes space (Theorem 2.8 and Lemma 4.4). Summing these bounds gives total space
For and , we have , leaving .
Combining Theorem 4.9 and Lemma 4.10 with Lemmas 4.11 and 4.12 yields the full parameterized guarantee for our fully dynamic algorithm.
Theorem 4.13 (Parameterized version of Theorem 1.1). Let be a connected -vertex fully dynamic undirected graph with edges initially, a terminal set , and polynomially bounded positive edge weights over all updates. For any fixed constants with , setting and gives a deterministic fully dynamic algorithm (against an adaptive adversary) that maintains -approximate Steiner tree for in (where and are the stretch factors of Theorems 2.2 and 2.5) with:
• amortized update time,
• initialization time, and
• space, where is the current number of edges.
After every update, cost queries take worst-case time, and reporting an explicit Steiner tree takes worst-case time.
Proof. Approximation for both the reported tree and the -time cost estimate follows from Theorem 4.9 and Lemma 4.10. Initialization, amortized update, and worst-case reporting times follow from Lemma 4.11 and (14)–(15), and space follows from Lemma 4.12.
In particular, for any fixed , choosing and yields amortized update time, initialization time, space, and worst-case reporting time, proving Theorem 1.1.
Remark 4.14 (Edge-weight changes). To update the weight of an edge , we simply delete and immediately reinsert it with its new weight before running the top-tree extraction and Mehlhorn reconnection in UPDATE. Deleting first avoids creating parallel edges, and even if is a bridge so that the graph is momentarily disconnected between the two internal operations, the underlying spanner and HLS sparsifier support disconnected graphs without issue, while Mehlhorn's reconnection on only runs once is back in place. In , the deletion disables if it belonged to (so never uses a stale phase-start weight) and enables its endpoint spokes , while the insertion enables the owner spokes to account for the new weight, increasing the per-update work and by at most a constant factor.
A Insertion-only Implementation and Analysis
This appendix provides the implementation details and analysis of the insertion-only algorithm in Section 3. We begin in Appendix A.1 with the maintenance of our Steiner augmentation structures: the distance and next-hop matrices of the auxiliary multigraph on the endpoint set , and the augmented terminal MST on . We then establish the approximation guarantee in Appendix A.2 and analyze the running time and space usage in Appendix A.3. For fixed integers and constant , and denote the spanner stretch (Theorem 2.1) and distance-oracle stretch (Theorem 2.3), respectively.
A.1 Implementation
At the start of each phase, the frozen structures on the spanner are built directly using Theorems 2.8 and 2.3. Within a phase, processing each edge insertion consists of two steps: updating shortest-path distances in the auxiliary multigraph on the endpoint set , and propagating the resulting candidate-edge weight decreases to the augmented terminal MST on .
Maintaining the auxiliary multigraph. Recall that is the auxiliary multigraph on the endpoint set , containing newly inserted edges in and virtual edges supplied by the distance oracle on . To maintain exact shortest-path distances in while supporting path recovery in time proportional to the number of hops when reporting a Steiner tree, we maintain two matrices on the endpoint set . For each pair , the distance matrix stores (abbreviated below). For , the next-hop matrix stores the first edge of a shortest path from to , satisfying
For identical endpoints, we set and leave undefined. Since all edge weights are strictly positive and is finite, no vertices are repeated and the recovered path must reach its destination.
Suppose an edge of weight is inserted. It may introduce zero, one, or two new endpoints into . We ensure that virtual edges connecting and to all existing vertices in are in place before routes crossing are evaluated by processing each new endpoint first. We compute its distances to existing endpoints in Step 1 and update distances among existing endpoints in Step 2, before inserting in Step 3. Below, and denote the distance matrices before and after each operation, respectively.
- Distances involving a new endpoint. Let be a new endpoint and the endpoint set before adding it. We query and cache the distance estimates for all , and add the corresponding virtual edges to . For each , we set
Indeed, since and , any shortest path in must pass through at least one vertex in . Let be the first vertex of encountered along the path, splitting it into a prefix and an suffix. Because every edge inserted earlier has both endpoints in , the prefix cannot use any newly inserted edge. Thus, with no prior phase insertions affecting , its distance is given by the virtual edge weight . Moreover, because and the suffix does not revisit , its corresponding distance on is . Since may be any vertex in , minimizing over all gives the new distance on , where covers paths that reach without visiting any other vertex in since . Finally, we set .
If attains the minimum in (17), we set to the virtual edge supplied by the distance oracle on , and in the reverse direction we set to if and to the virtual edge otherwise. Since and each distance-oracle query takes time, querying the distance estimates takes time. Across all endpoints , evaluating the minimum in (17) takes time in total. Each corresponding next-hop entry takes constant time to set. Thus this step takes time.
- Distances between existing endpoints. Adding may also shorten paths between vertices already in . For every , we set
A shortest path either avoids , in which case its best possible length is , or passes through , in which case its length is . The distances involving were computed in the previous step. If the route through is strictly cheaper, we set , and otherwise we retain . This step takes time, since updating the distance and next-hop entries for each of the endpoint pairs takes constant time.
- Inserting the edge. Once both endpoints are present, we insert with weight and set, for every pair ,
A shortest path either avoids e or crosses it in either direction. These are precisely the three expressions above. All entries on the right of (19) are read from the matrix obtained after introducing the endpoints but before inserting e.
We set if the first expression in (19) achieves the minimum; if the second does, we set when and when , and we apply the symmetric rule for the third expression (breaking ties in favor of the earliest expression in the displayed order of (19)). Updating all endpoint pairs takes time, since evaluating the three expressions and setting the corresponding next-hop entry take constant time per pair.
Lemma A.1. With distance-oracle query time , processing one edge insertion maintains the exact distance and next-hop matrices of in time using space.
Proof. An insertion introduces at most two new endpoints to . Summing the bounds from the three steps above gives total time . The distance and next-hop matrices use space; keeping separate matrices for the values before and after each update does not change this bound. Storing also takes space, since it contains at most inserted edges and one virtual edge supplied by the distance oracle for each pair of endpoints in , where . Thus the total space is .
A.1.1 Maintaining the MST on
Once the updated distances in are available, we propagate any improvements to the candidate edges between terminal owners and update the maintained MST of . Since is fixed during a phase and insertions only decrease , candidate weights in (3) are monotonically non-increasing, which allows us to maintain via standard dynamic-tree edge replacements [ST81]. Specifically, for each unordered pair with distinct owners and , we evaluate , adding the candidate edge to if the pair is new or decreasing its weight otherwise. If a candidate edge with decreased weight already belongs to , we update its weight in directly; otherwise, we query the maximum-weight edge on the path in and replace it with the candidate edge whenever the candidate edge is strictly lighter, maintaining the edge set of and its total weight explicitly so that cost queries take worst-case time.
Lemma A.2. Maintaining the MST of in a link-cut tree [ST81] takes initialization time at the start of a phase, amortized time per edge insertion within a phase, and space.
Proof. A link-cut tree supports finding a maximum-weight edge on a tree path, updating edge weights, and cutting and linking tree edges in amortized time per operation [ST81]. At the beginning of each phase, we initialize it with by inserting the tree edges using link operations in time. During the phase, each candidate-edge insertion or weight decrease requires at most one path-maximum query, one cut, and one link—only a constant number of link-cut tree operations—and therefore takes amortized time. Since there are endpoint pairs, maintaining takes amortized time per edge insertion. The link-cut tree uses space. Together with and the candidate edges in , MST maintenance uses space.
A.2 Approximation Analysis
We now show that provides a -approximation throughout each phase. Let be the graph at the beginning of the phase and the set of edges inserted during the phase, so is the current underlying graph. Define , where is the terminal metric closure of the frozen spanner snapshot , and contains the candidate edges maintained during the phase. Because any shortest path in that uses newly inserted edges in must enter and leave the endpoint set at some first and last vertices , its middle subpath between and can be approximated in and lifted to terminals via , while its outer portions in are approximated by . This gives the following terminal-distance comparison, where is the spanner stretch and is the distance-oracle stretch.
Lemma A.3 (Terminal-distance comparison). For every pair of terminals ,
Proof. Every edge of corresponds to a walk in of equal weight, and each candidate edge in for an endpoint pair represents a walk in of no greater weight. The predecessor paths from to and from to have weights and , denoting the exact distances from and to their respective owners in . Furthermore, any shortest path in expands—through direct edges and the path-reporting oracle—into a walk in of weight at most . Combining these segments yields a total route weight of at most . Consequently, every route in admits a walk in of no greater weight, establishing the lower bound.
For the upper bound, let be a shortest path in . We consider two cases.
- The path uses no edge inserted during the phase. Then lies in , and the metric edge in has weight
- The path uses at least one edge inserted during the phase. Let and be the first and last vertices of the endpoint set encountered along , respectively, which decomposes as
where runs from to , from to , and from to . Both outer portions contain only edges of : an inserted edge there would have an endpoint in before or after .
Let and , and consider the walk in given by
where the first and last steps use metric edges of , while the middle step uses the candidate edge in associated with (omitting any step between identical terminals). The total weight is at most
Eliminating any cycles yields a simple path in of no greater weight. We bound the three portions of the displayed expression separately.
For the left portion, since is a terminal and is the nearest terminal to in , we have . By the triangle inequality, . Therefore,
Symmetrically, the right portion satisfies
For the middle portion, recall that is the exact shortest-path distance in , whose edges are either newly inserted edges or virtual edges supplied by the distance oracle on . The path may alternate arbitrarily between old and newly inserted edges. Retaining each newly inserted edge and replacing each consecutive group of old edges, with endpoints , by the virtual edge (since ) gives
Let and be the total weights of old and newly inserted edges in , respectively. These replacements give an route in of weight at most : replacing old-edge groups incurs a factor of at most , while newly inserted edges are used directly in with the same weights as in . As is the shortest distance in , it is no greater than the weight of this route. Therefore,
Adding the bounds gives
which proves the upper bound.
Lemma A.3 shows that approximates pairwise terminal distances in within a factor of . Combining this distance comparison with the metric-MST bound bounds within , while the MST augmentation property ensures that achieves the same weight, i.e., . Expanding the edges of into their underlying walks in yields our -approximate Steiner tree.
Theorem A.4. Expanding the edges of the maintained terminal MST M into walks in G, taking their union, removing cycles, and pruning nonterminal leaves yields a Steiner tree T for R with
Since and , we get approximation factor .
Proof. Let be an MST of the current terminal metric closure . For every edge , Lemma A.3 gives an path in of weight at most . Their union connects all terminals and therefore contains a spanning tree of . Consequently,
Finally, expanding the edges of into walks in (and, for the selected candidate edges in , replacing the union of their shortest paths in by a spanning forest on before expanding virtual edges via the path-reporting oracle), taking their union, removing cycles, and pruning nonterminal leaves preserves terminal connectivity without increasing weight, yielding a Steiner tree with
A.3 Time and Space Analysis
It remains to analyze the running time and space usage for fixed parameters and . We first establish the running time of each routine (initialization, phase reconstruction, single-update processing, and tree reporting) as a function of the phase length , and then choose to balance the update cost. The space usage is bounded in Lemma A.6.
Lemma A.5. For fixed integers , constant , and phase length , the procedures of the insertion-only algorithm satisfy the following time bounds:
(i) Initialization: expected time.
(ii) Phase reconstruction: expected amortized time per insertion over insertions.
(iii) Single-update processing: expected amortized time per insertion.
(iv) Tree reporting: worst-case time per query.
Proof. We establish the four bounds in order.
Initialization. Before the first phase, initializing the dynamic spanner on edges takes expected time (Theorem 2.1). Performing the initial phase reconstruction on the snapshot (where and are initially empty) takes expected time as shown next, giving expected initialization time in total.
Phase reconstruction. Let be the number of edges in the frozen spanner snapshot at the start of a phase, where because is connected and by Theorem 2.1. Copying and running Mehlhorn's construction to obtain the owner forest and terminal-metric MST takes deterministic time (Theorem 2.8), building the path-reporting distance oracle on takes expected time (Theorem 2.3), initializing the link-cut tree with takes deterministic time (Lemma A.2), and clearing the entries of and takes deterministic time. Taking expectations over and the randomized oracle construction gives expected reconstruction time
Charging each reconstruction after the first to the insertions of the preceding phase gives
expected amortized time per insertion.
Single-update processing. On each edge insertion, updating the dynamic spanner takes expected amortized time (Theorem 2.1), updating the distance and next-hop matrices of takes deterministic time (Lemma A.1), and maintaining the augmented terminal MST on takes deterministic amortized time (Lemma A.2). Summing these costs gives expected amortized single-update time .
Tree reporting. To materialize an explicit Steiner tree on query, we first partition the edges of into and in time. Because every candidate edge in connects two terminals in the active owner set of size and is acyclic, the subgraph is a forest on and therefore contains at most candidate edges. Next, we include the stored cross-region edges in for and coherently expand all required owner-forest routes—both from the cross-region endpoints of and from the endpoints associated with —by walking up the rooted owner forest in , marking visited vertices and stopping each walk upon reaching a terminal root or an already marked vertex (as in Lemma 2.9). This traverses each of the at most owner-forest edges at most once, taking time and contributing edges. For each of the fewer than candidate edges in with endpoint pair , we recover a shortest path in of at most hops via Next in total time, and extract a spanning forest on in time. Since is a forest on , it connects every such pair with weight and contains at most edges of . Each edge of is either a newly inserted edge in or a virtual edge expanded into a simple path in of at most edges by the path-reporting oracle in time (Theorem 2.3), so expanding requires fewer than oracle queries and produces edge occurrences in time. Finally, removing cycles and pruning non-terminal leaves across the collected edges takes time, giving worst-case reporting time.
Combining the single-update cost with the amortized phase-reconstruction cost shows that any sequence of insertions takes expected time beyond initialization, corresponding to an expected amortized update time of
Choosing yields expected amortized update time , and tree-reporting time .
Lemma A.6. Let be the current edge count. For fixed integers with and our choice of , the total expected space used is
Proof. Storing the current graph takes space; maintaining the dynamic spanner and its frozen snapshot takes expected space (Theorem 2.1); storing the path-reporting distance oracle on takes expected space (Theorem 2.3); and storing the owner forest and takes space (Theorem 2.8). Within a phase, maintaining takes space (Lemma A.1) and maintaining on takes space (Lemma A.2). Summing these bounds and using gives total expected space
For and , we have , so is absorbed by .
Combining Theorem A.4 with Lemmas A.5 and A.6 yields the full parameterized guarantee for our insertion-only data structure.
Theorem A.7 (Parameterized version of Theorem 1.2). Let be a connected -vertex incremental undirected graph with edges initially, a terminal set , and polynomially bounded positive edge weights over all updates. For any fixed integers and constant , setting phase length gives a randomized insertion-only data structure against an oblivious adversary that maintains a -approximate Steiner tree for in with:
-
expected amortized update time,
-
expected initialization time, and
-
expected space, where is the current number of edges.
After every insertion, the approximation guarantee holds deterministically, cost queries take worst-case time, and reporting an explicit Steiner tree takes worst-case time.
Proof. Approximation follows from Theorem A.4, returning the maintained scalar weight on cost queries in worst-case time. Initialization, amortized update, and worst-case reporting times follow from Lemma A.5 and (22) (since for all and ), and expected space follows from Lemma A.6.
In particular, for any fixed , choosing gives and , establishing Theorem 1.2 (with update time , space , and reporting time . Choosing , , and yields a -approximation in expected amortized update time.
AI Use Statement.
We used GPT-5.6-Sol to learn about the problem and explore candidate constructions. While the main ideas behind the constructions and abstractions are our own, GPT-5.6-Sol was invaluable in exploring proof approaches and in formalizing proof sketches. The authors verified the correctness and originality of all content, including references.
References
[ADD 93] Ingo Althöfer, Gautam Das, David Dobkin, Deborah Joseph, and José Soares. On sparse spanners of weighted graphs. Discrete & Computational Geometry, 9(1):81–100, 1993.
[ADF 07] Giorgio Ausiello, Camil Demetrescu, Paolo Giulio Franciosa, Giuseppe F. Italiano, and Andrea Ribichini. Small stretch spanners in the streaming model: New algorithms and experiments. In Proceedings of the 15th Annual European Symposium on Algorithms (ESA), volume 4698 of Lecture Notes in Computer Science, pages 605–617, 2007.
[AHdLT05] Stephen Alstrup, Jacob Holm, Kristian de Lichtenberg, and Mikkel Thorup. Maintaining information in fully dynamic trees with top trees. ACM Transactions on Algorithms, 1(2):243–264, 2005.
[Bar96] Yair Bartal. Probabilistic approximations of metric spaces and its algorithmic applications. In Proceedings of the 37th Annual Symposium on Foundations of Computer Science (FOCS), pages 184–193, 1996.
[Bar98] Yair Bartal. On approximating arbitrary metrics by tree metrics. In Proceedings of the 30th Annual ACM Symposium on Theory of Computing (STOC), pages 161–168, 1998.
[BFH21] Aaron Bernstein, Sebastian Forster, and Monika Henzinger. A deamortization approach for dynamic spanner and dynamic maximal matching. ACM Transactions on Algorithms, 17(4):Article 29, 2021. Preliminary version in SODA 2019.
[BGRS13] Jarosław Byrka, Fabrizio Grandoni, Thomas Rothvoß, and Laura Sanità. Steiner tree approximation via iterative randomized rounding. Journal of the ACM, 60(1):6:1–6:33, 2013. Preliminary version in STOC 2010.
[BHPG ] Thiago Bergamaschi, Monika Henzinger, Maximilian Probst Gutenberg, Virginia Vassilevska Williams, and Nicole Wein. New techniques and fine-grained hardness for dynamic near-additive spanners. In Proceedings of the ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1836–1855, 2021.
[BK16] Greg Bodwin and Sebastian Krinninger. Fully dynamic spanners with worst-case update time. In Proceedings of the 24th Annual European Symposium on Algorithms (ESA), volume 57 of Leibniz International Proceedings in Informatics (LIPIcs), pages 17:1–17:18, 2016.
[BKS12] Surender Baswana, Sumeet Khurana, and Soumojit Sarkar. Fully dynamic randomized algorithms for graph spanners. ACM Transactions on Algorithms, 8(4):Article 35, 2012.
[BR94] Piotr Berman and Vishwanathan Ramaiyer. Improved approximations for the Steiner tree problem. Journal of Algorithms, 17(3):381–408, 1994. Preliminary version in SODA 1992.
[BS07] Surender Baswana and Sandeep Sen. A simple and linear time randomized algorithm for computing sparse spanners in weighted graphs. Random Structures & Algorithms, 30(4):532–563, 2007.
[BSS22] Sayan Bhattacharya, Thatchaphol Saranurak, and Pattara Sukprasert. Simple dynamic spanners with near-optimal recourse against an adaptive adversary. In Proceedings of the 30th Annual European Symposium on Algorithms (ESA), volume 244 of Leibniz International Proceedings in Informatics (LIPIcs), pages 17:1–17:19, 2022.
[BvdBPG ] Aaron Bernstein, Jan van den Brand, Maximilian Probst Gutenberg, Danupon Nanongkai, Thatchaphol Saranurak, Aaron Sidford, and He Sun. Fully-dynamic graph sparsifiers against an adaptive adversary. In Proceedings of the 49th International Colloquium on Automata, Languages, and Programming (ICALP), volume 229 of Leibniz International Proceedings in Informatics (LIPIcs), pages 20:1–20:20, 2022.
[CGJ ] T.-H. Hubert Chan, Gramoz Goranci, Shaofeng H.-C. Jiang, Bo Wang, and Quan Xue. Fully dynamic algorithms for Euclidean Steiner tree. In Proceedings of the 18th International Conference and Workshops on Algorithms and Computation (WALCOM), volume 14549 of Lecture Notes in Computer Science, pages 62–75, 2024.
[CGL+20] Julia Chuzhoy, Yu Gao, Jason Li, Danupon Nanongkai, Richard Peng, and Thatchaphol Saranurak. A deterministic algorithm for balanced cut with applications to dynamic connectivity, flows, and beyond. In Proceedings of the 61st IEEE Symposium on Foundations of Computer Science (FOCS), pages 1158–1167, 2020.
[CP25] Julia Chuzhoy and Merav Parter. Fully dynamic algorithms for graph spanners via low-diameter router decomposition. In Proceedings of the ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 785–823, 2025. Full version: arXiv:2601.20718.
[EGIN92] David Eppstein, Zvi Galil, Giuseppe F. Italiano, and Amnon Nissenzweig. Sparsification—a technique for speeding up dynamic graph algorithms. In Proceedings of the 33rd Annual Symposium on Foundations of Computer Science (FOCS), pages 60–69, 1992.
[EGIN97] David Eppstein, Zvi Galil, Giuseppe F. Italiano, and Amnon Nissenzweig. Sparsification—a technique for speeding up dynamic graph algorithms. Journal of the ACM, 44(5):669–696, 1997.
[Elk07] Michael Elkin. Streaming and fully dynamic centralized algorithms for constructing and maintaining sparse spanners. In Proceedings of the 34th International Colloquium on Automata, Languages and Programming (ICALP), volume 4596 of Lecture Notes in Computer Science, pages 716–727, 2007.
[FG19] Sebastian Forster and Gramoz Goranci. Dynamic low-stretch trees via dynamic low-diameter decompositions. In Proceedings of the 51st Annual ACM Symposium on Theory of Computing (STOC), pages 377–388, 2019.
[FGH21] Sebastian Forster, Gramoz Goranci, and Monika Henzinger. Dynamic maintenance of low-stretch probabilistic tree embeddings with applications. In Proceedings of the ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1226–1245, 2021. Full version: arXiv:2004.10319.
[FGNS23] Sebastian Forster, Gramoz Goranci, Yasamin Nazari, and Antonis Skarlatos. Bootstrapping dynamic distance oracles. In Proceedings of the 31st Annual European Symposium on Algorithms (ESA), volume 274 of Leibniz International Proceedings in Informatics, pages 50:1–50:16, 2023.
[Fre85] Greg N. Frederickson. Data structures for on-line updating of minimum spanning trees, with applications. SIAM Journal on Computing, 14(4):781–798, 1985. Preliminary version in STOC 1983.
[FRT04] Jittat Fakcharoenphol, Satish Rao, and Kunal Talwar. A tight bound on approximating arbitrary metrics by tree metrics. Journal of Computer and System Sciences, 69(3):485–497, 2004.
[GGK13] Albert Gu, Anupam Gupta, and Amit Kumar. The power of deferral: Maintaining a constant-competitive Steiner tree online. In Proceedings of the 45th Annual ACM Symposium on Theory of Computing (STOC), pages 525–534, 2013.
[GK14] Anupam Gupta and Amit Kumar. Online Steiner tree with deletions. In Proceedings of the ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 455–467, 2014.
[HdLT01] Jacob Holm, Kristian de Lichtenberg, and Mikkel Thorup. Poly-logarithmic deterministic fully-dynamic algorithms for connectivity, minimum spanning tree, 2-edge, and biconnectivity. Journal of the ACM, 48(4):723–760, 2001. Preliminary version in STOC 1998.
[HLS24] Bernhard Haeupler, Yaowei Long, and Thatchaphol Saranurak. Dynamic deterministic constant-approximate distance oracles with worst-case update time. In Proceedings of the 65th IEEE Symposium on Foundations of Computer Science (FOCS), pages 2033–2044, 2024. Full version: arXiv:2402.18541.
[HP99] Stefan Hougardy and Hans Jürgen Prömel. A 1.598 approximation algorithm for the Steiner problem in graphs. In Proceedings of the 10th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 448–453, 1999.
[HRWN15] Jacob Holm, Eva Rotenberg, and Christian Wulff-Nilsen. Faster fully-dynamic minimum spanning forest. In Proceedings of the 23rd European Symposium on Algorithms (ESA), volume 9294 of Lecture Notes in Computer Science, pages 742–753, 2015.
[IW91] Makoto Imase and Bernard M. Waxman. Dynamic Steiner tree problem. SIAM Journal on Discrete Mathematics, 4(3):369–384, 1991.
[KKM13] Bruce M. Kapron, Valerie King, and Ben Mountjoy. Dynamic graph connectivity in polylogarithmic worst case time. In Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1131–1142, 2013.
[KMB81] Lawrence T. Kou, George Markowsky, and Leonard Berman. A fast algorithm for Steiner trees. Acta Informatica, 15:141–145, 1981.
[KMPG24] Rasmus Kyng, Simon Meierhans, and Maximilian Probst Gutenberg. A dynamic shortest paths toolbox: Low-congestion vertex sparsifiers and their applications. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC), 2024.
[KZ97] Marek Karpinski and Alexander Zelikovsky. New approximation algorithms for the Steiner tree problems. Journal of Combinatorial Optimization, 1(1):47–65, 1997.
[LMST26] Yaowei Long, Sepideh Mahabadi, Sherry Sarkar, and Jakub Tarnawski. Online Steiner forest with recourse. In Proceedings of the 53rd International Colloquium on Automata, Languages, and Programming (ICALP), volume 374 of Leibniz International Proceedings in Informatics, pages 141:1–141:25, 2026.
[LOP+15] Jakub Łacki, Jakub Oćwieja, Marcin Pilipczuk, Piotr Sankowski, and Anna Zych. The power of dynamic distance oracles: Efficient dynamic algorithms for the Steiner tree. In Proceedings of the 47th Annual ACM Symposium on Theory of Computing (STOC), pages 11–20, 2015.
[Meh88] Kurt Mehlhorn. A faster approximation algorithm for the Steiner problem in graphs. Information Processing Letters, 27(3):125–128, 1988.
[MPGY26] Simon Meierhans, Maximilian Probst Gutenberg, and Yu-Cheng Yeh. Dynamic connectivity, minimum spanning tree, and 2-edge connectivity with polylogarithmic worst-case update time. In Proceedings of the 67th IEEE Symposium on Foundations of Computer Science (FOCS), 2026. Full version: arXiv:2610.00491.
[NSWN17] Danupon Nanongkai, Thatchaphol Saranurak, and Christian Wulff-Nilsen. Dynamic minimum spanning forest with subpolynomial worst-case update time. In Proceedings of the 58th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 950–961, 2017.
[PS89] David Peleg and Alejandro A. Schäffer. Graph spanners. Journal of Graph Theory, 13(1):99–116, 1989.
[PS00] Hans Jürgen Prömel and Angelika Steger. A new approximation algorithm for the Steiner tree problem with performance ratio 5/3. Journal of Algorithms, 36(1):89–101, 2000. Preliminary version in STACS 1997.
[RK23] Hemraj Raikwar and Sushanta Karmakar. An Incremental Algorithm for -Approximate Steiner Tree Requiring Update Time. In Proceedings of the 11th International Symposium on Computing and Networking (CANDAR), pages 168–174, 2023.
[RSK25] Hemraj Raikwar, Harshil Sadharakiya, and Sushanta Karmakar. Dynamic algorithms for approximate Steiner trees. Concurrency and Computation: Practice and Experience, 37(6–8):e70040, 2025.
[RZ05] Gabriel Robins and Alexander Zelikovsky. Tighter bounds for graph Steiner tree approximation. SIAM Journal on Discrete Mathematics, 19(1):122–134, 2005. Preliminary version in SODA 2000.
[ST81] Daniel D Sleator and Robert Endre Tarjan. A data structure for dynamic trees. In Proceedings of the thirteenth annual ACM symposium on Theory of computing, pages 114–122, 1981.
[TZ05] Mikkel Thorup and Uri Zwick. Approximate distance oracles. Journal of the ACM, 52(1):1–24, 2005.
[vdBCK23] Jan van den Brand, Li Chen, Rasmus Kyng, Yang P. Liu, Richard Peng, Maximilian Probst Gutenberg, Sushant Sachdeva, and Aaron Sidford. A deterministic almost-linear time algorithm for minimum-cost flow. In Proceedings of the 64th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 503–514, 2023.
[Zel93] Alexander Zelikovsky. An 11/6-approximation algorithm for the network Steiner problem. Algorithmica, 9(5):463–470, 1993.