English

Finding path motifs in large temporal graphs using algebraic fingerprints

Data Structures and Algorithms 2020-07-28 v4 Databases Distributed, Parallel, and Cluster Computing Information Retrieval

Abstract

We study a family of pattern-detection problems in vertex-colored temporal graphs. In particular, given a vertex-colored temporal graph and a multiset of colors as a query, we search for temporal paths in the graph that contain the colors specified in the query. These types of problems have several applications, for example in recommending tours for tourists or detecting abnormal behavior in a network of financial transactions. For the family of pattern-detection problems we consider, we establish complexity results and design an algebraic-algorithmic framework based on constrained multilinear sieving. We demonstrate that our solution scales to massive graphs with up to a billion edges for a multiset query with five colors and up to hundred million edges for a multiset query with ten colors, despite the problems being NP-hard. Our implementation, which is publicly available, exhibits practical edge-linear scalability and is highly optimized. For instance, in a real-world graph dataset with more than six million edges and a multiset query with ten colors, we can extract an optimum solution in less than eight minutes on a Haswell desktop with four cores.

Keywords

Cite

@article{arxiv.2001.07158,
  title  = {Finding path motifs in large temporal graphs using algebraic fingerprints},
  author = {Suhas Thejaswi and Aristides Gionis and Juho Lauri},
  journal= {arXiv preprint arXiv:2001.07158},
  year   = {2020}
}

Comments

version prior to peer review

R2 v1 2026-06-23T13:15:43.435Z