DeepAI AI Chat
Log In Sign Up

Any-k: Anytime Top-k Tree Pattern Retrieval in Labeled Graphs

by   Xiaofeng Yang, et al.
Northeastern University

Many problems in areas as diverse as recommendation systems, social network analysis, semantic search, and distributed root cause analysis can be modeled as pattern search on labeled graphs (also called "heterogeneous information networks" or HINs). Given a large graph and a query pattern with node and edge label constraints, a fundamental challenge is to nd the top-k matches ac- cording to a ranking function over edge and node weights. For users, it is di cult to select value k . We therefore propose the novel notion of an any-k ranking algorithm: for a given time budget, re- turn as many of the top-ranked results as possible. Then, given additional time, produce the next lower-ranked results quickly as well. It can be stopped anytime, but may have to continues until all results are returned. This paper focuses on acyclic patterns over arbitrary labeled graphs. We are interested in practical algorithms that effectively exploit (1) properties of heterogeneous networks, in particular selective constraints on labels, and (2) that the users often explore only a fraction of the top-ranked results. Our solution, KARPET, carefully integrates aggressive pruning that leverages the acyclic nature of the query, and incremental guided search. It enables us to prove strong non-trivial time and space guarantees, which is generally considered very hard for this type of graph search problem. Through experimental studies we show that KARPET achieves running times in the order of milliseconds for tree patterns on large networks with millions of nodes and edges.


page 1

page 2

page 3

page 4


Integrating connection search in graph queries

Graph data management and querying has many practical applications. When...

On the Complexity of Exact Pattern Matching in Graphs: Determinism and Zig-Zag Matching

Exact pattern matching in labeled graphs is the problem of searching pat...

Heterogeneous Network Motifs

Many real-world applications give rise to large heterogeneous networks w...

Temporal graph patterns by timed automata

Temporal graphs represent graph evolution over time, and have been recei...

Finding Route Hotspots in Large Labeled Networks

In many advanced network analysis applications, like social networks, e-...

Searching by Heterogeneous Agents

In this work we introduce and study a pursuit-evasion game in which the ...

Selective Harvesting over Networks

Active search (AS) on graphs focuses on collecting certain labeled nodes...

Code Repositories