Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Efficient Graph Similarity Computation with Alignment Regularization

About

We consider the graph similarity computation (GSC) task based on graph edit distance (GED) estimation. State-of-the-art methods treat GSC as a learning-based prediction task using Graph Neural Networks (GNNs). To capture fine-grained interactions between pair-wise graphs, these methods mostly contain a node-level matching module in the end-to-end learning pipeline, which causes high computational costs in both the training and inference stages. We show that the expensive node-to-node matching module is not necessary for GSC, and high-quality learning can be attained with a simple yet powerful regularization technique, which we call the Alignment Regularization (AReg). In the training stage, the AReg term imposes a node-graph correspondence constraint on the GNN encoder. In the inference stage, the graph-level representations learned by the GNN encoder are directly used to compute the similarity score without using AReg again to speed up inference. We further propose a multi-scale GED discriminator to enhance the expressive ability of the learned representations. Extensive experiments on real-world datasets demonstrate the effectiveness, efficiency and transferability of our approach.

Wei Zhuo, Guang Tan• 2024

Related benchmarks

TaskDatasetResultRank
Graph Edit Distance ApproximationAIDS
RMSE3.66
36
Graph Edit Distance ApproximationMUTAG
RMSE4.56
27
Graph Edit Distance ApproximationPTC-MR
RMSE5.05
27
Graph Edit Distance ApproximationMutag (test)
RMSE5.54
18
Graph Edit Distance ApproximationAIDS (test)
RMSE5.25
18
Graph Edit Distance ApproximationPTC(MR) (test)
RMSE4.94
18
Graph Edit Distance ApproximationMUTAG Configuration 1 (test)
RMSE8.65
9
Graph Edit Distance ApproximationPTC MR Configuration 1 (test)
RMSE4.32
9
Graph Edit Distance ApproximationBBBP
Inference Time (ms)1.5
8
Showing 9 of 9 rows

Other info

Code

Follow for update