Thompson sampling for improved exploration in GFlowNets

Jarrid Rector-Brooks, Kanika Madan, Moksh Jain, Maksym Korablyov, Cheng-Hao Liu +3 more
6/30/2023
cs.LG

No confident code implementation found for this paper.

Abstract

Generative flow networks (GFlowNets) are amortized variational inference algorithms that treat sampling from a distribution over compositional objects as a sequential decision-making problem with a learnable action policy. Unlike other algorithms for hierarchical sampling that optimize a variational bound, GFlowNet algorithms can stably run off-policy, which can be advantageous for discovering modes of the target distribution. Despite this flexibility in the choice of behaviour policy, the optimal way of efficiently selecting trajectories for training has not yet been systematically explored. In this paper, we view the choice of trajectories for training as an active learning problem and approach it using Bayesian techniques inspired by methods for multi-armed bandits. The proposed algorithm, Thompson sampling GFlowNets (TS-GFN), maintains an approximate posterior distribution over policies and samples trajectories from this posterior for training. We show in two domains that TS-GFN yields improved exploration and thus faster convergence to the target distribution than the off-policy exploration strategies used in past work.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rectorbrooks2023thompson,
  title  = {Thompson sampling for improved exploration in GFlowNets},
  author = {Jarrid Rector-Brooks and Kanika Madan and Moksh Jain and Maksym Korablyov and Cheng-Hao Liu and Sarath Chandar and Nikolay Malkin and Yoshua Bengio},
  year   = {2023},
  eprint = {2306.17693},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.17693v1}
}

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

Discussion