cs.LGOct 28, 2026

Rethinking GFlowNet Training: Negative Reinforce Dynamics

Authors: Pedro Dall'Antonia, Daniel Csillag, Diego Mesquita

Organizations: School of Applied Mathematics, Getulio Vargas Foundation

Abstract

Generative Flow Networks (GFlowNets) are models that learn to sample discrete objects proportional to a target reward. They are trained by minimizing balance errors over sampled trajectories, which inherently ties correctness to exploration: if a region is not visited, balance cannot be enforced there. Adaptive exploration is therefore crucial, yet standard training relies on a semi-gradient update that treats the sampling distribution as fixed at each optimization step. On the other hand, the full gradient reveals a second mechanism that reduces the observed errors in an anti-exploratory manner. In this paper, we establish a connection between the full gradient and min-min dynamics between the GFlowNet and a decoupled sampler, showing that the sampler reduces observed violations by avoiding high-error regions. This insight motivates a bridge between two-player games and single-policy dynamics, which underpins the design of our proposed method, Negative Reinforce Dynamics (NRD). By tying the parameters of an adversarial game together, we recover a single-policy dynamic that extends exploration while maintaining correctness. In standard benchmarks, our method outperforms existing approaches in both convergence speed and exploration efficiency, without training a separate teacher or auxiliary exploration policy.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Avoid What You Know: Divergent Trajectory Balance for GFlowNets

    Feb 19, 2026Pedro Dall'Antonia, Tiago da Silva, Daniel Csillag +2Generative Flow NetworksAdaptive Sampling

  2. Proximal Policy Optimization for Amortized Discrete Sampling

    Jun 14, 2026Anna Zykova-Myzina, Timofei Gritsaev, Daniil Tiapkin +1Molecular Graph GenerationGenerative Flow Networks

  3. Towards Understanding the Training of GFlowNets: A Theoretical Perspective

    Oct 9, 2026Rui Hu, Yu Chen, Zhuoran Li +1Generative Flow NetworksFlow Matching