GFlowNet Training by Policy Gradients

Puhua Niu, Shili Wu, Mingzhou Fan, Xiaoning Qian
8/12/2024
cs.LGstat.ML

No official code found. Best implementation: niupuhua1234/GFN-PG (1 star, last commit 2025-07-14).

Abstract

Generative Flow Networks (GFlowNets) have been shown effective to generate combinatorial objects with desired properties. We here propose a new GFlowNet training framework, with policy-dependent rewards, that bridges keeping flow balance of GFlowNets to optimizing the expected accumulated reward in traditional Reinforcement-Learning (RL). This enables the derivation of new policy-based GFlowNet training methods, in contrast to existing ones resembling value-based RL. It is known that the design of backward policies in GFlowNet training affects efficiency. We further develop a coupled training strategy that jointly solves GFlowNet forward policy training and backward policy design. Performance analysis is provided with a theoretical guarantee of our policy-based GFlowNet training. Experiments on both simulated and real-world datasets verify that our policy-based strategies provide advanced RL perspectives for robust gradient estimation to improve GFlowNet performance.

View on arXivView PDF

Code Implementations(1)

niupuhua1234/GFN-PGCommunity100%

Code for the ICML 2024 paper 'GFlowNet Training by Policy Gradients'

10PythonMay 21, 20241 years agoNOASSERTION
combinatorial-optimizationgflownetpolicy-gradientreinfrocement-learningtrust-region-policy-optimization+1 more

Similar Papers

Cite this paper

@article{niu2024gflownet,
  title  = {GFlowNet Training by Policy Gradients},
  author = {Puhua Niu and Shili Wu and Mingzhou Fan and Xiaoning Qian},
  year   = {2024},
  eprint = {2408.05885},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.05885v2},
  journal = {ICML 2024 2024}
}

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/2408.05885.svg)](https://codeofpaper.com/paper/2408.05885)

Discussion