Abstract
In this paper we study the Steiner tree problem over a dynamic set of terminals. We consider the model where we are given an $n$-vertex graph $G=(V,E,w)$ with positive real edge weights, and our goal is to maintain a tree which is a good approximation of the minimum Steiner tree spanning a terminal set $S \subseteq V$, which changes over time. The changes applied to the terminal set are either terminal additions (incremental scenario), terminal removals (decremental scenario), or both (fully dynamic scenario). Our task here is twofold. We want to support updates in sublinear $o(n)$ time, and keep the approximation factor of the algorithm as small as possible. We show that we can maintain a $(6+\varepsilon)$-approximate Steiner tree of a general graph in $\tilde{O}(\sqrt{n} \log D)$ time per terminal addition or removal. Here, $D$ denotes the stretch of the metric induced by $G$. For planar graphs we achieve the same running time and the approximation ratio of $(2+\varepsilon)$. Moreover, we show faster algorithms for incremental and decremental scenarios. Finally, we show that if we allow higher approximation ratio, even more efficient algorithms are possible. In particular we show a polylogarithmic time $(4+\varepsilon)$-approximate algorithm for planar graphs. One of the main building blocks of our algorithms are dynamic distance oracles for vertex-labeled graphs, which are of independent interest. We also improve and use the online algorithms for the Steiner tree problem.
Introduction
The Steiner tree problem is a fundamental challenge in combinatorial optimization, particularly relevant in network design. Given a weighted graph and a subset of vertices called terminals, the goal is to find a tree of minimum weight that spans all terminals. In many real-world applications, such as multicast routing in computer networks, the set of terminals is dynamic—users join and leave the network frequently.
While the static Steiner tree problem is NP-hard, efficient constant-factor approximations exist. However, in a dynamic setting, recomputing the tree from scratch after every update is computationally prohibitive for large networks, typically requiring at least linear time $O(n)$. This paper addresses the challenge of maintaining an approximate Steiner tree in sublinear $o(n)$ time per update, breaking a long-standing algorithmic barrier.
Methodology
The authors achieve sublinear update times by decoupling the high-level tree maintenance from the underlying graph metric queries.
Dynamic Vertex-Color Distance Oracles
A core contribution of this work is the development of "dynamic vertex-color distance oracles." In this framework, vertices are assigned colors representing different connected components or terminal sets. The oracle efficiently answers queries regarding the distance from a vertex to the nearest vertex of a specific color. Crucially, it supports dynamic updates, such as merging or splitting color sets, which is essential as the Steiner tree structure evolves.
Lazy Deletions and MSF Maintenance
To handle terminal removals efficiently, the algorithm employs a "lazy deletion" strategy. When a terminal is removed, it is not immediately excised from the tree if it serves as a high-degree hub connecting other active terminals. This prevents costly cascading reconnections. The algorithm maintains a sparse proxy graph of the network using the distance oracles and applies dynamic Minimum Spanning Forest (MSF) algorithms to this proxy to maintain the Steiner tree.
Main Results
The paper presents a suite of algorithms tailored to different graph classes and update scenarios. The results demonstrate a significant improvement over previous methods, providing the first sublinear-time solutions for these problems.
As shown in the table above, the algorithms achieve a $(6+\varepsilon)$ approximation for general graphs and a $(2+\varepsilon)$ approximation for planar graphs in $\tilde{O}(\sqrt{n} \log D)$ time. For incremental scenarios in planar graphs, the update time is further reduced to polylogarithmic complexity. Additionally, the authors demonstrate that by allowing a slightly higher approximation ratio of $(4+\varepsilon)$, polylogarithmic update times can be achieved even in more complex planar settings.
Discussion and Future Work
A key insight of this research is the modularity of the approach. By separating the online logic from the distance queries, any future improvements in distance oracles will directly translate to faster dynamic Steiner tree algorithms.
Despite these advances, several challenges remain. The current approximation factors are limited by the "factor-of-2" bottleneck inherent in using MST-based approximations on metric closures. Beating this factor in a dynamic setting remains an open problem. Furthermore, while the algorithms achieve sublinear update times, the space complexity for general graphs is $O(n\sqrt{n})$. Future research could focus on reducing this to near-linear space and eliminating the dependency on the metric stretch $D$.
Summary updated