TY - GEN
T1 - The arboricity captures the complexity of sampling edges
AU - Eden, Talya
AU - Ron, Dana
AU - Rosenbaum, Will
N1 - Publisher Copyright: © Graham Cormode, Jacques Dark, and Christian Konrad; licensed under Creative Commons License CC-BY
PY - 2019/7/1
Y1 - 2019/7/1
N2 - 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 α, we design an algorithm that performs O αd · logε3 n queries in expectation and returns an edge in the graph such that every edge e ∈ E is sampled with probability (1 ± ε)/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 ε), as Ω αd 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., α = 1 so that αd = Θ(1)), Ω logloglog nn queries are necessary to sample an edge from any distribution that is pointwise close to uniform, thus establishing that a poly(log n) factor is necessary for constant α. 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).
AB - 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 α, we design an algorithm that performs O αd · logε3 n queries in expectation and returns an edge in the graph such that every edge e ∈ E is sampled with probability (1 ± ε)/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 ε), as Ω αd 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., α = 1 so that αd = Θ(1)), Ω logloglog nn queries are necessary to sample an edge from any distribution that is pointwise close to uniform, thus establishing that a poly(log n) factor is necessary for constant α. 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).
KW - Arboricity
KW - Graph algorithms
KW - Sampling
KW - Sublinear-time algorithms
UR - http://www.scopus.com/inward/record.url?scp=85069223608&partnerID=8YFLogxK
U2 - 10.4230/LIPIcs.ICALP.2019.52
DO - 10.4230/LIPIcs.ICALP.2019.52
M3 - منشور من مؤتمر
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019
A2 - Baier, Christel
A2 - Chatzigiannakis, Ioannis
A2 - Flocchini, Paola
A2 - Leonardi, Stefano
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
T2 - 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019
Y2 - 9 July 2019 through 12 July 2019
ER -