Spectral Lower Bounds on the I/O Complexity of Computation Graphs

Saachi Jain, Matei Zaharia
9/21/2019
cs.DS

Official code: stanford-futuredata/graphIO (3 stars, Python, last commit 2020-02-15).

Abstract

We consider the problem of finding lower bounds on the I/O complexity of arbitrary computations in a two level memory hierarchy. Executions of complex computations can be formalized as an evaluation order over the underlying computation graph.

Show full abstract

However, prior methods for finding I/O lower bounds leverage the graph structures for specific problems (e.g matrix multiplication) which cannot be applied to arbitrary graphs. In this paper, we first present a novel method to bound the I/O of any computation graph using the first few eigenvalues of the graph's Laplacian. We further extend this bound to the parallel setting. This spectral bound is not only efficiently computable by power iteration, but can also be computed in closed form for graphs with known spectra. We apply our spectral method to compute closed-form analytical bounds on two computation graphs (the Bellman-Held-Karp algorithm for the traveling salesman problem and the Fast Fourier Transform), as well as provide a probabilistic bound for random Erdos Renyi graphs. We empirically validate our bound on four computation graphs, and find that our method provides tighter bounds than current empirical methods and behaves similarly to previously published I/O bounds.

View on arXivView PDF

Code Implementations(1)

Automated Lower Bounds on the I/O Complexity of Computation Graphs

30Python, ShellJul 1, 20196 years ago

Similar Papers

Cite this paper

@article{jain2019spectral,
  title  = {Spectral Lower Bounds on the I/O Complexity of Computation Graphs},
  author = {Saachi Jain and Matei Zaharia},
  year   = {2019},
  eprint = {1909.09791},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.09791}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.09791.svg)](https://codeofpaper.com/paper/1909.09791)

Discussion