Revisiting Non-Acyclic GFlowNets in Discrete Environments

Nikita Morozov, Ian Maksimov, D. Tiapkin, Sergey Samsonov
2/14/2026

No official code found. Best implementation: GreatDrake/non-acyclic-gfn (14 stars, MIT, PyTorch, last commit 2025-10-08).

Abstract

Generative Flow Networks (GFlowNets) are a family of generative models that learn to sample objects from a given probability distribution, potentially known up to a normalizing constant. Instead of working in the object space, GFlowNets proceed by sampling trajectories in an appropriately constructed directed acyclic graph environment, greatly relying on the acyclicity of the graph. In our paper, we revisit the theory that relaxes the acyclicity assumption and present a simpler theoretical framework for non-acyclic GFlowNets in discrete environments. Moreover, we provide various novel theoretical insights related to training with fixed backward policies, the nature of flow functions, and connections between entropy-regularized RL and non-acyclic GFlowNets, which naturally generalize the respective concepts and theoretical results from the acyclic setting. In addition, we experimentally re-examine the concept of loss stability in non-acyclic GFlowNet training, as well as validate our own theoretical findings.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Repository for "Revisiting Non-Acyclic GFlowNets in Discrete Environments" (ICML 2025)

140PythonFeb 10, 20251 years agoMIT
gflownetpytorch

Cite this paper

@article{morozov2026revisiting,
  title  = {Revisiting Non-Acyclic GFlowNets in Discrete Environments},
  author = {Nikita Morozov and Ian Maksimov and D. Tiapkin and Sergey Samsonov},
  year   = {2026},
  eprint = {2502.07735},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.07735},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.07735.svg)](https://codeofpaper.com/paper/2502.07735)

Discussion