English

On Divergence Measures for Training GFlowNets

Machine Learning 2026-04-13 v2 Artificial Intelligence Machine Learning

Abstract

Generative Flow Networks (GFlowNets) are amortized inference models designed to sample from unnormalized distributions over composable objects, with applications in generative modeling for tasks in fields such as causal discovery, NLP, and drug discovery. Traditionally, the training procedure for GFlowNets seeks to minimize the expected log-squared difference between a proposal (forward policy) and a target (backward policy) distribution, which enforces certain flow-matching conditions. While this training procedure is closely related to variational inference (VI), directly attempting standard Kullback-Leibler (KL) divergence minimization can lead to proven biased and potentially high-variance estimators. Therefore, we first review four divergence measures, namely, Renyi-α\alpha's, Tsallis-α\alpha's, reverse and forward KL's, and design statistically efficient estimators for their stochastic gradients in the context of training GFlowNets. Then, we verify that properly minimizing these divergences yields a provably correct and empirically effective training scheme, often leading to significantly faster convergence than previously proposed optimization. To achieve this, we design control variates based on the REINFORCE leave-one-out and score-matching estimators to reduce the variance of the learning objectives' gradients. Our work contributes by narrowing the gap between GFlowNets training and generalized variational approximations, paving the way for algorithmic ideas informed by the divergence minimization viewpoint.

Keywords

Cite

@article{arxiv.2410.09355,
  title  = {On Divergence Measures for Training GFlowNets},
  author = {Tiago da Silva and Eliezer de Souza da Silva and Diego Mesquita},
  journal= {arXiv preprint arXiv:2410.09355},
  year   = {2026}
}

Comments

Accepted at NeurIPS 2024, https://openreview.net/forum?id=N5H4z0Pzvn

R2 v1 2026-06-28T19:18:44.269Z