Finding Events in Temporal Networks: Segmentation Meets Densest-Subgraph Discovery

Polina Rozenshtein, Francesco Bonchi, Aristides Gionis, Mauro Sozio, Nikolaj Tatti

Introduction

Real-world networks—ranging from social media interactions and financial transactions to email communications—are inherently dynamic. A primary challenge in analyzing these temporal networks is the automatic discovery of a timeline of events. Traditionally, researchers have looked for "dense subgraphs" (clusters of nodes with high edge density) to identify emerging stories or anomalies. However, most existing methods either analyze the entire history as a single static snapshot or require human intervention to pre-define time windows. This paper introduces a framework to automatically segment network history into a sequence of evolving events.

The $k$-DENSEST-EPISODES Problem

The authors formalize the task as the $k$-DENSEST-EPISODES problem: given a temporal graph, partition the timeline into $k$ non-overlapping intervals such that the sum of the densities of the densest subgraphs in each interval is maximized. While an exact solution using dynamic programming exists, its computational complexity ($O(km^3n \log n)$) makes it impractical for large-scale, real-world datasets. To address this, the paper proposes efficient approximation techniques.

The kGApprox Algorithm

To overcome the scalability bottleneck, the authors introduce kGApprox, a quasi-linear time approximation algorithm. It integrates two innovative components:

  1. Approximate Dynamic Programming (ApproxDP): Instead of evaluating every timestamp as a potential boundary, the algorithm maintains a "sparsified" list of candidate boundaries. It only considers a boundary if it offers a significantly different density profit than existing candidates, controlled by an error parameter $\epsilon$.
  2. Incremental Densest Subgraph (ApprDens): Rather than recomputing the densest subgraph from scratch for every interval, the algorithm utilizes a streaming approach. It maintains a $2(1+\epsilon)$-approximate densest subgraph as edges are inserted, drastically reducing overhead.

Encouraging Network Coverage

Optimizing purely for density can sometimes lead to identifying small, hyper-dense cliques (e.g., bot activity) that fail to represent broader network trends. To mitigate this, the authors propose an extension called kGCVR. This version introduces a submodular coverage reward to encourage the inclusion of more distinct nodes, providing a richer, high-level summary of network evolution. Although this addition makes the problem NP-hard, the authors provide a greedy heuristic based on a generalized average degree.

Experimental Evaluation

The proposed methods were evaluated using synthetic Erdos-Renyi graphs with planted communities and several real-world datasets, including Facebook wall posts, Twitter mentions, and the Enron email corpus.

Robustness and Recovery

On synthetic data, the algorithm demonstrated high robustness. It successfully recovered planted subgraphs even as background noise—the average degree of random edges—approached the density of the target communities.

Effect of background noise (a) and community density (b) on Precision (P), Recall (R), and F-measure (F) in synthetic graphs.

Efficiency and Quality Trade-offs

kGApprox achieved massive speedups over exact baselines. On the Enron dataset, the exact approach required over 27 minutes, while kGApprox finished in less than a second. As shown in the performance analysis, the approximate solution maintains a cost (sum of densities) very close to the optimum while keeping running time nearly constant as the number of intervals $k$ increases.

Performance comparison between the approximate algorithm and the optimum solution across varying numbers of intervals (k).

Conclusion

The kGApprox framework provides a scalable and robust solution for segmenting temporal networks into meaningful events. By balancing density with coverage, the algorithm can surface significant real-world events, such as the MTV Europe Music Awards or Finnish Independence Day in Twitter data, without requiring manual windowing. Future work may explore overlapping intervals to capture concurrent events and alternative definitions of subgraph "interestingness."

Summary updated

BibTeX
@article{rozenshtein2020finding,
  author = {Polina Rozenshtein and Francesco Bonchi and Aristides Gionis and Mauro Sozio and Nikolaj Tatti},
  title = {{Finding Events in Temporal Networks: Segmentation Meets Densest-Subgraph Discovery}},
  journal = {Knowledge and Information Systems},
  year = {2020},
  doi = {10.1007/s10115-019-01403-9},
}
Figure