Finding communities in directed networks

Youngdo Kim, Seung‐Woo Son, Hawoong JeongPhysical 2010 · DOI

Abstract

To identify communities in directed networks, we propose a generalized form of modularity in directed networks by presenting the quantity LinkRank, which can be considered as the PageRank of links. This generalization is consistent with the original modularity in undirected networks and the modularity optimization methods developed for undirected networks can be directly applied to directed networks by optimizing our modified modularity. Also, a model network, which can be used as a benchmark network in further community studies, is proposed to verify our method. Our method is supposed to find communities effectively in citation- or reference-based directed networks.

Introduction

In the study of complex systems, identifying communities—groups of nodes that are more densely connected to each other than to the rest of the network—is crucial for understanding structural and functional properties. While community detection in undirected networks is well-established, directed networks (such as the World Wide Web, citation indices, or neural pathways) present a significant challenge. Standard modularity metrics often fail to account for the directional flow of information, leading to results that ignore the "one-way" nature of real-world data.

The Problem with Directionality

A common approach to directed networks has been to simply ignore link direction or to use metrics that group nodes based on their "net strength" (the difference between incoming and outgoing links). However, in directed systems, communities are better defined by the flow of information. A true community acts as a "trap region" where a random walker is likely to spend a significant amount of time before exiting. Existing modularity generalizations often failed to capture this trapping effect, sometimes grouping nodes by their functional roles (e.g., all "source" nodes together) rather than their structural proximity.

Methods: Introducing LinkRank

To address these issues, we propose LinkRank, a quantity inspired by Google's PageRank algorithm. While PageRank measures the importance of nodes, LinkRank measures the importance of links.

  1. Defining LinkRank ($L_{ij}$): LinkRank is the probability that a random walker, in a steady state, will traverse the specific link from node $i$ to node $j$.
  2. Generalized Modularity ($Q^{lr}$): We redefine modularity as the fraction of time a random walker spends within communities minus the expected time spent there in a random "null model."
  3. The PageRank-Preserving Null Model: Unlike standard null models that only preserve node degrees, our model preserves the PageRank sequence. This ensures that the inherent "importance" of nodes is accounted for, preventing the algorithm from being misled by statistical flukes in high-traffic areas.

One of the most elegant features of this approach is its mathematical consistency: when applied to an undirected network, LinkRank modularity simplifies perfectly into the standard modularity formula proposed by Newman.

The "Rings of Rings" Benchmark

To validate our method, we developed a new benchmark called the "Rings of Rings" model. This model consists of $n$ small directed rings embedded within one large directed ring.

The 'Rings of Rings' benchmark model, consisting of $n$ small rings with $m$ nodes each, connected by inter-ring links of weight $w$.

This structure provides a clear "ground truth" for communities. By adjusting the weight ($w$) of the links between the small rings, we can test how robust a community detection algorithm is as the boundaries between groups become increasingly "leaky."

Key Results and Comparison

Our tests demonstrate that LinkRank significantly outperforms previous methods in identifying structural communities. On the "Rings of Rings" benchmark, LinkRank correctly identifies the small rings as distinct communities even when the inter-ring links are relatively strong.

Community detection results on the 'Rings of Rings' model. (a) LinkRank correctly identifies the individual rings as communities. (b) Traditional methods often fail, grouping nodes by their functional roles instead.

In contrast, competing methods (like the Leicht-Newman modularity) often fail by grouping nodes with similar "roles" together—for instance, grouping all nodes that receive inter-ring links into one community and all nodes that send them into another. LinkRank avoids this "symmetry breaking" error by respecting the actual flow of the network.

Furthermore, because $Q^{lr}$ follows the same mathematical structure as traditional modularity, researchers can use existing, highly-optimized optimization algorithms (like the Louvain method) to find communities in directed networks with minimal modification.

Conclusion

LinkRank provides a mathematically rigorous and practically efficient framework for community detection in directed networks. By shifting the focus from link density to flow persistence, it captures the essential "trapping" nature of communities in systems like citation networks and the web. Future work will explore the application of LinkRank to overlapping communities and hierarchical structures, further expanding our ability to map the complex architectures of the digital and physical worlds.

Summary updated

BibTeX
@inproceedings{kim2010finding,
  author = {Youngdo Kim and Seung‐Woo Son and Hawoong Jeong},
  title = {{Finding communities in directed networks}},
  booktitle = {Physical},
  year = {2010},
  doi = {10.1103/physreve.81.016103},
}
Figure