REVIEW
Some Thoughts on Graph Similarity
Discrete Mathematics · Submitted 15 Nov 2024 · 57 references
Pith's verdict: Useful survey of graph similarity measures, but the proof of Theorem 3.4 contains a false inequality and needs repair before the paper can stand as a self-contained account.
T0 · AI review
Why Pith says this
Highlight any text to comment on it.
Referee report
The paper
The paper claims
The paper argues that operational graph similarity—how cheaply one graph can be edited into another—and declarative graph similarity—how closely graphs agree on counts of small patterns—are dual views that coincide after a blow-up…
The reading
What carries the argument
The load-bearing object is the blow-up operation $G^{\odot k}$, which replaces each vertex by $k$ indistinguishable twins and each edge by a complete bipartite graph; it makes graphs of different orders comparable and defines the limiting distances $\delta^{\odot}_{(1)}$, $\delta^{\odot}_\square$. The proof engine is a set of scaling identities for matrix norms—$||B^{\odot ℓ}||_{(1)} = ℓ^2 ||B||_{(1)}$, $||B^{\odot ℓ}||_\square = ℓ^2 ||B||_\square$, $||B^{\odot ℓ}||_1 = ℓ ||B||_1$—together with Lemma 3.5, which turns these identities into the inequalities needed to show the blow-up limits exist. On the declarative side, the companion objects are homomorphism densities $hd(F,G)$, the probability that a random map from $F$ to $G$ preserves edges, and the Weisfeiler-Leman colouring, whose vectors define a graph kernel and a metric $\delta_{WL}$. The bridge between the two sides is built from doubly stochastic matrices: optimal-transport couplings $Q$ with rational entries (Lemma 3.11) realize blow-up alignments, and a decomposition of integer doubly stochastic matrices into permutations (Lemma 3.13) yields the approximation of edit distance by optimal transport. The paper's strongest unifying statements, Theorem 4.7, are taken from earlier work and used to conclude that the operational and declarative metrics induce identical topologies.
Extended reading notes
Core claim
The paper's central mathematical content is a chain of identifications between operational and declarative graph metrics. On the operational side, graph edit distance $\delta_{(1)}$, local edit distance $\delta_1$, and cut distance $\delta_\square$ are defined on equal-size graphs, then extended to arbitrary sizes by the blow-up operation $G^{\odot k}$, which replaces each vertex by $k$ twins and each edge by a complete bipartite graph. On the declarative side, homomorphism densities $hd(F,G)$ are collected into the metric $\delta_G$. The paper proves that blow-up edit distance equals the optimal-transport distance $\delta^{OT}_{(1)}(G,H) = \min_Q \sum |A_G(u,v)-A_H(w,w')|\,Q(u,w)Q(v,w')$, and states the analogous equality $\delta^{\odot}_\square = \delta^{OT}_\square$. It then presents the topological equivalences (Theorem 4.7): $\delta^{\odot}_\square$ and $\delta_G$ define the same topology, as do the fractional cut distance $\delta^*_\square$ and the tree-homomorphism metric $\delta_T$; Theorem 4.11 adds that $\delta_G$ and the sampling distance $\delta_{samp}$ define the same topology. These results say that comparing graphs by editing cost, by transport plans, by subgraph sampling, and by homomorphism counts all pick out the same notion of closeness in the dense regime. The paper also records complexity facts: edit distance is NP-hard even for trees, exact homomorphism indistinguishability ranges from polynomial to undecidable, and the convex relaxations are efficiently computable.
Load-bearing premise
The central unifying theorems about topologies are not proved in this paper but imported from earlier work, so the whole duality picture rests on those external proofs being correct; additionally, the normalization by $n^2$ presumes dense graphs with quadratically many edges, so the equivalences are only meaningful in that regime.
Editorial extensions
If this is right
- For dense graphs, algorithms and intuitions can move freely between editing cost, transport plans, and pattern counts: if two graphs are close in one sense, they are close in the others.
- The equality $\delta^{\odot}_{(1)} = \delta^{OT}_{(1)}$ gives the hard combinatorial edit distance a continuous transport formulation, so optimal-transport machinery becomes a candidate tool for approximating graph edit distance.
- Because $\delta_{samp}$ and $\delta_G$ define the same topology, comparing graphs by sampling small induced subgraphs is not a heuristic shortcut but an equivalent way of measuring closeness, with quantitative bounds by $k$.
- The zero-distance classes are pinned down: for all graphs, isomorphism; for trees, fractional isomorphism and Weisfeiler-Leman equivalence.
- Complexity is sharply split: operational distances are mostly NP-hard to compute, while the convex relaxations are efficiently computable and several declarative distances can be sampled or computed in polynomial time.
Reading between the lines
- Implied but not pursued in the paper: the same transport/coupling format used for edit and cut distance could be applied to the distortion distance, yielding an optimal-transport variant that inherits blow-up limit behavior and connects directly to metric-space matching.
- A reader can infer that because $\delta_G$ and $\delta_{samp}$ are topologically equivalent, a learned graph representation built from Weisfeiler-Leman features should asymptotically see the same closeness relation as one built from homomorphism densities; this is a testable design consequence, not shown in the paper.
- The dense-regime normalization is a stated limitation. A natural extension, left implicit, is that transferring the equivalences to sparse graphs would require a different normalization, and the paper's clean duality would likely break.
- The author conjectures that optimal-transport and blow-up distances are hard to compute. If that is correct, the efficiently computable convex relaxations are not merely relaxations but the only practical algorithmic route, making the quantitative gap between $\delta^*$ and $\delta^{\odot}$ a pressing quantity to estimate.
Original abstract
We give an overview of different approaches to measuring the similarity of, or the distance between, two graphs, highlighting connections between these approaches. We also discuss the complexity of computing the distances.
The compiled record
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.
The abstract, sentence by sentence
We give an overview of different approaches to measuring the similarity of, or the distance between, two graphs, highlighting connections between these approaches. We also discuss the complexity of computing the distances.
background contribution method result interpretation main claim
| # | sentence | role | the authors' own work | states the main conclusion | strength |
|---|---|---|---|---|---|
| s0 | We give an overview of different approaches to measuring the similarity of, or the distance between, two graphs, highlighting connections between these approaches. | contribution 0.97 | 0.46 | 0.14 | asserted 0.93 |
| s1 | We also discuss the complexity of computing the distances. | contribution 0.97 | 0.24 | 0.05 | asserted 0.71 |
What was examined, and what was not
- arXiv listing abstract v2
- full text
- figures and tables
- references and citing sentences
- relations to other papers
- P abstract
- S sections
- T body sentences
- C citations
- R cross-paper relations
Figures
Showing 3 of the paper's 4 figures. See all figures in the PDF ↗ Figures reproduced from arXiv:2411.10182 by the authors.
References
Discussion
Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.