Manuscript Offprint
arXiv:2611.06209Sublinear Approximations for Spanning Tree Congestion
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The spanning tree congestion of a connected graph is the minimum, over all spanning trees of , of the maximum number of edges of crossing a cut induced by deleting an edge of . In the spanning tree congestion problem we are asked to compute a spanning tree with minimum congestion.
We describe two sublinear-ratio approximation algorithms for the spanning tree congestion problem (STC): a simple -approximation, and a more involved -approximation, where the notation hides factors polynomial in . Until now, no algorithm with sublinear ratio was known.
We also prove that for any fixed , approximation of the spanning tree congestion within is NP-hard. This improves the previous best known lower bound .
2012 ACM Subject Classification Theory of computation Approximation algorithms analysis; Mathematics of computing Graph algorithms; Theory of computation Problems, reductions and completeness
Keywords and phrases spanning tree congestion, approximation algorithms, hereditary bisection, graph partitions, laminar decomposition, confluent flows
Digital Object Identifier 10.4230/LIPIcs...
Funding Marek Chrobak: Partially supported by NFS grant CCF-2153723.
Petr Kolman: Partially supported by GA ČR project 24-10306S.
Hans Raj Tiwary: Partially supported by the AGATE project funded from the Horizon Europe Programme under Grant Agreement No. 101183743.
1 Introduction
Let be a connected graph and a spanning tree of . We can imagine routing every edge of along the unique -to- path in . The congestion is the maximum number of these paths using one tree edge, and STC() is the minimum of over all spanning trees of . Equivalently, the congestion of a tree edge is the number of graph edges in the cut between the two subtrees of resulting from removing from . The tree edge itself is counted.
Spanning tree congestion is difficult to approximate and no sublinear approximation algorithms for general graphs are known. Two useful approaches bound congestion in different ways. Chandran, Cheung, and Issac [2] construct a tree of congestion in polynomial time, where and are the numbers of vertices and edges. Combining
© Sunny Atalig, Marek Chrobak, Petr Kolman, Hans Raj Tiwary; licensed under Creative Commons License CC-BY 4.0
Leibniz International Proceedings in Informatics Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl Publishing, Germany
XX:2 Sublinear Approximations for Spanning Tree Congestion
their approach with the recent algorithm in [5] avoids the log -factor and yields a spanning tree of congestion at most (see Proposition 2). Kolman [6] gives an -approximation, where is the maximum degree, using hereditary bisection. The first bound is useful when the optimum is large; the second is useful when degrees are small.
In the connected min-max multiway cut problem, we are given a graph with a set of terminals . A connected multiway cut is a partition of such that for each : i) is connected, and, ii) . The cost of such a cut is the maximum boundary size of any . The goal is to find a connected multiway cut of minimum cost. This problem was studied by Kolman and Tiwary [7] who were motivated by its connection to the STC problem.
Then, in Section 3, we describe our main result, which is an improvement of the simple algorithm.
► Theorem 1. There is a randomized polynomial-time algorithm for spanning tree congestion with approximation ratio .
On the hardness side, in Section 4 we prove that no polynomial-time -approximation exists for any fixed , unless .
Sketch of the algorithms.
Both approximation algorithms for spanning tree congestion use the following structure. Identify the high-degree vertices, called hubs. Separate them into connected regions containing one hub each. Within a region, remove its hub and partition the remaining vertices into connected parts with small boundaries. Construct a tree inside each part, join these trees through the hub, and finally join the regional trees. The algorithms differ in the two partitioning phases: how to obtain regions with only one hub, and how to partition the region with exactly one hub.
Our first algorithm combines two existing algorithms for STC — the spanning-tree construction of Chandran, Cheung, and Issac, which achieves congestion , and Kolman's -approximation algorithm — with a classical minimum-cut algorithm and our -approximation of the connected min-max multiway partition with terminals. Here, , and denote the number of vertices, the number of edges, and the maximum vertex degree of the input graph, respectively.
The second algorithm first constructs a new laminar decomposition of the input graph , taking advantage of the bound on optimal congestion to control the boundary size of the sets in this decomposition, and the vertex degrees in each set. Then it recursively constructs spanning trees of graphs that are quotients of with respect to the layers of this decomposition, eventually producing a low-congestion spanning tree of .
In both algorithms, an important tool is a subroutine that constructs a spanning tree for a graph with one large degree vertex. To solve this task, the first algorithm uses an approximation of min-max connected partition combined with confluent flows. The second
XX:3
algorithm uses confluent flows as well, but constructs a more sophisticated connected partition, with additional constraints on the distribution of edges between different parts.
The two key ingredients in our -approximation, namely the new laminar decomposition of a graph and the connected partitioning, might be of independent interest.
Preliminaries.
For a graph , (or ) denotes its vertex set and (or ) its edge set. Throughout the approximation sections, is a connected simple unweighted graph, , , , and . The degree of a vertex in is denoted . For disjoint vertex sets in a graph , let be the set of edges between them and . Write for the subgraph induced by . An auxiliary graph may have positive integer edge weights that we denote by ; for , are unit weights. Parallel edges may be combined by adding their weights, and if we contract a subset of vertices we discard loops. Define
The weighted degree is . For an edge set , write for its total weight, and for disjoint write .
Let denote the unique -to- path in a spanning tree of . Define
The first quantity is the edge congestion of edge (also called its load) in a spanning tree of a graph ; the second quantity is called vertex load. The congestion of a spanning tree is . A spanning tree of a graph on a single vertex has congestion zero.
We use the following consequence (see Appendix A.1) of the new algorithm in [5], which slightly improves the construction by Chandran, Cheung and Issac [2].
► Lemma 2 ([2, 5]). For every connected simple unweighted graph on vertices and edges, a spanning tree of congestion at most can be computed in polynomial time.
We write for an optimum spanning tree of . Every graph edge uses at least one edge of , whence
Applying the bound (1.1) on the spanning tree from Proposition 2, we get that its approximation ratio is . Whenever we refer to the CHANDRANCHEUNGISS-ACTREEtree below, we mean the construction of Proposition 2.
For , a -balanced cut of has both sides of size at most . The hereditary bisection hb() is the maximum, over all subgraphs with at least two vertices, of the minimum weight of a -balanced cut of .
The following lemma roughly says that for a graph of hereditary bisection , we can efficiently construct a spanning tree of congestion .
XX:4 Sublinear Approximations for Spanning Tree Congestion
► Lemma 3 ([6]). Let be a connected positive-integer-weighted graph on vertices, of total edge weight and hereditary bisection . There is an algorithm that in time polynomial in constructs a spanning tree with edge and vertex loads .
The proof (for completeness given in Appendix A) is a straightforward extension of the analysis of the hereditary-bisection based approximation algorithm for spanning tree congestion [6].
Min-max connected multiway cut.
Given a graph with positive integer weights and a set of terminals, partition into parts such that each part is connected and contains exactly one terminal; the objective is to minimize the maximum weight of the edges leaving any part of the partition. The following approximation, proved in Appendix B, is used as a tool in the simple algorithm for spanning tree congestion.
► Theorem 4. There exists a randomized -approximation for the Min-max connected multiway cut with terminals. Moreover, the maximum boundary of the constructed connected partition is where is the total edge weight in the graph.
An important tool for proving Theorems 1 and 4 is confluent flow [3]. We will use the following result.
► Theorem 5 (Theorem 20 [3]). Given a splittable flow on a graph with sinks, there is a strongly polynomial time algorithm that finds a confluent flow satisfying the same demand and with node load at most -times larger.
2 A simple -approximation
For a degree threshold , that we will set up later, define and . Write and call the vertices in hubs. For now suppose ; otherwise Kolman's algorithm [6] gives -approximation.
The algorithm has three main phases: i) separate the hubs into connected regions, ii) split each region around its hub, and iii) construct trees in the resulting smaller parts, attach them to the hub in their region, and arbitrarily connect the subtrees into a spanning tree of .
Let be the size of a multiway cut separating the vertices of ; such a cut of size at most can be constructed in polynomial time by performing minimum cuts between pairs of hubs, always within a current connected region containing both hubs. (Note that each individual mincut's size is at most .) Thus, . Let be the corresponding connected subgraphs with ; then . We refer to these 's as regions.
► Lemma 6. If , then ().
Proof. Since is simple, each hub has at most neighbors inside . An edge between regions contributes at most two to the sum of the hubs' outside degrees. Thus,
For , we get , and hence .
XX:5
For a region , its terminals are the neighbors of in . We refer to induced subgraphs of as sub-regions. If a sub-region contains exactly terminals we call it an -terminal sub-region. We want to partition into connected 1-terminal sub-regions. Then the spanning trees of these sub-regions can be joined to , each by its unique edge to .
► Lemma 7. For each , there is a partition of into connected 1-terminal sub-regions, with for every sub-region in this partition.
Proof. Fix and write , , and note that . Every connected component of the forest has boundary at most ; therefore it contains at most neighbors of (possibly none). Each connected component of thus contains at most terminals. These connected components form our initial partition into sub-regions, that we now gradually modify.
First, for any -terminal sub-region, with , delete from it edges of , thus breaking it into connected 1-terminal sub-regions. It now remains to deal with 0-terminal sub-regions. We do it as follows. While there is a 0-terminal sub-region in the current partition, find one that has an edge connecting it to a 1-terminal sub-region (this is possible, by the connectivity of ) and merge it with this 1-terminal sub-region. This will eventually create a partition of into connected 1-terminal sub-regions.
By construction, each 1-terminal sub-region in this partition has (i) at most edges of inside to other partition's sub-regions, (ii) at most one edge of to , and (iii) at most edges of to . As the spanning tree congestion of is , we get .
Lemma 7 bounds the boundaries of an optimal partition of into connected 1-terminal sub-regions. To compute an approximate partition, we can apply Theorem 4 separately to each connected component of . Each resulting sub-region has boundary within , has exactly one edge to , and at most edges leaving . Since for and , we obtain
By the following lemma, for a connected subgraph with bounded boundary and bounded largest degree, we can construct a spanning tree with a bounded congestion.
► Lemma 8. Let be nonempty with connected, and put . Then Kolman's algorithm [6] constructs a spanning tree of with
Proof. We start by showing that . Take any with . Mark its vertices in and choose a weighted centroid , so that every component of contains at most marks. Group these components, and the singleton if marked, into two sides each containing between and marks. To do so, take a block of size at least if one exists; otherwise accumulate blocks until this threshold is first reached.
Every edge of crossing this cut has its tree path pass through . If , that path uses an edge of incident with ; there are at most such edges. If , the path uses an edge of leaving ; there are at most such edges. Their loads are at most , giving the claimed balanced cut bound. Deleting edges cannot increase the minimum balanced-cut cost, so the bound holds for all subgraphs of . The tree bound follows from the hereditary-bisection black box, Lemma 3.
XX:6 Sublinear Approximations for Spanning Tree Congestion

Figure 1 The simpler algorithm. Each region contains one hub . The connected parts each contain one neighbor of ; their internal trees are joined to through these neighbors. A tree of the region quotient then joins the regional trees. Solid edges show the constructed tree; the dashed edge represents another graph edge. Most graph edges are omitted.
2.1 Algorithm and analysis
Write HEREDITARYSPANTREE for the construction of Lemma 8, and CHANDRANCHEUNGISSACTREE for the construction of Proposition 2.
Algorithm 1 SIMPLESPANTREE(G)
1: , 2: , 3: Proposition 2 4: if then 5: return 6: if then 7: 8: else 9: Write 10: Compute a multiway cut of size using successive minimum cuts 11: Let be the resulting connected regions, with 12: for do 13: for all connected components of do 14: if contains at least two terminals then Terminals are neighbors of 15: Partition into connected 1-terminal sub-regions using Theorem 4 16: for all sub-regions obtained for do 17: 18: tree obtained by joining each to through its unique terminal 19: spanning tree of obtained by joining using multiway-cut edges 20: return a tree of minimum congestion among and
Figure 1 illustrates the construction.
► Theorem 9. The approximation ratio of the above described randomized algorithm is .
Proof. Suppose first that . Every connected 1-terminal sub-region constructed in step (2) has largest degree . When the internal tree of is joined to the hub,
XX:7
edges with an endpoint outside add at most to the congestion of its edges. The edge joining to the hub has load at most , which is at most by (2.1). When the regional trees are joined, only the graph edges between regions can add load; a joining tree edge has load at most . Thus, by the above bounds and (2.2), the output spanning tree has congestion at most
For , Lemma 6 gives . Also , by (1.1). The approximation ratio is therefore
Here is absorbed by the displayed bound. The Chandran–Cheung–Issac construction of Proposition 2 has approximation ratio .
If , then , and both terms in (2.3) are . If , the Chandran–Cheung–Issac ratio is . The case has ratio by Lemma 8. If , the congestion of any edge adjacent to a leaf is at least , so , so again the Chandran–Cheung–Issac bound suffices.
The preceding proof identifies two distinct losses of the simple algorithm.
Separating the hubs. The first partition has total cut size at most , and even some individual region may have boundary of that order. This leads to the bound in Lemma 7. In contrast, our improved algorithm will find small-boundary regions progressively in several rounds: in each round, it constructs regions with boundary around at least half of the hubs, then contracts these regions into single vertices, and repeats the same step on the modified graph. This way, after at most logarithmically many rounds, it separates all hubs.
Controlling the smaller parts. A connected min-max multiway cut controls but gives no further guarantee about the edges inside . The internal-tree bound therefore pays . The main algorithm instead constructs a partition that also controls, for every small-boundary set , the edges of between different parts of . This simultaneous guarantee is what permits efficient routing between parts while Kolman's algorithm constructs their internal trees.
3 An Approximation Via a Laminar Decomposition
We first describe the construction for a degree threshold ; the algorithm will try powers of two, without knowing . It tries for , discards failed guesses, and retains the least-congested tree obtained.
For disjoint vertex sets in , let .
As in Section 2, put and call its vertices hubs. The algorithm has two phases. First, it constructs a laminar decomposition of which is a laminar family of connected sets that separate the hubs; each set in the family has boundary . Next, the algorithm processes the laminar tree of and gradually constructs a spanning tree.
Graph Quotients.
Given a graph , a bag is a connected set of its vertices. For a partition of , the quotient of by is the graph that has vertex set and where distinct sets are adjacent if and only if some vertex in is adjacent in to some vertex in ; the edge
XX:8 Sublinear Approximations for Spanning Tree Congestion
AB has weight . For a weighted input graph, this weight is instead the sum of the weights of its edges between and ; this convention applies when contracting a quotient again.
For a collection of disjoint sets of , we write for where , that is, we view the disjoint collection as a representation of the partition of that contains the sets in and in which all vertices not contained in any bag in appear as size-one sets. For notational simplicity, in quotient graphs, we often identify each singleton bag with . We say that is a quotient of at level 1, and if is a quotient of at level and is a collection of disjoint sets of , then is a quotient of at level .
One can naturally extend the notion of a quotient for a laminar family as follows. Recall that a family is laminar if any two of its members are disjoint or one contains the other; the depth of is the maximum number of members in an inclusion chain. We denote the set of inclusion-wise maximal members of by and – if it is unique – call it the root of . By we denote the members that are inclusion-wise maximal in . If is the root then are the maximal sets in that are properly contained in . We will view as a collection of disjoint subsets – either of or the entire vertex set depending on the context – and denote by the quotient .
3.1 Construction of the Laminar Graph Decomposition
Let be a graph. For , where is a quotient of , let denote the union of the sets corresponding to the vertices in . For , if is a quotient of at level 1, then let , and if is a quotient of at level , then let . For a collection of subsets of , define . Informally speaking, we will construct a hierarchy of quotient graphs and for for some quotient in this hierarchy every vertex represents a subset of vertices in the parent graph that were contracted. then are the vertices that are one level up and that were contracted to get while are the vertices in the original graph. For example, suppose we start with . Let be a quotient of and let be a quotient of . Then, for , are vertices in that were contracted to get whereas are the vertices in that were eventually contracted to get .
Given a weighted graph and a subset of size at least 2, the minimum isolating cuts for is a collection of disjoint sets satisfying for each , and . Minimum isolating cuts for , in which each set induces a connected subgraph, can be constructed in polynomial time by repeated calls to a max-flow algorithm (e.g., [8]); in the following, we refer to this algorithm as the ISOLATINGSETS. Its input is the pair , and the output is a collection of the minimum isolating cuts for .
Throughout the laminar construction, contracting an isolating set retains the name for the resulting vertex; all other vertices keep their names. We use the same names in the local graphs that are used in the construction. Their vertex sets are therefore subsets of .
In our laminar family, the boundary of each non-root member set will be a minimum cut in that separates (at the time when this set is being added to the family) one yet non-contracted hub from all other yet non-contracted hubs. The boundary of the root is empty. The following lemma follows directly from sub-modularity of cuts (cf. Lemma 3.1 in the paper [8]); for the sake of completeness, we give its proof (in Appendix).
XX:9
► Lemma 10. Let , , and let be pairwise disjoint sets satisfying, for each , and . Then, for every pair of disjoint sets ,
More generally, if we identify the contracted vertex with the corresponding vertex and set , then (3.1) holds for all disjoint .
Proof. Identify each contracted vertex with and put . We prove a slightly more general statement, namely that equality (3.1) holds for all disjoint .
For disjoint sets , fix a minimum cut in , that is, minimizing . We are going to construct an cut in of the same size. Process the sets from one at a time. If , replace by ; note that the set separates from . Thus, by the optimality of , and by sub-modularity of cuts we get
Hence this replacement does not increase the boundary. If , apply the same argument to and use symmetry of the cut function: replacing by also does not increase its boundary.
Each replacement puts the entire set on the side of containing . Since , no terminal of or changes sides, and remains an cut. Disjointness of the sets ensures that subsequent replacements do not split a set already processed. For the resulting cut , is therefore a cut of of weight at most . Conversely, every cut of the quotient induces a cut of with exactly the same weight and the same terminal separation.
Algorithm 2 LAMINARCONSTRUCTION()
1: 2: if then 3: return backtracking will convert to 4: 5: 6: if then 7: return FAIL unsuccessful guess of 8: 9: 10: if then 11: return FAIL 12: return
► Lemma 11 (Laminar Graph Decomposition). For every , the algorithm LAMINAR-CONSTRUCTION applied on the graph constructs a laminar family with the following properties:
- The depth of is , where .
XX:10 Sublinear Approximations for Spanning Tree Congestion
-
For each , is connected, and, .
-
For each , .
-
.
Proof. Each contracted set is connected and has boundary at most , so the weighted degree of the new vertex corresponding to it is at most . Contractions of other bags preserve this degree. Original singleton vertices also retain their original degrees. Hence, consists exactly of the original hubs not yet contracted, and .
Consider a recursive call LAMINARCONSTRUCTION, and let . Any two hubs in can be separated in by a fundamental cut of an optimum spanning tree, of cost at most . More strongly, by deleting edges in the optimum tree, we can separate the hubs into disjoint sets where . Lemma 10 preserves these cut values in . Consequently, , implying that fewer than isolating sets for have boundary greater than . It follows that for at least half of the hubs from , the connected subsets get contracted, and the number of hubs decreases by a factor of two with each recursion level, implying that the depth of is . This proves Property 1.
Sets contracted in one round are disjoint, and a later contracted bag either contains any earlier bag or is disjoint with it. This proves laminarity. Connectedness is preserved under lifting connected sets of connected bags. The identity gives Property 2b for contracted sets, and gives it for the root.
By construction, at every level of recursion, every set from the collection of minimum isolation cuts for in , contains exactly one hub from . This implies Property 3.
The single-set family returned in Line 3 will be gradually expanded (in line 12) in the backtracking phase of the recursion and eventually converted to set , proving Property 4.
3.2 Construction of the Spanning Tree
Let be the laminar family constructed by LAMINARCONSTRUCTION, and for , let be the set of all subsets of that belong to , including . We assume that two algorithms are available: HEREDITARYSPANTREE, the approximation algorithm based on hereditary bisection [6] (see Lemma 3), and UNIQUEHIGHDEGREESPANTREE, the algorithm of Lemma 16. The latter receives the graph , the original high-degree vertex , and the parameter ; the hereditary routine receives the graph with all degrees at most . By we denote the subgraph of induced by all the elements in the sets of the laminar family .
XX:11
Algorithm 3 LAMINARSPANTREE(, )
1: if depth() = 1 then 2: 3: else 4: 5: if there is with then 6: 7: else 8: 9: if depth() = 1 then 10: return 11: for all do 12: 13: with each vertex corresponding to replaced by , and each edge in replaced by an edge from 14: return
In step 13, an arbitrary edge from can be used. Figure 2 illustrates the algorithm.
The next lemma bounds the congestion of the spanning tree constructed in step 13 by combination of with the trees .
► Lemma 12. Let be a quotient of and a spanning tree of . Let have bag . Refine into a connected partition , and let be the refined quotient of . Choose a spanning tree of . Replace in by , attaching every old incident tree edge to the cell containing the endpoint of its selected original edge. The resulting graph is a spanning tree of . For every new tree edge inside and every vertex ,
Surviving old tree edges and other old vertices retain their loads. The assertions also hold for simultaneous expansion of disjoint bags, and for any connected positive-weight graph in place of .
Proof. By construction, is a spanning tree. Newly visible graph edges inside have both endpoints there; their routes stay in and give its local loads. Any previously visible graph edge whose new route uses an edge or vertex inside had a quotient route visiting . Their total weight is therefore at most . Projecting routes onto also proves that other old loads do not change. The same argument applies to simultaneous expansions.
The following lemma is a slight generalization of Lemma 8; its proof is in the Appendix.
► Lemma 13 (Internal trees). Let be the local graph at a call of Algorithm 2 with . For every nonempty such that is connected and for all , HEREDITARYSPANTREE() constructs a spanning tree of with edge and vertex loads, measured in , at most
XX:12 Sublinear Approximations for Spanning Tree Congestion
- A region and its children

lie outside the child regions.
- Construct the local tree
; keep as singletons.

represent bags; .
: UNIQUEHIGHDEGREESPANTREE
Otherwise: HEREDITARYSPANTREE
recursive calls on
- Recursively construct
includes the recursively constructed tree .

Base cases : use or and return the local tree directly.
◆ Original hub:
- Expand the child vertices
The result spans .

Keep the original endpoints of .
The singleton vertices remain unchanged.
● Other original vertex
○ Contracted bag (e.g. )
Orange: ; blue: other edges of ; green: ; black: edges selected by .
Hub symbols refer to degrees in the original graph .
Schematic drawing; edge weights and further graph edges are omitted.
Figure 2 Algorithm 3 on a region with children and a further child . Construct the spanning tree for , recursively obtain the spanning trees for and , and then replace the vertices and in by their spanning trees. The singletons remain unchanged. Red diamonds mark hubs of the original graph ; the large circles in the quotient represent contracted regions.
Thus, if in addition , then HEREDITARYSPANTREE(C) returns a spanning tree with edge and vertex loads .
3.3 Spanning Trees for Subgraphs with one High Degree Vertex
In this subsection, is a connected positive-integer-weighted graph obtained as a quotient of a subgraph of , and is a non-empty vertex set. For a partition of and , define
measures how much the set intersects with the boundaries of the partition . In this subsection, we first describe how to obtain a “nice” partition of a subset of vertices, and then, how to use the partition to construct a spanning tree of with bounded congestion.
XX:13
► Theorem 14 (Partition with controlled boundaries). Let be the number of vertices in , be the total edge weight of , and parameters satisfying , for a sufficiently large constant and . If every vertex of has degree at most , then one can construct, by a randomized polynomial-time algorithm, a partition of into connected sets such that
In the proof of Theorem 14, we will need the following algorithm following from the bisection results of Feige and Krauthgamer [4] (Subsections 5.2 and 5.4); for completeness, we describe the reduction in Appendix A.4.
► Proposition 15 (Heavy set with small boundary [4]). Let be a connected undirected graph on vertices, with nonnegative integer edge capacities and a distinguished vertex . Let be a nonnegative polynomially bounded integer vertex weight with ; set , , and let be an integer. There is a randomized polynomial-time algorithm which finds a set satisfying
Note that the set may be disconnected.
Proof of Theorem 14. For a partition of , we define its potential as
We start the construction with (i.e., each vertex has its own part in ). Note that at this point, for each , ; this a property, called the boundary invariant, that we will maintain. We aim at decreasing the potential as much as possible, and we will do so by a sequence of local changes, called swaps. For , a -swap of is an operation that changes into a new partition as follows: For each that has a non-empty intersection with , is removed from , and all connected components of are added to , and also all connected components of are added to . Observe that only edges that i) were previously inside a part , and ii) belong to , become edges between parts of , while all edges inside that cross different parts of will not cross any boundary of . Hence,
(3.8)
A plain swap is a Z-swap performed on a set satisfying
After a swap operation, the boundary invariant might be violated: there might be with . To make it possible to fix it, we maintain for every a connected set , called an enclosing set of , with the property
XX:14 Sublinear Approximations for Spanning Tree Congestion
At the very beginning (i.e., for the trivial partition into singletons) we set, for each , . After performing a -swap, we define the enclosing sets for the new sets in the partition as follows: for each connected component of , considered earlier, we define its enclosing set as (i.e., it inherits the enclosing set of ), and for each connected component of , we set .
A repair swap is a -swap for a set with . Since is a single part of and is disjoint from , the edges between and join different parts in the partition before performing this swap,
Thus, performing the -swap changes the potential (due to 3.8 and 3.11) by
Both plain and repair swaps decrease the nonnegative integer potential by at least two. Initially, it was at most 2M, so there will be at most M operations.
To complete the description of the sequence of swaps that we use, a few more terms are needed. For each , let be its part in the current partition, and define
is the weight of edges from to other parts of the current partition of . For , put . Then
where is the total weight of edges between and that connect different parts of the current partition; note that for each , .
Let , and let be the vertex obtained by the contraction of . Note that , .
Here is the complete algorithm constructing the desired partition. Start with , and then repeat:
-
While there is with , perform -swap.
-
Compute the weight function . If , STOP.
-
Set . For every equal to a power of two, , apply Proposition 15 on with the weight function and .
-
Swap in any returned set satisfying (3.9) and repeat. If none satisfies it, STOP.
The repair-swaps ensure the property (3.5). For a contradiction assume that the property (3.6) is not satisfied when the algorithm stops, that is, some satisfies and . The strict positivity of implies, by (3.12), that . There is a value that is a power of two, was tested by the algorithm, and satisfies . Thus, the algorithm of Proposition 15 finds a set satisfying and
Combining with and equation (3.12) gives , contradicting that no set was found in step 4 (note that if , no edges join different parts inside U, and the conclusion is immediate).
XX:15
There are at most swaps, one final unsuccessful run of the algorithm from Proposition 15, and calls of Proposition 15 per search. All weights and the parameter are of size at most . Amplify each call by independent repetitions and take a union bound over these polynomially many calls, conditional on the preceding choices. With high probability every call has the claimed approximation factor, so the stopping argument applies simultaneously to all sets . Since , the parameters give and .
► Lemma 16 (Constructing a spanning tree from Theorem 14). Let be a quotient of constructed by Algorithm 2, with for , and be an original singleton such that for all . There is a randomized polynomial time algorithm, which we call later UNIQUEHIGHDEGREESPANTREE(), that constructs a spanning tree of satisfying
Proof. If , return the empty tree. Otherwise apply Theorem 14 in to , with and to get the partition . Since has at most vertices and total edge weight at most , the partition satisfies
For , let be the part such that , and let
be the sum of weights of edges to neighbors of not in . Let be the quotient of defined by , and define the supply of every vertex as ; we say that is the contribution of to the supply of . Consider the following flow instance on : Every vertex is a source with supply , and the neighbors of in are the sinks. Every edge has an infinite capacity, and every vertex has capacity for a value specified later; this capacitated graph is denoted . The task is to find in , if exists, a flow that delivers all the supply to the sinks, subject to the capacity constraints.
▷ Claim 17. There exists such that the instance is feasible in .
On the high level, the proof of the claim goes along similar lines as the proof of the min-max connected cut Theorem 22. The significant difference is that now we exploit the existence of a spanning tree of with congestion ; together with the partition of Theorem 14, this makes it possible to get the flow.
Proof. For the analysis, let be the original (vertex) region of the call, that is, and . Recall the convention that contracting an isolating set retains the name for the resulting vertex, and for every component of , define . We call a branch (of ). Since is an original singleton, the sets partition the vertex set , and by construction, for every branch ,
XX:16 Sublinear Approximations for Spanning Tree Congestion
Attribute the contribution of the vertex to the branch such that . The total contributions attributed to a branch is, exploiting (3.16)–(3.17),
Call a branch -external if for some , the -h path in leaves ; all other branches are -internal. There are at most -external branches: each contains a distinct tree edge leaving . Define the projection of on as the set .
For every -internal branch , for each , project the unique -h path in to , erase loops, and use the remaining path to route units (which is the contribution of to ) until the first vertex of . By the properties of and , each part intersects with projections of at most branches.
For every -external branch , route the contribution of all vertices in along arbitrary simple paths to in the connected graph , stopping at the first neighbor of .
We conclude that the total flow going in any originates from at most branches, therefore, by equation (3.18), its size is at most , and this is also a bound on the load of any vertex other than .
The flow of Claim 17 can be obtained by repeated max-flow computations: Let be a guess on the maximum load from the claim (obtained, e.g., by trying all integer values for it, smaller than , starting with 1, or by binary search on ). For each such guess, define for every node, other than , its capacity as and try to find a feasible solution (i.e., respecting the node capacities) to the flow instance . The flow corresponding to the smallest value of for which the instance is feasible, is the desired flow. Note that for the capacity , the instance is feasible; thus, the search always terminates.
Apply now the confluent-flow algorithm of Theorem 5 on the flow from Claim 17; the loss factor is . This gives us a confluent flow satisfying the instance with maximum node load ; clearly, the same bound applies also to the maximum edge load. Recall that the flow is realized by a collection of node disjoint trees. We combine them into a spanning tree of by adding all edges between the sinks of and the vertex . The construction of derived from the flow for the instance ensures that the congestion of as well as the load of every vertex other than is .
Every vertex in a part of has degree at most in . Thus, for each , we can construct a spanning tree for by Lemma 13; the bound on the edge and vertex loads of these local spanning trees is
Now substitute these “local” trees for the vertices of , realizing tree edges of by edges of as follows: For each edge of , use any edge from . The result is a spanning tree of . By Lemma 12 and the above bounds, the maximum edge load and vertex load for all vertices but , is at most .
At every call of Algorithm 2, Lemma 13 applies if all degrees in are at most . Otherwise the unique vertex of degree greater than is an original singleton, and Lemma 16 applies to the call . Thus the chosen local tree has edge loads and vertex loads at all non-singleton cells bounded by . This includes the root and the leaves of the laminar family.
XX:17
3.4 Approximation Guarantee
► Lemma 18 (Adding the costs of the levels). For every , the preceding construction returns, with high probability, a spanning tree of with
Proof. At every stage, the current bags partition and the current tree is a spanning tree of their weighted quotient. This follows inductively from Lemma 12. The local graph exposed when is expanded is exactly , independently of how vertices outside are currently grouped. The local trees were constructed using only these induced graphs. The comparison with original cuts was needed for their analysis; the expansion accounting uses the current quotient.
Track edge loads and vertex loads only at non-singleton bags. Each local tree bounds these two quantities by , at every call, including the root: use Lemma 13 when all local degrees are at most , and Lemma 16 otherwise. The high-degree vertex of Lemma 16 is an original singleton, so it is never expanded and its vertex load need not be bounded.
Suppose the two tracked quantities are bounded by after processed levels. For an expanded bag , the local load and its previous vertex load add in , giving for new edges and new non-singleton cells. Surviving old loads do not increase. More explicitly, fix a common absolute constant for the local bounds; the same constant multiplied by works in this induction. The family has levels, so the final edge loads are .
For the final approximation, compare the least-congested tree obtained from Algorithm 2 over all tested thresholds with the tree of congestion at most from Proposition 2. Return the better tree.
► Theorem 19. There is a randomized polynomial-time algorithm with approximation ratio
Proof. Some tested threshold satisfies , because . Lemma 11 guarantees progress for this threshold. All other guesses either return a family after at most contractions or propagate FAIL; the local routines also terminate in polynomial time for these guesses. Lemma 18 gives a candidate of congestion . Comparing it with the candidate proves the first bound in (3.19). As in Section 1, . Consequently the ratio is at most
Each successful contraction contains at least two current vertices, so at most contractions occur for any guess. Every local graph has at most vertices and total weight at most . The partition algorithm, node-capacitated flow, confluent rounding, and the hereditary-bisection routine are therefore polynomial-time operations also for guesses below ; their congestion guarantees are needed only for a successful threshold.
There are polynomially many randomized calls over all guesses. Amplify the bisection and quota calls using independent repetitions, retaining the least-cost feasible output. A conditional union bound over the calls makes all required guarantees hold with probability at least , for any fixed . The stopping argument in Theorem 14 then guarantees its inequalities simultaneously for all subsets, without testing them. Evaluating the congestion of each candidate ensures that other guesses cannot worsen the returned solution.
XX:18 Sublinear Approximations for Spanning Tree Congestion
4 Hardness within
Next we prove the following hardness result.
► Theorem 20. For every fixed , there is no polynomial-time -approximation algorithm for spanning tree congestion, unless P = NP.
The proof is by reduction from a restricted version of the vertex disjoint path problem: given a graph and pairs of vertices, can all pairs be joined by mutually vertex-disjoint paths? The problem is NP-complete even when the graph has maximum degree three, all terminals are distinct, and a vertex has degree one if and only if it is a terminal [10, proof of Theorem 1].
We may also require to be connected. First reject instances having a pair in different components, and discard components without terminals. In each remaining component subdivide an edge twice and join consecutive components by an edge between distinct subdivision vertices, forming a chain of components. Degrees remain at most three and terminals retain degree one. A simple path between terminals in one old component cannot leave that component: it would have to cross a joining edge twice. The transformation therefore preserves the answer. Instances with no terminal pair can be decided directly. Write , , and .
Two observations explain the source restriction. Edge-disjoint paths for distinct degree-one terminals in a graph of maximum degree three are vertex-disjoint: a shared internal vertex would require four incident edges, and a terminal cannot be internal to another path. Conversely, the union of vertex-disjoint paths is a forest and can be extended to a spanning tree of a connected graph.
For a positive-integer-weighted graph , let be the total weight crossing the fundamental cut of in a spanning tree . Write and .
Fix an integer . Give the edges of weight one. For every pair , add distinct vertices and edges
Call the resulting weighted graph . The two-edge path is full in a spanning tree if both its edges belong to that tree. At most one such path for a fixed pair can be full, since two would form a cycle.
► Lemma 21. If the disjoint-path instance is a YES instance, then . From any spanning tree of with congestion less than 2A, one can extract a vertex-disjoint routing of all pairs in in polynomial time. Consequently, a NO instance satisfies .
Proof. For a YES instance, extend its vertex-disjoint paths to a spanning tree of , and attach every to by its heavy edge. This gives a spanning tree of . Consider and the corresponding cut . All auxiliary vertices lie on the side of their . Thus a gadget contributes if its terminals are separated and zero otherwise. At most one prescribed path uses , and so
Every other tree edge isolates one auxiliary vertex and has load . Hence .
XX:19
Now let be any spanning tree of with congestion below 2A. Suppose is full. Deleting its heavy edge separates from . The heavy edge contributes to this cut, and each of the other two-edge gadget paths contributes at least one. The heavy tree edge therefore has load at least 2A, a contradiction. It follows that every auxiliary vertex is a leaf of , and removing them leaves a spanning tree of .
If two prescribed paths in used the same edge , deleting in would separate both pairs. Each of the gadget paths for each pair must cross this cut and contributes at least one. Together with itself, the load would be at least . Consequently these paths are edge-disjoint, and the source restriction makes them vertex-disjoint. Removing auxiliary leaves and finding the paths takes polynomial time.
Lemma 21 gives
Proof of Theorem 20. Fix and take . Then
A -approximation would return a tree of congestion below 2A on every YES instance, whereas no such tree exists on a NO instance. Evaluating the returned tree's congestion would decide the NP-complete source problem. To eliminate integer weights, we use the standard reduction that replaces an edge with weight by internally disjoint paths [9]. The construction is polynomial.
AI Disclosure.
The idea of using connected min-max multiway partition to approximate spanning tree congestion is from the authors, specifically establishing a reduction when the graph has only one vertex with unbounded degree, with approximation ratio dependent on the second largest degree . The main results in this paper were subsequently discovered by GPT-6 Astra; this includes the approximation algorithm, the log-factor improvement in Proposition 2 combining [2, 5], and Theorems 1, 4, 20.
A Omitted Proofs
A.1 Proposition2
Proof of Proposition 2. The construction in [2, Theorem 10 and Algorithm 1] already gives this congestion. Its non-polynomial step is a connected partition with bounded degree sums. We show how to compute that partition. Let be an -vertex-connected simple graph with vertices, edges, and distinct prescribed terminals . Set
Since , the capacities are nonnegative and their sum covers all nonterminal weights. Replace each edge by opposite arcs and delete outgoing terminal arcs. Menger's theorem gives paths from every nonterminal to distinct terminals, disjoint except
XX:20 Sublinear Approximations for Spanning Tree Congestion
at their starting vertex. Thus [5, Theorem 3] applies and computes connected parts , each containing and no other terminal, with
This is the degree-sum guarantee needed in line 15 of Algorithm 1 in [2]. Replacing that step preserves their congestion analysis and makes the whole construction polynomial-time.
A.2 Lemma 3
Proof of Lemma 3. The edge-congestion bound is from the paper [6, Algorithm 1, Lemma 3.2, and Theorem 1.1]. Its hereditary bisection parameter is at most : deleting edges from an induced subgraph cannot increase its minimum balanced-cut cost. Integer weights are represented by parallel unit edges.
For the vertex bound, just note that each recursive cut has weight , and its sides have at most three quarters of the current vertices. The recursive children are the connected components of the two sides. Every demand not internal to one child crosses this cut, so its total contribution to any vertex, including endpoints, is at most the cut weight. A fixed vertex lies on a chain of recursive subproblems, ending at a singleton with no internal demand. Summing gives .
A.3 Lemma 13
Proof of Lemma 13. For , , mark the vertices of in an optimum spanning tree of and choose a centroid : each component of has at most marks. If , select such that . Apart from the possible component containing , each marked component has a distinct first-exit tree edge from toward a marked vertex outside this bag. There are at most such edges. If , each marked component has a distinct first-entrance tree edge into , giving at most marked components.
Choose whole components carrying between and marks. A component with at least marks suffices; otherwise accumulate components until this threshold is reached. There are enough marks outside , since . Each component has original boundary at most , so their union has boundary . Intersecting this union with gives a balanced cut of with no greater cost. Deleting edges only decreases this cost, so the same bound holds for the hereditary bisection of . Lemma 3 completes the proof.
A.4 Proposition 15
Proof of Proposition 15. Consider the graph , , , the -weight, and as described in Proposition 15. We modify into a larger -weighted graph on which we apply the bisection approximation of Feige and Krauthgamer. Start with the graph and add to it isolated vertices of -weight one and isolated vertices of -weight zero. Keep every edge of with its capacity, give the vertex weight , and to every other vertex , . The total vertex weight is now . A weight- bisection side excluding contains vertices from of -weight at least ; the -weight of the set is the same. Conversely, an admissible original set of weight can be extended
XX:21
with unit -weight isolated vertices to obtain such a side. Cut costs and optimum values in both graphs are the same.
Apply the edge-cost and integer-vertex-weight versions of the algorithm by Feige and Krauthgamer (Sections 5.1–5.2). The added zero-weight vertices ensure that the vertex weights are bounded by the extended order. This yields the claimed factor.
B Approximation of the connected min-max multiway cut
This appendix proves Theorem 4. We first show how to make a terminal partition connected. The estimate keeps track of the total boundary, which gives the edge-sensitive bound used in the simpler STC algorithm.
► Theorem 22 (Connecting a terminal partition). Let be a connected graph with positive integer edge weights, and let be a partition into parts, each containing one prescribed terminal. Put
In polynomial time one can find a connected one-terminal partition with maximum boundary .
Proof. Split each initial part into its connected components and contract these components, obtaining a weighted graph . Each vertex of has degree . The components of one initial part have no edges between them, so
Exactly of the contracted vertices contain a terminal. Declare them sinks. Give every vertex the fixed supply , and put . Both and are positive.
Give each edge capacity times its weight and try to route all supplies to the sinks. This is a single-commodity maximum-flow computation: a new source injects each supply, both orientations of an edge have its capacity, and each sink has an arc of capacity to a new target. If all supply cannot be routed, a minimum cut gives a sink-free set in the current graph such that
Indeed, the source cut has capacity at most the total remaining supply, whereas cutting any sink-to-target arc costs ; a strictly violating set therefore contains no sink. Delete and repeat, always retaining the original supplies . At most iterations leave a feasible subgraph on a set . Every sink remains, so is nonempty.
Let be the union of the deleted sets. They are disjoint, and any edge from to was counted when its endpoint in was deleted. Summing (B.1) therefore gives
where is the total edge weight between and .
Stop the feasible flow at the first sink it reaches and cancel cycles. Incoming flow at is at most , since the sum of the capacities of the incident edges is at most that quantity.
XX:22 Sublinear Approximations for Spanning Tree Congestion
Thus its node load, including its own supply, is at most . By the confluent-flow theorem in [3, Theorem 20], this flow can be converted in polynomial time into a flow in which all flow leaving a non-sink uses one outgoing edge, with node loads at most . The bound includes the loads at sinks and the supplies at all vertices. The positive supplies ensure that all vertices of belong to the resulting connected groups, each containing exactly one sink. The total supply in a group is its sink load, and it bounds that group's boundary in the original quotient .
Attach each whole connected component of to one adjacent group. Such a neighbor in exists because is connected. There are no edges between different components of . Therefore, for any final group, the increase in its boundary is at most the entire interface , rather than the sum of the original degrees of the attached vertices. By (B.2), the resulting maximum boundary is at most
No deleted vertex contains a terminal. The final groups are connected and have one terminal each; expanding their constituent components gives the required partition of .
Proof of Theorem 4. Denote . Use the min-max multiway-cut algorithm from [1, Theorem 1.4]. It produces a one-terminal partition, not necessarily connected, with maximum boundary
An expected approximation guarantee suffices here: Markov's inequality gives constant success probability, and independent repetitions, selecting the smallest actual maximum boundary, give this bound with high probability. The optimum without connectivity is at most , so it is a valid comparison value. For the returned partition,
Apply Theorem 22 for . Its maximum boundary is at most
as claimed. More explicitly, the two bounds are respectively
For the whole connected graph is the optimal part, with zero boundary, and no approximation routine is needed.
XX:23
References
1 Nikhil Bansal, Uriel Feige, Robert Krauthgamer, Konstantin Makarychev, Viswanath Nagaranjan, Joseph Naor, and Roy Schwartz. Min-max graph partitioning and small set expansion. SIAM J. Comput., 43(2):872–904, 2014. doi:10.1137/120873996. 2 L. Sunil Chandran, Yun Kuen Cheung, and Davis Issac. Spanning tree congestion and computation of generalized Győri–Lovász partition. In Proc. of 45th International Colloquium on Automata, Languages, and Programming (ICALP), volume 107 of LIPIcs, pages 32:1–32:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPICS.ICALP.2018.32. 3 Jiangzhuo Chen, Robert D. Kleinberg, László Lovász, Rajmohan Rajaraman, Ravi Sundaram, and Adrian Vetta. (Almost) tight bounds and existence theorems for single-commodity confluent flows. Journal of the ACM, 54(4), 2007. Article 16. doi:10.1145/1255443.1255444. 4 Uriel Feige and Robert Krauthgamer. A polylogarithmic approximation of the minimum bisection. SIAM Review, 48(1):99–130, 2006. doi:10.1137/050640904. 5 Mohammad T. Hajiaghayi, Mahdi JafariRaviz, Alireza Kaviani, and Soheil Mohammadkhani. Breaking the exponential barrier: The first polynomial-time algorithm for the Győri–Lovász theorem, 2026. arXiv:2608.30945v1. URL: https://arxiv.org/abs/2608.30945v1, doi:10.48550/arXiv.2608.30945. 6 Petr Kolman. Approximation of spanning tree congestion using hereditary bisection. Discrete Mathematics & Theoretical Computer Science, 28(2), 2026. Article 35. doi:10.46298/dmtcs.16997. 7 Petr Kolman and Hans Raj Tiwary. Min-max connected multiway cut, 2026. arXiv:2602.13861. 8 Jason Li and Debmalya Panigrahi. Approximate Gomory–Hu tree is faster than max-flows. In Proc. of the 53rd Annual ACM SIGACT Symposium on Theory of Computing (STOC), page 1738–1748. Association for Computing Machinery, 2021. doi:10.1145/3406325.3451112. 9 Huong Luu and Marek Chrobak. Better hardness results for the minimum spanning tree congestion problem. Algorithmica, 87:148–165, 2025. Preliminary version in Proc. of 17th International Conference and Workshops on Algorithms and Computation (WALCOM), 2023. doi:10.1007/s00453-024-01278-5. 10 L. van Iersel, S. Kelk, G. Stamoulis, L. Stougie, and O. Boes. On unrooted and root-uncertain variants of several well-known phylogenetic network problems. Algorithmica, 80(11):2993–3022, 2018. doi:10.1007/s00453-017-0366-5.