Generative Flow Networks as Entropy-Regularized RL

Daniil Tiapkin, Nikita Morozov, Alexey Naumov, Dmitry Vetrov
10/19/2023
cs.LGstat.ML

Official code: d-tiapkin/gflownet-rl (41 stars, MIT, PyTorch, last commit 2024-04-21).

Abstract

The recently proposed generative flow networks (GFlowNets) are a method of training a policy to sample compositional discrete objects with probabilities proportional to a given reward via a sequence of actions. GFlowNets exploit the sequential nature of the problem, drawing parallels with reinforcement learning (RL). Our work extends the connection between RL and GFlowNets to a general case. We demonstrate how the task of learning a generative flow network can be efficiently redefined as an entropy-regularized RL problem with a specific reward and regularizer structure. Furthermore, we illustrate the practical efficiency of this reformulation by applying standard soft RL algorithms to GFlowNet training across several probabilistic modeling tasks. Contrary to previously reported results, we show that entropic RL approaches can be competitive against established GFlowNet training methods. This perspective opens a direct path for integrating RL principles into the realm of generative flow networks.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Repository for "Generative Flow Networks as Entropy-Regularized RL" (AISTATS-2024, Oral)

411PythonOct 22, 20232 years agoMIT
deep-learninggflownetpytorchreinforcement-learning

Similar Papers

Cite this paper

@article{tiapkin2023generative,
  title  = {Generative Flow Networks as Entropy-Regularized RL},
  author = {Daniil Tiapkin and Nikita Morozov and Alexey Naumov and Dmitry Vetrov},
  year   = {2023},
  eprint = {2310.12934},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.12934v3}
}

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

Discussion