English

Stochastic Embedding of Digraphs into DAGs

Data Structures and Algorithms 2025-09-30 v1

Abstract

Given a weighted digraph G=(V,E,w)G=(V,E,w), a stochastic embedding into DAGs is a distribution D\mathcal{D} over pairs of DAGs (D1,D2)(D_1,D_2) such that for every u,vu,v: (1) the reachability is preserved: uGvu\rightsquigarrow_G v (i.e., vv is reachable from uu in GG) implies that uD1vu\rightsquigarrow_{D_1} v or uD2vu\rightsquigarrow_{D_2} v (but not both), and (2) distances are dominated: dG(u,v)min{dD1(u,v),dD2(u,v)}d_G(u,v)\le\min\{d_{D_1}(u,v),d_{D_2}(u,v)\}. The stochastic embedding D\mathcal{D} has expected distortion tt if for every u,vVu,v\in V, E(D1,D2)D[dD1(u,v)1[uD1v]+dD2(u,v)1[uD2v]]tdG(u,v) . \mathbb{E}_{(D_{1},D_{2})\sim\mathcal{D}}\left[d_{D_{1}}(u,v)\cdot\boldsymbol{1}[u\rightsquigarrow_{D_{1}}v]+d_{D_{2}}(u,v)\cdot\boldsymbol{1}[u\rightsquigarrow_{D_{2}}v]\right]\le t\cdot d_{G}(u,v)~. Finally, the sparsity of D\mathcal{D} is the maximum number of edges in any of the DAGs in its support. Given an nn vertex digraph with mm edges, we construct a stochastic embedding into DAGs with expected distortion O~(logn)\tilde{O}(\log n) and O~(m)\tilde{O}(m) sparsity, improving a previous result by Assadi, Hoppenworth, and Wein [STOC 25], which achieved expected distortion O~(log3n)\tilde{O}(\log^3 n). Further, we can sample DAGs from this distribution in O~(m)\tilde{O}(m) time.

Keywords

Cite

@article{arxiv.2509.23458,
  title  = {Stochastic Embedding of Digraphs into DAGs},
  author = {Arnold Filtser},
  journal= {arXiv preprint arXiv:2509.23458},
  year   = {2025}
}
R2 v1 2026-07-01T06:01:23.442Z