Pre-Training and Fine-Tuning Generative Flow Networks
Not on the map. Why?
Abstract (arXiv)
Generative Flow Networks (GFlowNets) are amortized samplers that learn stochastic policies to sequentially generate compositional objects from a given unnormalized reward distribution. They can generate diverse sets of high-reward objects, which is an important consideration in scientific discovery tasks. However, as they are typically trained from a given extrinsic reward function, it remains an important open challenge about how to leverage the power of pre-training and train GFlowNets in an unsupervised fashion for efficient adaptation to downstream tasks. Inspired by recent successes of unsupervised pre-training in various domains, we introduce a novel approach for reward-free pre-training of GFlowNets. By framing the training as a self-supervised problem, we propose an outcome-conditioned GFlowNet (OC-GFN) that learns to explore the candidate space. Specifically, OC-GFN learns to reach any targeted outcomes, akin to goal-conditioned policies in reinforcement learning. We show that the pre-trained OC-GFN model can allow for a direct extraction of a policy capable of sampling from any new reward functions in downstream tasks. Nonetheless, adapting OC-GFN on a downstream task-specific reward involves an intractable marginalization over possible outcomes. We propose a novel way to approximate this marginalization by learning an amortized predictor enabling efficient fine-tuning. Extensive experimental results validate the efficacy of our approach, demonstrating the effectiveness of pre-training the OC-GFN, and its ability to swiftly adapt to downstream tasks and discover modes more efficiently. This work may serve as a foundation for further exploration of pre-training strategies in the context of GFlowNets.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 40 of its 53 references that are in the map. First posted on arXiv 5 Oct 2023.
Builds on
40 of 53 references.
References · 40
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017Hindsight Experience Replaycited by 1,096
- 2018Exploration by Random Network Distillationcited by 966
- 2018Diversity is All You Need: Learning Skills without a Reward Functioncited by 734
- 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 672
- 2016Reinforcement Learning with Unsupervised Auxiliary Taskscited by 400
- 2021Flow Network based Generative Models for Non-Iterative Diverse Candidate Generationcited by 384
- 2020Planning to Explore via Self-Supervised World Modelscited by 365
- 2021GFlowNet Foundationscited by 286
- 2018Visual Reinforcement Learning with Imagined Goalscited by 248
28 more
- 2022Trajectory balance: Improved credit assignment in GFlowNetscited by 244
- 2022Biological Sequence Design with GFlowNetscited by 172
- 2022Bayesian Structure Learning with Generative Flow Networkscited by 153
- 2019Fast Task Inference with Variational Intrinsic Successor Featurescited by 131
- 2022Learning GFlowNets from partial episodes for improved convergence and stabilitycited by 129
- 2021Actionable Models: Unsupervised Offline Reinforcement Learning of Robotic Skillscited by 125
- 2021APS: Active Pretraining with Successor Featurescited by 109
- 2022GFlowNets and variational inferencecited by 103
- 2022Multi-Objective GFlowNetscited by 100
- 2020C-Learning: Learning to Achieve Goals via Recursive Classificationcited by 99
- 2023A theory of continuous generative flow networkscited by 98
- 2023Better Training of GFlowNets with Local Credit and Incomplete Trajectoriescited by 83
- 2020One Solution is Not All You Need: Few-Shot Extrapolation via Structured MaxEnt RLcited by 79
- 2023Robust Scheduling with GFlowNetscited by 67
- 2020AdaLead: A simple and robust adaptive greedy search algorithm for sequence designcited by 63
- 2023GFlowNets for AI-Driven Scientific Discoverycited by 63
- 2022A-NeSI: A Scalable Approximate Method for Probabilistic Neurosymbolic Inferencecited by 50
- 2022Generative Augmented Flow Networkscited by 48
- 2023GFlowNet-EM for learning compositional latent variable modelscited by 40
- 2023Let the Flows Tell: Solving Graph Combinatorial Optimization Problems with GFlowNetscited by 40
- 2022A Variational Perspective on Generative Flow Networkscited by 39
- 2023Stochastic Generative Flow Networkscited by 32
- 2022Planning to Practice: Efficient Online Fine-Tuning by Composing Goals in Latent Spacecited by 31
- 2020Learning Discrete Energy-based Models via Auxiliary-variable Local Explorationcited by 29
- 2023Distributional GFlowNets with Quantile Flowscited by 28
- 2018Many-Goals Reinforcement Learningcited by 22
- 2021Mutual Information State Intrinsic Controlcited by 18
- 2021Unifying Likelihood-free Inference with Black-box Optimization and Beyondcited by 10
Built on by
Citing papers per year: 2024: 5; 2025: 5; 2026: 6.
16 papers.
Sort:
By area:
- 2025FlowRL: Matching Reward Distributions for LLM Reasoningcited by 38
- 2025Learning to Sample Effective and Diverse Prompts for Text-to-Image Generationcited by 16
- 2024RetroGFN: Diverse and Feasible Retrosynthesis using GFlowNetscited by 10
- 2025Adversarial Generative Flow Network for Solving Vehicle Routing Problemscited by 10
- 2024Random Policy Evaluation Uncovers Policies of Generative Flow Networkscited by 5
- 2024GFlowNet Pretraining with Inexpensive Rewardscited by 4
- 2024Evolution Guided Generative Flow Networkscited by 3
- 2025Pretraining Generative Flow Networks with Inexpensive Rewards for Molecular Graph Generationcited by 3
- 2026Avoid What You Know: Divergent Trajectory Balance for GFlowNetscited by 3
- 2024Bifurcated Generative Flow Networkscited by 1
- 2025Planning-Augmented Sampling with Early Guidance for High-Reward Discoverycited by 0
- 2026GFlowPO: Generative Flow Network as a Language Model Prompt Optimizercited by 0
4 more
- 2026Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNetscited by 0
- 2026Partial GFlowNet: Accelerating Convergence in Large State Spaces via Strategic Partitioningcited by 0
- 2026Stable GFlowNets with TV Monitoring and Probabilistic Guaranteescited by 0
- 2026Particle GFlowNets: Rethinking Generative Marginalization Modelscited by 0
- 2026Particle GFlowNets: Rethinking Generative Marginalization Models10 Sep 2026
- 2026Stable GFlowNets with TV Monitoring and Probabilistic Guarantees3 May 2026
- 2026Avoid What You Know: Divergent Trajectory Balance for GFlowNets19 Feb 2026
- 2026Partial GFlowNet: Accelerating Convergence in Large State Spaces via Strategic Partitioning12 Feb 2026
- 2026Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNets11 Feb 2026
- 2026GFlowPO: Generative Flow Network as a Language Model Prompt Optimizer3 Feb 2026
- 2025Planning-Augmented Sampling with Early Guidance for High-Reward Discovery1 Oct 2025
- 2025FlowRL: Matching Reward Distributions for LLM Reasoning18 Sep 2025
- 2025Pretraining Generative Flow Networks with Inexpensive Rewards for Molecular Graph Generation8 Mar 2025
- 2025Adversarial Generative Flow Network for Solving Vehicle Routing Problems3 Mar 2025
- 2025Learning to Sample Effective and Diverse Prompts for Text-to-Image Generation17 Feb 2025
- 2024GFlowNet Pretraining with Inexpensive Rewards15 Sep 2024
4 more
- 2024RetroGFN: Diverse and Feasible Retrosynthesis using GFlowNets26 Jun 2024
- 2024Random Policy Evaluation Uncovers Policies of Generative Flow Networks4 Jun 2024
- 2024Bifurcated Generative Flow Networks4 Jun 2024
- 2024Evolution Guided Generative Flow Networks3 Feb 2024
- 2025FlowRL: Matching Reward Distributions for LLM Reasoningcited by 38
- 2025FlowRL: Matching Reward Distributions for LLM Reasoning18 Sep 2025
- 2024RetroGFN: Diverse and Feasible Retrosynthesis using GFlowNetscited by 10
- 2025Adversarial Generative Flow Network for Solving Vehicle Routing Problemscited by 10
- 2024Random Policy Evaluation Uncovers Policies of Generative Flow Networkscited by 5
- 2024GFlowNet Pretraining with Inexpensive Rewardscited by 4
- 2024Evolution Guided Generative Flow Networkscited by 3
- 2025Pretraining Generative Flow Networks with Inexpensive Rewards for Molecular Graph Generationcited by 3
- 2026Avoid What You Know: Divergent Trajectory Balance for GFlowNetscited by 3
- 2024Bifurcated Generative Flow Networkscited by 1
- 2025Planning-Augmented Sampling with Early Guidance for High-Reward Discoverycited by 0
- 2026GFlowPO: Generative Flow Network as a Language Model Prompt Optimizercited by 0
- 2026Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNetscited by 0
- 2026Partial GFlowNet: Accelerating Convergence in Large State Spaces via Strategic Partitioningcited by 0
12 most cited of 14 All 14 (JSON)
- 2026Particle GFlowNets: Rethinking Generative Marginalization Models10 Sep 2026
- 2026Stable GFlowNets with TV Monitoring and Probabilistic Guarantees3 May 2026
- 2026Avoid What You Know: Divergent Trajectory Balance for GFlowNets19 Feb 2026
- 2026Partial GFlowNet: Accelerating Convergence in Large State Spaces via Strategic Partitioning12 Feb 2026
- 2026Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNets11 Feb 2026
- 2026GFlowPO: Generative Flow Network as a Language Model Prompt Optimizer3 Feb 2026
- 2025Planning-Augmented Sampling with Early Guidance for High-Reward Discovery1 Oct 2025
- 2025Pretraining Generative Flow Networks with Inexpensive Rewards for Molecular Graph Generation8 Mar 2025
- 2025Adversarial Generative Flow Network for Solving Vehicle Routing Problems3 Mar 2025
- 2024GFlowNet Pretraining with Inexpensive Rewards15 Sep 2024
- 2024RetroGFN: Diverse and Feasible Retrosynthesis using GFlowNets26 Jun 2024
- 2024Random Policy Evaluation Uncovers Policies of Generative Flow Networks4 Jun 2024
12 newest of 14 All 14 (JSON)