Amortized Edge Sampling

08/18/2020
by   Talya Eden, et al.
0

We present a sublinear time algorithm that allows one to sample multiple edges from a distribution that is pointwise ϵ-close to the uniform distribution, in an amortized-efficient fashion. We consider the adjacency list query model, where access to a graph G is given via degree and neighbor queries. The problem of sampling a single edge in this model has been considered by Eden and Rosenbaum (SOSA 18). Let n and m denote the number of vertices and edges of G, respectively. Eden and Rosenbaum provided upper and lower bounds of Θ^*(n/√(m)) for sampling a single edge in general graphs (where O^*(·) suppresses poly(1/ϵ) and poly(log n) dependencies). We ask whether the query complexity lower bound for sampling a single edge can be circumvented when multiple samples are required. That is, can we get an improved amortized per-sample cost if we allow a more costly preprocessing phase? We answer in the affirmative. We present an algorithm that, if one knows the number of required samples q in advance, has an overall cost of O^*(√(q)·(n/√(m))), which is strictly preferable to O^*(q· (n/√(m))) cost resulting from q invocations of the algorithm by Eden and Rosenbaum. More generally, for an input parameter x>1, our algorithm has a preprocessing phase with O^*(n/(x· d_avg)) cost, which then allows an O(x/ϵ) per-sample cost, where d_avg denotes the average degree of the graph.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/07/2020

Almost Optimal Bounds for Sublinear-Time Sampling of k-Cliques: Sampling Cliques is Harder Than Counting

In this work, we consider the problem of sampling a k-clique in a graph ...
research
07/14/2021

Towards a Decomposition-Optimal Algorithm for Counting and Sampling Arbitrary Motifs in Sublinear Time

We consider the problem of sampling and approximately counting an arbitr...
research
02/21/2019

The Arboricity Captures the Complexity of Sampling Edges

In this paper, we revisit the problem of sampling edges in an unknown gr...
research
09/23/2020

Sampling an Edge Uniformly in Sublinear Time

The area of sublinear algorithms have recently received a lot of attenti...
research
11/09/2022

Sampling an Edge in Sublinear Time Exactly and Optimally

Sampling edges from a graph in sublinear time is a fundamental problem a...
research
11/08/2018

Fast determinantal point processes via distortion-free intermediate sampling

Given a fixed n× d matrix X, where n≫ d, we study the complexity of samp...
research
11/29/2020

Erasure-Resilient Sublinear-Time Graph Algorithms

We investigate sublinear-time algorithms that take partially erased grap...

Please sign up or login with your details

Forgot password? Click here to reset