potentialpaper

Stable GFlowNets with TV Monitoring and Probabilistic Guarantees

Zengxiang Lei, Ananth Shreekumar, Jonathan Rosenthal, Ruoyu Song, Alvaro A. Cardenas, Daniel J. Fremont, Dongyan Xu, Satish Ukkusuri, Z. Berkay Celik

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We derived useful theoretical bounds linking GFlowNet training losses to Total Variation (TV) error.

Abstract. Generative Flow Networks (GFlowNets) sample diverse structured objects in proportion to reward and have been applied to molecular discovery and biological-sequence design, where finding multiple high-quality candidates is more useful than returning a single optimum. Despite their theoretical promise, practical training is often unstable, exhibiting severe loss spikes and mode collapse. To address this, we first assess the sensitivity of GFlowNet objectives, demonstrating that a small Total Variation (TV) distance between the learned and target distributions does not preclude an unbounded training loss. Motivated by this mismatch, we establish converse guarantees by deriving loss-to-TV bounds that certify global fidelity from bounded trajectory balance losses. Lastly, we propose Stable GFlowNets, which leverages our theoretical results to stabilize training via adaptive reference flow and improves the trade-off among mode coverage, robustness, and certifiability. Code is available at: https://github.com/tjleizeng/StableGFlowNets.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper addresses the important problem of instability in GFlowNet training by establishing theoretical guarantees that connect training loss to sampling fidelity. It derives bounds relating training loss to the total variation distance between the learned and target distributions, provides finite-sample certification guarantees, and explains why standard GFlowNet objectives can exhibit unstable or exploding losses. Building on this analysis, the paper proposes Stable GFlowNets, which uses an adaptive reference-flow smoothing mechanism to stabilize optimization while preserving the target distribution up to a controlled error. Reviewers found the theoretical contributions to be novel and well developed, and the empirical results on synthetic and molecular design benchmarks suggest improved stability, robustness, and mode coverage compared with existing GFlowNet methods.

The paper received three reviews. The reviewers agreed that the paper's main strengths are its strong theoretical foundation, novel perspective, and coherent overall design. The work establishes a principled connection between GFlowNet training loss and sampling fidelity through new total variation bounds, provides useful certification guarantees, and introduces an elegant reference-flow mechanism that improves training stability while preserving the optimization objective. The theoretical developments are generally viewed as sound and well motivated, offering a meaningful advance over prior work. Reviewers also appreciated the paper's clear organization and presentation, with a logical progression from problem identification to theoretical analysis, algorithm design, and empirical validation. Finally, experiments on standard benchmark tasks demonstrate improved robustness and mode coverage, supporting the practical value of the proposed approach.

The reviewers identified three main weaknesses. First, although the theoretical analysis is generally strong, Reviewer 2 questioned the rigor of one of the paper's key probabilistic guarantees and noted that some empirical gains may be attributable to the backward-sampling oracle rather than the proposed stabilization mechanism. Second, all reviewers felt that the paper could better connect its theory to practice by providing more intuition, broader background on GFlowNets, clearer motivation for why the problem matters, and more guidance on the practical implications of the theoretical results. Finally, the empirical presentation could be improved: the experiments are limited in scope, some results and ablations require stronger justification, and several figures and tables are difficult to interpret or communicate their key messages effectively.

I appreciate the theoretical focus of the paper but think there is room for improvement both in theory and in empirical experiments. I encourage the authors to carefully address the reviewers' concerns and strengthen both the theoretical and empirical components.

Final justification

The meta-review reflects the final justification.

Area Chair 2XyU · Meta-reviewOpenReview ↗
Final justification
The meta-review reflects the final justification.
Read meta-review
Meta-review

This paper addresses the important problem of instability in GFlowNet training by establishing theoretical guarantees that connect training loss to sampling fidelity. It derives bounds relating training loss to the total variation distance between the learned and target distributions, provides finite-sample certification guarantees, and explains why standard GFlowNet objectives can exhibit unstable or exploding losses. Building on this analysis, the paper proposes Stable GFlowNets, which uses an adaptive reference-flow smoothing mechanism to stabilize optimization while preserving the target distribution up to a controlled error. Reviewers found the theoretical contributions to be novel and well developed, and the empirical results on synthetic and molecular design benchmarks suggest improved stability, robustness, and mode coverage compared with existing GFlowNet methods.

The paper received three reviews. The reviewers agreed that the paper's main strengths are its strong theoretical foundation, novel perspective, and coherent overall design. The work establishes a principled connection between GFlowNet training loss and sampling fidelity through new total variation bounds, provides useful certification guarantees, and introduces an elegant reference-flow mechanism that improves training stability while preserving the optimization objective. The theoretical developments are generally viewed as sound and well motivated, offering a meaningful advance over prior work. Reviewers also appreciated the paper's clear organization and presentation, with a logical progression from problem identification to theoretical analysis, algorithm design, and empirical validation. Finally, experiments on standard benchmark tasks demonstrate improved robustness and mode coverage, supporting the practical value of the proposed approach.

The reviewers identified three main weaknesses. First, although the theoretical analysis is generally strong, Reviewer 2 questioned the rigor of one of the paper's key probabilistic guarantees and noted that some empirical gains may be attributable to the backward-sampling oracle rather than the proposed stabilization mechanism. Second, all reviewers felt that the paper could better connect its theory to practice by providing more intuition, broader background on GFlowNets, clearer motivation for why the problem matters, and more guidance on the practical implications of the theoretical results. Finally, the empirical presentation could be improved: the experiments are limited in scope, some results and ablations require stronger justification, and several figures and tables are difficult to interpret or communicate their key messages effectively.

I appreciate the theoretical focus of the paper but think there is room for improvement both in theory and in empirical experiments. I encourage the authors to carefully address the reviewers' concerns and strengthen both the theoretical and empirical components.

Reviewer S8iAOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
2/4
Significance
2/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper identifies a problem (unstable loss for standard GFlowNets), explains theoretically why this loss can explode when only a few bad trajectories happen, proposes a solution to make the optimisation more stable, and a way to certify that training evolves accordingly.

The paper is interesting from a theoretical point of view, and I think it brings a valid contribution to the field of GFlowNets.

Strengths and weaknesses

STRENGTHS

  • The structure of the paper is very well executed: the authors identify a concrete problem, build a theoretical study around it, propose a solution grounded in that theory, and then validate it empirically. This arc is clean and satisfying to follow.

  • Theoretical results look sound.

WEAKNESSES

  • (W1) Background is too thin for a reader outside the subfield. As someone who works on generative modeling but not on sampling over finite-state DAGs, I found myself understanding the task being solved only very gradually. I think the paper deserves a warmer background section. In particular, the loss functions defined in lines 83-97 are introduced very quickly without much intuition. A simple explanatory figure showing at least one of these objectives on a small example DAG would help a lot. The jump from those optimization objectives to the actual task currently requires a leap of faith from the reader, and I think there is a natural visual way to fix this, even if I am not sure exactly what it should look like.

  • (W2) It is not clear why we should care about GFlowNets. When reading the paper, and even the abstract, I found myself wondering: what are GFlowNets actually used for? I think even a single concrete example of a successful past application, mentioned in the abstract or early introduction, would go a long way in convincing a reader who has never encountered this subfield that the problem being solved is important and real.

  • (W3) Figures 2 and 3 are hard to read without guidance. I did not know what I was supposed to see in Figures 2 and 3. The captions mostly cite theorems without explaining what the reader should take away. Something more than a theorem reference would help: what is the key visual trend? What would a bad result look like? To me it also seems like the bound from Theorem 3.10 is tighter than the one from Theorem 3.11 in some regimes. Is that intentional, and if so, why? A sentence on this in the caption or main text would clarify things a lot.

  • (W4) Table 1 does not communicate its message. Table 1 is structured around research questions, but I found it very hard to follow. The mapping between the research questions and the environments / metrics is not intuitive. For example, the answer to "How informative are the proposed TV certificates?" being "Environments A, B, C" and a list of metrics is not easy to parse. I would suggest either restructuring the table with clearer headings or replacing it with a short paragraph that summarises what each research question tests and what the reader should look for.

I think the significance of the paper could be improved if a stronger stance were taken in the introduction and abstract, explaining why this problem matters. Regarding clarity, I think more context for the subfield would help, along with an actual example figure showing spiking vs non-spiking training behaviour. And of course, the experimental section would benefit from better writing in general.

Questions
  • Could the authors comment on the computational overhead of Stable GFlowNets relative to standard TB training?

  • Does including backward sampling in each batch approximately double training time per round?

  • Could the authors include wall-clock training times, or at least a rough estimate of the per-round overhead?

This matters because improved stability is only practically useful if the additional cost is reasonable, and currently, the paper does not give the reader the tools to assess this tradeoff.

Limitations

The authors could expand on the limitations of their work. Currently, the conclusion contains essentially one sentence on limitations, noting that the method does not extend to continuous state spaces. I am not sure this should be framed as a limitation at all, since the paper clearly defines its scope as discrete finite DAGs from the beginning.

I think the paper has a lot of potential to be a good work, and the authors should have more courage in clearly stating the limitations, just to make sure that farther reasearch is aware of the downsides of their method.

Final justification

Given the theoretical orientation, I believe the reduced experiment extent is ok; the theory also looks ok. But I am not very sure. However, I have no concerns.

Formatting concerns

none

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for offering a valuable perspective from a neighboring subfield. We have provided a concrete revision plan to improve the accessibility of the presentation and have also addressed the reviewer’s questions regarding training-time overhead.

W1. Background is too thin for a reader outside the subfield...

We thank the reviewer and agree that the current background introduces the objectives too abruptly. In the revision, we will add a small DAG figure and the following explanation:

“A GFlowNet represents generation as a finite-state DAG: each node is a partially constructed object, each edge is a valid construction action, and each terminating node is a complete object with reward R(x)R(x). Training encourages the total flow reaching each terminal state to be proportional to its reward, so that high-reward objects are sampled more frequently without collapsing to a single solution. In molecule or biological-sequence generation, for example, nodes correspond to partial molecules or sequences, and terminal nodes correspond to completed candidates.”

W2. It is not clear why we should care about GFlowNets...

We agree that the motivation should appear earlier. We will revise the first sentence in the abstract as: “GFlowNets sample diverse structured objects in proportion to reward and have been applied to molecular discovery and biological-sequence design, where finding multiple high-quality candidates is more useful than returning a single optimum.”

W3. Figures 2 and 3 are hard to read without guidance ... To me it also seems like the bound from Theorem 3.10 is tighter than the one from Theorem 3.11 in some regimes. Is that intentional, and if so, why? A sentence on this in the caption or main text would clarify things a lot?

Theorem 3.10 can be tighter because it depends on an average-case quantity, whereas Theorem 3.11 uses a sample maximum and additional confidence terms and is therefore intentionally more conservative. We will revise the captions to include the intended trends and bad results explicitly.

“Figure 2: Loss Concentration and Training Stability. Solid lines show the Max-to-Rest Loss Ratio, defined as max⁡iLTB(τi)∑j≠iLTB(τj)\frac{\max_i \mathcal{L}_{TB}(\tau_i)}{\sum_{j\neq i}\mathcal{L}_{TB}(\tau_j)}, and dotted lines show the training loss smoothed over 1,000 steps. Large spikes indicate that a single trajectory can contribute more loss than all remaining trajectories combined, revealing severe trajectory-level imbalance despite the steadily decreasing smoothed loss.”

“Figure 3: Derived TV bounds vs. true TV error. MTV\mathcal{M}_{TV} follows the magnitude and trend of the observed TV error, providing an informative monitoring signal throughout training, whereas BTV\mathcal{B}_{TV} provides a formal but more conservative probabilistic certificate. An informative measure should decrease consistently with the observed TV error; failure would appear as an uncorrelated or oppositely varying trend, or as BTV\mathcal{B}_{TV} underestimating the true TV error more frequently than permitted by its confidence level. Shaded regions show the min-max range over 5 trials, with each measure estimated using 100 backward-sampled trajectories.”

W4. Table 1 does not communicate its message...

We agree that Table 1 currently requires too much interpretation. We will restructure it using the headings “Research question”, “Purpose”, “Evidence”, and “Expected takeaway”.

RQ Purpose Evidence Expected takeaway
RQ1: How severe is the loss imbalance in standard GFlowNet training? Characterize practical loss instability during training. Tasks: All environments. Methods: DB, FM, TB. Metrics: Training loss and Max-to-Rest Loss Ratio A small number of trajectories dominate the training objective despite the decreasing aggregate loss.
RQ2: Does the proposed Stable GFlowNet improve training stability, convergence, and mode coverage? Evaluate Stable GFlowNet and isolate its components under matched sampling budgets. Tasks: Hypergrid, L14-RNA1, sEH. Methods: DB, FM, TB, SubTB, WDB, Teacher, Stable, StableTeacher. Metrics: L1L_1 error, diversity, and variability across seeds Stable GFlowNet improves robustness and sampling quality, particularly on harder tasks.
RQ3: How informative are the derived TV bounds in Theorem 3.10 and 3.11? Evaluate global and subgraph distributional monitoring. Tasks: Regular Tree, Hypergrid, L14-RNA1. Metrics: True TV, FCS, MTV\mathcal{M}_{TV}, and BTV\mathcal{B}_{TV} MTV\mathcal{M}_{TV} tracks distributional error, while BTV\mathcal{B}_{TV} provides a conservative certificate.

Q1. Could the authors comment on the computational overhead of Stable GFlowNets relative to standard TB training?

Stable introduces only a modest optimization overhead relative to standard TB. It does not increase the total number of trajectories or reward evaluations per round; the additional cost comes from computing the reference-flow objective and processing both forward- and backward-sampled trajectories. We have added wall-clock measurements to quantify this overhead directly in Q3’s answer.

Q2. Does including backward sampling in each batch approximately double training time per round?

No. We keep the total batch size fixed across all methods. For example, when TB uses 16 forward-sampled trajectories per round, Stable uses 8 forward-sampled and 8 backward-sampled trajectories. This preserves the same trajectory budget while using only half as many reward evaluations, since backward sampling does not require calls to the reward function.

Q3. Could the authors include wall-clock training times, or at least a rough estimate of the per-round overhead?

We thank the reviewer for this question. Below, we report the cost of adaptive reference-flow computation relative to the total Stable GFlowNet training-update time. Because a Stable GFlowNet training update consists of the standard TB update plus reference-flow computation, this metric thus measures the additional optimization cost over TB.

To be clear, this comparison focuses on training update time rather than end-to-end runtime, by excluding trajectory sampling, because sampling cost depends strongly on the implementation, parallelization, and the trajectory-length distribution produced by each policy. Including it would obscure the overhead introduced by our method (e.g., methods that generate shorter trajectories may complete the same number of updates more quickly, even if their sampling quality is worse).

Reference flow computation / training update (%) Hypergrid D=4, H=16 Hypergrid D=4, H=32 L14-RNA1 sEH
Wall time ratio 3.21 (± 0.85) 2.83 (± 0.06) 3.50 (± 0.12) 1.31 (± 0.09)
CPU + GPU time ratio 4.56 (± 2.06) 3.88 (± 1.49) 2.75 (± 0.14) 3.81 (± 1.88)
Reviewer pfEsOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies the instability of GFlowNet training, specifically what sampling-fidelity can be certified from a non-zero training loss.

It starts by defining an analytically tractable "one-more-mode" tree as a toy example, in which promoting a single rare leaf to high reward perturbs the global distribution only negligibly (total-variation error TV≈1/gh\mathrm{TV}\approx 1/g^h) but explodes the local FM/DB/TB/SubTB loss to (log⁡ϵ)2→∞(\log\epsilon)^2\to\infty (Remarks 3.1-3.2, Prop 3.4).

For the opposite direction, it presents a uniform trajectory-balance bound LTB≤c2L_{TB}\le c^2 certifies TV≤1−e−2c\mathrm{TV}\le 1-e^{-2c} independently of trajectory length, where the transition-level objectives degrade with depth as 1−e−2Lc1-e^{-2Lc} (Thm 3.5).

The authors then give a finite-sample, PAC-style certificate from mm backward- and nn forward-sampled trajectories that is independent of state-space size (Thm 3.6, Cor 3.7).

They reinterpret the classical flow-matching δ\delta-constant as an injected "reference flow" that caps loss ratios, quantify the resulting stability-fidelity trade-off TV≤(1−e−2c)(1+Δ/Z∗)\mathrm{TV}\le(1-e^{-2c})(1+\Delta/Z^*) (Thm 3.10), and derive a tighter reference-flow certificate (Thm 3.11).

They then present their proposed fix, Stable GFlowNets, which adaptively injects a reference flow with an EMA-updated loss threshold and monitors two signals 1) a conservative high-confidence certificate BTVB_{TV} and a 2) Monte-Carlo estimator MTVM_{TV} to derive certificates to attempt to estimate downstream performance.

Experiments span Regular Tree, Hypergrid, L14-RNA1, and sEH against TB/DB/FM/SubTB/WDB/Adaptive-Teacher baselines.

Strengths and weaknesses

Quality / Soundness. Theory is mostly solid and faithfully implemented in the numerics. The loss-to-TV bound (Thm 3.5), the trajectory-TV decomposition behind the certificates (Thm 3.6/3.11 algebra), the elegant TB-loss invariance under subgraph restriction (Cor 3.7), and the reference-flow construction (Eq. 13) seem to all check out. My main concern are the proofs of Thm 3.6 and 3.11, which seem to invoke a fixed-hypothesis PAC/Chernoff bound (ϵ≤log⁡(1/α)/m\epsilon\le\log(1/\alpha)/m), but the threshold defining the "good" set is the sample maximum, explicitly M:=max⁡iδ(τi)/R(τi)M:=\max_i \delta(\tau_i)/R(\tau_i) in Thm 3.11, and c=max⁡i∣log⁡ri∣c=\max_i|\log r_i| in the implementation code.

A fixed-hypothesis bound does not apply to a data-dependent threshold; the "all samples good" event then has probability one by construction. I think this can salvaged, but as written, I think the paper's distinctive guarantee is not rigorously established at its key step. A related gap: Thm 3.10 silently assumes the learned partition equals the true one (Z=Z∗Z=Z^*), and several TV bounds can exceed 1 without a min⁡(1,⋅)\min(1,\cdot) clip in the statements.

Significance. The problems addressed - training instability and the absence of a trustworthy convergence diagnostic - are real, and MTVM_{TV} seems to be a useful proxy that tracks subgraph true TV closely. Every certificate also rests on backward sampling from the reward distribution (or a top-KK reward buffer), which is itself the hard problem in large state spaces, and MTVM_{TV}'s fidelity is demonstrated only on a single environment. Benchmarks are small/standard with no scaling or new-domain study.

Originality. Certifying TV from learned, unconverged losses is a good distinction vs. previous work, reinterpreting the flow-matching δ\delta-constant as a target perturbation with an explicit fidelity penalty is also a clean idea. The proofs are mainly standard, but that's fine for me, incrementalism is undervalued, and the derived bounds are genuinely useful if the empirics hold up.

Clarity. The writing is clear and well structured, with the only nits being that two headline diagnostics BTVB_{TV}/MTVM_{TV} are used in the algorithm and experiments before they are defined (their explanation sits in Appendix F.4), an undefined γ\gamma (Eq. 12), a broken "Eq. (16)" cross-reference, and that the core adaptive-threshold rule (Eq. 17) is defined only in the appendix.

Most consequential weaknesses, in order. (1) The probabilistic guarantee is not proved as written (data-dependent threshold). (2) The sEH result (Stable ≈12,806 modes vs. Teacher ≈1.8) seems slightly sus to me: the mode definition is self-described as "looser than standard" (R≥7.5R\ge7.5, canonical-SMILES dedup, no diversity constraint), half of every batch is backward-sampled from a top-reward buffer that front-loads high-reward molecules, and the variance exceeds the mean (StableTeacher 8665.8±9748.78665.8\pm9748.7). (3) The gains may stem from the backward-sampling oracle rather than the stabilization mechanism - the authors' own None ablation (reference flow removed, oracle kept) ties or beats full Stable at the hardest Hypergrid setting and on RNA. But that result is buried in Appendix Table 5 instead of Table 2. (4) Minor: a SubTB mis-attribution (body credits Pan et al. 2023b; SubTB is Madan et al. 2023)


edit: the authors rebuttal has addressed most of my concerns and I am therefore increasing my score to represent this

Questions
  1. The good-set threshold in Thm 3.6/3.11 looks like the sample maximum (M=max⁡iδ(τi)/R(τi)M=\max_i\delta(\tau_i)/R(\tau_i), and c=max⁡i∣log⁡ri∣c=\max_i|\log r_i| in the code), so I do not think the cited fixed-hypothesis PAC/Chernoff bound applies directly. Can you give a justification that holds for a data-dependent threshold (for example an order-statistic argument that yields the same log⁡(1/α)/m\log(1/\alpha)/m)? And since the optimized BTVB_{TV} picks cc with minimize_scalar over the same sample, does that need a uniform-over-cc correction? A clean fix here would move my Quality score up.

  2. Could you report sEH mode counts under a standard, diversity-aware definition (for example Tanimoto < 0.7 or Bemis-Murcko scaffolds), with matched high-reward exposure across methods and per-seed traces? I want to know whether the large gap over baselines survives, because as reported I am not convinced it is not a metric artifact.

  3. Could you put the None ablation (reference flow removed, backward sampling kept) and a plain "TB + same backward oracle" baseline directly in Table 2? I would like to see how much of the gain is the stabilization mechanism versus the backward-sampling signal that the baselines never receive.

  4. The R2≈0.999R^2\approx0.999 result is on a single environment and model, and MTVM_{TV} seems to overestimate true TV by roughly 3 to 6 times. Can you show the correlation on more environments where ground-truth TV is computable, and say anything about calibration rather than only monotone tracking? (this is more out of interest, not a blocker)

  5. Given that BTVB_{TV} is essentially vacuous for K≥103K\ge10^3, do you think "Probabilistic Guarantees" oversells what is actually delivered? I would find the paper more honest if stabilization and TV monitoring were foregrounded, and if the precedence point (learned Z/RZ/R vs. true π\pi) were moved from Section 4 into the contributions.

  6. can you perform statistical Significance testing following either Raschka's suggestions and/or the RLC guideline papers (https://jmlr.org/papers/v25/23-0183.html)? Some of the results would benefit from critical assessment regarding mode collapse vs. stability, and others seem to have overlapping error ranges.

  7. (minor) The paper states the RNA reward exponent is 20, but envs/rna14.py uses β=40\beta=40. Which value produced the reported numbers?

I am giving borderline reject in the expectation that some or all of these can be resolved , then I am open to raise the score


edit: all major question have been addressed

Limitations

The limitations section is honest about backward-sampling dependence and certificate conservatism, but I think that incomplete: the high-confidence certificate BTV is vacuous at the scales tested (Table 3), so putting it into the title seems a bit much without disclaimer. Otherwise, the question raise additoinal issues which would need disclosure or fixing.

Final justification

The authors appear to have addressed all my theoretical concerns and provided extensive additional empirical validation despite this not being a theory paper. If they honestly include all the clarifications and points raised by me and co-reviewers, I think this can be a good paper now.

Formatting concerns

N/A

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for careful examination. Our responses are below.

  1. Can you give a justification that holds for a data-dependent threshold …

We agree and will replace the fixed-hypothesis argument with an order-statistic proof.

  • Data-dependent good-set threshold: For Theorem 3.6, let c=max⁡1≤i≤mLTB(τi)c = \max_{1\leq i\leq m} \sqrt{\mathcal{L}_{TB}(\tau_i)} for the mm independent backward-sampled trajectories, define GT(c)=τ∈T∣LTB(τ)≤c2G_\mathcal{T}(c) = \\{ \tau \in \mathcal{T} \mid \mathcal{L}_{TB}(\tau) \leq c^2 \\} and its probability mass measured under PBP_B is 1−ϵ(c)1 - \epsilon(c).

For any η∈(0,1)\eta \in (0, 1), ϵ(c)>ξ\epsilon(c) > \xi implies that all mm independent samples fall below a population (1−ξ)(1-\xi)-quantile, which gives

Pr⁡(ϵ(c)>ξ)≤(1−ξ)m\Pr(\epsilon(c) > \xi) \leq (1-\xi)^m

Setting ξ=1−α1/m\xi= 1 - \alpha^{1/m} yields, with probability at least 1−α1-\alpha,

ϵ(c)≤1−α1/m=1−exp⁡(−log⁡(1/α)m)≤log⁡(1/α)m\epsilon(c) \leq 1 - \alpha^{1/m} = 1 - \exp\left(-\frac{\log(1/\alpha)}{m}\right) \leq \frac{\log(1/\alpha)}{m}

Thus, the original log⁡(1/α)m\frac{\log(1/\alpha)}{m} expression remains a valid upper bound, while 1−α1/m1 - \alpha^{1/m} is tighter. We use the former in the algorithm because it is computationally more stable and efficient.

  • Optimize over cc:

Let τ1,…,τm\tau_1, \ldots, \tau_m be the independent backward-sampled trajectories and τm+1,…,τm+n\tau_{m+1}, \ldots, \tau_{m+n} be the independent forward-sampled trajectories. Define ρ(τ)=ZPF(τ)R(τ)\rho(\tau) = \frac{ZP_F(\tau)}{R(\tau)} and

Mc=max⁡i≤m+nδc(τi)R(τi),M_c = \max_{i \leq m+n} \frac{\delta_c(\tau_i)}{R(\tau_i)},

Equation (13) implies the cc-dependent good set

Gc=τ:δc(τ)R(τ)≤Mc=τ:Lc≤ρ(τ)≤UcG_c = \\{\tau : \frac{\delta_c(\tau)}{R(\tau)} \leq M_c\\} = \\{\tau : L_c \leq \rho(\tau) \leq U_c\\}

where Lc=exp⁡(−c)−(1−exp⁡(−c))McL_c = \exp(-c) - (1-\exp(-c))M_c and Uc=exp⁡(c)+(exp⁡(c)−1)McU_c = \exp(c) + (\exp(c) - 1) M_c.

Next we would like to show that for every feasible cc (i.e., c>0c > 0 and Lc>0L_c > 0), every cc-dependent good set GcG_c contains the empirical range of the samples.

To see this, let ρmin⁡=min⁡i≤m+nZPF(τi)R(τi)\rho_{\min} = \min_{i \leq m+n} \frac{ZP_F(\tau_i)}{R(\tau_i)} and ρmax⁡=max⁡i≤m+nZPF(τi)R(τi)\rho_{\max} = \max_{i \leq m+n} \frac{ZP_F(\tau_i)}{R(\tau_i)}. We then have

[ρmin⁡,ρmax⁡]⊆[Lc,Uc][\rho_{\min}, \rho_{\max}] \subseteq [L_c, U_c]

Hence, every cc-dependent bad set, whether evaluated forward or backward, lies in the corresponding empirical-range complement, which all share a single order-statistic bound. Let βk(α)\beta_k(\alpha) solve

(1−x)k−1[1+(k−1)x]=α.(1-x)^{k-1}[1+(k-1)x] = \alpha.

The two-sided sample-range bound gives ϵc≤βm(α)\epsilon_c \leq \beta_m(\alpha) for the backward samples and ηc≤βn(α)\eta_c \leq \beta_n(\alpha) for the forward samples. Thus, with confidence 1−2α1 - 2\alpha, simultaneously for every feasible cc,

TV(PT,πtarget)≤βm(α)+βn(α)+ec+(ec−1)Mce−c−(1−e−c)Mc−1.\mathrm{TV}(P_T,\pi_{\mathrm{target}}) \leq \beta_m(\alpha) + \beta_n(\alpha)+ \frac{e^c + (e^c - 1)M_c}{e^{-c} - (1 - e^{-c})M_c} - 1.

Therefore, cc may be optimized on the same samples without an additional union bound. A computationally simpler but looser bound follows by controlling the tails separately, which we use in our algorithm. We will update Theorems 3.6 and 3.11 accordingly. This correction changes only the confidence terms in BTV\mathcal{B}_{TV}; the corrected bounds can therefore be recomputed from the existing evaluation quantities without retraining the models or rerunning the experiments.

  1. Could you report sEH mode counts under a diversity-aware definition

We reran the sEH experiments and evaluated diversity using the suggested metrics. During these reruns, we found that the public sEH implementation was not fully reproducible because its pretrained PyTorch Geometric proxy was evaluated nondeterministically on CUDA. We enforced deterministic execution, moved proxy evaluation to the CPU, and confirmed exact reproducibility across five repeat runs.

The reproducible results are reported below:

Method # Modes Bemis-Murcko scaffolds Tanimoto < 0.7
TB 137.2 (± 77.9) 137.2 (± 77.9) 55.2 (± 22.8)
DB 32.2 (± 12.5) 32.2 (± 12.5) 16.8 (± 5.6)
FM 134.0 (± 200.7) 134.0 (± 200.7) 33.4 (± 15.8)
SubTB 68.4 (± 41.9) 68.4 (± 41.9) 35.8 (± 14.5)
WDB 0.4 (± 0.5) 0.4 (± 0.5) 0.4 (± 0.5)
Teacher 5.6 (± 5.9) 5.6 (± 5.9) 5.2 (± 5.1)
Stable 14142.6 (± 2388.2) 14142.6 (± 2388.2) 3692.4 (± 938.7)
StableTeacher 3728.8 (± 4197.8) 3722.2 (± 4187.8) 457.8 (± 403.7)

Stable retains a substantial advantage under both definitions, showing that the improvement is not a metric artifact. We will use scaffolds as the primary sEH metric and report all definitions in the appendix.

The per-seed traces show progressively faster mode discovery as training progresses. Because the rebuttal does not permit figures, we will include the per-seed discovery traces in the revised manuscript.

  1. Could you put the None ablation and a plain "TB + same backward oracle" …

Thank you for this suggestion. The “None” ablation is exactly TB with the same backward oracle; we will rename it accordingly and add it to Table 2. All methods use the same trajectory budget, e.g., under a budget of 16, TB uses 16 forward trajectories, whereas Stable and this baseline use 8 forward and 8 backward trajectories.

Method Hypergrid D=4, H=16 (Empirical L1) Hypergrid D=4, H=32 (Empirical L1) L14-RNA1 Train L14-RNA1 Test sEH (Bemis-Murcko scaffolds)
TB 1.885 (± 0.002) 1.875 (± 0.000) 1669.2 (± 300.0) 475.4 (± 86.3) 137.2 (± 77.9)
TB + backward sampling (“None” in ablation) 0.316 (± 0.003) 0.713 (± 0.003) 1740.8 (± 37.2) 670.4 (± 29.9) 8680.6 (± 2254.2)
Stable 0.290 (± 0.002) 0.713 (± 0.002) 1734.0 (± 22.4) 649.6 (± 7.5) 14142.6 (± 2388.2)

This comparison shows two complementary effects. First, adding backward-sampled trajectories substantially improves over forward-only TB, consistent with our theory that controlling losses on both forward- and backward-sampled trajectories enables probabilistic guarantees.

Second, comparing the “None” ablation with Stable isolates the effect of reference-flow stabilization. On the smaller Hypergrid and L14-RNA1 tasks, backward sampling alone captures most of the gain, although Stable reduces loss-scale imbalance. On the larger, sparse-reward sEH task, stabilization is crucial: Stable discovers 14142.614142.6 scaffolds versus 8680.68680.6 without stabilization, a 63% improvement. This shows that reference flow is most beneficial when large state spaces and sparse rewards create severe loss-scale imbalance.

  1. Can you show the correlation on more environments …

We evaluate ten checkpoints from 10% to 100% of training wherever full-space or subgraph TV is computable. At each checkpoint, MTV\mathcal{M}_{TV} uses 100 backward trajectories, while FCS uses terminal states from 100 forward trajectories with exact PT(x)P_T(x). With fixed sampling seed 42, we compute correlations across checkpoints, fit a calibrated MTV\mathcal{M}_{TV} against true TV on the first five checkpoints, and report RMSE on the remaining five; FCS uses the same holdout.

Environment Corr.(MTV\mathcal{M}_{TV}, true TV) Corr.(FCS, true TV) RMSE of calibrated MTV\mathcal{M}_{TV} RMSE of FCS
RegularTree D=5D=5 0.9990.999 0.9960.996 2.85 × 10⁻⁵ 1.24 × 10⁻⁵
RegularTree D=10D=10 0.9590.959 0.9990.999 0.00040.0004 1.48 × 10⁻⁵
RegularTree D=15D=15 0.9150.915 1.0001.000 0.00090.0009 1.89 × 10⁻⁵
Hypergrid D=4,H=8D=4, H=8 0.9970.997 0.9960.996 0.00330.0033 0.00120.0012
Hypergrid D=4,H=16D=4, H=16 0.9690.969 0.9310.931 0.00880.0088 0.03970.0397
Hypergrid D=4,H=32D=4, H=32 0.9770.977 0.9800.980 0.00680.0068 0.00440.0044
L14-RNA1 0.9300.930 0.6280.628 0.02310.0231 0.03020.0302

Across all settings, MTV\mathcal{M}_{TV} strongly tracks ground-truth TV and, after calibration, is competitive with FCS, which uses exact PT(x)P_T(x). We will replace Table 3, move its current analysis to Table 6 (“Robustness to Subgraph Size”), and report checkpoint-level values in the appendix.

  1. … "Probabilistic Guarantees" oversells what is actually delivered…

The probabilistic result remains a valid theoretical certificate, although BTV\mathcal{B}_{TV} can be conservative in large state spaces, it can become nonvacuous as the learned flow approaches convergence. We will explicitly state this limitation in the revised manuscript and identify the development of stronger certificates as an important direction for future work.

We agree that the current title does not sufficiently emphasize our additional contribution of monitoring TV error through MTV\mathcal{M}_{TV}. We will therefore revise the title to “Stable GFlowNets with TV Monitoring and Probabilistic Certificates”, and move the point comparing the learned and true distributions from Section 4 to the contribution summary.

  1. Can you perform statistical Significance testing …

Raschka’s procedures primarily target supervised-learning settings with resampled datasets and are not directly applicable here. The RLC guidelines are more relevant, but our five-run design is insufficient for a reliable confirmatory test and was not constructed around prespecified paired comparisons. We therefore avoid presenting post hoc pp-values as definitive evidence and instead report effect sizes and run-to-run variability.

We believe the existing results already provide clear support for our conclusions. The limited overlap occurs mainly in simpler environments where most methods already perform well; results on larger, more challenging environments show clear separation beyond the observed seed-to-seed variability.

  1. .. envs/rna14.py uses 40.

We used 40; 20 was a typo. Thanks for identifying this!

W4 Minor: a SubTB mis-attribution

Thank you for catching this! We will correct the attribution in the main text to Madan et al. (2023).

Authors · CommentOpenReview ↗

We thank the reviewer for carefully examining our work and appreciate the opportunity to address these questions. We would be happy to provide further clarification if any concerns remain.

Reviewer pfEs · CommentOpenReview ↗

Dear Authors,

thank you for your thoughtful reply, it addresses a lot of my points. Two points that remain for me

  1. It wasn't in my question list, but could you address the impact of silently assuming Z=Z∗Z=Z^* that is raise as "a related gap" in the review? I think it only changes the estimate on your monitoring value
  2. your scaffold metrics and #Modes metrics are identical in all but one, are you confident in those results? It would imply that every unique molecule also has its own unique scaffold, which under the given MDP (72 unique blocks, growing molecules up to 8 blocks) and with Tanimoto < 0.7 changing seems mildly suprising to me - could you share how you computed this? (sometimes coincidences like this happen, so please don't take this as mistrust!)

Best regards

Reviewer 7kNjOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper derives upper bounds on the total variation (TV) distance between the learned sampling distribution (PTP_T) and the reward-induced target distribution (π\pi). These bounds are directly linked to the training loss, establishing a theoretical connection between optimization performance and sampling quality. Building on this loss-to-TV analysis, the authors propose an adaptive smoothing technique based on the concept of reference flow, which stabilizes optimization by capping extreme trajectory balance loss ratios without altering the optimal solution. Furthermore, the theoretical analysis shows that, under suitable conditions on the reference flow, this stabilization introduces only a controlled deviation from the target distribution. Empirical evaluations on molecular and biological design tasks demonstrate that the proposed approach improves mode coverage and robustness compared with existing baselines.

Strengths and weaknesses

Strengths

Originality and Significance. The originality of this work lies in deriving theoretical bounds that relate the GFlowNet training loss to the total variation (TV) distance between the learned sampling distribution and the target distribution. These results establish a principled connection between optimization performance and the quality of the learned policy. Furthermore, the paper introduces a novel stabilization mechanism, termed reference flow, which employs adaptive smoothing to mitigate optimization instability while preserving the original optimization objective. The proposed method is supported by theoretical guarantees showing that the deviation from the target distribution remains controlled under suitable conditions. These theoretical contributions are further validated through extensive experiments on challenging high-dimensional tasks, including molecular design and biological sequence discovery, where the proposed approach consistently demonstrates improved robustness and mode coverage compared with existing baselines.

Clarity and Quality. Overall, the paper is well written and well organized. It provides sufficient background on GFlowNets to make the technical developments accessible to readers. The authors generally motivate new mathematical concepts with intuitive examples before presenting the formal analysis, which improves readability. The theoretical results appear mathematically sound, and the paper adheres to a high standard of reproducibility by providing the source code, implementation details.

Weaknesses

The primary weakness of the paper is that the theoretical results are presented with limited discussion of their practical implications. While the mathematical analysis is rigorous, the paper would benefit from providing more intuition behind the key theoretical concepts and explaining how these results translate into practical guidance for model design, training, or hyperparameter selection. Strengthening the connection between the theoretical findings and their practical significance would improve the paper's accessibility and impact.

Some panels in the figures (e.g., Figure 3) do not display all reported loss metrics. For instance, the Approx. Total L1 loss is missing from the Regular Tree panels. Ensuring consistent presentation across all panels would improve clarity and facilitate comparison.

Questions

How sensitive is the method to the choice of the threshold parameter c and the resulting amount of reference flow?

The additional computation required for adaptive reference flow appears modest, but could the authors comment on its computational overhead in large-scale applications?

The theoretical analysis shows that the deviation from the target distribution remains bounded under certain conditions on the reference flow. Could the authors elaborate on how restrictive these conditions are in practice?

Limitations

Yes

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive feedback. Below, we address each of the questions raised.

  1. How sensitive is the method to the choice of the threshold parameter cc and the resulting amount of reference flow?

The threshold parameter cc is computed dynamically across environments:

  • During training, cc is updated using ct+1=(1−β)ct+βmax⁡τ∈TbatchLTB(τ)c_{t+1} = (1 - \beta) c_t + \beta \max_{\tau \in \mathcal{T}_{\mathrm{batch}}} \sqrt{\mathcal{L}_{TB}(\tau)} with β=0.05\beta = 0.05. This allows the threshold to track the current loss scale while smoothing out abrupt changes.
  • During certification, we minimize the TV bound over feasible values of cc using a bounded one-dimensional search.

Our ablation in Table 5 shows that the method is robust to using either the maximum or mean threshold update, which achieve similar performance across Hypergrid and sEH, whereas the median (much smaller cc) performs substantially worse, and removing reference flow increases L14-RNA1 exploration but worsens training stability and reduces sEH mode coverage.

  1. The additional computation required for adaptive reference flow appears modest, but could the authors comment on its computational overhead in large-scale applications?

We thank the reviewer for this question. We measured the cost of computing the adaptive reference flow relative to the total training-update cost of Stable GFlowNets. Because a Stable GFlowNet training update consists of the standard TB update plus reference-flow computation, the latter directly measures the additional optimization cost over TB. As shown below, the overhead remains modest across all evaluated environments, ranging from small- to large-scale tasks. Reference-flow computation accounts for 1.31%–3.50% of wall-clock training time and 2.75%–4.56% of combined CPU/GPU time. We will report these metrics in the revised paper.

Reference flow computation / training update (%) Hypergrid D=4, H=16 Hypergrid D=4, H=32 L14-RNA1 sEH
Wall time ratio 3.21 (± 0.85) 2.83 (± 0.06) 3.50 (± 0.12) 1.31 (± 0.09)
CPU + GPU time ratio 4.56 (± 2.06) 3.88 (± 1.49) 2.75 (± 0.14) 3.81 (± 1.88)
  1. The theoretical analysis shows that the deviation from the target distribution remains bounded under certain conditions on the reference flow. Could the authors elaborate on how restrictive these conditions are in practice?
  • For Theorem 3.10, the relevant condition is that the expected ratio δ(τ)/R(τ)\delta(\tau)/R(\tau) remains small. Because this ratio scales with LTB(τ)\sqrt{\mathcal{L}_{\mathrm{TB}}(\tau)}, the condition is relatively mild in practice: most sampled trajectories exhibit low trajectory-balance loss, while only a small number have extremely large losses, as illustrated in Figure 2.
  • The condition in Theorem 3.11 is more restrictive because it depends on the maximum value of δ(τ)/R(τ)\delta(\tau)/R(\tau) within the sampled batch. Although this condition may be difficult to satisfy during early training, it can provide a useful certification for determining when the trained model is sufficiently close to the target distribution, as illustrated by the first four subfigures of Figure 3.

W1. The primary weakness of the paper is that the theoretical results are presented with limited discussion of their practical implications.

Thank you for this important observation. We agree that the current presentation does not sufficiently surface the practical implications of the theory in the main text. Much of this discussion is already included, but it is currently distributed across the appendices.

  • First, Appendix F.4 explains how the theory supports practical TV monitoring. In particular, BTV\mathcal{B}_{TV} is a conservative high-confidence certificate that may abstain when the bound is loose, whereas MTV\mathcal{M}_{TV} is intended as a practical monitoring signal. Across subgraph sizes and training checkpoints, MTV\mathcal{M}_{TV} consistently tracks the trend of true TV, suggesting that it can be used to monitor distributional convergence when exact TV is unavailable.

  • Second, Appendix C interprets existing GFlowNet variants through our theoretical framework. For example, annealing reduces extreme flow ratios, subtrajectory and partial-loss methods reduce mismatch variance, guided exploration and replay increase coverage of high-reward trajectories, and hierarchical or pretrained models mitigate the incremental-mode-coverage instability identified by our analysis. These connections provide practical intuition for why seemingly different GFlowNet training strategies can improve stability or certifiability.

  • Third, our numerical results indicate that stability becomes increasingly important as the task scales. Loss concentration generally increases with the size and difficulty of the state space, and Stable GFlowNets provides its clearest gains on the harder Hypergrid and sparse-reward sEH settings. The threshold ablation further shows that maximum- or mean-based updates are more reliable than the median because they remain responsive to rare, high-loss trajectories that can destabilize training.

In the revision, we will compile a condensed version of these discussions into the main text rather than leaving them primarily in the appendices. Specifically, we will add a Practical Implications paragraph after the theoretical analysis and expand the experimental discussion to highlight the resulting guidance: use MTV\mathcal{M}_{TV} for training-time monitoring, interpret BTV\mathcal{B}_{TV} as a conservative certificate, prioritize stabilization as the state space and reward sparsity increase, and choose adaptive thresholds that remain responsive to rare high-loss trajectories.

W2. Some panels in the figures (e.g., Figure 3) do not display all reported loss metrics. For instance, the Approx. Total L1 loss is missing from the Regular Tree panels. Ensuring consistent presentation across all panels would improve clarity and facilitate comparison.

We used Approx. Total L1 only when true TV was difficult to compute, as an empirical estimate for comparing the evolution of the TV bounds with the observed TV. Since we have now computed true TV for Hypergrid in response to Reviewer pfEs’s Question 4, we will replace Approx. Total L1 with true TV in the Hypergrid panels.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

As the reviewer-author discussion draws to a close, we would like to sincerely thank all reviewers for their careful reading, constructive feedback, and thoughtful questions. Your comments helped us identify important issues, clarify the presentation, strengthen our technical arguments, and improve the overall quality of the work. We greatly appreciate the time and effort you devoted to reviewing our paper!

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…