Overlapping Community Detection in Temporal Text Networks

Shuhan Yan, Yuting Jia, Xinbing WangarXiv 2021

Overview

The paper introduces MAGIC (Model Affiliation Graph with Interacting Communities), a generative model designed to detect overlapping communities in networks that evolve over time and contain rich textual data. By explicitly modeling how different communities interact and enforcing temporal causality, MAGIC significantly outperforms existing state-of-the-art methods across diverse real-world and synthetic datasets.

Problem Statement

Community detection groups nodes based on shared attributes or connections. While traditional methods assume disjoint memberships, real-world networks—such as academic citation graphs—are inherently overlapping. Current research faces three major gaps:

  1. Community Interactions: Most models assume edges only form within shared communities, ignoring "interaction edges" between distinct groups.
  2. Data Integration: Models rarely integrate link structure, node attributes (text), and temporal information simultaneously.
  3. Temporal Causality: Natural constraints, such as a paper only citing past works, are often ignored.

Methodology: The MAGIC Model

MAGIC is a probabilistic generative model building upon the Community-Affiliation Graph Model (AGM) framework. Its core innovations include:

  • Interaction Matrix (η): Explicitly models the strength of interaction between different communities, moving beyond the assumption of independent memberships.
  • Temporal Weighting Function (δ): Restricts edge generation based on timestamps to enforce causality (e.g., $u \to v$ is impossible if $u$ predates $v$).
  • Projected Temporal Text Network: Transforms the network into a version where words are nodes, allowing document-to-document and document-to-word links to be treated within a unified mathematical framework.
The transformation process from a standard text network to a projected temporal network for community detection.
  • Optimization: Parameters are learned by maximizing log-likelihood via block coordinate gradient ascent.

Key Insights and Empirical Evidence

Analysis of 32 large-scale networks revealed that over 20% of edges connect nodes sharing no common community. These "interaction edges" are a fundamental feature of real-world networks, and ignoring them introduces significant noise into community detection.

Ground truth hierarchy (a), the community affiliation model (b), and the observed interaction edge rate across 32 academic networks (c).

Furthermore, the authors demonstrated that text provides a strong signal: nodes within the same community exhibit significantly higher Jaccard similarity in content than random pairs. MAGIC’s "projected network" approach leverages this by learning "word communities" with clear semantic meanings.

Experimental Results

MAGIC was evaluated against baselines like BIGCLAM and CESNA using Microsoft Academic Graph (MAG) data and standard benchmarks (Amazon, YouTube, LFR).

  • Accuracy: MAGIC achieved a composite score 41% higher than BIGCLAM and 19% higher than CESNA on MAG datasets.
  • Metric Performance: The model led in both Coverage ratio and F1 score.
  • Scalability: With $O(|E|)$ time complexity, MAGIC scales linearly with the number of edges, handling millions of nodes efficiently.
  • Semantic Discovery: Qualitative analysis showed MAGIC successfully identifies meaningful sub-field word clouds (e.g., distinguishing "Biomedicine" from "Wireless Networks").

Conclusion and Future Work

MAGIC provides a robust framework for overlapping community detection by integrating temporal and textual data. While highly effective for directed "natural" networks, future work may explore its application to undirected social networks where temporal constraints are less rigid. Additionally, refining hyperparameter tuning for the number of communities ($K$) remains a computational challenge for massive graphs.

Summary updated

BibTeX
@misc{yan2021overlapping,
  author = {Shuhan Yan and Yuting Jia and Xinbing Wang},
  title = {{Overlapping Community Detection in Temporal Text Networks}},
  year = {2021},
  eprint = {2101.05137},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.05137},
}
Figure