We prove that any two-pass graph streaming algorithm for the $s$-$t$ reachability problem in $n$-vertex directed graphs requires near-quadratic space of $n^{2-o(1)}$ bits. As a corollary, we also obtain near-quadratic space lower bounds for several other fundamental problems including maximum bipartite matching and (approximate) shortest path in undirected graphs. Our results collectively imply that a wide range of graph problems admit essentially no non-trivial streaming algorithm even when two passes over the input is allowed. Prior to our work, such impossibility results were only known for single-pass streaming algorithms, and the best two-pass lower bounds only ruled out $o(n^{7/6})$ space algorithms, leaving open a large gap between (trivial) upper bounds and lower bounds.
翻译:我们证明了任何在$n$个顶点的有向图中用于$s$-$t$可达性问题的双通量图流算法都需要几乎二次的空间$n^{2-o(1)}$位。作为推论,我们还得到了许多其他基本问题的几乎二次空间下限,包括二分匹配和无向图中的(近似)最短路径。我们的结果共同意味着各种图问题很难有任何非平凡的流式算法,即使允许对输入进行两次传递。在我们的工作之前,这种不可能性结果只适用于单次流式算法,并且最好的双向流式下限仅排除了$o(n^{7/6})$空间算法,这留下了一个大的空白区域,介于(平凡的)上限和下限之间。