Sequential Edge Clustering in Temporal Multigraphs

Elahe Ghalebi, Hamidreza Mahyar, Radu Grosu, Graham W. Taylor, Sinead A. Williamson · DOI

Abstract

Interaction graphs, such as those recording emails between individuals or transactions between institutions, tend to be sparse yet structured, and often grow in an unbounded manner. Such behavior can be well-captured by structured, nonparametric edge-exchangeable graphs. However, such exchangeable models necessarily ignore temporal dynamics in the network. We propose a dynamic nonparametric model for interaction graphs that combine the sparsity of the exchangeable models with dynamic clustering patterns that tend to reinforce recent behavioral patterns. We show that our method yields improved held-out likelihood over stationary variants, and impressive predictive performance against a range of state-of-the-art dynamic interaction graph models.

Introduction

Most real-world interactions—emails, financial transactions, or network packets—form "multigraphs" where edges are added sequentially and can repeat. Modeling these systems is challenging due to two primary factors: sparsity/growth and temporal dynamics. Traditional vertex-exchangeable models, like Stochastic Block Models, often struggle with fixed node assumptions and density issues. Conversely, newer edge-exchangeable models handle growth well but often assume exchangeability, ignoring the fact that social dynamics shift over time.

This paper introduces DYNMDND, a model designed to bridge this gap by incorporating recency-biased clustering into a sparse, growing graph framework. By combining edge-exchangeable models with a distance-dependent Chinese Restaurant Process (ddCRP), the authors create a system that better predicts future interactions and handles the open-ended growth of real-world social networks.

Methodology: Dynamic Nonparametric Modeling

DYNMDND builds upon the Mixture of Dirichlet Network Distributions (MDND). While the standard MDND clusters edges into communities, it treats all time points equally, assuming stationarity. The core innovation in DYNMDND is the integration of a distance-dependent Chinese Restaurant Process (ddCRP) as the clustering prior.

Recency Bias and Decay

In a ddCRP, an edge is more likely to join a cluster if other edges have joined that same cluster recently. The model employs decay functions—specifically Exponential and Logistic—to "forget" the past. As time passes, the influence of an old interaction on current clustering decisions diminishes.

Computational Efficiency

To maintain feasibility, the model keeps the "content" of a community (the distribution of typical senders and receivers) stationary, while allowing the "popularity" of that community to wax and wane over time. Inference is performed using a Markov Chain Monte Carlo (MCMC) scheme, specifically a Gibbs sampler, allowing the model to scale to larger datasets.

Experimental Evaluation

The model was evaluated on four diverse temporal networks:

  • FFDC (Face-to-Face Dynamic Contacts): Interactions between 180 high school students over 7 days.
  • Social Evolution (SocialEv): A high-clustering network of 68 nodes with over 2 million events.
  • DBLP: A co-authorship network featuring the 324 most connected authors.
  • Enron: The classic email dataset, covering 151 users over 38 months.

Predictive Performance

DYNMDND was compared against state-of-the-art dynamic models including DRGPM, DPGM, and DGPPF. Across all metrics—Mean Average Precision (MAP@k), Hits@k, and F1 score—DYNMDND consistently outperformed the baselines.

Predictive performance metrics (MAP@k, Hits@k, and F1 score) across datasets.

Likelihood Analysis

The dynamic variants achieved significantly higher predictive log-likelihoods on held-out data compared to the stationary MDND baseline. For instance, on the Enron dataset, the Logistic decay variant reached a score of -640.73, a substantial improvement over the stationary model's -1032.94.

Predictive log-likelihood comparison between stationary MDND and dynamic variants.

Discussion and Conclusion

The results demonstrate that breaking exchangeability is essential for modeling temporal networks; the sequence of interactions is a vital signal. By explicitly modeling time-dependency, DYNMDND shows that "forgetting" old interactions improves future predictions. Furthermore, the nonparametric nature of the model allows it to naturally accommodate network growth, such as new nodes entering the system.

While DYNMDND represents a significant step forward, some limitations remain. The model assumes stationary community content, which may not hold for very long-term datasets where communities themselves drift. Additionally, automated hyperparameter tuning for decay rates and further optimizations for massive-scale graphs remain open areas for exploration.

Summary updated

BibTeX
@misc{ghalebi2019sequential,
  author = {Elahe Ghalebi and Hamidreza Mahyar and Radu Grosu and Graham W. Taylor and Sinead A. Williamson},
  title = {{Sequential Edge Clustering in Temporal Multigraphs}},
  year = {2019},
  eprint = {1905.11724},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.11724},
}
Figure