English

DAG Projections: Reducing Distance and Flow Problems to DAGs

Data Structures and Algorithms 2026-04-07 v1

Abstract

We show that every directed graph GG with nn vertices and mm edges admits a directed acyclic graph (DAG) with m1+o(1)m^{1+o(1)} edges, called a DAG projection, that can either (1+1/polylog(n))(1+1/\text{polylog} (n))-approximate distances between all pairs of vertices (s,t)(s,t) in GG, or no(1)n^{o(1)}-approximate maximum flow between all pairs of vertex subsets (S,T)(S,T) in GG. Previous similar results suffer a Ω(logn)\Omega(\log n) approximation factor for distances [Assadi, Hoppenworth, Wein, STOC'25] [Filtser, SODA'26] and, for maximum flow, no prior result of this type is known. Our DAG projections admit m1+o(1)m^{1+o(1)}-time constructions. Further, they admit almost-optimal parallel constructions, i.e., algorithms with m1+o(1)m^{1+o(1)} work and mo(1)m^{o(1)} depth, assuming the ones for approximate shortest path or maximum flow on DAGs, even when the input GG is not a DAG. DAG projections immediately transfer results on DAGs, usually simpler and more efficient, to directed graphs. As examples, we improve the state-of-the-art of (1+ϵ)(1+\epsilon)-approximate distance preservers [Hoppenworth, Xu, Xu, SODA'25] and single-source minimum cut [Cheung, Lau, Leung, SICOMP'13], and obtain simpler construction of (n1/3,ϵ)(n^{1/3},\epsilon)-hop-set [Kogan, Parter, SODA'22] [Bernstein, Wein, SODA'23] and combinatorial max flow algorithms [Bernstein, Blikstad, Saranurak, Tu, FOCS'24] [Bernstein, Blikstad, Li, Saranurak, Tu, FOCS'25]. Finally, via DAG projections, we reduce major open problems on almost-optimal parallel algorithms for exact single-source shortest paths (SSSP) and maximum flow to easier settings: (1) From exact directed SSSP to exact undirected ones, (2) From exact directed SSSP to (1+1/polylog(n))(1+1/\text{polylog}(n))-approximation on DAGs, and (3) From exact directed maximum flow to no(1)n^{o(1)}-approximation on DAGs.

Keywords

Cite

@article{arxiv.2604.04752,
  title  = {DAG Projections: Reducing Distance and Flow Problems to DAGs},
  author = {Bernhard Haeupler and Yonggang Jiang and Thatchaphol Saranurak},
  journal= {arXiv preprint arXiv:2604.04752},
  year   = {2026}
}
R2 v1 2026-07-01T11:55:25.677Z