Peregrine: A Pattern-Aware Graph Mining System

Kasra Jamshidi, Rakesh Mahadasa, Keval Vora
4/6/2020
cs.DCcs.DB

Official code: pdclab/peregrine (211 stars, C++, GPL-3.0, last commit 2025-03-12).

Abstract

Graph mining workloads aim to extract structural properties of a graph by exploring its subgraph structures. General purpose graph mining systems provide a generic runtime to explore subgraph structures of interest with the help of user-defined functions that guide the overall exploration process.

Show full abstract

However, the state-of-the-art graph mining systems remain largely oblivious to the shape (or pattern) of the subgraphs that they mine. This causes them to: (a) explore unnecessary subgraphs; (b) perform expensive computations on the explored subgraphs; and, (c) hold intermediate partial subgraphs in memory; all of which affect their overall performance. Furthermore, their programming models are often tied to their underlying exploration strategies, which makes it difficult for domain users to express complex mining tasks. In this paper, we develop Peregrine, a pattern-aware graph mining system that directly explores the subgraphs of interest while avoiding exploration of unnecessary subgraphs, and simultaneously bypassing expensive computations throughout the mining process. We design a pattern-based programming model that treats "graph patterns" as first class constructs and enables Peregrine to extract the semantics of patterns, which it uses to guide its exploration. Our evaluation shows that Peregrine outperforms state-of-the-art distributed and single machine graph mining systems, and scales to complex mining tasks on larger graphs, while retaining simplicity and expressivity with its "pattern-first" programming approach.

View on arXivView PDF

Code Implementations(1)

pdclab/peregrineOfficial100%
GPL-3.0

Peregrine: A Pattern-Aware Graph Mining System

21138C++, CApr 5, 20201 years agoGPL-3.0

Similar Papers

Cite this paper

@article{jamshidi2020peregrine,
  title  = {Peregrine: A Pattern-Aware Graph Mining System},
  author = {Kasra Jamshidi and Rakesh Mahadasa and Keval Vora},
  year   = {2020},
  eprint = {2004.02369},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.02369}
}

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

Discussion