Dense subgraph


In computer science the notion of highly connected subgraphs appears frequently. This notion can be formalized as follows. Let be an undirected graph and let be a subgraph of. Then the density of is defined to be.
The densest subgraph problem is that of finding a subgraph of maximum density. In 1984, Andrew V. Goldberg developed a polynomial time algorithm to find the maximum density subgraph using a max flow technique.

Densest subgraph

There are many variations on the densest subgraph problem. One of them is the densest subgraph problem, where the objective is to find the maximum density subgraph on exactly vertices. This problem generalizes the clique problem and is thus NP-hard in general graphs. There exists a polynomial algorithm approximating the densest subgraph within a ratio of for every, while it does not admit an -approximation in polynomial time unless the exponential time hypothesis is false. Under a weaker assumption that, no PTAS exists for the problem.
The problem remains NP-hard in bipartite graphs and chordal graphs but is polynomial for trees and split graphs. It is open whether the problem is NP-hard or polynomial in interval graphs and planar graphs; however, a variation of the problem in which the subgraph is required to be connected is NP-hard in planar graphs.

Densest at most subgraph

The objective of the densest at most problem is to find the maximum density subgraph on at most vertices. Anderson and Chellapilla showed that if there exists an approximation for this problem then that will lead to an approximation for the densest subgraph problem.

Densest at least subgraph

The densest at least problem is defined similarly to the densest at most subgraph problem. The problem is NP-complete, but admits 2-approximation in polynomial time. Moreover, there is some evidence that this approximation algorithm is essentially the best possible: assuming the Small Set Expansion Hypothesis, then it is NP-hard to approximate the problem to within factor for every constant.

-clique densest subgraph

introduced the -clique densest subgraph problem. This variation of the densest subgraph problem aims to maximize the average number of induced cliques, where is the set of -cliques induced by. Notice that the densest subgraph problem is obtained as a special case for. This generalization provides an empirically successful poly-time approach for extracting large near-cliques from large-scale real-world networks.

Locally top- densest subgraph

Qin et al. introduced the problem of top-k locally densest subgraphs discovery in a graph, each of which achieves the highest density in its local region in the graph: it is neither contained in any supergraph with the same or larger density, nor it contains subgraphs with density being loosely connected with the rest of the local densest subgraph. Note that the densest subgraph problem is obtained as a special case for. The set of locally densest subgraphs in
a graph can be computed in polynomial time.