DAG Projections: Reducing Distance and Flow Problems to DAGs
Bernhard Haeupler, Yonggang Jiang, Thatchaphol Saranurak
Abstract
We show that every directed graph G with n vertices and m edges admits a directed acyclic graph (DAG) with m1+o(1) edges, called a DAG projection, that can either (1+1/polylog (n))-approximate distances between all pairs of vertices (s,t) in G, or no(1)-approximate maximum flow between all pairs of vertex subsets (S,T) in G. Previous similar results suffer a Ω(logn) 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)-time constructions. Further, they admit almost-optimal parallel constructions, i.e., algorithms with m1+o(1) work and mo(1) depth, assuming the ones for approximate shortest path or maximum flow on DAGs, even when the input G 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+)-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,є)-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))-approximation on DAGs, and (3) From exact directed maximum flow to no(1)-approximation on DAGs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on16
- Faster parallel algorithm for approximate shortest pathJason LiSTOC 2020 · 48 citations
- Negative-Weight Single-Source Shortest Paths in Near-linear TimeAaron Bernstein, Danupon Nanongkai, Christian Wulff-NilsenFOCS 2022 · 24 citations
- Efficient construction of directed hopsets and parallel approximate shortest pathsNairen Cao, Jeremy T. Fineman, Katina RussellSTOC 2020 · 13 citations
- Clan embeddings into trees, and low treewidth graphsArnold Filtser, Hung LeSTOC 2021 · 11 citations
- Parallel Approximate Maximum Flows in Near-Linear Work and Polylogarithmic DepthArpit Agarwal, Sanjeev Khanna, Huan Li, Prathamesh Patil et al.SODA 2024 · 7 citations
Related papers
- Parallel approximate undirected shortest paths via low hop emulatorsAlexandr Andoni, Clifford Stein, Peilin ZhongSTOC 2020 · 50 citations
- New Separations and Reductions for Directed Hopsets and PreserversGary Hoppenworth, Yinzhan Xu, Zixuan XuSODA 2025 · 2 citations
- Parallel Exact Shortest Paths in Almost Linear Work and Square Root DepthNairen Cao, Jeremy T. FinemanSODA 2023 · 4 citations
- Parallel Breadth-First Search and Exact Shortest Paths and Stronger Notions for Approximate DistancesVáclav Rozhon, Bernhard Haeupler, Anders Martinsson, Christoph Grunau et al.STOC 2023 · 6 citations
- Closing the Gap Between Directed Hopsets and Shortcut SetsAaron Bernstein, Nicole WeinSODA 2023 · 3 citations
