Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Your GFlowNet Secretly Learns an Optimal Transport Plan

About

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). 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.

Ian Maksimov, Nikita Morozov, Denis Belomestny, Sergey Samsonov• 2026

Related benchmarks

TaskDatasetResultRank
Optimal TransportHypergrid Ball distribution
TV0.024
3
Optimal TransportHypergrid Moon distribution
TV0.022
3
Showing 2 of 2 rows

Other info

Follow for update