Bridging Graph Worlds: Neural Approximation of Gromov-Wasserstein Distances
Dong Qiao, Chris Ding, Jicong Fan
NeurIPS 2026
Abstract. Graph-structured data is crucial in various domains like biology and social networks. Comparing graphs, which is a fundamental problem in graph data analysis, is nonetheless highly challenging. Recently, the Gromov-Wasserstein (GW) distance has provided a principled way to compare two graphs. However, computing the GW distance involves solving a complex non-convex optimization problem, making it computationally expensive, especially when the graphs are large. In this work, we propose a neural approximation of the GW distance, called NeuralGW. In NeuralGW, we use a combination of a graph isomorphism network and a transformer to represent the nodes of two graphs as two sets of vectors, treated as two discrete distributions, on which we compute multiple maximum mean discrepancy values given by different kernels. We then use a multilayer perceptron to convert the vector formed by these values into a single value, which is the prediction of the GW distance. Once trained, the model allows for efficient inference, enabling fast structural comparisons between graphs across diverse domains. We also provide a theoretical guarantee for the generalization ability of NeuralGW. Experiments demonstrate the effectiveness and practical applicability of our approach on real-world datasets, in comparison to baselines.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper proposes NeuralGW, a deep-learning method for approximating Gromov--Wasserstein distances between graphs. The model employs an encoder to produce node embeddings for each graph, then uses an MMD layer to compare the resulting distributions, and finally feeds the MMD features into an MLP to predict the GW distance.
All three reviewers raised good points in the initial reviews and all three reviewers have raised their scores after the rebuttal. Please note that one of the reviewers said they would raise the score 3->4 but did not actually do it. Still, I treat their score as 4.
Final justification
All three reviewers raised their scores after the rebuttal and are in favor of acceptance. Please note that one of the reviewers said they would raise the score 3->4 but did not actually do it. Still, I treat their score as 4.
Read meta-review
Meta-review
The paper proposes NeuralGW, a deep-learning method for approximating Gromov--Wasserstein distances between graphs. The model employs an encoder to produce node embeddings for each graph, then uses an MMD layer to compare the resulting distributions, and finally feeds the MMD features into an MLP to predict the GW distance.
All three reviewers raised good points in the initial reviews and all three reviewers have raised their scores after the rebuttal. Please note that one of the reviewers said they would raise the score 3->4 but did not actually do it. Still, I treat their score as 4.
Final justification
All three reviewers raised their scores after the rebuttal and are in favor of acceptance. Please note that one of the reviewers said they would raise the score 3->4 but did not actually do it. Still, I treat their score as 4.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposed a neural model to estimate the costly Gromov-Wasserstein distance between graphs. The model architecture and algorithm have been clearly explained. The authors also analyzed the theoretical properties. The experiments demonstrated the superiority of the proposed methods over the baselines such as Sampled GW and WormholeGW.
Strengths and weaknesses
Strengths:
- Graph comparison is a fundamental problem in graph data analysis and has many important applications. While the Gromov-Wasserstein distance provides a useful tool for graph comparison, the computation is highly expensive. The paper proposed NeuralGW, an end-to-end neural model, that, once trained, can be used to estimate GWD efficiently without requiring iterative optimizations. Therefore, the significance of the work is high.
- The proposed NeuralGW is based on a deep combination of a union of MMDs. The idea is interesting and novel. The ablation studies confirmed the rationality of this technique.
- The paper analyzed the metric properties (Proposition 3.1) and generalization ability (Theorem 3.2) of the proposed method theoretically, which made the proposed NeuralGW theoretically grounded. The paper also included some empirical results to support the theoretical results. This made the paper much stronger.
- The experiments look comprehensive. A few baselines and multiple datasets with different sizes have been included. The in-domain and cross-domain settings sufficiently demonstrated the effectiveness of the proposed methods.
Weaknesses:
- In the experiment of graph clustering, it seems that only one dataset, say MUTAG, was tested. MUTAG is a very small dataset. I suggest the authors include more datasets to comprehensively compare the clustering performance.
- I didn’t find the running time comparison between the proposed methods and the baselines, although the authors discussed the theoretical complexity in Table 1.
Questions
- It is not clear how NeuralGW-Naive differs from NeuralGW, since the readout operation shown by (6) hasn’t been specified in the experiments.
- In the experiments of graph clustering, please include more datasets if possible.
- Please include the running time comparison of the considered methods.
- While the heatmap in Figure 2 is impressive, I wonder if the authors can provide some experiments that the model is trained on many datasets and tested on one dataset, i.e., the leave-one-out setting.
Limitations
The authors discussed the limitations in Appendix J.
Final justification
My concerns have been addressed, and I have raised my score.
Formatting concerns
No Formatting Concerns
3 comments
My concerns have been addressed, and I will raise my score.
Dear Reviewer,
We are very glad that your concerns have been addressed. Thank you so much for your recognition.
Authors
- Rating
- 4/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes NeuralGW, a neural framework for approximation of Gromov-Wasserstein distances between graphs. The model employs a hybrid GIN-Transformer encoder to produce node embeddings for each graph, and uses a multi-kernel MMD layer to compare the resulting empirical distributions at multiple scales, and finally feeds the MMD features into an MLP to predict the GW distance. The authors also discuss metric-like properties and provide a generalization bound. Experiments on baseline benchmarks demonstrate that NeuralGW achieves competitive in-domain prediction accuracy, cross-domain generalization, and improved clustering results while being faster at inference time compared to classical GW solvers.
Strengths and weaknesses
Strengths:
This work addresses the central challenge of making GW-based graph comparison scalable. The core concept of the proposed NeuralGW method is straightforward and empirically effective on the tested molecular and social-network benchmarks. Training-time target generation is performed once with the POT package, after which inference is O(¯d n²), which is attractive for large collections of moderate-sized graphs. The ablation studies (varying the number of MMD kernels, removing the hybrid encoder, replacing it with GPS) and the additional transport-plan prediction variant demonstrate that the authors performed a reasonable amount of empirical validation. The authors also provide extensive theoretical analysis and experimental evaluations.
Weakness:
-
The writing quality needs substantial improvement; the manuscript contains numerous grammatical errors and awkward phrasings that hinder readability and give an impression of insufficient polish. The introduction lists many studies on optimal transport and GW distances that are not directly related to the graph comparison task, which dilutes the focus. The paper would benefit from tightening the narrative around the specific gap it aims to fill.
-
This work addresses the central challenge of efficient Gromov-Wasserstein distance computation for graph structured data, which is relevant. However, the proposed solution is largely an assemblage of existing techniques—a GIN, a Transformer, MMD, and an MLP—without a novel conceptual integration or a fresh theoretical insight that justifies this particular combination. The motivation remains intuitive but the framework lacks a deeper, principled reason for why MMD computed on latent node embeddings should serve as an effective proxy for GW distance. Consequently, the originality is limited.
-
The claims of the paper are overstated: the five listed “contributions” largely restate standard components (GIN, Transformer, MMD, MLP) whose combination, while functional, does not constitute a deep conceptual advance. The framework feels like an ad-hoc assembly of existing modules rather than a principled redesign motivated by the specific geometry of GW. The theoretical analysis, while lengthy in the appendix, rests on strong assumptions (non-negative MLP weights, zero bias, ReLU activations) that are explicitly not used in the final model.
-
While NeuralGW offers a speed-up at inference, the training stage still requires expensive GW distance computation for a large collection of graph pairs, raising a chicken-and-egg problem: if one could compute all those ground-truth distances, the need for an amortized approximator would be questionable.The paper also inflates its contributions by listing up to five points.
Overall, I find this paper to be a competent but incremental engineering effort. It demonstrates that a well-tuned neural regressor can approximate GW distances faster than iterative solvers, yet it falls short of delivering a novel methodological insight or a theoretically grounded architecture that would constitute a significant advance for the NeurIPS community.
Questions
-
The authors state: “The GINs and Transformers are shared by the two inputs.” Can you clarify whether the GIN and Transformer parameters are exactly the same for both graphs being compared, and how this weight-sharing is implemented? Does it bring any inductive bias that helps or hurts the learning of a symmetric distance?
-
Training NeuralGW requires a large number of graph pairs with pre-computed GW distances. For very large graphs or when only a few graphs are available, this becomes impractical. How do the authors envision deploying NeuralGW in real-world scenarios where computing a sufficient training set via POT is itself the bottleneck?
Limitations
It was discussed in the conclusion section.
Final justification
My concerns have been addressed, and I am willing to raise my rate to borderline accept.
Formatting concerns
No Formatting Concerns
4 comments
Rebuttal
We thank the reviewer for recognizing the importance of scalable GW graph comparison, the empirical effectiveness of NeuralGW, its favorable inference complexity, and the breadth of the ablation and theoretical evaluations.
W1 — Writing quality and focus of the introduction
We agree the writing can be tightened. We will revise the manuscript for language and clarity, and improve the introduction to focus more closely on the graph comparison task.
W2 — Originality and conceptual integration
We respectfully disagree that NeuralGW is merely an arbitrary assembly of standard components. We do not claim novelty for GIN, Transformers, MMD, or MLPs individually. The contribution is a problem-specific graph-pair architecture satisfying the requirements of GW approximation:
-
No node correspondence: the comparison must not require aligned nodes.
-
Different graph sizes: the two inputs may contain different numbers of nodes.
-
Permutation invariance: the comparison must not depend on node ordering.
-
Symmetry: exchanging the two input graphs should not change the predicted distance.
-
Structural sensitivity: both local and global graph structure should influence the result.
-
Efficient repeated inference: no iterative coupling optimization should be required after training.
The shared GIN–Transformer encoder produces structurally informed node embeddings in the same latent space. Treating these embeddings as empirical distributions avoids compressing each graph immediately into one pooled vector. Gaussian-kernel MMD is symmetric and permutation invariant, accommodates unequal sample sizes, and, with characteristic kernels, distinguishes embedding distributions. Multiple bandwidths summarize discrepancies at different structural scales, while the MLP learns how these multiscale discrepancies relate to the reference GW value.
We do not claim that MMD universally equals or analytically approximates GW for arbitrary representations. Rather, NeuralGW jointly learns the representation for the supervised approximation task. The multiscale MMD vector is an inductive interface between graph encoding and distance regression.
The design is also not only empirically motivated. We prove a generalization bound for pairwise GW prediction that ties the error to the encoder depth, the graph spectral norm, and the number of MMD scales, and Proposition 3.1(a) shows a uniformly accurate approximator inherits an approximate triangle inequality — theoretical insight specific to this architecture rather than to its individual components.
The ablations show that this design is consequential rather than cosmetic. NeuralGW substantially and consistently reduces the in-domain relative error of the pooled NeuralGW-Naive baseline:
confirming that retaining and comparing the node-embedding distributions — rather than pooling each graph into a single vector — is what drives the gain.
W3 — Overstated claims and theoretical assumptions
On the first point — that the five listed contributions restate standard components — we will consolidate them into three focused claims:
-
a symmetric amortized architecture for GW-type graph-distance approximation;
-
theoretical analysis of approximation-induced metric behavior and pairwise generalization; and
-
empirical evaluation covering in-domain approximation, transfer, scalability, and downstream clustering.
These are not an ad-hoc assembly: as our W2 reply details, each component is dictated by the requirements of GW approximation, with a generalization bound and metric analysis as principled grounding. Here we address the theoretical assumptions.
The assumptions the reviewer names — nonnegative weights, zero bias, ReLU — belong only to Proposition 3.1(b), a sufficient condition for an exact pseudo-metric that we do not claim describes the trained model. The paper states part (b) “is mainly of theoretical interest, since the requirement of nonnegative MLP weights is restrictive and is not imposed in our experiments,” and Appendix D shows these assumptions collapse the MLP to a linear map and are “sufficient but not necessary.” We agree this distinction should be signposted more clearly in the main text.
The practically relevant result is the architecture-independent Proposition 3.1(a): a uniformly accurate approximation of a pseudo-metric reference inherits an approximate triangle inequality. The unconstrained model recovers this empirically — Appendix D’s triangle-inequality violation rate falls to zero within a few epochs (BZR, COX2) — so the restrictive assumptions are not needed for the metric behavior we report.
W4 — Training cost: the “chicken-and-egg” concern
NeuralGW is designed for an amortized many-query setting, not for a one-time comparison of a few graphs. If a user has only a small static graph collection and requires the distance matrix once, directly running a GW solver may indeed be preferable. We will state this explicitly.
The cost scales with the training collection, not the deployment collection: labeling m training graphs costs solver calls, after which the model answers the pairs of a much larger collection N ≫ m, together with every pair involving graphs that arrive later.
Crucially, the labeled subset can be small, and its cost falls quadratically. Appendix G.3 trains on a 1:9 split — only 10% of the graphs labeled, hence about 1% of all pairs sent to the solver, roughly 64× fewer calls than an 8:2 split — and NeuralGW still attains relative errors of 0.1420–0.2479 on the four molecular datasets and 0.1642 on REDDIT-BINARY, better than NeuralGW-Naive or Sampled GW reach with the full 8:2 training set; on RandomGraphs the error stays near 0.10 across all splits. One does not need the full distance matrix to train a useful approximator.
Appendix G.3 also quantifies the asymmetry. The offline stage generates the full 16,836-pair reference matrix for these 184 graphs in ∼103 minutes and is paid once; what recurs is the per-pair cost, and on one CPU that is 297 ms for the solver against 33.9 ms for the trained model (5.4 ms on GPU).
On the contribution count, please see our W3 reply: we consolidate the five points into three.
Overall assessment
We hope that the problem-specific invariances, the consistent ablation gains, the amortization analysis, and the theoretical grounding in Proposition 3.1(a) and our pairwise generalization bound demonstrate that the contribution is more than a generic neural regressor assembled from unrelated modules.
Question 1 — exact weight sharing between the two branches
Yes. The two graphs are processed by the same encoder ; both the GIN and Transformer parameters are exactly shared. Weight sharing has three consequences:
-
it maps both graphs into the same latent coordinate system;
-
it reduces parameters and discourages branch-specific overfitting; and
-
together with the symmetry of MMD, it guarantees
and therefore $$ up to numerical precision.
Two independent branches could disagree on the two argument orders; sharing rules that out. We will make this explicit in the algorithm and architecture description.
Question 2 — very large graphs, or only a few graphs available
We agree that NeuralGW is not beneficial in every regime. With very few graphs and no expected future comparisons, there may be insufficient data for training and little opportunity to amortize the offline cost. For extremely large graphs, the current quadratic Transformer/MMD operations also remain a limitation.
The training set can nevertheless be far smaller than the collection it serves. As in our W4 reply, a 1:9 split labels only 10% of the graphs — about 1% of all pairs, roughly 64× fewer solver calls — and Appendix G.3 shows the accuracy cost is small: on the RandomGraphs collections the error is unchanged or better (0.1000/0.1397/0.1475 at 1:9 against 0.1166/0.1445/0.1619 at 8:2, for 300–500, 500–1000 and 1000–2000 nodes), and it degrades gracefully on REDDIT-BINARY. That study also reaches 1000–5000 nodes (202 graphs, relative error 0.2805 at 8:2), so within this range graph size raises the cost without preventing training.
The method is most appropriate for moderately large or repeatedly queried graph collections. For more extreme scales, pair sampling (followed by matrix completion), sparse attention, low-rank MMD approximations, and subgraph-based encoders are natural extensions. We will sharpen this scope in the revised paper.
Hi Reviewer 75z2, did our rebuttal address your concerns? If not, please feel free to let us know the remaining concerns.
My concerns have been addressed
Thanks for your responses, and I am willing to raise my rate to weak accept.
Dear Reviewer 75z2,
We are greatly honored to receive your revised, higher rating. Your comments have been invaluable in strengthening our manuscript, and we will keep working to enhance its quality. Thank you
Best,
Authors
- Rating
- 3/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes NeuralGW, a Siamese neural architecture for approximating the Gromov–Wasserstein (GW) distance between graphs. The model encodes graphs using GIN layers combined with Transformer blocks, and compares node embeddings via an MMD-based pooling mechanism with multi-bandwidth Gaussian kernels. The authors provide theoretical analysis on metric preservation and generalization, and empirically evaluate the method on small-scale real and synthetic datasets, reporting improved performance over several related iterative GW solvers and a neural ablation baseline. A supplementary extension (NeuralGW-TP) is introduced for transport plan prediction.
Strengths and weaknesses
Stregths
- Clarity and accessibility: The paper is generally well-written and easy to follow.
- Architectural contribution: The Siamese design combined with GIN + Transformer encoders and MMD-based graph comparison is a reasonable and technically interesting formulation for GW approximation.
- Theory component: The paper includes analysis of pseudo-metric properties and provides generalization bounds for the proposed estimator.
- Empirical results: The method shows competitive performance on GW approximation benchmarks and demonstrates improved scalability over some baselines.
Weaknesses:
Weaknesses
- W1 - Modelization issue: I believe that there are fundamental issues in the research approach reported in the paper. In particular, trying to faithfully predict the GW distance estimated by iterative solvers, which are very likely not to yield the exact GW value, does not seem to be a good objective. Intrinsically, it becomes a noisy regression problem, and the authors did not address this matter at all, which could be addressed in many ways via robust learning (losses, architectures, etc.). The same problem is present in their NeuralGW-TP model, as a likely noisy estimated OT matrix is taken as the target. That is why I strongly believe that it is more relevant to design neural architectures that explicitly model the transport plan in order to minimize the GW objective, closer to the methods mentioned in the supplementary section “Learning-based Approximation Method for GWD”, and other recent contributions like ULOT [A], potentially in unbalanced settings, and more recently explicitly studied for balanced GW [B]. Moreover, not explicitly modeling the transport plans drastically reduces the range of applications enabled by the model (e.g., all node-level tasks) and its interpretability.
[A] Mazelet, S., Flamary, R., & Thirion, B. (2026). Unsupervised Learning for Optimal Transport plan prediction between unbalanced graphs. Advances in Neural Information Processing Systems, 38, 94041-94063.
[B] Mazelet, S., Flamary, R., & Thirion, B. (2026). Learning fMRI activations dictionaries across individual geometries via optimal transport. arXiv preprint arXiv:2605.20883.
-
W2 - Clarity issues:
- a) The second and third paragraphs of the introduction are really not clear; the authors should more clearly distinguish embedding-based graph kernels where linear OT is relevant from those closer to GW kernels in spirit.
- b) Authors stress that they introduce a novel architecture, which actually has strong relationships with the vast literature of graph transformers, which is not discussed in the related work of the paper.
- c) There is no need in the paper to introduce notions like metric measurable spaces following Memoli’s seminal work, as all the paper actually leverages the generalization of GW between networks of Chowdhury et al. (2018). Moreover, it seems wrong to state that an adjacency matrix models a metric space, as it does not satisfy the triangle inequality.
-
W3 - partially aligned theoretical analysis: The theoretical analysis on triangular inequality is interesting, but does not align with the architecture used by the authors, and the suggested architecture with non-negative weights is not tested. This is justified by authors showing that in this setting, ReLU leads to trivial linear readouts, but it is not clear why other non-negative non-linear activations should not be considered to have a better inductive bias.
-
**W4 - Baselines: Comparisons to entropic GW do not seem sound, as there are also proximal-based solvers for the exact GW problem that are not discussed or benchmarked in the paper.
-
**W5 - Transferability benchmark: The transferability across domains made by authors seems fairly biased as they mostly consider generalization across closely related datasets of molecular data. They should include experiments across the three types of datasets reported in Table 6, where we expect far weaker transferability between social and molecular networks.
-
W6 - Expressivity: In theory the GW distance can be used to sharply solve the graph isomorphism problem, whereas GNN with bounded expressivity cannot like GIN which is limited to 1-WL. Authors did not aim at addressing these expressivity challenges, not discussed them, while having GW has supervision is a good way to do so.
Questions
I invite authors to discuss my remarks on the weaknesses of the paper above. Also, could you clarify your benchmarks in terms of running times, as it is not clear whether these measures were done on CPUs or GPUs, knowing that not all baselines necessarily have GPU-friendly implementation available.
Limitations
Authors essentially discussed the challenges relating to transferability but challenges related to robustness to noise or expressivity are not discussed.
Formatting concerns
None
5 comments
Rebuttal
We thank the reviewer for recognizing the clarity, architecture, theory, performance and scalability of NeuralGW.
W1 — Modelization issue
We agree the solver output is not the globally exact GW, but this is inherent, not an oversight: GW is a nonconvex quadratic assignment (graph isomorphism reduces to it), so the global optimum is intractable and every usable GW value — ours and every baseline’s — is a solver’s local optimum. Learned transport-distance approximators all reproduce solver-computed distances, including the WormholeGW baseline (Courty et al., 2017; Haviv et al., 2024; Qian et al., 2024). The paper already flags this in a footnote (“…despite the fact that GW distance arises from a non-convex quadratic minimization problem”); we will promote it and rename “ground-truth GW distance” to “reference GW value”. The target is moreover deterministic — fixed init , tolerance , no randomness — so repeated runs are bit-identical (zero variance).
Modeling the transport plan does not remove this inexactness: the optimal plan solves the same nonconvex problem, so a plan predictor (ULOT, balanced GW) also only reaches a local optimum and does not recover the exact GW. Both routes inherit GW’s nonconvexity, which does not by itself favor either.
ULOT does change the learning signal — it minimizes the GW objective directly and unsupervised, avoiding a precomputed target and enabling node-level tasks, a legitimate complementary direction. But it is a harder, plan-valued regime; NeuralGW targets fast scalar distances for the many-pair tasks it addresses (clustering, retrieval), where a full plan per pair is unnecessary. We will discuss ULOT (already cited, Appendix B.2) and the balanced-GW work in the revision.
W2(a) — Clarity: OT vs. GW comparison
We agree. The revised related work will separate embedding-based graph kernels where linear OT is relevant (e.g. the Wasserstein Weisfeiler-Lehman kernel) from GW/network-GW methods: linear OT and MMD require a shared ambient space with pointwise correspondences, GW does not.
W2(b) — Clarity: relation to graph Transformers
We agree, and do not claim the GIN or Transformer as new; they build a shared latent space for comparing two variable-sized node sets, with complementary biases: GIN for local aggregation, the Transformer for global dependencies, shared weights for one coordinate system, and multi-kernel MMD for a symmetric, permutation-invariant comparison. The comparison is also empirical: our ablation already includes a GPS-style encoder, , which our encoder beats on all four in-domain datasets (0.1494/0.1239/0.1251/0.1365 against 0.2599/0.1861/0.1383/0.2122). Graph Transformers are discussed and GPS cited in Appendix A but not in the related-work section; we will move that discussion there, promote the comparison, and clarify that our contribution is the graph-pair comparison construction, not a new Transformer block.
W2(c) — Clarity: adjacency and metric spaces
We agree, and thank the reviewer: an adjacency matrix does not generally satisfy the triangle inequality and should not be described as inducing a metric space. Since our experiments use adjacency as a relational cost matrix, Chowdhury et al.’s network GW, which we already cite, is the correct framing rather than the metric-measure-space one; we will adopt it in the preliminaries, keep the metric-space formulation for the shortest-path costs we also evaluate, and restate the metric-like property as a GW/network-GW pseudo-metric.
W3 — Partially aligned theoretical analysis
The paper already draws this distinction, though not prominently enough: the discussion following Proposition 3.1 calls part (b)’s condition “mainly of theoretical interest” and “not imposed in our experiments.” We agree this belongs in the main text.
Part (a) governs our unconstrained model: uniform ε-accuracy yields the triangle inequality up to an additive 3ε with no weight constraints, and Appendix D shows the violation rate reaching zero within a few epochs (lr ) on BZR and COX2. Part (b) is only sufficient for an exact pseudo-metric; with nonnegative inputs it collapses to a linear readout.
Beyond linear, any monotone, zero-preserving, subadditive readout preserves the triangle inequality; we tested log(1+x) against linear ReLU, both with nonnegative weights and zero bias (relative test error):
log(1+x) stays within 0.02 of linear ReLU everywhere, while metric preservation costs 0.16–0.29. So the constraint, not the activation, limits accuracy — which is why the readout is left unconstrained.
W4 — Baselines: proximal GW solvers
We agree. Entropic GW solves the regularized problem, so measuring its deviation from our unregularized reference (Appendix G.2: 1.72/1.10/0.21 on MUTAG at ε=0.3/0.1/0.01) mostly measures the regularizer, not solver quality; we will present it as a regularization path or narrow the claim to methods targeting unregularized GW.
The sound comparison is a proximal solver: PPA (Xu et al., 2019) and BAPG (Li et al., 2023) are discussed in Appendix B.1 but never benchmarked. We have now run both under our cost convention, marginals and tolerance. PPA yields feasible couplings and finds GW below our conditional-gradient (CG) reference, but at one to two orders of magnitude more runtime per pair:
This confirms that the CG reference is a local, not global, optimum, with a gap of at most a few percent that vanishes on COLLAB. It also makes CG a reasonable configuration to amortize: both are local solvers, and PPA references would make the offline label stage far more expensive, undermining the amortization NeuralGW provides. BAPG is faster than CG but its coupling violates the marginal constraints, so its lower value is not a valid GW. We will add PPA as a baseline.
W5 — Transferability benchmark
We agree molecular-to-molecular transfer is favorable, and that the broader evidence was buried in the appendix. Appendix G.9 shows diverse sources help: training on MUTAG+DD+COLLAB cuts the DHFR/ENZYMES/IMDB errors from 0.4889/0.5750/0.6972 (MUTAG alone) to 0.4499/0.1280/0.2898.
Appendix H reports exactly the experiment requested: training on all remaining datasets — molecular, bioinformatics and social-network — and testing on one held-out dataset. The relative errors are 0.2960/0.1714/0.2119 (MUTAG/COX2/PTC_FM), 0.1249/0.3511 (ENZYMES/DD) and 0.1540/0.2061/0.8581 (COLLAB/IMDB-MULTI/REDDIT-BINARY).
The pattern does not follow domain type alone: COLLAB transfers better than every molecular target despite an average degree of 66 against 2, while the two worst targets are the two largest — REDDIT-BINARY (430 average nodes) and DD (284) — and DD is bioinformatics, not social. REDDIT-BINARY is a genuine failure. With eight targets we cannot isolate one cause, and Appendix J already attributes the degradation to differences in “scale, edge sparsity, or domain semantics”.
W6 — Expressivity and 1-WL
We will add this discussion, with two clarifications. The sharpness described is a property of the exact GW distance, which vanishes precisely on isomorphic graphs. Computing it is a quadratic assignment problem into which graph isomorphism reduces, so no tractable estimator — ours or a transport-plan network — inherits that power: the gap is between polynomial-time methods and an NP-hard functional.
In practice, the supervision is a solver’s local minimum, an upper bound on GW, hence a sound but incomplete isomorphism test.
We accept the limitation for our architecture: GIN is bounded by 1-WL, and while the SVD positional encoding adds information a featureless GIN lacks, we do not claim it lifts that ceiling. The failure mode is an encoder collision — identical node-embedding distributions leave nothing for the MMD or MLP to separate. We will state this, note that stronger encoders, higher-order GNNs and basis-invariant positional encodings drop into the same framework, and engage with the WL/GW literature.
Questions — runtime and hardware
The reviewer is right: the reported times mix hardware — baselines on CPU, NeuralGW on GPU, and those baselines have no GPU implementation. So we timed every method on one CPU (666 REDDIT-BINARY pairs, 500≤n≤1000; NeuralGW with its encoding, Spar-GW at 8n, samplers at ε=0.01):
The advantage is not a GPU artifact; the GPU adds about 6× on top. We will report hardware per method, with Appendix G.3’s stage times: for 184 graphs (8:2), reference generation about 103 min on CPU, training 13.67 and inference 0.07 on GPU.
Limitations — robustness and expressivity
We agree; both are analyzed above: robustness to the noisy solver labels in W1 (a deterministic target whose only bias is the inherent local optimum) and expressivity in W6 (encoder bounded by 1-WL). We will consolidate these into the Limitation section, currently distribution-shift only.
Hi Reviewer Jnoi, did our rebuttal address your concerns? If not, please feel free to let us know the remaining concerns.
Dear Reviewer Jnoi,
Apologies for the additional reminder. If time permits, we would greatly appreciate it if you could review our rebuttal and follow-up comments. In particular, we clarified the runtime and hardware settings raised in your question and provided a new CPU-only comparison, in addition to addressing concerns W1–W6.
As the discussion period ends on 3 August 2026 (Anywhere on Earth), could you kindly let us know whether our responses address your concerns or whether any concerns remain? We greatly value the discussion process and would sincerely appreciate any brief feedback you may be able to provide. We would be happy to clarify any remaining concerns before the deadline.
Thank you for your time and thoughtful feedback.
Best regards,
The Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for recognizing the significance, novelty, theoretical grounding, and comprehensive empirical performance of NeuralGW.
W1 and Question 2 — additional graph-clustering datasets
We agree that evaluation only on MUTAG is limited. We have therefore run our paper’s spectral-clustering protocol on two much larger social-network datasets, COLLAB and REDDIT-BINARY, against the reference GW. Mean ± std over five seeds where multiple runs exist:
On both datasets NeuralGW’s clustering is close to the reference GW it approximates, and slightly above it on ACC and ARI (0.6080 vs 0.6000 and 0.2881 vs 0.2731 on COLLAB; 0.7769 vs 0.7415 and 0.3033 vs 0.2287 on REDDIT-BINARY). It leads every other approximator of GW; the three cells it does not lead go to the RW kernel and to Sampled GW, which return no GW distance and cost 659× per pair respectively. RW’s lambda and PPA’s epsilon are set per dataset, since the RW series diverges at grakel’s default 0.1 on both subsets. Cross-domain transfer works both ways, reaching 86% of the reference’s ARI on REDDIT-BINARY with no REDDIT-BINARY pairs in training, which further supports the generalization our submission reports.
We will add these results.
W2 and Question 3 — running-time comparison
The empirical runtime comparison is currently in Appendix G.3, but we agree that it should have been presented more visibly. The experiment separates:
offline reference-value generation;
neural training; and
inference on unseen pairs.
For the 184-graph REDDIT-BINARY subset (8:2 split), these stages take approximately 103 minutes on CPU for all 16,836 reference pairs, then 13.7 and 0.07 minutes on GPU.
We have now also timed every method per pair on the same CPU, so the comparison no longer depends on hardware (REDDIT-BINARY, 500≤n≤1000, 666 test pairs):
On identical hardware NeuralGW is 8.8× faster than the reference solver and 659–2842× faster than the sampling approximations, whose per-pair cost exceeds the reference solver’s at this graph size; a GPU adds a further ∼6× (5.4 ms/pair). The positional encoding is included above: it is a one-time per-graph cost, adding 0.9 ms/pair here and under 1% for larger collections. We will move this table, with hardware per method, into the main paper.
Question 1 — difference between NeuralGW-Naive and NeuralGW
We apologize that the implementation was not stated precisely enough.
NeuralGW-Naive uses the same shared GIN–Transformer encoder as NeuralGW. It then applies mean pooling to the node embeddings of each graph and predicts the squared Euclidean distance between the two pooled representations: $zˉi=mean-pool(Zi),d(Gi,Gj)=∥zˉi−zˉj∥22.$ In the implementation the naive variant is the same encoder with the multi-kernel MMD layer and the MLP head removed, so no learned readout is applied on top of the pooled vectors. NeuralGW instead retains the complete node-embedding sets, computes nine Gaussian-kernel MMD values at different bandwidths, and maps the resulting vector through an MLP. Thus, the key difference is graph-level pooling versus multiscale distribution-level comparison.
We will state the exact pooling and readout operation in both the main text and experimental settings.
Question 4 — many-source-to-one and leave-one-out evaluation
The paper already includes several many-source-to-one experiments in Appendix G.9. For example, NeuralGW is trained on MUTAG+DD+COLLAB and separately evaluated on DHFR, ENZYMES, and IMDB. Compared with training on MUTAG alone, the mixed-domain training set reduces the relative errors from 0.4889/0.5750/0.6972 to 0.4499/0.1280/0.2898.
More directly, the exact leave-one-out protocol the reviewer describes is already reported in Appendix H, which we clearly should have highlighted in the main text. There, NeuralGW is trained on all remaining datasets — spanning molecular, bioinformatics, and social-network graphs simultaneously — and evaluated on the single held-out dataset:
On seven of the eight held-out datasets the relative error stays within 0.1249–0.3511, including the social-network targets COLLAB (0.1540) and IMDB-MULTI (0.2061). REDDIT-BINARY is the clear failure case (0.8581), consistent with the limitation we discuss in Appendix J: it is the largest and sparsest target and is least covered by the remaining training distribution.
We thank the reviewer for this valuable suggestion, which prompted us to give this existing experiment the prominence it should have had.