alphaFeedback

WorksComputer Science

Logarithmic Embeddings into Probabilistic Spanning Trees for Distances and Capacities

AI contributions
Not recorded for this paper
View details
Ancillary data
1 code link
View

Abstract

We prove that every connected nn-vertex graph admits a probabilistic embedding into its spanning trees with expected distance stretch O(log⁡n)O(\log n). This settles the logarithmic stretch conjecture of Alon, Karp, Peleg, and West, whose spanning-tree game appeared at the 1991 DIMACS Workshop on On-Line Algorithms and in SIAM Journal on Computing in 1995. A weighted form of the theorem also yields a distribution over spanning trees with capacities exactly equal to their fundamental graph cuts. Every tree dominates every graph cut, every cut is approximated within O(log⁡n)O(\log n) in expectation, and the same capacity distribution defines an O(log⁡n)O(\log n)-competitive fractional oblivious routing. The distance and capacity distributions may differ. Diamond graphs give matching logarithmic lower bounds for stretch, congestion, and cut distortion. For rational input, both distributions are constructed deterministically in polynomial time and use at most mm trees, where mm is the number of graph edges. We prove an Ω(m/ρ)Ω(m/ρ) support lower bound for congestion ρρ; in particular, (1−o(1))m(1-o(1))m trees can be necessary for near-unit congestion, even when the optimum tends to one. Thus linear dependence on mm is unavoidable in this regime. The weighted theorem combines a protected-geodesic petal decomposition with a pathwise entropy bound for locally selected centers. A local averaging inequality derandomizes the radii, and an adaptive rational packing procedure constructs the distributions.

Introduction

Approximating a graph by a distribution of trees is a basic tool in the design of algorithms. A tree makes distances, cuts, and routing particularly simple, while a distribution can avoid the distortion forced on any one tree. There are, however, two different notions of a tree approximation. An abstract tree metric may introduce Steiner vertices and edges unrelated to the input graph. A spanning tree must use the original vertices and original edges, with their given lengths. The latter restriction is essential when a tree path must be a path in the network itself.

Alon, Karp, Peleg, and West [5, 6] formulated the spanning-tree problem as a zero-sum game between a tree player and an edge player. Their extended abstract appeared at the 1991 DIMACS Workshop on On-Line Algorithms, with proceedings published in 1992; the full paper appeared in 1995. They proved a bound of exp⁡(O(log⁡nlog⁡log⁡n))\exp(O(\sqrt{\log n\log\log n})) and conjectured an O(log⁡n)O(\log n) bound. Their original payoff differs pointwise by at most one from dT,ℓ(u,v)/ℓuvd_{T,\ell}(u,v)/\ell_{uv}, so the two game values differ by at most one. The modified game asks for a distribution over spanning trees whose expected stretch is small on every original edge. An edge guarantee immediately extends to every pair of vertices by summing along a shortest graph path.

Subsequent work brought the upper bound close to logarithmic. Elkin, Emek, Spielman, and Teng [13] obtained average stretch O(log⁡2nlog⁡log⁡n)O(\log^{2} n \log\log n). Abraham, Bartal, and Neiman [2] obtained stochastic stretch O(log⁡nlog⁡log⁡n(log⁡log⁡log⁡n)3)O(\log n\log\log n(\log\log\log n)^{3}). The petal decomposition of Abraham and Neiman [7] gives average stretch O(log⁡nlog⁡log⁡n)O(\log n\log\log n) and a construction with the same logarithmic factors in its nearly linear running time. Low-stretch trees also underlie preconditioners for fast solvers of symmetric diagonally dominant linear systems [23]. The remaining gap is a geometric one: local partitions must be chosen so that they can be reconnected using original edges without losing the distance estimate.

We close this gap by proving the logarithmic bound for spanning trees. The theorem is weighted: the demand assigned to an edge is independent of its length. This is the form needed both for the spanning-tree game and for a capacity decomposition. Our construction runs in polynomial time for arbitrary rational input. Its running time is not nearly linear; the contribution is the logarithmic approximation within the spanning-tree family and an explicit polynomial construction.

Results

Let G=(V,E)G=(V,E) be a connected undirected graph, with n=∣V∣≥2n=|V|\ge2 and m=∣E∣m=|E|. Throughout the paper, a spanning tree has vertex set VV and uses only edges of GG. For lengths ℓe>0\ell_e>0, write dG,ℓd_{G,\ell} and dT,ℓd_{T,\ell} for graph and tree distances. For capacities ce>0c_e>0 and a tree edge ff, let ST,fS_{T,f} be either component of T−fT-f. Define

cT(f)=cG(δG(ST,f)),LT(f)={cT(f),f∈T,0,f∉T.(1)c_T(f)=c_G(\delta_G(S_{T,f})),\qquad L_T(f)= \begin{cases} c_T(f), & f\in T,\\ 0, & f\notin T. \end{cases} \tag*{(1)}

Thus the tree topology is a subgraph, while its capacities are determined by its fundamental cuts. These are exactly the smallest capacities on that topology that dominate every graph cut (Proposition 9.5).

Theorem 1.1 (Logarithmic spanning-tree decompositions). There is an absolute integer C0>0C_0>0 with the following property. Put ρn=C0⌈log⁡2(2n)⌉\rho_n=C_0\lceil\log_2(2n)\rceil and fix 0<ϑ≤10<\vartheta\le1. Let αn=(1+ϑ)ρn\alpha_n=(1+\vartheta)\rho_n.

(i) For every positive length vector ℓ\ell, there is a distribution qdistq^{\mathrm{dist}} over spanning trees such that, for all u,v∈Vu,v\in V,

dT,ℓ(u,v)≥dG,ℓ(u,v)for every supported T,d_{T,\ell}(u,v)\ge d_{G,\ell}(u,v)\qquad\text{for every supported }T,
EqdistdT,ℓ(u,v)≤αndG,ℓ(u,v)(u,v∈V).\mathbb{E}_{q^{\mathrm{dist}}}d_{T,\ell}(u,v)\le\alpha_n d_{G,\ell}(u,v)\qquad(u,v\in V).

(ii) For every positive capacity vector cc, there is a distribution qcapq^{\mathrm{cap}} over spanning trees, equipped with (1), such that

EqcapLT(f)≤αncf(f∈E).\mathbb{E}_{q^{\mathrm{cap}}}L_T(f)\le\alpha_n c_f\qquad(f\in E).

Consequently, for every A⊆VA\subseteq V,

cT(δT(A))≥cG(δG(A))for every supported T,c_T(\delta_T(A))\ge c_G(\delta_G(A))\qquad\text{for every supported }T,
EqcapcT(δT(A))≤αncG(δG(A))(A⊆V).\mathbb{E}_{q^{\mathrm{cap}}}c_T(\delta_T(A))\le\alpha_n c_G(\delta_G(A))\qquad(A\subseteq V).

Splitting every pair’s demand among its tree paths with the fixed probabilities qTcapq_T^{\mathrm{cap}} gives an αn\alpha_n-competitive fractional oblivious routing.

Each distribution can be supported on at most mm trees. For rational input and rational ϑ\vartheta, it can be constructed deterministically using at most

1+⌈20m⌈log⁡2(2m)⌉ϑ2⌉1+\left\lceil\frac{20m\lceil\log_2(2m)\rceil}{\vartheta^2}\right\rceil

weighted-tree calls and polynomial additional work. The complete running time is polynomial in the binary input length and 1/ϑ1/\vartheta.

The capacity distribution is fixed before the cut or the demand vector is chosen. Its guarantee is max⁡fE[LT(f)/cf]\max_f \mathbb{E}[L_T(f)/c_f], and the routing uses the fractional mixture of tree paths. The theorem does not require each sampled tree to have small congestion. The distance and capacity distributions may differ; this is necessary even when all graph lengths and capacities are one (Proposition 10.4).

The main ingredient is a deterministic weighted-tree theorem. Given arbitrary demands ae≥0a_e \ge0 and lengths ℓe>0\ell_e > 0, it constructs a spanning tree satisfying

∑e=uv∈EaedT,ℓ(u,v)≤ρn∑e∈Eaeℓe.(2)\sum_{e=uv\in E} a_e d_{T,\ell}(u,v) \le\rho_n \sum_{e\in E} a_e\ell_e. \tag*{(2)}

The geometric and entropy arguments proving this statement occupy § 4–§ 6. We use symbolic constants there and give an explicit admissible choice, including C0C_0, in § 11. The distribution construction in § 8 works with any weighted response bound ρ\rho, loses only a factor 1+ϑ1+\vartheta, and has a call bound independent of the numerical size of ρ\rho.

Tightness on diamonds. The logarithmic lower bound for probabilistic tree metrics on recursive diamonds is classical [18]. We give a direct spanning-tree proof in § 10.1. For every spanning tree of the height-kk unit diamond DkD_k, the sum of tree distances over the 4k4^k original edges is at least k4k/9k4^k/9. The same inequality, by double counting, gives an Ω(log⁡n)\Omega(\log n) lower bound for maximum expected fundamental-cut congestion. Summing singleton tree cuts gives the lower bound for expected cut distortion as well. Thus all three logarithmic bounds in Theorem 1.1 are asymptotically tight on the same series-parallel family.

The size of an explicit decomposition. Charikar, Chekuri, Goel, Guha, and Plotkin [10] showed that O(nlog⁡n)O(n\log n) abstract tree metrics suffice for their probabilistic metric embedding. This raises the corresponding support question for spanning trees. Our support bound mm cannot in general be replaced by O(nlog⁡n)O(n\log n) for fundamental-cut congestion, even when the optimal congestion approaches one. For an integer k≥2k \ge2, let GkG_k consist of two kk-vertex stars whose edges have capacity k2k^2, together with all k2k^2 cross edges of capacity one.

Theorem 1.2 (Support required by fundamental-cut congestion). For GkG_k, every distribution with maximum expected congestion at most ρ\rho has support at least ⌈k2/ρ⌉\lceil k^2/\rho\rceil. There is a distribution with congestion at most βk=1+2(k−1)/k2\beta_k=1+2(k-1)/k^2. Moreover, for every

ρ≥γk=k2+2k−2k2−1,\rho\ge\gamma_k=\frac{k^2+2k-2}{k^2-1},

the minimum support size is exactly ⌈k2/ρ⌉\lceil k^2/\rho\rceil. On the same family, one fundamental-cut tree approximates every cut within factor three; with unit metric lengths, one spanning tree has distance distortion at most three.

The proof is in § 10.2. Since n=2kn = 2k and m=k2+2k−2m = k^{2} + 2k - 2, the theorem gives Ω(m/ρ)\Omega(m/\rho) support. In particular, constant congestion can require Θ(m)\Theta(m) trees, and logarithmic congestion can require Ω(n2/log⁡n)\Omega(n^{2}/\log n) trees. The lower bound concerns individual original-edge loads, the property used by the oblivious routing guarantee. It does not follow from cut approximation alone. At the attainable bound ρ=βk=1+O(1/n)\rho= \beta_k = 1 + O(1/n), every distribution needs at least m−O(n)=(1−o(1))mm - O(n) = (1 - o(1))m trees (Corollary 10.3). Thus the dependence on mm is asymptotically sharp for congestion tending to one.

Related work

Probabilistic metric embeddings. Bartal [8 Bar98] established probabilistic approximation by hierarchically well-separated trees (HSTs), first with distortion O(log⁡2n)O(\log^{2} n) and then with distortion O(log⁡nlog⁡log⁡n)O(\log n \log\log n). Fakcharoenphol, Rao, and Talwar [16] obtained the optimal O(log⁡n)O(\log n) bound: every finite metric admits a distribution of dominating tree metrics with this expected distortion for every pair. Their construction also produces HSTs, whose edge lengths decrease geometrically along root-to-leaf paths. The distinction between deterministic domination and expected distortion is central to the applications. A fixed feasible solution has a cost controlled in expectation by linearity, while domination supports transferring a tree solution back to the original metric. The allowed trees can have Steiner vertices and edges outside the input graph. Replacing such edges by graph paths can create cycles; extracting a spanning tree from their union need not preserve the distance bound. Consequently the metric theorem does not supply the original-edge guarantee studied here.

Approximation and online algorithms. Metric labeling illustrates the role of HST structure. Kleinberg and Tardos [20] give a constant-factor algorithm when the metric on the kk labels is an HST with a fixed separation greater than two. Combined with FRT, this yields an O(log⁡k)O(\log k) approximation for arbitrary label metrics: assignment costs are unchanged, and the metric controls the pairwise separation costs. The related 0-extension problem fixes the labels of designated terminals. Calinescu, Karloff, and Rabani [11] obtain an O(log⁡k)O(\log k) approximation, where kk counts terminals, through a metric relaxation and randomized partitions. Their partitioning method is also an ingredient in the development of FRT [16]; this is a connection between the techniques, rather than an attribution of the 0-extension theorem to FRT.

For network design, Awerbuch and Azar [1] use tree embeddings for uniform buy-at-bulk, where cable types and their costs per unit length are common to all edges. Their constant-factor tree algorithm and the FRT distortion bound give an O(log⁡n)O(\log n) expected approximation, including the multiple source–sink setting. For group Steiner tree with kk groups, Garg, Konjevod, and Ravi [17] obtain an O(log⁡nlog⁡k)O(\log n\log k) approximation on trees; combining it with FRT gives an O(log⁡2nlog⁡k)O(\log^{2} n\log k) on general graphs. In online computation, Fiat and Mendel [15] give an O(log⁡nlog⁡log⁡n)O(\log n\log\log n)-competitive algorithm on HSTs. Its classical combination with FRT gives an O(log⁡2nlog⁡log⁡n)O(\log^{2} n\log\log n) randomized competitive ratio for metrical task systems against oblivious adversaries [16]. These examples explain why both the distortion and the structure of the target trees matter: the reduction must preserve the particular objective and feasibility conditions of its application.

Spanning trees and numerical algorithms. The original-edge problem has a separate history, beginning with the tree edge game of Alon, Karp, Peleg, and West [6], motivated by the kk-server problem on road networks. Their reduction relates the game value to a randomized competitive ratio against an oblivious adversary. The subsequent star decompositions of Elkin, Emek, Spielman, and Teng [13], the portal highways of Abraham, Bartal, and Neiman [2], and the petal decompositions of Abraham and Neiman [7] successively improved the distortion while maintaining a spanning subgraph. The latter construction achieves O(log⁡nlog⁡log⁡n)O(\log n \log\log n) average stretch in O(mlog⁡nlog⁡log⁡n)O(m\log n\log\log n) time. For unweighted series-parallel graphs, Emek and Peleg [14] already obtain a tight logarithmic distribution over spanning trees. The diamond lower bound of Gupta, Newman, Rabinovich, and Sinclair [18] therefore holds even in a graph class where the spanning-tree question was previously settled.

Low-stretch spanning trees also enter combinatorial preconditioning. Spielman and Teng [23] construct sparse subgraph preconditioners by adding edges to low-stretch trees and use recursive preconditioning to solve symmetric diagonally dominant systems in nearly linear time. This application requires efficient construction, in addition to a stretch bound. Our polynomial-time weighted oracle establishes the logarithmic distortion guarantee; obtaining a comparable running time remains a separate algorithmic question.

References

  1. [1]Baruch Awerbuch and Yossi Azar. Buy-at-bulk network design. In Proceedings of the 38th Annual Symposium on Foundations of Computer Science (FOCS), pages 542–547. IEEE Computer Society, 1997. https://doi.org/10.1109/SFCS.1997.646143.
  2. [2]Ittai Abraham, Yair Bartal, and Ofer Neiman. Nearly tight low stretch spanning trees. In Proceedings of the 49th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 781–790. IEEE Computer Society, 2008. https://doi.org/10.1109/FOCS.2008.62.
  3. [3]Reid Andersen and Uriel Feige. Interchanging distance and capacity in probabilistic mappings, 2009. arXiv:0907.3631. https://arxiv.org/abs/0907.3631.
  4. [4]Sanjeev Arora, Elad Hazan, and Satyen Kale. The multiplicative weights update method: A meta-algorithm and applications. Theory of Computing, 8:121–164, 2012. https://doi.org/10.4086/toc.2012.v008a006.
  5. [5]Noga Alon, Richard M. Karp, David Peleg, and Douglas West. A graph-theoretic game and its application to the k-server problem (extended abstract). In Lyle A. McGeoch and Daniel D. Sleator, editors, On-line Algorithms, volume 7 of DIMACS Series in Discrete Mathematics and Theoretical Computer Science, pages 1–10. American Mathematical Society, 1992. Proceedings of the DIMACS Workshop on On-Line Algorithms, Rutgers University, February 11–13, 1991. https://archive.dimacs.rutgers.edu/archive/Volumes/Vol07.html.
  6. [6]Noga Alon, Richard M. Karp, David Peleg, and Douglas West. A graph-theoretic game and its application to the $k$-server problem. SIAM Journal on Computing, 24(1):78–100, 1995. https://doi.org/10.1137/S0097539792224474.
  7. [7]Ittai Abraham and Ofer Neiman. Using petal-decompositions to build a low stretch spanning tree. SIAM Journal on Computing, 48(2):227–248, 2019. Conference version in STOC 2012. https://doi.org/10.1137/17M1115575.
  8. [8]Yair Bartal. Probabilistic approximation of metric spaces and its algorithmic applications. In Proceedings of the 37th Annual Symposium on Foundations of Computer Science (FOCS), pages 184–193. IEEE Computer Society, 1996. https://doi.org/10.1109/SFCS.1996.548477.
  9. [10]Moses Charikar, Chandra Chekuri, Ashish Goel, Sudipto Guha, and Serge Plotkin. Approximating a finite metric by a small number of tree metrics. In Proceedings of the 39th Annual Symposium on Foundations of Computer Science (FOCS), pages 379–388. IEEE Computer Society, 1998. https://doi.org/10.1109/SFCS.1998.743488.
  10. [11]Gruia Calinescu, Howard Karloff, and Yuval Rabani. Approximation algorithms for the 0-extension problem. SIAM Journal on Computing, 34(2):358–372, 2005. Conference version in SODA 2001. https://doi.org/10.1137/S0097539701395978.
  11. [12]Ioannis Dorkofikis, Bernhard Haeupler, Maximilian Probst Gutenberg, Antti Roeyskoe, Aurelio Sulser, and Gernot Zöcklein. Low-stretch spanning trees via smoothed analysis of Dijkstra’s algorithm, 2026. arXiv:2609.35136. https://arxiv.org/abs/2609.35136.
  12. [13]Michael Elkin, Yuval Emek, Daniel A. Spielman, and Shang-Hua Teng. Lower-stretch spanning trees. SIAM Journal on Computing, 38(2):608–628, 2008. Conference version in STOC 2005. https://doi.org/10.1137/050641661.
  13. [14]Yuval Emek and David Peleg. A tight upper bound on the probabilistic embedding of series-parallel graphs. SIAM Journal on Discrete Mathematics, 23(4):1827–1841, 2009. Conference version in SODA 2006. https://doi.org/10.1137/090745441.
  14. [15]Amos Fiat and Manor Mendel. Better algorithms for unfair metrical task systems and applications. SIAM Journal on Computing, 32(6):1403–1422, 2003. Conference version in STOC 2000. https://doi.org/10.1137/S0097539700376159.
  15. [16]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. Conference version in STOC 2003. https://doi.org/10.1016/j.jcss.2004.04.011.
  16. [17]Naveen Garg, Goran Konjevod, and R. Ravi. A polylogarithmic approximation algorithm for the group Steiner tree problem. Journal of Algorithms, 37(1):66–84, 2000. Conference version in SODA 1998. https://doi.org/10.1006/jagm.2000.1096.
  17. [18]Anupam Gupta, Ilan Newman, Yuri Rabinovich, and Alistair Sinclair. Cuts, trees and ℓ₁-embeddings of graphs. Combinatorica, 24(2):233–269, 2004. Conference version in FOCS 1999. https://doi.org/10.1007/s00493-004-0015-x.
  18. [19]Rasmus Kyng, Maximilian Probst Gutenberg, and Tim Rieder. Random-shift revisited: Tight approximations for tree embeddings and ℓ₁-oblivious routings. In Proceedings of the IEEE Symposium on Foundations of Computer Science (FOCS). IEEE Computer Society, 2025. Full version: https://arxiv.org/abs/2510.09124.
  19. [20]Jon Kleinberg and Éva Tardos. Approximation algorithms for classification problems with pairwise relationships: Metric labeling and Markov random fields. Journal of the ACM, 49(5):616–639, 2002. Conference version in FOCS 1999. https://www.cs.cornell.edu/info/people/kleinber/focs99-mrf.pdf.
  20. [21]Serge A. Plotkin, David B. Shmoys, and Éva Tardos. Fast approximation algorithms for fractional packing and covering problems. Mathematics of Operations Research, 20(2):257–301, 1995. https://doi.org/10.1287/moor.20.2.257.
  21. [22]Harald Räcke. Optimal hierarchical decompositions for congestion minimization in networks. In Proceedings of the Fortieth Annual ACM Symposium on Theory of Computing (STOC). ACM, 2008. https://doi.org/10.1145/1374376.1374415.
  22. [23]Daniel A. Spielman and Shang-Hua Teng. Nearly linear time algorithms for preconditioning and solving symmetric, diagonally dominant linear systems. SIAM Journal on Matrix Analysis and Applications, 35(3):835–885, 2014. https://doi.org/10.1137/090771430.

Paper details

vlnc:W_vpaawtks
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents