Edge Sampling and Graph Parameter Estimation via Vertex Neighborhood Accesses
Preprint
Abstract
In this paper, we consider the problems from the area of sublinear-time algorithms of edge sampling, edge counting, and triangle counting. Part of our contribution is that we consider three different settings, differing in the way in which one may access the neighborhood of a given vertex. In previous work, people have considered indexed neighbor access, with a query returning the $i$-th neighbor of a given vertex. Full neighborhood access model, which has a query that returns the entire neighborhood at a unit cost, has recently been considered in the applied community. Between these, we propose hash-ordered neighbor access, inspired by coordinated sampling, where we have a global fully random hash function, and can access neighbors in order of their hash values, paying a constant for each accessed neighbor. For edge sampling and counting, our new lower bounds are in the most powerful full neighborhood access model. We provide matching upper bounds in the weaker hash-ordered neighbor access model. Our new faster algorithms can be provably implemented efficiently on massive graphs in external memory and with the current APIs for, e.g., Twitter or Wikipedia. For triangle counting, we provide a separation: a better upper bound with full neighborhood access than the known lower bounds with indexed neighbor access. The technical core of our paper is our edge-sampling algorithm on which the other results depend.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- The Complexity of Counting Cycles in the Adjacency List Streaming Model2019
- Sublinear-Time Algorithms for Counting Star Subgraphs via Edge SamplingAlgorithmica, 2017
- Efficient Triangle Counting in Large Graphs via Degree-Based Vertex PartitioningInternet Mathematics, 2012
- Approximating average parameters of graphsRandom Structures & Algorithms, 2008
- On Sums of Independent Random Variables with Unbounded Variance and Estimating the Average Degree in a GraphSIAM Journal on Computing, 2006
- Sequential sampling techniques for algorithmic learning theoryTheoretical Computer Science, 2005
- Tight Bounds for Testing Bipartiteness in General GraphsSIAM Journal on Computing, 2004
- Neural Network Learning1999
- Efficient sampling strategies for relational database operationsTheoretical Computer Science, 1993
- Finding a minimum circuit in a graph1977