# Edge Replacement Grammars: A Formal Language Approach for Generating   Graphs

**Authors:** Revanth Reddy, Sarath Chandar, Balaraman Ravindran

arXiv: 1902.07159 · 2019-02-25

## TL;DR

This paper introduces Restricted Probabilistic Edge Replacement Grammars (RPERGs), a formal graph generation model that efficiently learns from data and captures key structural properties of real-world networks, outperforming existing methods.

## Contribution

It proposes RPERG, a novel restricted grammar model for graph generation, with an efficient learning algorithm and improved performance over existing graph generative models.

## Key findings

- RPERGs outperform existing graph generation methods on real datasets.
- The model captures structural properties like degree distribution and spectral characteristics.
- It improves upon the Hyperedge Replacement Grammar based models.

## Abstract

Graphs are increasingly becoming ubiquitous as models for structured data. A generative model that closely mimics the structural properties of a given set of graphs has utility in a variety of domains. Much of the existing work require that a large number of parameters, in fact exponential in size of the graphs, be estimated from the data. We take a slightly different approach to this problem, leveraging the extensive prior work in the formal graph grammar literature. In this paper, we propose a graph generation model based on Probabilistic Edge Replacement Grammars (PERGs). We propose a variant of PERG called Restricted PERG (RPERG), which is analogous to PCFGs in string grammar literature. With this restriction, we are able to derive a learning algorithm for estimating the parameters of the grammar from graph data. We empirically demonstrate on real life datasets that RPERGs outperform existing methods for graph generation. We improve on the performance of the state-of-the-art Hyperedge Replacement Grammar based graph generative model. Despite being a context free grammar, the proposed model is able to capture many of the structural properties of real networks, such as degree distributions, power law and spectral characteristics.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1902.07159/full.md

## Figures

42 figures with captions in the complete paper: https://tomesphere.com/paper/1902.07159/full.md

## References

23 references — full list in the complete paper: https://tomesphere.com/paper/1902.07159/full.md

---
Source: https://tomesphere.com/paper/1902.07159