Electrical Flows for Polylogarithmic Competitive Oblivious Routing

Gramoz Goranci, Monika Henzinger, Harald Räcke, Sushant Sachdeva, A. R. Sricharan

Abstract

Oblivious routing is a fundamental problem in network design, requiring static routing decisions that perform well against arbitrary traffic patterns. Traditionally, achieving polylogarithmic competitive ratios relied on routing over a large collection of spanning trees, a process with high construction costs and limited parallelizability. This paper presents a breakthrough by utilizing electrical flows—a generalization of tree-based routing—to construct efficient oblivious routing schemes. By combining Multiplicative Weights Update (MWU) with matrix sketching and fast Laplacian solvers, the authors demonstrate that a convex combination of $O(\sqrt{m})$ electrical flows can achieve an $O(\log^2 n)$ competitive ratio. The resulting algorithm reduces construction complexity to $\tilde{O}(m^{3/2})$ and significantly improves parallel depth, overcoming the "tree barrier" in network routing.

Introduction

In the domain of network optimization, oblivious routing seeks to precompute routing tables that remain effective regardless of the actual demand matrix. The performance of such a scheme is quantified by its competitive ratio: the maximum ratio of the congestion produced by the oblivious routing to the congestion produced by an optimal, demand-aware scheduler.

For decades, the state-of-the-art approach involved routing over a distribution of spanning trees. While effective in achieving $O(\log n)$ competitive ratios, these tree-based methods suffer from two major drawbacks: they typically require $O(m^2)$ construction times and are inherently sequential, posing challenges for large-scale and high-performance computing environments. This paper asks whether electrical flows, which offer more degrees of freedom than trees, can be used to build more efficient schemes.

Algorithmic Framework

The core innovation of this work lies in replacing spanning trees with electrical flows. In an electrical flow model, each edge is assigned a resistance, and traffic (current) follows the path of least resistance from source to sink. This approach is more flexible than tree-based routing; indeed, a tree routing can be viewed as a special case of an electrical flow where non-tree edges have infinite resistance.

To find the optimal distribution of electrical flows, the authors employ the Multiplicative Weights Update (MWU) framework. The algorithm iteratively identifies overloaded edges and increases their resistances, forcing traffic to redistribute. A critical challenge in this iterative process is the computational cost of calculating edge loads in every iteration. To maintain efficiency, the authors integrate matrix sketching techniques—specifically Indyk’s sketching—to approximate edge loads in near-linear time.

Algorithm 2: GETAPPROXLOAD, demonstrating the use of matrix sketching and Laplacian solvers to compute approximate edge loads.

As shown in Algorithm 2, the GETAPPROXLOAD procedure utilizes a sketching matrix $C$ and efficient Laplacian solvers (LAPSOLVE) to estimate the load on edges without computing the full electrical flow explicitly. This dimensionality reduction is key to achieving the $\tilde{O}(m^{3/2})$ total work complexity.

Key Insights and Results

The transition from trees to electrical flows provides several theoretical and practical advantages:

  • Reducing the Support: The "support" of the solution—the number of distinct routings needed—is reduced from $O(m)$ trees to just $O(\sqrt{m})$ electrical flows. This square-root reduction is the primary driver of the improved construction time.
  • Parallelization: The reliance on Laplacian solvers allows for high parallelization, as these systems can be solved efficiently in parallel. The algorithm achieves a parallel depth of $\tilde{O}(\sqrt{m})$.
  • Competitive Performance: The scheme achieves a competitive ratio of $O(\log^2 n)$ for network congestion in general undirected graphs. The authors also show that these techniques apply to minimizing "stretch" (the $\ell_1$ norm of edge loads).
  • Localization Connection: The authors establish a link between the competitive ratio and the "localization" of electrical flows, suggesting that future refinements in graph theory could further tighten the performance bounds.

Conclusion and Future Work

This work demonstrates that electrical flows are a powerful alternative to spanning trees for oblivious routing. By breaking the "tree barrier," the authors provide a more scalable and parallelizable framework for network design. While a small gap remains between the $O(\log^2 n)$ ratio of this method and the $O(\log n)$ of tree-based methods, the computational gains are substantial. Future research may focus on closing this logarithmic gap or extending these electrical analogies to the more challenging domain of directed graphs, where oblivious routing remains a difficult problem.

Summary updated

BibTeX
@inproceedings{goranci2024electrical,
  author = {Gramoz Goranci and Monika Henzinger and Harald Räcke and Sushant Sachdeva and A. R. Sricharan},
  title = {{Electrical Flows for Polylogarithmic Competitive Oblivious Routing}},
  booktitle = {ITCS},
  year = {2024},
  doi = {10.4230/lipics.itcs.2024.55},
}
Figure