Your GFlowNet Secretly Learns an Optimal Transport Plan

Ian Maksimov, Nikita Morozov, Denis Belomestny, Sergey Samsonov
6/4/2026
cs.LGcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Generative Flow Networks (GFlowNets) are a framework for sampling structured objects via stochastic trajectories in a directed graph. In this work, we establish a theoretical connection between non-acyclic GFlowNets and optimal transport (OT).

Show full abstract

We show that fixing the initial flow distribution in a minimum-flow GFlowNet reduces its objective to a Kantorovich OT problem with graph-induced shortest path costs. At the optimum, the learned GFlowNet policy therefore encodes an optimal transport plan from the source distribution to the target distribution: we show that sampling trajectories from the minimum-flow GFlowNet recovers the corresponding optimal coupling. Our formulation enables applying the GFlowNet learning framework to OT problems on large graphs via edge flows and neural parameterization. Experiments confirm agreement with exact OT solvers and demonstrate that GFlowNets can learn high-quality transport plans.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{maksimov2026your,
  title  = {Your GFlowNet Secretly Learns an Optimal Transport Plan},
  author = {Ian Maksimov and Nikita Morozov and Denis Belomestny and Sergey Samsonov},
  year   = {2026},
  eprint = {2606.06272},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.06272v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.06272.svg)](https://codeofpaper.com/paper/2606.06272)

Discussion