Maximum Common Subgraph Guided Graph Retrieval: Late and Early Interaction Networks

10/20/2022
by   Indradyumna Roy, et al.
0

The graph retrieval problem is to search in a large corpus of graphs for ones that are most similar to a query graph. A common consideration for scoring similarity is the maximum common subgraph (MCS) between the query and corpus graphs, usually counting the number of common edges (i.e., MCES). In some applications, it is also desirable that the common subgraph be connected, i.e., the maximum common connected subgraph (MCCS). Finding exact MCES and MCCS is intractable, but may be unnecessary if ranking corpus graphs by relevance is the goal. We design fast and trainable neural functions that approximate MCES and MCCS well. Late interaction methods compute dense representations for the query and corpus graph separately, and compare these representations using simple similarity functions at the last stage, leading to highly scalable systems. Early interaction methods combine information from both graphs right from the input stages, are usually considerably more accurate, but slower. We propose both late and early interaction neural MCES and MCCS formulations. They are both based on a continuous relaxation of a node alignment matrix between query and corpus nodes. For MCCS, we propose a novel differentiable network for estimating the size of the largest connected common subgraph. Extensive experiments with seven data sets show that our proposals are superior among late interaction models in terms of both accuracy and speed. Our early interaction models provide accuracy competitive with the state of the art, at substantially greater speeds.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/08/2019

The Densest k Subgraph Problem in b-Outerplanar Graphs

We give an exact O(nk^2) algorithm for finding the densest k subgraph in...
research
02/08/2020

Fast Detection of Maximum Common Subgraph via Deep Q-Learning

Detecting the Maximum Common Subgraph (MCS) between two input graphs is ...
research
01/19/2018

Identifying User Intent and Context in Graph Queries

Graph querying is the task of finding similar embeddings of a given quer...
research
08/09/2022

More Interpretable Graph Similarity Computation via Maximum Common Subgraph Inference

Graph similarity measurement, which computes the distance/similarity bet...
research
02/07/2023

Learning to Count Isomorphisms with Graph Neural Networks

Subgraph isomorphism counting is an important problem on graphs, as many...
research
01/17/2022

A Strengthened Branch and Bound Algorithm for the Maximum Common (Connected) Subgraph Problem

We propose a new and strengthened Branch-and-Bound (BnB) algorithm for t...
research
05/30/2022

Harnessing spectral representations for subgraph alignment

With the rise and advent of graph learning techniques, graph data has be...

Please sign up or login with your details

Forgot password? Click here to reset