- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes Graph Energy Matching (GEM), an energy-based framework for discrete graph generation. The main goal is to adapt Energy Matching to graph domains, where continuous transport dynamics cannot be directly applied. GEM learns a scalar energy over graphs and uses embedding-space gradients to construct discrete node and edge edit proposals. During sampling, the method first uses a transport phase to move samples toward low-energy, data-like regions, and then applies MH-based local mixing to refine samples under the same energy. The paper shows superiority of GEM on molecular graph generation benchmarks, including unconditional generation, and property-constrained generation.
Strengths and weaknesses
Strengths
-
The paper is well written and clearly motivated. It explains why discrete graph generation can benefit from energy-based modeling, especially when constraints or domain-specific priors need to be incorporated at inference time, while also identifying inefficient sampling as a key limitation of existing graph EBMs.
-
The main idea is concrete and useful. GEM uses a transport phase to move samples toward low-energy, data-like regions, followed by MCMC mixing to explore the local energy landscape. The paper provides a clear adaptation of Energy Matching to discrete graphs by turning continuous transport dynamics into gradient-guided node and edge edits.
-
The experiments are reasonably broad. The paper evaluates unconditional generation, and property-constrained generation, showing that the learned energy is useful beyond sample quality alone. The authors also report performance under different sampling budgets, which helps support the practical utility of the method.
Weaknesses
No major weaknesses. However, I have several questions to better understand how the method works.
Questions
Q1. Have the authors experimented with inference schemes that use the energy value () directly, rather than relying mainly on ()? For example, one could score candidate edits using their actual energy values or energy differences. It would be useful to understand whether such value-based proposals perform worse than the proposed gradient-guided proposal
Q2. GEM currently constructs proposals through node- and edge-level edits. Can the authors comment on whether this proposal design is expected to scale to molecules larger than those in MOSES? More broadly, would coarser proposal moves, such as fragment-level or scaffold-level edits, be compatible with the GEM framework?
Q3. Since GEM learns an explicit scalar energy, can the authors comment on how informative the energy value itself is? For example, does lower energy consistently correlate with molecular validity, data-likeness, or sample quality, or is the energy mainly useful through its gradients for constructing proposals?
Q4. The selection of sampling hyperparameters is not fully clear. In particular, can the authors provide the search ranges and tuning procedure for (), (), (), and ()? If these parameters require an expensive search for each dataset or setting, this could affect the practical utility of GEM. Can authors provide a discussion of the hyperparameter search cost and sensitivity?
Limitations
yes
Paper formatting concerns
No formatting concerns.
Final justification
This paper presents a well-motivated and technically solid adaptation of Energy Matching to discrete graph generation. The rebuttal clarified the computational motivation for gradient-based proposals, the interpretation of the learned scalar energy, compatibility with coarse-grained graph edits, and the cost and sensitivity of sampler tuning. I therefore maintain my positive assessment.
We thank the reviewer. We address the raised points below.
Q1. Using energy values directly to rank proposals in data-like regions.
Ranking every neighboring graph by its exact energy difference is the basis of locally balanced proposals [d1], which are asymptotically Peskun-optimal within the class of pointwise-informed proposals in high-dimensional local-move regimes. GEM keeps this energy-based principle, but avoids evaluating the energy at every neighboring graph. Instead, a single backward pass gives local energy-sensitivity scores for all possible node and edge replacements. These scores are the first-order approximation to the exact energy differences, and GEM uses them to rank candidate edits. The exact energy difference is then used in the MH acceptance step.
The reason for this approximation is computational. The table below considers the most favorable case for exact energy-difference ranking: only single-edge alternatives. Even in this restricted neighborhood, the number of candidates grows quadratically:
Energy-difference ranking is competitive for the smallest graph, but is already approximately 10× and 159× slower at 32 and 64 nodes, respectively. These numbers are for single-edge edits only. In molecular graph sampling, such a local neighborhood may be too small to move efficiently between data-like regions, since useful transitions can require coordinated multi-edge/node, fragment-level, or scaffold-level changes. Exact energy-difference ranking over these enlarged neighborhoods would require one model evaluation per candidate and would scale much worse. Gradient-based ranking therefore preserves the locally balanced intuition by approximating local energy differences to first order, while amortizing proposal ranking over many possible edits with one backward pass. Representation complexity and further scaling are discussed below in Q2.
[d1] G. Zanella, Informed proposals for local MCMC in discrete spaces, JASA, 2020.
Q2. Scaling and graph representation.
Detailed runtime and memory scaling is reported in our response to Reviewer BY1h, Q3. The current implementation is mainly limited by the dense O(n2) edge representation, but GEM's scalar-energy formulation is not bound to this representation. It is compatible with fragment- or scaffold-level moves because any discrete replacement can be ranked using the energy gradient and corrected using its exact energy in the MH step. Such coarser moves would also reduce the number of candidate directions and differentiated variables.
Q3. Information contained in the scalar energy.
The scalar energy defines a distribution over graphs, assigning higher relative likelihood (lower energy) to data-like molecules. The energy value is therefore informative in its own right, not only through its gradient. During noise-to-data transport, the sampler applies a fixed number of edits per warmup step. Thus, if the learned energy exactly measured remaining edit progress toward the data region, the energy trajectory would be linear. In Fig. 3 (left), the observed trajectory is close to linear, and the energy decreases steadily as greedy transport moves samples toward the data region.
We also evaluated a CL-trained MOSES checkpoint on independent random samples of 10,000 training and 10,000 held-out test molecules:
Under the learned EBM, pθ(G)∝exp[−Eθ(G)], so lower energy gives a molecule higher relative probability: the model is more likely to generate it and regards it as more data-like. The mean train and held-out test energies differ by only 0.38, while noise lies 527.68 energy units above test. The close train–test agreement means that unseen molecules are scored as data-like to the same degree as training molecules, showing that the learned energy generalizes beyond the training set.
More broadly, analogous train–test comparisons of model-internal scores may provide useful complementary generalization diagnostics. This is especially relevant as memorization has become a central concern for modern generative models [d2], while recent evaluations show that standard sample metrics often cannot reliably separate memorization from underfitting or mode shrinkage [d3].
Near the data-like region, we tested whether energy remains informative during annealed mixing. We ran 1024 data-initialized chains for 300 temperature-annealed mixing steps and saved ten stages along the annealing trajectory. Early in this schedule, the high-temperature MH kernel accepts many proposals, including energy-increasing edits, so the chains explore energy levels broadly. As the temperature is lowered, exploration contracts toward low-energy modes and validity increases. Across the ten saved stages, mean energy and validity are strongly correlated (r=−0.94), showing that the scalar energy is informative of chemical validity in these data-like regions. Across the CL-trained sampler sweep, terminal energy and VUN are also correlated (r=−0.72), linking lower energy to overall sample quality. The same conclusion is supported by the Geodesic Analysis: paths constructed from scalar energy values have higher validity than cost-only paths (Fig. 6).
[d2] T. Bonnaire et al., Why Diffusion Models Don't Memorize: The Role of Implicit Dynamical Regularization in Training, NeurIPS, 2025.
[d3] G. Stein et al., Exposing flaws of generative model evaluation metrics and their unfair treatment of diffusion models, NeurIPS, 2023.
Q4. Sampler-hyperparameter selection and sensitivity.
The complete one-time calibration procedure, search ranges, and cost are detailed in our response to Reviewer SmAq, W3. Briefly, after the flow-only warmup, we freeze Vθ, select sampler parameters by mean terminal energy over 128 short noise-initialized chains, and keep them fixed throughout CL training and evaluation. For this transport-only checkpoint, before CL training, we evaluated a 200-setting annealing sweep using 128 noise-initialized chains, a transport warmup, and 300 mixing steps. The five lowest terminal energies (mean ± standard deviation across chains) and their sampler hyperparameters were:
The five terminal-energy means span only 0.15, despite substantially different proposal temperatures and edit penalties. This indicates a broad region of similarly effective sampler settings rather than sensitivity to one precise optimum. We will include the complete sweep and selected parameters in the experimental-setup appendix.
We thank the reviewer for the opportunity to answer these questions and expand on the intuitions behind the learned energy landscape. In the revised paper, we will expand the appendix with key elements of this discussion, including the comparison of exact and gradient-based proposal ranking, train/test energy diagnostics, scaling and sampler-selection details. We would be very happy to continue this discussion during the discussion period if there are any remaining questions.