Papers › Efficient Graph Similarity Computation with Alignment Regularization

Efficient Graph Similarity Computation with Alignment Regularization

21 Jun 2024arXiv:2406.14929archive 2025-07-28

Wei Zhuo, Guang Tan

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.14929")

Code

Syntology Ran 12 of 16 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 11 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jhuow/eric officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 12 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
11ran
4unverified

Licence: 16 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jhuow/eric. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

FF jhuow/eric/model/GSC.py official repository ran no licence file found · pointer only · 2b3ca014811aa550 · report
MLPLayers jhuow/eric/model/GSC.py official repository ran fingerprinted no licence file found · pointer only · 9b47dc2703adb259 · report
TensorNetworkModule jhuow/eric/model/GSC.py official repository ran fingerprinted no licence file found · pointer only · 63091473be7df98b · report
gen_pairs JhuoW/ERIC/DataHelper/data_utils.py official repository ran no licence file found · pointer only · d27e95dc93971430 · report
get_positive_expectation jhuow/eric/model/GSC.py official repository ran · fixture could not drive it no licence file found · pointer only · 677840a48213de47 · report
get_positive_expectation JhuoW/ERIC/utils/gan_losses.py official repository ran no licence file found · pointer only · 565c2a174cca323f · report
get_pred_result JhuoW/ERIC/exp/exp.py official repository ran no licence file found · pointer only · 5260f26ac027fe21 · report
get_true_result JhuoW/ERIC/exp/exp.py official repository ran no licence file found · pointer only · c65d2cd8f05a8c39 · report
iterate_get_graphs JhuoW/ERIC/DataHelper/simgnn_utils.py official repository ran no licence file found · pointer only · dc317f1dcd7db3e3 · report
normalized_exp_kernel_ged JhuoW/ERIC/DataHelper/simgnn_utils.py official repository ran no licence file found · pointer only · 9a35c06670c35daa · report
sorted_nicely JhuoW/ERIC/DataHelper/simgnn_utils.py official repository ran no licence file found · pointer only · 5f1abfd2b5c44a6a · report
to_directed JhuoW/ERIC/DataHelper/data_utils.py official repository ran no licence file found · pointer only · a2dd27adcf74cf43 · report
GCL jhuow/eric/model/GSC.py official repository unverified no licence file found · pointer only · a8eb12ddd98b0279 · report
GSC jhuow/eric/model/GSC.py official repository unverified no licence file found · pointer only · 5a699d84c35acfc9 · report
gen_pair JhuoW/ERIC/DataHelper/data_utils.py official repository unverified no licence file found · pointer only · 289900c751839228 · report
raise_measure_error jhuow/eric/model/GSC.py official repository unverified no licence file found · pointer only · 31f0f7b2c907786e · report

Tasks

Graph Similarity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections