Temporal Clustering in Dynamic Networks with Tensor Decomposition

Kun Tu, Bruno Ribeiro, Ananthram Swami, Don Towsley · DOI

Abstract

Dynamic networks are increasingly being used to model real-world datasets. A challenging task in their analysis is to detect and characterize clusters, which is essential for identifying evolving communities. We propose a temporal clustering framework based on network generative models using PARAFAC decomposition to learn from datasets. Our approach utilizes K-means for clustering, the Silhouette criterion for determining cluster counts, and a similarity score to rank significant clusters. To address the time-dependent nature of these clusters, we introduce a segmentation algorithm to detect formations, dissolutions, and lifetimes. Evaluations on synthetic and real-world datasets demonstrate superior performance in clustering and lifetime detection compared to state-of-the-art methods.

1. Introduction

In contemporary data science, networks are rarely static. From social media interactions to sensor arrays, relationships evolve, grow, and dissolve over time. Analyzing these "dynamic networks" is crucial for understanding community behavior, yet it presents significant computational challenges. Traditional methods often struggle to track communities that exhibit intermittent activity or gradual shifts in membership.

Existing approaches generally fall into two categories: snapshot-based methods and global models. Snapshot-based methods analyze the network at discrete time intervals, often failing when data is sparse. Global models may capture overall membership but frequently overlook the specific temporal boundaries of a community's existence. This paper introduces a robust framework for temporal clustering that leverages tensor decomposition to "unmix" complex interaction signals, revealing the birth, life, and death of digital communities.

2. Methodology

The proposed framework treats a dynamic network as a three-mode tensor (Node $\times$ Node $\times$ Time). The analysis proceeds through three primary stages:

2.1 PARAFAC Decomposition

The framework employs PARAFAC (Parallel Factors) decomposition to break down the multi-dimensional tensor into $R$ components. Each component is defined by loading vectors representing the participating nodes and a temporal vector representing the "edge-generating rate" over time. This allows the model to capture the underlying structure of the network across the entire timeline simultaneously, providing a stable "global" view.

2.2 Clustering and Ranking

Within each decomposed component, $K$-means clustering—guided by the Silhouette criterion—is used to identify specific node clusters. To distinguish meaningful communities from mathematical noise, the authors introduce a Similarity Ordering (SO) score. This score ranks clusters based on their structural consistency, allowing for the filtering of insignificant components and mathematical artifacts.

2.3 Lifetime Detection

A key innovation of this work is the piecewise linear segmentation algorithm applied to the temporal loading vectors. By treating these vectors as noisy time series and comparing activity rates against background network noise, the algorithm can precisely pinpoint the intervals during which a community is "alive." This enables the detection of community formation and dissolution with high temporal resolution.

3. Experimental Evaluation

The researchers validated the framework using both synthetic and real-world datasets:

  • Synthetic Networks: Over 5,000 networks were generated with varying densities and ground-truth communities to benchmark accuracy.
  • Lakehurst Mobility Data: This dataset tracks 70 ground and airborne vehicles moving in platoons, testing the model's ability to identify physical groups that converge and diverge.
  • Enron Email Dataset: A benchmark consisting of 184 employees and 125,000 emails, used to analyze long-term social dynamics over several years.

4. Key Results and Discussion

The Temporal Clustering (TC) method demonstrated significant improvements over baseline methods, such as Evolutionary Clustering (EC) and standard PARAFAC with binary classification (BC).

4.1 Resilience to Sparsity

One of the most notable findings was the model's resilience to data sparsity. In synthetic tests with low edge density, snapshot-based methods like EC often failed to identify any clusters because they lacked sufficient data in individual time slices. In contrast, the TC framework maintained high F1 scores by leveraging global information from the entire tensor.

4.2 Precision in Lifetime Detection

The TC method proved more precise in detecting the start and end dates of communities. Previous tensor-based methods often "blurred" the temporal boundaries of a community; the proposed segmentation algorithm successfully isolated specific periods of activity. For example, in the Enron data, it identified a specific community that only appeared briefly during the company's bankruptcy crisis in late 2001.

4.3 Behavioral Insights

In the Enron analysis, the model identified 60 significant communities. Beyond simple departmental structures, it uncovered behavioral patterns. For instance, it distinguished between "key players" (executives) who maintained constant communication (including weekends) and "workday" groups whose interactions were strictly confined to office hours.

5. Conclusion

The proposed temporal clustering framework offers a powerful approach to analyzing dynamic networks. By combining PARAFAC decomposition with a novel segmentation algorithm, the method provides a global perspective that does not sacrifice local temporal detail. While computational costs and rank selection remain areas for future optimization, the framework's ability to handle sparse data and accurately detect community lifetimes represents a significant advancement in the field of network science.

Summary updated

BibTeX
@misc{tu2016temporal,
  author = {Kun Tu and Bruno Ribeiro and Ananthram Swami and Don Towsley},
  title = {{Temporal Clustering in Dynamic Networks with Tensor Decomposition}},
  year = {2016},
  eprint = {1605.08074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1605.08074},
}
Figure