Density-friendly Graph Decomposition

Nikolaj Tatti, Aristides Gionis

Abstract

Identifying the most cohesive regions of a network is a fundamental task in graph analysis. While k-core decomposition is a standard tool for this purpose due to its efficiency, it fails to guarantee that inner layers are denser than the outer ones. This paper introduces a "density-friendly" graph decomposition framework that ensures a nested hierarchy of subgraphs with strictly increasing density. We present an exact polynomial-time algorithm (ExactLD) and a fast linear-time approximation (GreedyLD). Our experimental results on large-scale real-world networks demonstrate that this approach provides more consistent structural insights than traditional methods while maintaining high scalability.

1. Introduction

In the world of network analysis, finding the "core" of a graph is a fundamental task. Whether identifying influential individuals in a social network or critical hubs in an internet topology, researchers require methods to isolate the most tightly-knit regions. For decades, the go-to tool has been k-core decomposition. However, a significant theoretical gap exists: the "core" identified by this method isn't necessarily the densest part of the graph. Nikolaj Tatti’s paper, "Density-friendly Graph Decomposition," addresses this discrepancy by introducing a new hierarchical framework that prioritizes density over simple node degrees.

2. The Density Inconsistency of k-cores

k-core decomposition is popular because it is simple and fast: nodes with a degree less than k are repeatedly removed until only the core remains. However, k-cores do not strictly respect density, defined as the ratio of edges to vertices. This "inconsistency" means that if the goal is to find the most cohesive communities, k-cores might lead to suboptimal subgraphs.

Toy graphs showing that higher k-cores aren't always denser. In G1, the 3-core C1 is less dense than the 2-core C2.

As illustrated in the figure above, an "inner" k-core can actually be less dense than the "outer" core containing it. In graph G1, the 3-core C1 is less dense than the 2-core C2. Tatti's work aims to create a decomposition that is "density-friendly," ensuring that as one moves deeper into the hierarchy, the subgraphs always increase in density.

3. Locally-Dense Decomposition

The author defines a locally-dense subgraph as one whose density cannot be improved by adding or removing vertices. These subgraphs naturally form a nested chain, similar to k-cores but ordered strictly by density. This framework ensures that the innermost subgraph is the absolute densest subgraph of the entire network.

To make this decomposition practical for large graphs, the paper also introduces a segmentation technique. Since a full decomposition might produce hundreds of subgraphs, this method uses a statistical model and dynamic programming to "compress" the hierarchy into exactly k layers that best represent the graph's structural organization.

4. Algorithms: ExactLD and GreedyLD

The paper proposes two primary algorithms to uncover this hierarchy:

  1. ExactLD: An exact algorithm based on Goldberg’s max-flow/min-cut approach for finding the densest subgraph. By recursively splitting the graph based on a density parameter, it identifies the entire locally-dense hierarchy. While its worst-case complexity is $O(n^2m)$, optimizations make it highly practical for real-world applications.
  2. GreedyLD: A linear-time approximation algorithm. It extends Charikar’s greedy approach—iteratively removing the lowest-degree vertex—to estimate the locally-dense layers. It comes with a theoretical factor-2 approximation guarantee.

Interestingly, the author proves that the standard k-core decomposition is itself a factor-2 approximation of the locally-dense decomposition, which explains its historical utility despite its theoretical flaws.

5. Experimental Evaluation

The algorithms were evaluated on 13 real-world datasets, ranging from social networks like dblp to infrastructure maps like roadnet. Key findings include:

  • Scalability: ExactLD processed the skitter dataset (1.7M nodes, 11M edges) in under two minutes, while GreedyLD took only 21 seconds.
  • Approximation Quality: GreedyLD consistently provided higher-quality approximations than k-core decomposition, often achieving ratios above 0.8 relative to the exact density.
  • Practical Utility: On the airports dataset, the segmentation method successfully identified major hubs (e.g., JFK, ATL, ORD) as the innermost core, while correctly assigning regional airports to outer layers.

6. Conclusion

Density-friendly graph decomposition offers a more principled approach to identifying cohesive structures in networks than traditional k-core methods. By prioritizing density, it resolves inconsistencies found in degree-based peeling and provides a robust framework for hierarchical network analysis. Future work may extend these concepts to directed graphs or alternative density metrics like triangle-density to better capture community cliquishness.

Summary updated

BibTeX
@inproceedings{tatti2015density,
  author = {Nikolaj Tatti and Aristides Gionis},
  title = {{Density-friendly Graph Decomposition}},
  booktitle = {The Web Conference},
  year = {2015},
  doi = {10.1145/2736277.2741119},
}
Figure