Space- and Time-Efficient Algorithm for Maintaining Dense Subgraphs on One-Pass Dynamic Streams
Abstract
While in many graph mining applications it is crucial to handle a stream of updates efficiently in terms of {\em both} time and space, not much was known about achieving such type of algorithm. In this paper we study this issue for a problem which lies at the core of many graph mining applications called {\em densest subgraph problem}. We develop an algorithm that achieves time- and space-efficiency for this problem simultaneously. It is one of the first of its kind for graph problems to the best of our knowledge. In a graph , the "density" of a subgraph induced by a subset of nodes is defined as , where is the set of edges in with both endpoints in . In the densest subgraph problem, the goal is to find a subset of nodes that maximizes the density of the corresponding induced subgraph. For any , we present a dynamic algorithm that, with high probability, maintains a -approximation to the densest subgraph problem under a sequence of edge insertions and deletions in a graph with nodes. It uses space, and has an amortized update time of and a query time of . Here, hides a term. The approximation ratio can be improved to at the cost of increasing the query time to . It can be extended to a -approximation sublinear-time algorithm and a distributed-streaming algorithm. Our algorithm is the first streaming algorithm that can maintain the densest subgraph in {\em one pass}. The previously best algorithm in this setting required passes [Bahmani, Kumar and Vassilvitskii, VLDB'12]. The space required by our algorithm is tight up to a polylogarithmic factor.
Cite
@article{arxiv.1504.02268,
title = {Space- and Time-Efficient Algorithm for Maintaining Dense Subgraphs on One-Pass Dynamic Streams},
author = {Sayan Bhattacharya and Monika Henzinger and Danupon Nanongkai and Charalampos E. Tsourakakis},
journal= {arXiv preprint arXiv:1504.02268},
year = {2015}
}
Comments
A preliminary version of this paper appeared in STOC 2015