f-Trajectory Balance: A Loss Family for Tuning GFlowNets, Generative Models, and LLMs with Off- and On-Policy Data
Not on the map. Why?
Abstract (arXiv)
In GFlowNets and variational inference, it has been shown that the mean square error between target and model log probabilities is an effective, low variance, surrogate loss for training generative models. This loss has the property that when evaluated on-policy its gradients correspond to those of the KL divergence, while off-policy it remains a valid loss with the same global minimizer. In this work, we demonstrate that this construction can be extended to the whole family of f-divergences, leading to a family of losses whose on-policy gradients are that of the corresponding f-divergence, but retain the same global minimizer off-policy. Specifically, we show that the on-policy gradients lead to a one to one correspondence between translation invariant loss functions on the target and model log probabilities, and f-divergences. This equivalence allows us to design new surrogate loss functions for tuning a wide class of generative models that inherit the properties of the corresponding f-divergence, such as being more mode covering, whilst being applicable to off-policy data. We apply our losses on a range of tasks, including classic synthetic examples, SynFlowNets for molecule discovery, and asynchronous large language model (LLM) tuning, demonstrating that our models retain their predicted properties on- and off-policy in a wide class of generative models.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 33 of its 41 references that are in the map. First posted on arXiv 14 May 2026.
Builds on
33 of 41 references.
References · 33
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,193
- 2025Kimi K2: Open Agentic Intelligencecited by 523
- 2016f-GAN: Training Generative Neural Samplers using Variational Divergence Minimizationcited by 504
- 2015Policy Distillationcited by 414
- 2021Flow Network based Generative Models for Non-Iterative Diverse Candidate Generationcited by 384
- 2021GFlowNet Foundationscited by 286
- 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attentioncited by 248
21 more
- 2022Trajectory balance: Improved credit assignment in GFlowNetscited by 244
- 2019A Divergence Minimization Perspective on Imitation Learning Methodscited by 188
- 2019Imitation Learning as f-Divergence Minimizationcited by 121
- 2023Aligning Language Models with Preferences through f-divergence Minimizationcited by 118
- 2022GFlowNets and variational inferencecited by 103
- 2023A theory of continuous generative flow networkscited by 98
- 2015Hierarchical Variational Modelscited by 89
- 2020Solving high-dimensional Hamilton-Jacobi-Bellman PDEs using neural networks: perspectives from the theory of controlled diffusions and measures on path spacecited by 80
- 2024Correcting the Mythos of KL-Regularization: Direct Alignment without Overoptimization via Chi-Squared Preference Optimizationcited by 78
- 2020VarGrad: A Low-Variance Gradient Estimator for Variational Inferencecited by 73
- 2024Amortizing intractable inference in diffusion models for vision, language, and controlcited by 70
- 2024Fine-tuning of diffusion models via stochastic control: entropy regularization and beyondcited by 42
- 2025Trajectory Balance with Asynchrony: Decoupling Exploration and Learning for Fast, Scalable LLM Post-Trainingcited by 27
- 2025On a few pitfalls in KL divergence gradient estimation for RLcited by 27
- 2024SynFlowNet: Design of Diverse and Novel Molecules with Synthesis Constraintscited by 26
- 2018Variational Inference with Tail-adaptive f-Divergencecited by 25
- 2024f-PO: Generalizing Preference Optimization with f-divergence Minimizationcited by 19
- 2025From discrete-time policies to continuous-time diffusion samplers: Asymptotic equivalences and faster trainingcited by 17
- 2025RL-finetuning LLMs from on- and off-policy data with a single algorithmcited by 11
- 2024On Divergence Measures for Training GFlowNetscited by 6
- 2025A Unified Framework for Diffusion Model Unlearning with f-Divergencecited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026EvoSteer: Online Self-Evolving Graph Orchestration via Reference-Anchored Credit Assignment29 Sep 2026
- 2026One Proposal for Every Margin: Zero-Shot Amortized Sequential Importance Sampling for Binary Matrices28 Sep 2026
- 2026R2 Flow: Recursive Self-Improvement via Recursive Skill Evolution27 Sep 2026