paper-with-me

홈 › Papers

Trajectory balance: Improved credit assignment in GFlowNets

2022-01-31 · Nikolay Malkin, Moksh Jain, Emmanuel Bengio, Chen Sun, Yoshua Bengio

Generative flow networks (GFlowNets) are a method for learning a stochastic policy for generating compositional objects, such as graphs or strings, from a given unnormalized density by sequences of actions, where many possible action sequences may lead to the same object. We find previously proposed learning objectives for GFlowNets, flow matching and detailed balance, which are analogous to temporal difference learning, to be prone to inefficient credit propagation across long action sequences. We thus propose a new learning objective for GFlowNets, trajectory balance, as a more efficient alternative to previously used objectives. We prove that any global minimizer of the trajectory balance objective can define a policy that samples exactly from the target distribution. In experiments on four distinct domains, we empirically demonstrate the benefits of the trajectory balance objective for GFlowNet convergence, diversity of generated samples, and robustness to long action sequences and large action spaces.

📄 PDF Abstract BibTeX arXiv:2201.13259

Code (4)

gfnorg/gflownet 공식 구현 pytorch
hsjang0/Pessimistic-Backward-Policy-for-GFlowNets pytorch
lazaratan/gflownet-generalization pytorch
recursionpharma/gflownet pytorch

Tasks

Diversity

Similar Papers 제목 키워드 기반

Rooted Absorbed Prefix Trajectory Balance with Submodular Replay for GFlowNet Training

2026-02-28 · Xi Wang, Wenbo Lu, Shengjie Wang arxiv

Generative Flow Networks (GFlowNets) enable fine-tuning large language models to approximate reward-proportional posteriors, but they remain prone to mode collapse, manifesting as prefix collapse and length bias. We attr…

Learning GFlowNets from partial episodes for improved convergence and stability

2022-09-26 · Kanika Madan, Jarrid Rector-Brooks, Maksym Korablyov, Emmanuel Bengio 외

Generative flow networks (GFlowNets) are a family of algorithms for training a sequential sampler of discrete objects under an unnormalized target density and have been successfully used for various probabilistic modelin…

Towards Understanding and Improving GFlowNet Training

2023-05-11 · Max W. Shen, Emmanuel Bengio, Ehsan Hajiramezanali, Andreas Loukas 외

Generative flow networks (GFlowNets) are a family of algorithms that learn a generative policy to sample discrete objects $x$ with non-negative reward $R(x)$. Learning objectives guarantee the GFlowNet samples $x$ from t…

Better Training of GFlowNets with Local Credit and Incomplete Trajectories

2023-02-03 · Ling Pan, Nikolay Malkin, Dinghuai Zhang, Yoshua Bengio

Generative Flow Networks or GFlowNets are related to Monte-Carlo Markov chain methods (as they sample from a distribution specified by an energy function), reinforcement learning (as they learn a policy to sample compose…

Stable GFlowNets with Probabilistic Guarantees

2026-05-03 · Zengxiang Lei, Ananth Shreekumar, Jonathan Rosenthal, Ruoyu Song 외 arxiv

Generative Flow Networks (GFlowNets) learn to sample states proportional to an unnormalized reward. Despite their theoretical promise, practical training is often unstable, exhibiting severe loss spikes and mode collapse…