Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Learning Discrete Diffusion on Graphs via Free-Energy Gradient Flows

Discrete diffusion on graphs can be learned as free-energy gradient flows

  • Problem Carrying the W2 metric to discrete diffusion breaks down. On a finite space, the heat equation has infinite W2 metric derivative, so it is no W2 gradient flow.
  • Method The authors price moves with a kernel-based metric WK instead of W2. They fit a free energy F so its discrete JKO steps match the observed snapshots.
  • Results On the gastrulation atlas, the method reaches a Hellinger distance of 0.06, against 0.36 for Direct-FP.

Why W2 breaks for discrete diffusion

Continuous diffusion models often treat a population of particles as a path of probability measures, discretized with the JKO scheme. Each JKO step minimizes a free energy plus a scaled squared W2 distance to the previous state. That viewpoint is attractive for machine learning, because training loops are fast and work on samples without trajectories.

Discrete models, by contrast, evolve probabilities on a finite state space under a known Markov kernel. Carrying the W2 recipe over to them breaks down.

On a finite space, any non-constant curve has infinite W2 metric derivative. So a common trajectory such as the discrete heat equation can't be a W2 gradient flow of any functional. The authors make this concrete on a two-point space, where a non-invariant heat trajectory has infinite metric derivative at every time. The heat equation sits behind much of discrete generative modelling, so this gap matters.

The authors therefore argue that a discrete approach needs a metric other than W2. The goal becomes describing such processes as gradient flows of functionals, which turns learning the dynamics into learning a functional.

A mobility-weighted metric that fits the heat equation

The key idea is to keep the dynamic transport picture but change how moving mass between two states is priced. The price depends on the Markov kernel K and on a mobility, which here is the logarithmic mean of the densities at the two states. This mobility is the choice that makes the heat equation the gradient flow of the entropy.

The logarithmic mean is an integral over powers of the two densities, \( m_\rho(x_i,x_j)=\int_0^1 \rho(x_i)^s\rho(x_j)^{1-s}\,ds \). The authors note that a geometric mean or a power of the densities could also serve, so the mobility is a modelling choice.

WK squared is the minimum, over curves of densities and potentials ψ, of half the time integral of a kinetic energy. The energy sums the squared potential differences weighted by K, the mobility and π, and the curve must satisfy \( \dot\rho_t(x)+\sum_y(\psi_t(y)-\psi_t(x))K(x,y)m_{\rho_t}(x,y)=0 \). So the difference ψ_t(x) − ψ_t(y) acts as a velocity along an edge.

Tangent vectors at a density are discrete gradients, and the inner product on them carries the K, mobility and π weights. This makes the strictly positive densities a Riemannian manifold, while the boundary of the simplex is degenerate. The authors rely on a theorem from Maas (2011) for this geometry.

With this geometry, the entropy \( H(\rho)=\sum_x \rho(x)\log(\rho(x)\pi(x)) \) generates the discrete heat equation as its gradient flow. This is the payoff: learning the dynamics becomes learning the functional F.

Turning first-order conditions into a loss

In R^d, a proximal step x_{t+1} = argmin F(x) + ||x − x_t||²/(2τ) must have zero gradient at its optimum. That gives a necessary condition that can be inverted: fit F so that this residual vanishes on the snapshots.

In the WK geometry the same logic holds, with the gradient taken in the WK-induced metric. Theorem 4.1 says that for β > 0 and any τ > 0, the discrete JKO step has a unique minimizer in the interior of the simplex. The entropy acts as a log-barrier that keeps the minimizer away from the boundary.

Here v_geo is the starting velocity of the unique unit-speed geodesic from ρ through ρ_t. Setting this gradient to zero ties the unknown ∇V and β to the geodesic velocity at each step.

The pipeline estimates densities from the snapshots and computes v_t := v_geo(ρ̂_t → ρ̂_{t−1}) for each step. The loss integrates over time the expected squared norm of \( \nabla V_\theta(x_t)+\beta_\theta\nabla\log\hat\rho_t(x_t)-v_t(x_t)/\tau \). The potential head outputs a discrete gradient for each state, and a second head outputs the scalar noise parameter.

The MLP has two hidden layers of 64 neurons each, trained for two epochs with batch size 128 on one L40S GPU.

The loss uses only the zero-gradient condition, which doesn't guarantee a global minimum for non-convex functionals. The authors report that this doesn't seem to happen in practice, but convexity of H in general remains open.

Computing WK-geodesic velocities quickly

The geodesic problem is rewritten as a quadratic minimization over potentials ψ with a linear constraint. The matrix A(ρ) comes from K ⊙ Θ(ρ), where Θ(ρ) holds the logarithmic means, and the graph Laplacian is M(ρ) = diag(W(ρ)1) − W(ρ). When K is reversible, M(ρ) is symmetric.

The constraint is written as a KKT system that couples ψ with a multiplier λ. The routine factors M(ρ), solves for Y = M(ρ)^{-1}A(ρ)^⊤ with triangular solves, and forms the Schur complement S(ρ) = A(ρ)Y. It factors S(ρ), solves for λ, and recovers ψ = −(1/2)Yλ, so no matrix is explicitly inverted.

This gives the exact KKT solution using two Cholesky factorizations and triangular solves. The authors state that the routine runs in O(N^3) time, where N is the number of states.

Against OpenFIM on small graphs

The first comparison is against OpenFIM, a foundation model for Markov jump processes that works zero-shot. The authors restrict this test to graphs of at most six nodes, which matches OpenFIM's pretraining distribution. The potential V is sampled in [−1, 1] and β is drawn from 0.01, 0.1 and 0.2, with 10,000 samples per run and five graph instances per configuration.

Accuracy is scored by the Hellinger distance, averaged over time.

The authors say the margin holds across all graph classes and noise levels. So the gap isn't limited to one graph class or one noise value within the sizes tested.

The method uses around 10k parameters at N = 6, and training takes under one minute. OpenFIM needed several hours of pretraining, and the authors note it targets a different, zero-shot regime. They read this as evidence that using the gradient-flow structure gives a lightweight route.

Against Direct-FP and parameter recovery

The second baseline, Direct-FP, parametrizes ∇V and β, builds a rate matrix, propagates densities with the matrix exponential, and minimizes squared Hellinger distance with Adam. It never uses the WK geometry. This comparison runs at graph size N = 30, with 5,000 samples per snapshot and one instance per graph class.

Aggregated over classes, the method's Hellinger distance is 0.152 and Direct-FP's is 0.182. The errors are relative L2 errors, with the ground truth in the denominator: \( E_{\nabla V}=\|\nabla V_\theta-\nabla V\|_2/\|\nabla V\|_2 \) and \( E_\beta=|\beta_\theta-\beta|/|\beta| \).

The authors describe Direct-FP as fitting a spurious solution that matches Hellinger but misses ∇V and β. They also note that β is harder to identify, because ∇V dominates the dynamics when β is in the [0.01, 0.2] range. So the authors take this as evidence that the WK geometry adds something beyond density matching.

Predicting cell-type distributions in gastrulation

The real-data test uses the mouse gastrulation atlas, with about 116,000 cells over 8 developmental timepoints. Each cell has an expert label from 34 cell types and a lineage graph of admissible transitions. Working at gene-expression level is out of reach, since scRNA-seq datasets have around 50,000 genes.

The authors use the 34 cell types as the discrete state space X and build K from the lineage graph. Each timepoint is aggregated into empirical densities over the cell types.

Developmental dynamics aren't stationary, so the potential and noise become time-dependent, giving \( F_t(\rho)=V_t(\rho)+\beta_t H(\rho) \). A regularized geodesic solver handles trajectories that approach the boundary, as described in Appendix E.5.

On this task the method scored a Hellinger distance of 0.06, compared to 0.36 for Direct-FP in the same time-varying regime. The authors read this as a promising sign that the framework works beyond synthetic graphs. They also note that the experiment uses coarse cell-type features and isn't directly applicable at the gene level.

Ablations on sample count and graph size

The ablations vary sample availability and graph size, and check the time grid and the free-energy functional, with details in Appendix E.4. Figure 2 plots Hellinger distance against the number of samples, from 500 to 50,000, averaged over graph classes at fixed size 10. Figure 3 plots Hellinger distance against graph size from 10 to 50 nodes, averaged across graph classes.

The main text doesn't state these trends in words, so the figure captions are the only readout here.

Limits of the evidence

Convexity of the entropy in the WK geometry is left open, so zero gradient doesn't certify a global minimum for non-convex functionals. The authors note that the Hamming graph with uniform kernel makes H geodesically convex, but it isn't known whether the regularized absorbing kernel does the same.

The real-data experiment is restricted to cell types and doesn't yet apply at gene level. The gene-level state space of around 50,000 genes lies outside the regime covered here.

Sequence generation uses a Hamming graph with n^d states, which makes joint density estimation from snapshots impractical, as the GPT-2 example with n = 50257 shows. So the authors don't run large-scale sequence generation.

The method doesn't use the ground-truth noising CTMC, so it can't use conditional score-matching reductions. The authors call this an assumption mismatch with a computational tradeoff, not a fundamental limit. Sampling uses a plain Euler scheme, without more advanced discrete samplers such as τ-leaping. The theory assumes the Markov kernel is irreducible and reversible.

The N = 30 comparison uses one instance per graph class, and Table 1 reports single values without spread.

Paper info

Authors
Dario Rancati, Jan Maas, Francesco Locatello
Venue
International Conference on Machine Learning · Published
First published
2026-9-29
Added
2026-11-27
Original paper terms
Check in the original ↗
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Dario Rancati, Jan Maas, Francesco Locatello (2026). Learning Discrete Diffusion on Graphs via Free-Energy Gradient Flows. International Conference on Machine Learning. https://proceedings.mlr.press/v306/rancati26a.html

BibTeX
@article{rancati2026learning,
  title = {{Learning Discrete Diffusion on Graphs via Free-Energy Gradient Flows}},
  author = {Dario Rancati and Jan Maas and Francesco Locatello},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/rancati26a.html}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up