Discrete Probabilistic Inference as Control in Multi-path Environments

Tristan Deleu, Padideh Nouri, Nikolay Malkin, Doina Precup, Yoshua Bengio
2/15/2024
cs.LG

No official code found. Best implementation: tristandeleu/gfn-maxent-rl (19 stars, MIT, last commit 2024-02-19).

Abstract

We consider the problem of sampling from a discrete and structured distribution as a sequential decision problem, where the objective is to find a stochastic policy such that objects are sampled at the end of this sequential process proportionally to some predefined reward. While we could use maximum entropy Reinforcement Learning (MaxEnt RL) to solve this problem for some distributions, it has been shown that in general, the distribution over states induced by the optimal policy may be biased in cases where there are multiple ways to generate the same object. To address this issue, Generative Flow Networks (GFlowNets) learn a stochastic policy that samples objects proportionally to their reward by approximately enforcing a conservation of flows across the whole Markov Decision Process (MDP). In this paper, we extend recent methods correcting the reward in order to guarantee that the marginal distribution induced by the optimal MaxEnt RL policy is proportional to the original reward, regardless of the structure of the underlying MDP. We also prove that some flow-matching objectives found in the GFlowNet literature are in fact equivalent to well-established MaxEnt RL algorithms with a corrected reward. Finally, we study empirically the performance of multiple MaxEnt RL and GFlowNet algorithms on multiple problems involving sampling from discrete distributions.

View on arXivView PDF

Code Implementations(1)

MIT

Comparison between GFlowNets & Maximum Entropy RL

194PythonAug 18, 20232 years agoMIT

Similar Papers

Cite this paper

@article{deleu2024discrete,
  title  = {Discrete Probabilistic Inference as Control in Multi-path Environments},
  author = {Tristan Deleu and Padideh Nouri and Nikolay Malkin and Doina Precup and Yoshua Bengio},
  year   = {2024},
  eprint = {2402.10309},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.10309v2}
}

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

Discussion