Subgraph pattern matching over uncertain graphs with identity linkage uncertainty

Walaa Eldin Moustafa, Angelika Kimmig, Amol Deshpande, Lise Getoor

TL;DR

This paper introduces Probabilistic Entity Graphs (PEGs), a framework that handles three distinct types of graph uncertainty: node attributes, edge existence, and—most crucially—identity linkage (whether two nodes represent the same real-world entity). To make querying these complex graphs feasible, the authors developed a path-based indexing and pruning system that finds subgraph matches orders of magnitude faster than standard database approaches.

What Problem Does This Paper Address?

In the real world, graph data is rarely "clean." If you scrape data from LinkedIn, Facebook, and a personal blog, you might find three different records for "Chris Tucker." Are they the same person? This is identity uncertainty.

Standard subgraph pattern matching (finding a specific "template" of connections within a larger graph) is already NP-hard. When you add uncertainty about node labels, edge existence, and whether nodes should be merged, the problem becomes #P-complete—essentially making it computationally "impossible" for large-scale data using naive methods. Most prior work ignored identity uncertainty, treating the graph structure as fixed even if the data was noisy.

Methods

The authors propose a two-phase approach to solve this:

  1. The PEG Model: They use Probabilistic Graphical Models (PGMs) to define a distribution over all possible "real-world" graphs that could exist given the noisy input data.
  2. Offline Phase (Indexing):
    • Context-Aware Path Indexing: Instead of just indexing nodes, they index paths (up to length $L$). Crucially, they store "context" for these paths—summary statistics about a node's neighborhood, such as the maximum probability of an edge connecting to a specific label.
  3. Probability Precomputation: They pre-calculate marginal probabilities to avoid heavy inference during the query.
  4. Online Phase (Querying):
    • Query Decomposition: The user's query is broken down into smaller paths.
  5. Reduction by Join-Candidates: This is a novel message-passing algorithm. It represents potential matches in a $k$-partite graph and "prunes" the search space by propagating structural and probabilistic constraints between candidates. If a path match can't possibly be part of a full graph match with a high enough probability, it’s discarded immediately.

Datasets

The researchers evaluated their system on both synthetic and real-world data:

  • Synthetic Graphs: Generated using the preferential attachment model (up to 1 million nodes and 6 million edges) to test scalability.
  • DBLP: A computer science bibliography graph where nodes are authors and edges are collaborations. Uncertainty was added regarding research areas and author identities.
  • IMDB: A movie database graph where actors are nodes and "co-starring" roles are edges. Uncertainty involved movie genres and potential duplicate actor records.

Key Insights and Ideas

  • Paths over Nodes: The authors found that path-based pruning is far more effective than node-based pruning. Because path probabilities are naturally lower (the product of multiple uncertain elements), they are much closer to the final query threshold, allowing the algorithm to kill off "dead-end" candidates much earlier.
  • Context is King: Simply knowing a node's label isn't enough. By storing "previews" of the neighborhood (e.g., "this node has 4 neighbors labeled 'Academia'"), the algorithm can reject candidates that look right in isolation but lack the necessary surroundings to complete the query.
  • The Power of Message Passing: The "Reduction by Join-Candidates" step treats the search space like a network itself. By passing "perception vectors" between candidate matches, the system can mathematically prove a match is impossible without ever actually trying to build it.

Key Results

  • Speedup: The proposed "Optimized" approach outperformed baseline implementations (like SQL or random decomposition) by orders of magnitude. In some cases, a query that took seconds in this system would take a month in a standard SQL database.
  • Search Space Reduction: Their pruning techniques reduced the search space by up to 14 orders of magnitude compared to naive path indexing.
  • Scalability: The system successfully evaluated complex queries on graphs with millions of nodes and edges in just a few seconds.
  • Index Length: They found that indexing paths of length $L=3$ provided the best balance between offline storage costs and online query speed.

Limitations and Future Work

  • Complex Correlations: While the model handles acyclic dependencies well, highly complex, loopy correlations between node labels and edges remain a challenge for efficient indexing.
  • Directed Graphs: While the authors state the logic applies to directed graphs, the primary evaluation and discussion focused on undirected structures.
  • Entity Merging Constraints: The current model focuses on identity linkage based on similarity; future work could incorporate more complex merging constraints, such as transitive closure (if A=B and B=C, then A=C).

Summary updated

BibTeX
@inproceedings{moustafa2014subgraph,
  author = {Walaa Eldin Moustafa and Angelika Kimmig and Amol Deshpande and Lise Getoor},
  title = {{Subgraph pattern matching over uncertain graphs with identity linkage uncertainty}},
  booktitle = {ICDE},
  year = {2014},
  doi = {10.1109/icde.2014.6816710},
}
Figure