Generative Flow Networks (GFlowNets) are recently proposed models for learning stochastic policies that generate compositional objects by sequences of actions with the probability proportional to a given reward function. The central problem of GFlowNets is to improve their exploration and generalization. In this work, we propose a novel path regularization method based on optimal transport theory that places prior constraints on the underlying structure of the GFlowNets. The prior is designed to help the GFlowNets better discover the latent structure of the target distribution or enhance its ability to explore the environment in the context of active learning. The path regularization controls the flow in GFlowNets to generate more diverse and novel candidates via maximizing the optimal transport distances between two forward policies or to improve the generalization via minimizing the optimal transport distances. In addition, we derive an efficient implementation of the regularization by finding its closed form solutions in specific cases and a meaningful upper bound that can be used as an approximation to minimize the regularization term. We empirically demonstrate the advantage of our path regularization on a wide range of tasks, including synthetic hypergrid environment modeling, discrete probabilistic modeling, and biological sequence design.
翻译:最近提议了一些模式,用以学习通过一系列行动产生组成物体的随机政策,这种政策与某一奖励功能的概率成正比。GFlowNet的中心问题是改进它们的探索和概括性。在这项工作中,我们提议了一种基于最佳运输理论的新颖的道路正规化方法,这种理论以前对GFlowNet的基本结构设置了限制。前者旨在帮助GFlowNet更好地发现目标分配的潜在结构,或提高其在积极学习的背景下探索环境的能力。路径正规化控制GFlowNet的流动,以便通过尽量扩大两种前方政策之间的最佳运输距离或通过尽量缩短最佳运输距离来改进一般化,从而产生更多样化和新的候选人。此外,我们通过在特定情况下找到封闭形式解决办法和有意义的上层界限来有效地实施这一正规化,从而可以用作一种近似性来尽量减少正规化术语。我们的经验表明,我们的道路正规化在广泛的任务中具有优势,包括合成的超网络环境模型、离散的概率模型、离子序列设计以及生物序列设计。