Counting Stars and Other Small Subgraphs in Sublinear-Time

Detecting and counting the number of copies of certain subgraphs (also known as network motifs or graphlets) is motivated by applications in a variety of areas ranging from biology to the study of the World Wide Web. Several polynomial-time algorithms have been suggested for counting or detecting th...

Full description

Saved in:
Bibliographic Details
Published in:SIAM journal on discrete mathematics Vol. 25; no. 3; pp. 1365 - 1411
Main Authors: Gonen, Mira, Ron, Dana, Shavitt, Yuval
Format: Journal Article
Language:English
Published: Philadelphia Society for Industrial and Applied Mathematics 01.01.2011
Subjects:
ISSN:0895-4801, 1095-7146
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Detecting and counting the number of copies of certain subgraphs (also known as network motifs or graphlets) is motivated by applications in a variety of areas ranging from biology to the study of the World Wide Web. Several polynomial-time algorithms have been suggested for counting or detecting the number of occurrences of certain network motifs. However, a need for more efficient algorithms arises when the input graph is very large, as is indeed the case in many applications of motif counting. In this paper we design sublinear-time algorithms for approximating the number of copies of certain constant-size subgraphs in a graph G. That is, our algorithms do not read the whole graph, but rather query parts of the graph. Specifically, we consider algorithms that may query the degree of any vertex of their choice and may ask for any neighbor of any vertex of their choice. The main focus of this work is on the basic problem of counting the number of length-2 paths and more generally on counting the number of stars of a certain size. Specifically, we design an algorithm that, given an approximation parameter 0<[straight epsilon]<1 and query access to a graph G, outputs an estimate ν^s such that with high constant probability, (1-[straight epsilon])νs(G)≤ν^s≤(1+[straight epsilon])νs(G), where νs(G) denotes the number of stars of size s+1 in the graph. The expected query complexity and running time of the algorithm are O(n(νs(G))1s+1+min{n1-1s,ns-1s(νs(G))1-1s})·poly(logn,1/[straight epsilon]). We also prove lower bounds showing that this algorithm is tight up to polylogarithmic factors in n and the dependence on [straight epsilon]. Our work extends the work of Feige [SIAM J. Comput., 35 (2006), pp. 964-984] and Goldreich and Ron [Random Structures Algorithms, 32 (2008), pp. 473-493] on approximating the number of edges (or average degree) in a graph. Combined with these results, our result can be used to obtain an estimate on the variance of the degrees in the graph and corresponding higher moments. In addition, we give some (negative) results on approximating the number of triangles and on approximating the number of length-3 paths in sublinear-time. [PUBLICATION ABSTRACT]
Bibliography:ObjectType-Article-1
SourceType-Scholarly Journals-1
ObjectType-Feature-2
content type line 14
ISSN:0895-4801
1095-7146
DOI:10.1137/100783066