Abstract
Community detection is a fundamental task in network science, traditionally guided by the modularity metric ($Q$). However, standard modularity assumes undirected edges and exclusive community membership, limitations that hinder its application to complex real-world systems. This paper introduces an extended metric, $Q_{ov}$, designed for directed graphs with overlapping communities. By incorporating in-degree/out-degree distributions and fuzzy belonging factors, $Q_{ov}$ offers a more precise evaluation of network partitions, as demonstrated through the analysis of the classic Zachary Karate Club benchmark.
Introduction
In network analysis, a community is defined by a higher density of internal connections compared to external ones. Modularity ($Q$) serves as the primary objective function for evaluating these divisions. Despite its popularity, the original definition has two significant shortcomings: it ignores edge directionality and assumes each node belongs to exactly one community. In reality, relationships are often directional (e.g., Twitter follows), and individuals often maintain memberships in multiple social or professional circles simultaneously.
Methodology
The authors propose $Q_{ov}$ (overlapping modularity), which extends the classical formula through three key innovations:
- Directed Null Model: The metric accounts for the directional flow of information by distinguishing between a node's in-degree (incoming links) and out-degree (outgoing links). This ensures the baseline random graph used for comparison preserves the directional characteristics of the observed network.
- Belonging Factors ($\alpha$): Each node $i$ is assigned a coefficient $\alpha_{i,k}$ representing its strength of membership in community $k$. These factors are normalized such that the total belonging of a node across all communities sums to 1, allowing for "fuzzy" or overlapping memberships.
- Edge Belonging Function ($\mathcal{F}$): To determine the community membership of a link between two nodes, the authors employ a two-dimensional logistic function. This creates a smooth, non-linear transition between communities, mimicking the discrete logic of original modularity while allowing for continuous overlap.
Case Study: The Zachary Karate Club
The proposed metric was validated using the Zachary Karate Club network, a standard benchmark representing 34 members and their social ties. The club famously split into two factions, providing a "ground truth" for community detection. While traditional algorithms often struggle with "border-line" individuals who have ties to both groups, the $Q_{ov}$ metric allows for a more granular investigation of these nodes.
Key Results
The analysis focused on nodes 3 and 10, which are qualitatively known as "bridge" members between the two factions. By allowing these nodes to have partial membership in both communities, the authors achieved a maximum modularity score of $Q_{ov} \approx 0.746796$.
As shown in Figure 1, the modularity surface reaches its peak when node 3 has an 81% belonging factor to the first community and node 10 has a 63% belonging factor. This quantitative result confirms that treating these nodes as overlapping members—rather than forcing a binary choice—more accurately reflects the network's underlying structural richness. Furthermore, the authors proved that $Q_{ov}$ is backward compatible, reducing to Newman’s original $Q$ for undirected, non-overlapping graphs.
Conclusion
The $Q_{ov}$ metric provides a robust framework for analyzing complex networks where directionality and overlap are prevalent. While the choice of the edge belonging function $\mathcal{F}$ remains a subject for further exploration, the current results demonstrate that incorporating fuzzy memberships significantly improves the precision of community detection. Future work will focus on scaling these calculations for massive datasets and exploring alternative functional forms for edge belonging.
Summary updated