Abstract
Detecting community structures in social networks has gained considerable attention in recent years. However, lack of prior knowledge about the number of communities, and their overlapping nature have made community detection a challenging problem. Moreover, many of the existing methods only consider static networks, while most of real world networks are dynamic and evolve over time. Hence, finding consistent overlapping communities in dynamic networks without any prior knowledge about the number of communities is still an interesting open research problem. In this paper, we present an overlapping community detection method for dynamic networks called Dynamic Bayesian Overlapping Community Detector (DBOCD). DBOCD assumes that in every snapshot of network, overlapping parts of communities are dense areas and utilizes link communities instead of common node communities. Using Recurrent Chinese Restaurant Process and community structure of the network in the last snapshot, DBOCD simultaneously extracts the number of communities and soft community memberships of nodes while maintaining the consistency of communities over time. We evaluated DBOCD on both synthetic and real dynamic data-sets to assess its ability to find overlapping communities in different types of network evolution. The results show that DBOCD outperforms the recent state of the art dynamic community detection methods.
1. Introduction
Community detection is a foundational problem in network science, critical for applications ranging from recommendation systems to identifying malicious actors. Traditional algorithms often rely on three unrealistic assumptions: that the network is static, that communities are disjoint (each node belongs to exactly one group), and that the total number of communities ($K$) is known a priori.
In reality, social networks are highly dynamic. Users belong to multiple overlapping groups (e.g., family, professional, and hobby-based) that evolve as groups form, merge, split, or dissolve. While some modern methods address dynamic or overlapping structures, combining these features without a predefined $K$ typically requires complex non-parametric models like the Indian Buffet Process. Such models often suffer from exponential time complexity, limiting their scalability for large-scale networks.
2. The DBOCD Framework
To address these challenges, we introduce the Dynamic Bayesian Overlapping Community Detector (DBOCD). The core innovation of DBOCD is a shift in perspective from node-centric to edge-centric clustering.
2.1 Link Communities and the CRP
Instead of assigning nodes to multiple communities, DBOCD partitions edges (links) into single communities. A node's overlapping membership is then derived from the distribution of its incident edges. This approach significantly reduces the mathematical solution space. For a static network snapshot, DBOCD employs the Chinese Restaurant Process (CRP), a Bayesian non-parametric prior that automatically infers the number of link communities by modeling a "rich-get-richer" dynamic.
2.2 Temporal Evolution with RCRP
To handle network dynamics, DBOCD extends the static model using a Recurrent Chinese Restaurant Process (RCRP). The community structure at time $t$ is modeled as a function of the structure at time $t-1$, ensuring temporal consistency across the network's evolution.
The model uses Gibbs sampling for inference. To select the optimal community structure from the generated samples, DBOCD identifies the configuration with the highest overlapping modularity, which has been shown to correlate strongly with ground-truth Normalized Mutual Information (NMI).
3. Experimental Evaluation
We evaluated DBOCD against state-of-the-art baselines (FacetNet, DSBM, and AFFECT) using both synthetic and real-world datasets.
- Synthetic Benchmarks: Using Greene’s extension of the LFR benchmark, we tested scenarios involving concurrent birth-death, expansion-contraction, and merging-splitting of communities. DBOCD consistently achieved higher NMI scores than competitors.
- Real-World Data:
- NEC Blog Dataset: 404 blogs and ~148k links tracked over 15 months.
- DBLP Co-authorship: 10 years of conference data (1997-2006).
3.1 Key Findings
- Efficiency: By partitioning links, DBOCD achieves polynomial time complexity: $O(M + NK_{max})$ per snapshot, making it significantly more scalable than previous overlapping non-parametric models.
- Stability: DBOCD maintains high accuracy during complex evolutionary events like merges and splits, where baseline methods like FacetNet often degrade.
- Versatility: The model performed robustly on both highly overlapping (NEC) and largely non-overlapping (DBLP) networks, proving its general applicability.
4. Conclusion
DBOCD provides a scalable, Bayesian non-parametric solution for tracking overlapping communities in evolving networks. While it excels at tracking general trends, future work will focus on improving its sensitivity to abrupt structural shocks and implementing variational inference to further accelerate the parameter estimation process.
Summary updated