# The Arboricity Captures the Complexity of Sampling Edges

**Authors:** Talya Eden, Dana Ron, Will Rosenbaum

arXiv: 1902.08086 · 2019-02-22

## TL;DR

This paper introduces an efficient edge sampling algorithm for graphs with bounded arboricity, providing tight bounds on query complexity and applications to subgraph counting.

## Contribution

It presents a new edge sampling algorithm leveraging arboricity bounds, with tight query complexity bounds and applications to approximate subgraph counting.

## Key findings

- Query complexity depends on arboricity and degree bounds.
- Lower bounds match the upper bounds up to poly-logarithmic factors.
- Algorithm applies to subgraph counting problems.

## Abstract

In this paper, we revisit the problem of sampling edges in an unknown graph $G = (V, E)$ from a distribution that is (pointwise) almost uniform over $E$. We consider the case where there is some a priori upper bound on the arboriciy of $G$. Given query access to a graph $G$ over $n$ vertices and of average degree $d$ and arboricity at most $\alpha$, we design an algorithm that performs $O\!\left(\frac{\alpha}{d} \cdot \frac{\log^3 n}{\varepsilon}\right)$ queries in expectation and returns an edge in the graph such that every edge $e \in E$ is sampled with probability $(1 \pm \varepsilon)/m$. The algorithm performs two types of queries: degree queries and neighbor queries. We show that the upper bound is tight (up to poly-logarithmic factors and the dependence in $\varepsilon$), as $\Omega\!\left(\frac{\alpha}{d} \right)$ queries are necessary for the easier task of sampling edges from any distribution over $E$ that is close to uniform in total variational distance. We also prove that even if $G$ is a tree (i.e., $\alpha = 1$ so that $\frac{\alpha}{d}=\Theta(1)$), $\Omega\left(\frac{\log n}{\log\log n}\right)$ queries are necessary to sample an edge from any distribution that is pointwise close to uniform, thus establishing that a $\mathrm{poly}(\log n)$ factor is necessary for constant $\alpha$. Finally we show how our algorithm can be applied to obtain a new result on approximately counting subgraphs, based on the recent work of Assadi, Kapralov, and Khanna (ITCS, 2019).

## Full text

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

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/1902.08086/full.md

## References

24 references — full list in the complete paper: https://tomesphere.com/paper/1902.08086/full.md

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