Sampling an Edge Uniformly in Sublinear Time

09/23/2020
by   Jakub Tětek, et al.
0

The area of sublinear algorithms have recently received a lot of attention. In this setting, one has to choose specific access model for the input, as the algorithm does not have time to pre-process or even to see the whole input. A fundamental question remained open on the relationship between the two common models for graphs – with and without access to the "random edge" query – namely whether it is possible to sample an edge uniformly at random in the model without access to the random edge queries. In this paper, we answer this question positively. Specifically, we give an algorithm solving this problem that runs in expected time O(n/√(m)log n). This is only a logarithmic factor slower than the lower bound given in [5]. Our algorithm uses the algorithm from [7] which we analyze in a more careful way, leading to better bounds in general graphs. We also show a way to sample edges ϵ-close to uniform in expected time O(n/√(m)log1/ϵ), improving upon the best previously known algorithm. We also note that sampling edges from a distribution sufficiently close to uniform is sufficient to be able to simulate sublinear algorithms that use the random edge queries while decreasing the success probability of the algorithm only by o(1). This allows for a much simpler algorithm that can be used to emulate random edge queries.

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
06/18/2019

Inner Product Oracle can Estimate and Sample

Edge estimation problem in unweighted graphs using local and sometimes g...
research
08/10/2020

An Improved Exact Sampling Algorithm for the Standard Normal Distribution

In 2016, Karney proposed an exact sampling algorithm for the standard no...
research
11/29/2017

Local-Access Generators for Basic Random Graph Models

Consider a computation on a massive random graph: Does one need to gener...
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
08/18/2020

Amortized Edge Sampling

We present a sublinear time algorithm that allows one to sample multiple...
research
03/05/2022

On the Error of Random Sampling: Uniformly Distributed Random Points on Parametric Curves

Given a parametric polynomial curve γ:[a,b]→ℝ^n, how can we sample a ran...

Please sign up or login with your details

Forgot password? Click here to reset