Search papers, labs, and topics across Lattice.
This paper establishes a theoretical link between non-acyclic Generative Flow Networks (GFlowNets) and optimal transport (OT) by demonstrating that fixing the initial flow distribution transforms the GFlowNet's objective into a Kantorovich OT problem. The authors show that the optimal policy learned by the GFlowNet effectively encodes an optimal transport plan, allowing for the recovery of the corresponding optimal coupling through sampling trajectories. Experimental results validate the approach, confirming that GFlowNets can efficiently learn high-quality transport plans that align with traditional OT solvers.
GFlowNets can be harnessed to learn optimal transport plans, bridging the gap between generative modeling and optimal transport theory.
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.