Parallel Algorithms for Butterfly Computations

Jessica Shi, Julian Shun
7/19/2019
cs.DC

Official code: jeshi96/parbutterfly (6 stars, C++, MIT, last commit 2019-11-26).

Abstract

Butterflies are the smallest non-trivial subgraph in bipartite graphs, and therefore having efficient computations for analyzing them is crucial to improving the quality of certain applications on bipartite graphs. In this paper, we design a framework called ParButterfly that contains new parallel algorithms for the following problems on processing butterflies: global counting, per-vertex counting, per-edge counting, tip decomposition (vertex peeling), and wing decomposition (edge peeling).

Show full abstract

The main component of these algorithms is aggregating wedges incident on subsets of vertices, and our framework supports different methods for wedge aggregation, including sorting, hashing, histogramming, and batching. In addition, ParButterfly supports different ways of ranking the vertices to speed up counting, including side ordering, approximate and exact degree ordering, and approximate and exact complement coreness ordering. For counting, ParButterfly also supports both exact computation as well as approximate computation via graph sparsification. We prove strong theoretical guarantees on the work and span of the algorithms in ParButterfly. We perform a comprehensive evaluation of all of the algorithms in ParButterfly on a collection of real-world bipartite graphs using a 48-core machine. Our counting algorithms obtain significant parallel speedup, outperforming the fastest sequential algorithms by up to 13.6x with a self-relative speedup of up to 38.5x. Compared to general subgraph counting solutions, we are orders of magnitude faster. Our peeling algorithms achieve self-relative speedups of up to 10.7x and outperform the fastest sequential baseline by up to several orders of magnitude.

View on arXivView PDF

Code Implementations(1)

MIT
61C++, CAug 15, 20197 years agoMIT

Similar Papers

Cite this paper

@article{shi2019parallel,
  title  = {Parallel Algorithms for Butterfly Computations},
  author = {Jessica Shi and Julian Shun},
  year   = {2019},
  eprint = {1907.08607},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.08607}
}

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/1907.08607.svg)](https://codeofpaper.com/paper/1907.08607)

Discussion