Charting the Design Space of Neural Graph Representations for Subgraph Matching
Vaibhav Raj, Indradyumna Roy, Ashwin Ramachandran, Soumen Chakrabarti, Abir De
TL;DR
This work tackles subgraph matching by reframing contemporary neural methods as a design space with five axes: relevance distance (set alignment vs aggregated embeddings), interaction stage (early vs late), interaction structure (injective vs non-injective), interaction non-linearity (neural vs. hinge vs. dot product), and interaction granularity (node vs edge). Through extensive experiments across ten real-world datasets, the authors show that certain unexploited combinations—particularly set alignment, early interaction, injective mapping, hinge non-linearity, and edge-level interaction—consistently yield the best accuracy, while also discussing time-accuracy trade-offs. They provide practical design tips and demonstrate that many existing models occupy only a small region of the broader space, with their best configuration outperforming state-of-the-art baselines on most datasets. The results establish general design principles for neural graph representations in subgraph matching and offer a framework for future work to optimize performance under computational constraints.
Abstract
Subgraph matching is vital in knowledge graph (KG) question answering, molecule design, scene graph, code and circuit search, etc. Neural methods have shown promising results for subgraph matching. Our study of recent systems suggests refactoring them into a unified design space for graph matching networks. Existing methods occupy only a few isolated patches in this space, which remains largely uncharted. We undertake the first comprehensive exploration of this space, featuring such axes as attention-based vs. soft permutation-based interaction between query and corpus graphs, aligning nodes vs. edges, and the form of the final scoring network that integrates neural representations of the graphs. Our extensive experiments reveal that judicious and hitherto-unexplored combinations of choices in this space lead to large performance benefits. Beyond better performance, our study uncovers valuable insights and establishes general design principles for neural graph representation and interaction, which may be of wider interest.
