Query-Centered Temporal Community Search via Time-Constrained Personalized PageRank

Longlong Lin, Pingpeng Yuan, Rong-Hua Li, Chunxue Zhu, Hongchao Qin, Hai Jin, Tao JiaarXiv 2023 · DOI

Introduction

Finding cohesive groups of nodes, or communities, is a fundamental task in network science. In real-world scenarios, these networks are often dynamic, with connections appearing and disappearing over time. This paper introduces Query-Centered Temporal Community Search (QTCS), a novel approach designed to find communities in temporal graphs that are structurally dense and temporally centered around a specific query node. The core of this approach is a new metric called Time-Constrained Personalized PageRank (TPPR), which effectively addresses the "query drift" problem prevalent in existing methods.

The Challenge: Query Drift in Temporal Graphs

In static graphs, community search focuses on structural cohesiveness—finding a group where members are well-connected. However, in temporal graphs (e.g., email logs, financial transactions), time adds a critical dimension. Existing methods often suffer from query drift: they prioritize structural density to the point where the query node $q$ ends up on the periphery of the returned community, temporally distant from other members.

Illustration of temporal communities and the potential for query drift across different sets $S_1, S_2, S_3$.

For instance, in a money-laundering investigation, a search centered on a specific suspect should return the group they are actively interacting with, rather than a massive historical cluster where their involvement was minimal or long ago.

Methods: TPPR and the $\beta$-Temporal Proximity Core

To solve query drift, the authors propose two main innovations:

  1. Time-Constrained Personalized PageRank (TPPR): This metric adapts standard PageRank to the temporal domain. It ensures that random walks respect the "arrow of time"—edges must be traversed in non-decreasing chronological order. Furthermore, it incorporates a decay function to favor recent or frequent interactions relative to the query node.
  2. $\beta$-Temporal Proximity Core: This new community model uses "query-biased temporal degree," defined as the sum of the TPPR values of a node's neighbors. A $\beta$-temporal proximity core is a connected set where every node maintains a sufficiently high temporal relationship with the query node.
Technical representations of a temporal graph, including its de-temporal version, edge stream, and state transition model.

The transformation of a temporal graph into an edge stream and a state transition model, as shown above, is fundamental to efficiently calculating these temporal relationships.

Algorithmic Framework

The authors developed two algorithms to implement this model:

  • EGR (Exact Greedy Removing): An exact algorithm that computes TPPR for the entire graph and iteratively removes the least relevant nodes. It achieves near-linear time complexity.
  • ALS (Approximate Local Search): A highly efficient two-stage search that "expands" from the query node to find candidates and then "reduces" them to the final community. By using clever bound-based pruning, ALS avoids processing the entire graph, making it ideal for massive datasets.

Experimental Evaluation

The researchers tested their methods on eight real-world datasets, ranging from small face-to-face networks to the massive DBLP co-authorship graph (~1.7 million nodes).

  • Efficiency: On the DBLP dataset, ALS found communities in just 13 seconds, while competing methods often failed to return results within 48 hours.
  • Quality: Using Temporal Conductance as a metric, the proposed QTCS model consistently outperformed state-of-the-art methods, successfully keeping the query node at the "theme" of the discovered community.
  • Scalability: Both EGR and ALS demonstrated near-linear scaling with respect to the number of edges.

Conclusion

By shifting the focus from pure structural density to temporal proximity, this work provides a robust solution for finding relevant communities in dynamic networks. While future work may explore different cohesiveness models like temporal trusses or adaptation for purely directed graphs, the current TPPR-based framework offers a significant leap in both speed and accuracy for temporal community search.

Summary updated

BibTeX
@misc{lin2023query,
  author = {Longlong Lin and Pingpeng Yuan and Rong-Hua Li and Chunxue Zhu and Hongchao Qin and Hai Jin and Tao Jia},
  title = {{Query-Centered Temporal Community Search via Time-Constrained Personalized PageRank}},
  year = {2023},
  eprint = {2302.08740},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.08740},
}
Figure