Abstract
Subgraph pattern matching is a fundamental task in graph analysis, yet real-world data often suffers from noise in node attributes, edge existence, and identity linkage. This paper introduces Probabilistic Entity Graphs (PEGs), a novel framework designed to handle these three distinct types of uncertainty. We propose a two-phase approach involving context-aware path indexing and a message-passing pruning algorithm. Our evaluation on large-scale synthetic and real-world datasets (DBLP, IMDB) demonstrates that the PEG framework achieves orders-of-magnitude speedups over traditional database approaches, effectively reducing the search space by up to 14 orders of magnitude.
Introduction
In many real-world applications, graph data is inherently uncertain. For instance, data scraped from multiple social networks may contain multiple records for the same individual, leading to identity uncertainty. While standard subgraph pattern matching—finding a specific template within a larger graph—is NP-hard, the addition of uncertainty regarding node labels, edge existence, and node merging elevates the problem to #P-complete. Most prior research has focused on fixed graph structures, ignoring the complexities of identity linkage. This paper addresses this gap by modeling the distribution over all possible "real-world" graphs that could emerge from noisy input data.
The PEG Framework
The authors propose a comprehensive system that transforms a raw Probabilistic Graph Database (PGD) into a Probabilistic Entity Graph (PEG). This transformation accounts for potential node merges based on identity linkage probabilities.
As shown in the figure above, the process begins with a PGD where dashed circles represent groups of nodes that might represent the same entity. The transformation phase resolves these into a PEG, which serves as the basis for efficient query computation.
Modeling Identity Linkage and Querying
Identity linkage uncertainty is particularly challenging because it alters the graph's topology. If two nodes are merged, their edges are combined, potentially creating new paths that satisfy a query template.
In the example above, the probability of merging nodes $r_3$ and $r_4$ is 0.8. This merge (shown in state 'c') creates a new node $s_{34}$ that combines the attributes and connections of its constituents. The system must determine if the query (d) matches these probabilistic states with a confidence level above a user-defined threshold.
Methods: Indexing and Pruning
To make querying feasible at scale, the authors developed a two-phase strategy:
- Offline Phase (Context-Aware Indexing): Instead of indexing individual nodes, the system indexes paths up to a length $L$. These indices include "context"—summary statistics about a node's neighborhood (e.g., the maximum probability of an adjacent node having a specific label). This allows the algorithm to reject candidates that look correct in isolation but lack the necessary structural surroundings.
- Online Phase (Reduction by Join-Candidates): When a query is issued, it is decomposed into smaller paths. The system uses a novel message-passing algorithm to prune the search space. By representing potential matches in a $k$-partite graph and propagating constraints, the system can mathematically prove a match is impossible without exhaustive search.
Key Results and Insights
The researchers evaluated the PEG framework on synthetic graphs (up to 1 million nodes) and real-world datasets like DBLP and IMDB. Key findings include:
- Performance: The optimized PEG approach outperformed standard SQL-based baselines by several orders of magnitude. Queries that would take weeks in a standard database were resolved in seconds.
- Pruning Efficiency: Path-based pruning proved significantly more effective than node-based methods. Because path probabilities are multiplicative, they drop below thresholds faster, allowing for earlier search termination.
- Scalability: The system maintained high performance even as graph size and query complexity increased, with a path length of $L=3$ identified as the optimal balance for indexing.
Conclusion
The PEG framework provides a robust solution for subgraph matching under complex uncertainty. By treating identity linkage as a first-class citizen and utilizing context-aware path indexing, the system overcomes the computational hurdles of #P-complete graph problems. Future work aims to address highly correlated, loopy dependencies and incorporate more complex merging constraints like transitive closure.
Summary updated