Approximate Densest Subgraph
#
Problem Specification#
Input, an undirected graph, and a parameter .
#
Output, a set of vertices such that the density of is a approximation of the density of the densest subgraph of .
#
DefinitionsThe density of a subset of vertices is the number of edges in the subgraph divided by the number of vertices.
#
Algorithm ImplementationsIn GBBS we implement the elegant -approximation algorithm of Bahmani et al. [1]. More details about our implementation can be found in Section 6.4 of [2].
The code for our implemenation is available here.
#
Cost BoundsOur implementation of the algorithm runs in work and depth. We provide a proof of this result in Section 6.4 of [2].
#
Compiling and RunningThe benchmark can be compiled by running:
It can be run on a test input graph in the uncompressed format as follows:
It can be run on a test input graph in the compressed format as follows:
#
References[1] Bahman Bahmani, Ravi Kumar, and Sergei Vassilvitskii
Densest Subgraph in Streaming and MapReduce
Proc. {VLDB} Endow. 5(5), pp. 454-465, 2012
[2] Laxman Dhulipala, Guy Blelloch, and Julian Shun
Theoretically Efficient Parallel Graph Algorithms Can Be Fast and Scalable
Proceedings of the ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pp. 393-404, 2018.