English

Covering Approximate Shortest Paths with DAGs

Data Structures and Algorithms 2025-04-16 v1

Abstract

We define and study analogs of probabilistic tree embedding and tree cover for directed graphs. We define the notion of a DAG cover of a general directed graph GG: a small collection D1,DgD_1,\dots D_g of DAGs so that for all pairs of vertices s,ts,t, some DAG DiD_i provides low distortion for dist(s,t)dist(s,t); i.e. distG(s,t)mini[g]distDi(s,t)αdistG(s,t) dist_G(s, t) \le \min_{i \in [g]} dist_{D_i}(s, t) \leq \alpha \cdot dist_G(s, t), where α\alpha is the distortion. As a trivial upper bound, there is a DAG cover with nn DAGs and α=1\alpha=1 by taking the shortest-paths tree from each vertex. When each DAG is restricted to be a subgraph of GG, there is a matching lower bound (via a directed cycle) that nn DAGs are necessary, even to preserve reachability. Thus, we allow the DAGs to include a limited number of additional edges not in the original graph. When n2n^2 additional edges are allowed, there is a simple upper bound of two DAGs and α=1\alpha=1. Our first result is an almost-matching lower bound that even for n2o(1)n^{2-o(1)} additional edges, at least n1o(1)n^{1-o(1)} DAGs are needed, even to preserve reachability. However, the story is different when the number of additional edges is O~(m)\tilde{O}(m), a natural setting where the sparsity of the DAG collection nearly matches the original graph. Our main upper bound is that there is a near-linear time algorithm to construct a DAG cover with O~(m)\tilde{O}(m) additional edges, polylogarithmic distortion, and only O(logn)O(\log n) DAGs. This is similar to known results for undirected graphs: the well-known FRT probabilistic tree embedding implies a tree cover where both the number of trees and the distortion are logarithmic. Our algorithm also extends to a certain probabilistic embedding guarantee. Lastly, we complement our upper bound with a lower bound showing that achieving a DAG cover with no distortion and O~(m)\tilde{O}(m) additional edges requires a polynomial number of DAGs.

Keywords

Cite

@article{arxiv.2504.11256,
  title  = {Covering Approximate Shortest Paths with DAGs},
  author = {Sepehr Assadi and Gary Hoppenworth and Nicole Wein},
  journal= {arXiv preprint arXiv:2504.11256},
  year   = {2025}
}
R2 v1 2026-06-28T22:59:13.175Z