[Paper Review] A theory of continuous generative flow networks
This paper introduces a generalized theory of Generative Flow Networks (GFlowNets) that extends their applicability from discrete to continuous and hybrid state spaces by formulating flow-matching, detailed balance, and trajectory balance conditions using measurable pointed graphs and Markov kernels. The key contribution is a theoretical proof that satisfying any of these conditions ensures the learned forward kernel samples from the target unnormalized distribution, enabling stable, gradient-based training in continuous domains with strong empirical performance over non-GFlowNet baselines.
Generative flow networks (GFlowNets) are amortized variational inference algorithms that are trained to sample from unnormalized target distributions over compositional objects. A key limitation of GFlowNets until this time has been that they are restricted to discrete spaces. We present a theory for generalized GFlowNets, which encompasses both existing discrete GFlowNets and ones with continuous or hybrid state spaces, and perform experiments with two goals in mind. First, we illustrate critical points of the theory and the importance of various assumptions. Second, we empirically demonstrate how observations about discrete GFlowNets transfer to the continuous case and show strong results compared to non-GFlowNet baselines on several previously studied tasks. This work greatly widens the perspectives for the application of GFlowNets in probabilistic inference and various modeling settings.
Motivation & Objective
- To extend the theoretical foundations of GFlowNets beyond discrete state spaces to continuous and hybrid spaces.
- To establish a rigorous mathematical framework based on measurable pointed graphs and Markov kernels for continuous GFlowNets.
- To prove that satisfying flow-matching, detailed balance, or trajectory balance conditions ensures correct sampling from unnormalized target distributions.
- To validate the theory empirically and demonstrate transferability of discrete GFlowNet advantages to continuous domains.
- To provide practical guidelines and identify domain-specific challenges in continuous GFlowNet training.
Proposed method
- Formalizing GFlowNets on measurable pointed graphs, generalizing directed acyclic graphs (DAGs) to continuous and hybrid spaces via Markov kernels.
- Defining continuous extensions of flow-matching, detailed balance, and trajectory balance conditions using Radon-Nikodym derivatives and density functions.
- Deriving training losses based on these conditions that are differentiable and suitable for gradient-based optimization.
- Proving that any of the three conditions—flow-matching, detailed balance, or trajectory balance—guarantees that the terminating state measure matches the target distribution up to normalization.
- Integrating the theory with neural network architectures to enable amortized, off-policy learning of sequential samplers in continuous spaces.
- Validating the framework through experiments on tasks with mixed discrete-continuous action spaces and comparing against non-GFlowNet baselines.

Experimental results
Research questions
- RQ1Can the theoretical foundations of discrete GFlowNets be generalized to continuous and hybrid state spaces?
- RQ2Do the standard GFlowNet objectives—flow-matching, detailed balance, and trajectory balance—remain valid and effective in continuous domains?
- RQ3What are the necessary assumptions and mathematical structures required to ensure correct sampling from unnormalized target densities in continuous spaces?
- RQ4How do the advantages of GFlowNets—such as stable off-policy learning and mode coverage—transfer to continuous distributions?
- RQ5What practical challenges arise when training GFlowNets in continuous settings, and how can they be mitigated?
Key findings
- The theory proves that satisfying any of the three continuous GFlowNet conditions—flow-matching, detailed balance, or trajectory balance—ensures the learned forward kernel samples from the target unnormalized distribution.
- The proposed training losses are differentiable and enable gradient-based optimization, with existing discrete GFlowNet losses as special cases.
- Empirical results show that GFlowNet advantages, such as stable off-policy learning and mode coverage, transfer effectively to continuous and hybrid state spaces.
- On benchmark tasks involving continuous and mixed discrete-continuous structures, generalized GFlowNets outperform non-GFlowNet baselines in sampling quality and training stability.
- The experiments reveal that continuous GFlowNets can model complex distributions, including those with continuous parameters in Bayesian structure learning and molecular conformation spaces.
- The study identifies specific challenges in continuous domains, such as numerical instability in density estimation and kernel selection, which require careful hyperparameter tuning.
![Figure 2 : (a) Reward density in $[0,1]^{2}$ . (b) KDE fit on terminating states of the models trained with TB, $\rho=0.25$ . (c) KDE fit on samples from the reward, brought back to $D_{0}$ using a uniform $P_{B}$ , corresponding to what $P_{F}(s_{0},-)$ needs to be in order to satisfy DB or TB. A r](https://ar5iv.labs.arxiv.org/html/2301.12594/assets/x3.png)
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.