arXiv · 2410.20547
A universal bound on the space complexity of Directed Acyclic Graph computations
Abstract
It is shown that $S(G) = O\left(m/\log_2 m + d\right)$ pebbles are sufficient to pebble any DAG $G=(V,E)$, with $m$ edges and maximum in-degree $d$. It was previously known that $S(G) = O\left(d n/\log n\right)$. The result builds on two novel ideas. The first is the notion of $B-budget\ decomposition$ of a DAG $G$, an efficiently computable partition of $G$ into at most $2^{\lfloor \frac{m}{B} \rfloor}$ sub-DAGs, whose cumulative space requirement is at most $B$. The second is the challenging vertices technique, which constructs a pebbling schedule for $G$ from a pebbling schedule for a simplified DAG $G'$, obtained by removing from $G$ a selected set of vertices $W$ and their incident edges. This technique also yields improved pebbling upper bounds for DAGs with bounded genus and for DAGs with bounded topological depth.
Explore related subjects
Keep this discovery
Gianfranco Bilardi, Lorenzo De Stefani. 2024-10-27. A universal bound on the space complexity of Directed Acyclic Graph computations. https://arxiv.org/abs/2410.20547
Cite the original work for its findings. Save a collection to share your selection of sources.