CataBEEM: Integrating Latent Interaction Categories in Node-wise Community Detection Models for Network Data

Yuhua Zhang, Walter H. DempseyICML 2023

Introduction

Community detection is a fundamental task in network analysis, offering deep insights into the underlying structures of complex systems. However, traditional models often oversimplify these systems by assuming nodes belong to static, monolithic communities. CataBEEM (Category-and-block edge exchangeable model) is a novel statistical framework that improves community detection by recognizing that interactions in a network belong to latent "categories" (such as different topics of conversation). By jointly modeling these interaction-level categories and node-level communities using a scalable variational EM algorithm, CataBEEM produces more stable and predictive results on massive real-world datasets than traditional node-centric models.

The Problem with Node-Centric Models

In network science, "community detection" typically involves grouping nodes—like users, genes, or academic papers—into blocks that connect more densely with each other. Traditional approaches, such as the Stochastic Block Model (SBM), are inherently node-centric: they assume a node belongs to a specific community regardless of the context of its individual connections.

Generative process of network interactions across multiple latent categories.

Real-world interactions, however, are far more nuanced. Consider an email network: a user might interact within a "work" community during the day and a "hobby" community at night. The nature of the interaction (the category) fundamentally changes the community structure. Most existing models ignore this edge-level context, flattening the network into a single observed graph. Furthermore, while "edge-exchangeable" models have emerged to better handle the sparsity and power-law distributions of real networks, they have historically struggled to simultaneously handle latent categories and communities at scale.

The CataBEEM Methodology

The authors introduce CataBEEM to address these limitations by treating the interaction as the primary statistical unit rather than the node.

CataBEEM inference process utilizing observed graphs and optional edge priors.

Key components of the framework include:

  • Joint Latent Structure: CataBEEM models two elements simultaneously: the latent category of an interaction (e.g., the topic of a forum post) and the latent community of the nodes involved within that specific category.
  • Interaction-Centric Perspective: By viewing the network as a sequence of events, the model naturally captures empirical properties like power-law degree distributions that node-centric models often fail to reproduce.
  • Auxiliary Information Integration: The model can incorporate "sidecar" data—such as the text content of a message—to establish a prior for the interaction category, making the model significantly more robust.
  • Scalable Inference: Instead of relying on slow Markov Chain Monte Carlo (MCMC) methods, the authors derived a computationally efficient Variational EM algorithm. This allows the model to scale to networks with millions of interactions by iteratively updating parameters with an $O(MTK^2)$ complexity.

Datasets and Evaluation

The researchers evaluated CataBEEM across both synthetic environments and massive real-world datasets to validate its performance and theoretical guarantees:

  • TalkLife: A large-scale online peer-to-peer support network for mental health. Serving as the primary benchmark, this dataset features 4.2 million interactions among nearly 200,000 users.
  • Cora & Pubmed: Standard citation networks utilized to test the model's ability to predict future paper citations.
  • Synthetic Benchmarks: Various simulated environments used to provide theoretical bounds on the misspecification rate and test the model's consistency under different difficulty levels.

Key Insights and Results

  • Context is King: The core insight of CataBEEM is that community structure is not static; it depends heavily on the type of interaction. By uncovering these latent categories, the model identifies nuanced communities that remain hidden when viewing the graph as a monolithic structure.
  • Superior Stability Over Time: CataBEEM identifies community structures that are significantly more temporally consistent. On the TalkLife data, CataBEEM achieved an $L_2$ norm (a measure of stability where lower is better) of 0.38, compared to 0.59 for the popular Degree-Corrected SBM (DC-SBM). This indicates that CataBEEM better captures the underlying, persistent interests of users.
  • Better Predictions: The model excelled at predicting high-degree "receivers" in the network. In 10 out of 12 monthly TalkLife datasets, CataBEEM achieved the highest Coverage Ratio Probability (CRP) compared to competitors, including Graph Neural Network (GNN) based methods.
  • The Power of Priors: By using Latent Dirichlet Allocation (LDA) to analyze the text of TalkLife posts, the authors created a "subjective prior" for interaction categories. This integration of Natural Language Processing (NLP) and network science significantly boosted the model's accuracy.

Limitations and Future Work

While CataBEEM represents a significant step forward, the authors note several areas for future development:

  • Model Selection: Currently, the number of categories ($T$) and blocks ($K$) must be specified upfront or determined via external heuristics (like BIC or LDA coherence scores). Integrating automatic model selection directly into the framework is a key next step.
  • Theoretical Assumptions: The consistency proofs currently rely on an "approximating update rule" rather than the exact variational rule used in the implementation. Closing this theoretical gap remains an ongoing goal.
  • Beyond Two-Way Interactions: The current model focuses on sender-receiver pairs. Extending the framework to hypergraphs—interactions involving more than two nodes simultaneously—would allow for the modeling of even more complex group dynamics.

Summary updated

BibTeX
@inproceedings{zhang2023catabeem,
  author = {Yuhua Zhang and Walter H. Dempsey},
  title = {{CataBEEM: Integrating Latent Interaction Categories in Node-wise Community Detection Models for Network Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=JcNKs5pE8J},
}
Figure