# Counting Motifs with Graph Sampling

**Authors:** Jason M. Klusowski, Yihong Wu

arXiv: 1802.07773 · 2018-02-23

## TL;DR

This paper develops statistical methods for estimating motif counts in large networks from sampled data, comparing subgraph and neighborhood sampling schemes, and establishes optimal sampling ratios and bounds.

## Contribution

It introduces new estimators and theoretical bounds for motif count estimation under different sampling models, improving understanding of sampling efficiency.

## Key findings

- Neighborhood sampling outperforms subgraph sampling in information content.
- Optimal sampling ratios are derived for different motif sizes and sampling schemes.
- The proposed estimators are shown to be minimax optimal for certain classes of motifs.

## Abstract

Applied researchers often construct a network from a random sample of nodes in order to infer properties of the parent network. Two of the most widely used sampling schemes are subgraph sampling, where we sample each vertex independently with probability $p$ and observe the subgraph induced by the sampled vertices, and neighborhood sampling, where we additionally observe the edges between the sampled vertices and their neighbors.   In this paper, we study the problem of estimating the number of motifs as induced subgraphs under both models from a statistical perspective. We show that: for any connected $h$ on $k$ vertices, to estimate $s=\mathsf{s}(h,G)$, the number of copies of $h$ in the parent graph $G$ of maximum degree $d$, with a multiplicative error of $\epsilon$, (a) For subgraph sampling, the optimal sampling ratio $p$ is $\Theta_{k}(\max\{ (s\epsilon^2)^{-\frac{1}{k}}, \; \frac{d^{k-1}}{s\epsilon^{2}} \})$, achieved by Horvitz-Thompson type of estimators. (b) For neighborhood sampling, we propose a family of estimators, encompassing and outperforming the Horvitz-Thompson estimator and achieving the sampling ratio $O_{k}(\min\{ (\frac{d}{s\epsilon^2})^{\frac{1}{k-1}}, \; \sqrt{\frac{d^{k-2}}{s\epsilon^2}}\})$. This is shown to be optimal for all motifs with at most $4$ vertices and cliques of all sizes.   The matching minimax lower bounds are established using certain algebraic properties of subgraph counts. These results quantify how much more informative neighborhood sampling is than subgraph sampling, as empirically verified by experiments on both synthetic and real-world data. We also address the issue of adaptation to the unknown maximum degree, and study specific problems for parent graphs with additional structures, e.g., trees or planar graphs.

## Full text

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

## Figures

24 figures with captions in the complete paper: https://tomesphere.com/paper/1802.07773/full.md

## References

39 references — full list in the complete paper: https://tomesphere.com/paper/1802.07773/full.md

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