Skip to search boxSkip to navigationSkip to main content

The Case for External Graph Sketching

  • ,
  • Martin Farach-Colton
    ,
  • Michael Bender
    ,
  • Hanna Komlos
    ,
  • David Tench
    ,
  • Evan West
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-review

Open access

Publication Information

Output type

Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-review

Original language

English

Pages from-to (Number of pages)

Pages 115 - 129 (15 pages)

Publication milestones

  • Published - 01/2025

Publication status

Published - 01/2025

Publisher

Society for Industrial and Applied Mathematics, United States

ISBN (Electronic)

978-1-61197-875-9

Host publication title

SIAM Conference on Applied and Computational Discrete Algorithms (ACDA)

Abstract

Algorithms in the data stream model use O(polylog(N)) space to compute some property of an input of size N, and many of these algorithms are implemented and used in practice. However, sketching algorithms in the graph semi-streaming model use O(V polylog(V)) space for a V-vertex graph, and the fact that implementations of these algorithms are not used in the academic literature or in industrial applications may be because this space requirement is too large for RAM on today's hardware.

In this paper we introduce the external semi-streaming model, which addresses the aspects of the semi-streaming model that limit its practical impact. In this model, the input is in the form of a stream and O(V polylog(V)) space is available, but most of that space is accessible only via block I/O operations as in the external memory model. The goal in the external semi-streaming model is to simultaneously achieve small space and low I/O cost.

We present a general transformation from any vertex-based sketch algorithm to one which has a low sketching cost in the new model. We prove that this automatic transformation is tight or nearly (up to a O(\log(V)) factor) tight via an I/O lower bound for the task of sketching the input stream.

Using this transformation and other techniques, we present external semi-streaming algorithms for connectivity, bipartiteness testing, (1+\epsilon)-approximating MST weight, testing k-edge connectivity, (1+\epsilon)-approximating the minimum cut of a graph, computing \epsilon-cut sparsifiers, and approximating the density of the densest subgraph. These algorithms all use O(V poly(\log(V), \epsilon^{-1},k) space. For many of these problems, our external semi-streaming algorithms outperform the state of the art algorithms in both the sketching and external-memory models.

Access to documents

Related Event

Title

SIAM Conference on Applied and Computational Discrete Algorithms

Event type

Conference

Degree of recognition

International event

Date

31/07/2025 - 01/08/2025

Location

MontrealCanada