NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Information-Geometric Forward Policy Training in GFlowNets

Yordan Raykov, Rodrigo VeigaNeurIPS 2026

TL;DR

Training Generative Flow Networks (GFlowNets) with standard Euclidean optimizers treats network weights as flat coordinates, ignoring the fact that you are actually steering a probability distribution. By reframing GFlowNet training through information geometry—using natural gradients based on the trajectory's Fisher-Rao metric—this paper shows how to update the sampler itself directly. The payoff? Faster convergence and dramatically better mode discovery without needing auxiliary exploration hacks.

What Problem Does This Paper Address?

Suppose you want to sample complex discrete objects—like molecules or causal graphs—proportionally to some reward $R(x)$, without knowing the intractable normalization constant. Generative Flow Networks (GFlowNets) solve this by turning sampling into a sequential construction game: a forward policy adds pieces step-by-step until an object is complete.

Here is the catch: GFlowNets learn from trajectories generated by their own current policy. If the policy assigns tiny probability to a high-reward region, it rarely visits that region, starving itself of training signal. Worse, standard Euclidean gradient descent (like SGD or Adam) measures step sizes in parameter space ($\theta$). A tiny nudge to a neural weight might cause a massive shift in trajectory probabilities in one state, and almost zero change in poorly visited states. Previous fixes bolt on extra exploration policies or auxiliary models. The authors ask a more fundamental question: holding the standard GFlowNet objective fixed, what is the right geometry for updating the forward policy?

Methods

Instead of updating parameters in flat Euclidean space, the authors place the GFlowNet forward policy on a statistical manifold equipped with the Fisher-Rao metric, which measures the local KL divergence between nearby trajectory distributions. Stepping in the steepest direction under this metric gives the natural gradient.

While natural gradients are classical, applying them to sequential, masked discrete samplers is tricky. The authors keep standard GFlowNet losses (like Trajectory Balance) and derive an exact per-step decomposition of the trajectory Fisher information matrix. Because step-by-step score functions act as martingale differences, temporal cross-terms vanish cleanly!

Depending on the problem scale, they organize computing or approximating this Fisher matrix into three practical regimes:

  1. Exact regime: For small, tabular policies, dynamic programming yields exact state visitation counts, making the Fisher matrix cleanly block-diagonal.
  2. Sampled regime: Estimate the decomposed Fisher directly from batches of on- or off-policy trajectories.
  3. Structure-exploitable regime: When rewards factorize locally (e.g., graphical models), use message passing or block surrogates (like K-FAC or conjugate gradients) to approximate the curvature, backed by theoretical error bounds.

Datasets

No new datasets are introduced; instead, the authors evaluate across established synthetic benchmarks and a real-world biological dataset:

  • Triangle-count ERGM: Exponential random graph model over 6 nodes (32,768 graphs) testing higher-order edge interactions.
  • 2D Hypergrid & Deceptive Hypergrid: Standard and adversarial grid environments ($H \in \{8, 16, 128, 256\}$) featuring plateaus and up to 2,601 narrow high-reward peaks.
  • Lazy Random Walk Benchmarks: The multimodal 8-Gaussians and Rings discrete environments.
  • Sachs Protein-Signalling Dataset: Real-world observational biological data (with a 17-edge consensus reference network) used for Bayesian Directed Acyclic Graph (DAG) structure learning, alongside a controlled synthetic DAG study.

Key Insights and Ideas

  • Temporal decoupling vs. parameter coupling: Even though GFlowNet trajectories unfold over time, the Fisher matrix has zero cross-time interactions due to martingale centering. Dense off-diagonal couplings only appear when neural network weights are shared across states—and critically, a factorized reward alone does not make a neural policy's Fisher block-diagonal.
  • Geometry acts as implicit exploration: On the Deceptive Hypergrid, Fisher-preconditioned updates discover nearly all hidden modes just as well as Adaptive Teacher (which relies on an auxiliary exploration network). Rescaling directions of weak visitation curvature naturally prevents premature policy collapse.
  • Imperfect Fisher surrogates can beat exact ones: On the $16 \times 16$ Hypergrid, sampled and factorized Fisher approximations matched the target distribution's three reward tiers better than the exact Fisher matrix, hinting at a beneficial implicit regularization effect.

Key Results

Across tabular and neural settings, natural-gradient preconditioning consistently accelerates convergence and sharpens distribution matching:

Figure 1: TB loss (left; geometric mean with ±1 std in log space) and KL(qθ∥pβ) (right; mean ± std) on the triangle-count ERGM (n = 6, β = 0.2), over five seeds.
  • Exact Tabular Gains: On the Triangle ERGM (above) and $H=8$ Hypergrid, exact natural gradients drop Trajectory Balance (TB) loss orders of magnitude faster than Euclidean training.
Figure 2: 2D hypergrid results, mean ± std over 5 seeds. (a-b) H=8: TB loss and TV(qθ, π), comparing Euclidean, Natural, and ACE. (c-d) H=16: TB loss and (geometric mean) KL(qθ∥π), comparing Euclidean, Natural (exact, sample, approx), and ACE.
  • Scaling Mode Discovery: On the $H=256$ Deceptive Grid (2,601 modes), neural natural-gradient variants (via CG and K-FAC) match Adaptive Teacher in full mode recovery using a 4$\times$ narrower network (width 32 vs. 128), while Euclidean SGD and $\epsilon$-exploration stall far below 1,500 modes.
  • Lazy Random Walks: Natural-gradient variants cut final Total Variation (TV) distance on 8-Gaussians from 0.190 to ~0.170, and discover 24–25 out of 36 modes on Rings—substantially outperforming Euclidean TB, Wasserstein TB, and ACE (16 modes each).
  • Real-World DAGs (Sachs): Damped Fisher with preconditioned conjugate gradients reduces loss AUC from 0.751 (plain Adam) to 0.734 and lowers 90th-percentile residual AUC from 0.881 to 0.870, tying with KL-controlled Adam—showing that explicit KL step-size control accounts for much of the local stability gain on this task.

Limitations and Future Work

Natural-gradient GFlowNet training hinges on stably inverting the Fisher matrix and finding informative structural approximations. In high-dimensional, nonlocal, or weakly factorized neural problems, curvature weakens in unvisited states or nearly deterministic actions. Making this work reliably requires careful damping ($\lambda I$), low-rank approximations, or scalable Fisher-vector solvers. Furthermore, understanding why approximate Fisher surrogates occasionally outperform the exact Fisher in target calibration remains an open theoretical question for future work.

Summary updated

BibTeX
@inproceedings{raykov2026information,
  author = {Yordan Raykov and Rodrigo Veiga},
  title = {{Information-Geometric Forward Policy Training in GFlowNets}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=suXwdFeEA9},
}
Figure