CIIA: A New Algorithm for Community Detection

Renquan Zhang, Yu Wang, Xiaolin Wang, Yuze Sun, Jilei TaiarXiv 2021

Abstract

In this paper, through thinking on the modularity function that measures the standard of community division, a new algorithm for dividing communities is proposed, called the Connect Intensity Iteration algorithm, or CIIA for short. In this algorithm, a new indicator is proposed. This indicator is the difference between the actual number of edges between two nodes and the number of edges when the edges are randomly placed. It can reflect more information between the nodes. The larger the value of this index, the greater the possibility that the two nodes are divided into the same community, and vice versa. This paper also verifies the algorithm through numerical simulations and real cases, and the results show the feasibility of the algorithm.

Introduction

Community detection—the process of identifying clusters of densely connected nodes—is a fundamental task in network science with applications ranging from social network analysis to biological modeling. While the Louvain algorithm is widely used for its speed and high modularity, it faces challenges with stochasticity and a reliance on global information that may miss local structural nuances.

The Connect Intensity Iteration Algorithm (CIIA) addresses these limitations by introducing a deterministic, iterative weighting metric based on local neighborhoods, ensuring stable and reproducible results.

Methodology

The innovation of CIIA lies in the Connect Intensity (CI) metric and its iterative refinement process.

Connect Intensity and 'Circles'

Rather than evaluating only the direct edge between two nodes, CIIA considers the interaction between their "circles"—a node combined with its immediate neighbors. CI measures the difference between the actual number of edges connecting two circles and the expected number if edges were distributed randomly. This approach captures richer local information than standard modularity metrics.

Illustration of node 'circles' or neighborhoods used to calculate Connect Intensity.

The Iterative Refinement Process

The algorithm employs a "self-learning" mechanism to filter noise and highlight true community structures:

  1. Initial Weighting: Calculate CI for all edges.
  2. Iterative Update: Refine edge weights based on CI values. Edges with negative CI (indicating they likely bridge different communities) are assigned a weight of zero.
  3. Deterministic Merging: Edges are sorted by CI from highest to lowest. Communities are merged sequentially along these edges, provided the merger increases the overall modularity.
The iterative progression of the CIIA algorithm: (a) initial edge weighting, (b-c) sequential merging of high-intensity edges, and (d) final community detection.

Experimental Results

The authors validated CIIA using synthetic Barabási–Albert (BA) and Erdős–Rényi (ER) models, as well as real-world datasets like Les Misérables and web-edu.

Performance and Stability

CIIA demonstrated high performance and superior stability compared to the Louvain method. On the Les Misérables network, CIIA achieved a modularity of 0.5539, slightly higher than Louvain's 0.5527. Most importantly, CIIA produced the same partition across every run, whereas Louvain's results varied due to its stochastic nature.

Efficiency and Accuracy

In sparse networks like web-edu (3,000 nodes), CIIA proved highly efficient, delivering results in 2 seconds. The algorithm's CI-based ranking was also highly accurate: the top 20% of ranked edges were consistently internal community edges, while the bottom 10% were inter-community bridges.

Conclusion

CIIA offers a robust, deterministic alternative for community detection. By utilizing the Connect Intensity of node neighborhoods and an iterative filtering process, it achieves high modularity while ensuring reproducibility. Future work may integrate a node-swapping refinement phase to further enhance modularity optimization beyond the current merge-only logic.

Summary updated

BibTeX
@misc{zhang2021ciia,
  author = {Renquan Zhang and Yu Wang and Xiaolin Wang and Yuze Sun and Jilei Tai},
  title = {{CIIA: A New Algorithm for Community Detection}},
  year = {2021},
  eprint = {2110.15264},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.15264},
}
Figure