REVIEW 3 major objections 4 minor 6 references
The learned GFlowNet partition function is a per-prompt accuracy meter: β log Z_φ estimates current accuracy, and scheduling training on prompts near 0.5 plus replaying mis-estimated samples improves sample efficiency.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · deepseek-v4-flash
2026-08-02 23:45 UTC pith:B54ARZQY
load-bearing objection Clever reuse of the GFlowNet partition function as an accuracy signal, with consistent empirical gains — but the replay buffer silently breaks the estimator's sampling assumption. the 3 major comments →
Beyond Normalization: Rethinking the Partition Function as a Difficulty Scheduler for RLVR
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
On its own terms, the central claim is that under a Trajectory Balance loss that anchors the reference to the rollout policy, the learned partition function satisfies Proposition 4.1: p_old(x) = β log Z*(x) − β D_KL(π_old(·|x) ∥ π_θ(·|x)). Since the KL term stays below roughly 4 × 10^{-3} on average during training, the paper drops it and uses β log Z_φ(x), clipped to [0,1], as the online accuracy estimate. It then closes the loop: select the top-m prompts whose estimated accuracy is closest to 0.5, and replay correct outputs whose observed accuracy differs most from the estimate. This makes adaptive prompt selection and replay byproducts of the GFlowNet update, improving pass@1 and pass@k o
What carries the argument
The mechanism is the learned partition function Z_φ(x)—a small MLP on frozen prompt embeddings—trained jointly with the policy using the Trajectory Balance objective L_TB = [log( Z_φ(x)π_θ(y|x) / (π_old(y|x) exp(β^{-1} r(x,y))) )]^2. Proposition 4.1 derives the accuracy identity from this loss; the practical estimator p̂_old(x) = clip(β log Z_φ(x), 0, 1) turns the normalizer into a difficulty score. Adaptive selection greedily picks prompts closest to τ=0.5, and replay prioritizes correct samples by |N_correct/N − p̂_old(x)|, both reusing quantities already available from training.
Load-bearing premise
Everything rests on the KL divergence between the rollout policy and the updated policy being uniformly small for every prompt, not just on average; the paper shows only the mean curve and its Limitations section concedes this may fail in other domains.
What would settle it
Train with a substantially larger learning rate or fewer rollouts per prompt, and for every prompt record the true rollout accuracy alongside β log Z_φ(x). If the per-prompt gap is not uniformly small, or the Spearman correlation between estimate and truth falls well below the roughly 0.5 reported, the accuracy-meter claim is refuted.
If this is right
- Accuracy estimation becomes a byproduct of the existing GFlowNet update, so adaptive prompt selection no longer requires oversampling or per-question accuracy histories.
- Focusing training on the 0.5-accuracy frontier reliably speeds early gains and lifts final accuracy, and the target τ can be tuned for different trade-offs.
- Replaying high-miscalibration correct samples improves the calibration of Z_φ and downstream pass@1.
- The gains are not bought at the cost of diversity: pass@k stays above both reward-maximizing and prior distribution-matching baselines.
- The identity extends to arbitrary two-valued reward configurations, such as −1/+1 rewards, through a linear rescaling.
Where Pith is reading between the lines
- If β log Z_φ is a trustworthy difficulty score, the same number can drive inference-time compute allocation: sample more rollouts for low-scoring prompts and fewer for high-scoring ones, without training a separate reward or difficulty model.
- A testable extension is to replace the fixed τ=0.5 with a scheduled or per-prompt target; the paper's own τ=0.9 results show fast early gains followed by a plateau, suggesting a schedule might combine both benefits.
- The replay rule embodies a broader principle—when a learned normalizer disagrees with empirical frequency, revisiting those samples improves calibration—which could transfer to other generative models that train an energy or partition term.
- The accuracy estimator could also act as a distribution-shift alarm during RL: prompts whose estimated accuracy jumps abruptly are exactly the prompts where the policy changed most and may warrant inspection.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes PACED-RL, a GFlowNet-based post-training framework for LLM reasoning that reuses the learned partition function Z_phi(x) as an online per-prompt accuracy estimate. A theoretical result (Prop. 4.1) relates beta log Z*(x) to the accuracy p_old(x) under the rollout policy, minus a KL term that the authors argue is small and can be discarded. This estimate is then used for adaptive prompt selection toward prompts with accuracy near 0.5, and for an error-prioritized replay buffer. Experiments on math and code benchmarks with 1.5B and 7B models report consistent gains over GRPO, FlowRL, and adaptive-sampling baselines, plus an ablation showing the replay component helps. The central claim is that the partition function is not merely a normalizer but a reusable difficulty signal that improves sample efficiency at negligible extra cost.
Significance. If the claims hold, the paper makes a useful conceptual and practical contribution: it turns an existing training variable Z_phi into a lightweight difficulty estimator, avoids extra rollouts for prompt selection, and provides a principled explanation for the gains. The empirical evaluation is broad (two domains, three models, multiple baselines), and the paper includes ablations, correlation analyses, and a wall-clock overhead table. The theoretical derivation is transparent and the proposed estimator is simple to implement. However, the central derivation contains a sign error, and the replay-buffer mechanism breaks the sampling assumption of the proposition without correction. These issues are fixable but currently undermine the rigor of the advertised theoretical link and the reliability of the accuracy estimates driving both scheduler components.
major comments (3)
- [Appendix A.1, Eq. (15)-(16); Prop. 4.1] The derivation has a sign error. From Eq. (14), beta log Z* = E[r] + beta E_{pi_old}[log pi_old - log pi_theta]. Since E_{pi_old}[log pi_old - log pi_theta] = -D_KL(pi_old || pi_theta), Eq. (15) gives E[r] = beta log Z* + beta D_KL(pi_old || pi_theta), not beta log Z* - beta D_KL. Thus Prop. 4.1 should read p_old(x) = beta log Z*(x) + beta D_KL(pi_old || pi_theta). The sign error propagates to Eq. (8) and to the generalized Eq. (22). The practical claim that the KL term is small may still hold, but the stated theoretical relationship is incorrect and should be corrected.
- [Sec. 4.4, Algorithm 1 lines 8-13; Prop. 4.1] Prop. 4.1 is derived under y ~ pi_old, but Algorithm 1 updates Z_phi on a mixture of on-policy rollouts and a replay buffer B containing only r=1 trajectories from older policies. The minimizer of Eq. (6) under the mixture mu = (1-alpha) pi_old + alpha nu solves log Z*_mix = E_mu[beta^{-1} r + log pi_old - log pi_theta]. Since nu is supported on correct outputs, E_nu[r]=1, so beta log Z_phi is systematically inflated relative to p_old, with an additional nu-dependent KL term. No importance correction or bias bound is provided. This biases both the prompt selection in line 5 and the replay priority in Eq. (9), which assume hat p_old ~ p_old. Please either remove replay samples from the Z_phi update, add a correction, or provide an explicit analysis of the induced bias and an ablation demonstrating its effect.
- [Sec. 4.2, Fig. 1, App. C] The estimator Eq. (8) discards a nonnegative per-prompt term, but the evidence that it is small is mean-only: Fig. 1 shows the mean of beta D_KL, not its per-prompt distribution, and App. C reports aggregate correlations. A mean below 4e-3 does not bound per-prompt values, and the scheduler selects prompts by ranking beta log Z_phi, so a small number of badly estimated prompts can change the selected batch. Given the sign error in Prop. 4.1, the direction of the approximation error is also misstated. Please report per-prompt KL statistics (e.g., quantiles over the training set) or otherwise justify that the approximation is uniformly small on the distributions used.
minor comments (4)
- [Sec. 5.3, Eq. (10)] Equation (10) writes log hat Z(x_i) = (1/N) sum (R(x_i,y_ij) - log pi_theta(...)). Given the earlier definition R(x,y) = pi_ref(y|x) exp(beta^{-1} r), this should be log R(x_i,y_ij), not R(...). Please fix the typo, as it affects reproducibility of the VarGrad baseline.
- [Algorithm 1, line 12; Eq. (9)] The replay priority is defined in Eq. (9) using the observed accuracy N_correct/N, but Algorithm 1 line 12 writes |p_old(x) - hat p_old(x)|. Clarify that p_old(x) here is the empirical rollout accuracy, not the unknown true accuracy.
- [Sec. 4.1, Eq. (6)-(7)] When pi_ref is replaced by pi_old, the optimal partition function depends on pi_old: Z*(x) in Eq. (7) is different from Z(x) in Eq. (3). The notation should make this explicit (e.g., Z_{pi_old}(x)) to avoid confusion.
- [Sec. 5, experimental setup] No random seeds or error bars are reported for the main tables or ablation. Given the known variance of RLVR training, please report results over at least 2-3 seeds, or state why this is infeasible.
Circularity Check
No significant circularity: the partition-function/accuracy identity is a genuine optimality derivation, and the replay-buffer mismatch is a correctness concern rather than a circular step.
full rationale
The paper's central derivation (Prop. 4.1, Appendix A.1) starts from the expected Trajectory Balance loss Eq. 11, differentiates with respect to log Z_phi, and obtains Eq. 14, which rearranges to p_old(x) = beta log Z*(x) - beta KL(pi_old || pi_theta). This is a legitimate first-order optimality identity, not a circular definition: Z* is defined as the normalizer of a reward-weighted policy distribution, while p_old is the expected reward under pi_old, and the proof shows the link rather than assuming it. The practical estimator Eq. 8 drops the KL term under an explicit, empirically monitored approximation (Fig. 1, App. C), and the Limitations section acknowledges this assumption may fail in other domains. The replay-buffer design does violate the y ~ pi_old sampling assumption of Prop. 4.1, since Algorithm 1 trains Z_phi on on-policy rollouts plus r=1 replay samples from older policies; this can bias beta log Z_phi, but it is an unexamined correctness/robustness gap, not a reduction of the prediction to its own inputs. Self-citations (Lee et al. 2025, Kim et al. 2024, Bartoldson et al. 2025) are used for standard implementation details and replay inspiration, not for a load-bearing uniqueness or equivalence claim. The main empirical gains are evaluated on held-out benchmarks, so the central claim has independent content. Overall, the derivation is self-contained and not circular, though the off-policy replay mismatch and the KL-drop approximation warrant scrutiny.
Axiom & Free-Parameter Ledger
free parameters (4)
- τ (target accuracy for prompt selection) =
0.5
- β (KL regularization coefficient) =
0.05
- Replay buffer sizes B_max and B_add =
128, 64
- N rollouts per question =
8
axioms (5)
- domain assumption The KL divergence term β D_KL(π_old ∥ π_θ) is uniformly small and can be neglected
- domain assumption Z_φ(x) closely tracks the loss minimizer Z*(x) at each training step
- domain assumption The TB loss minimizer identity holds with off-policy replay data
- standard math Standard TB/GFlowNet theory (minimizing TB loss matches target distribution)
- domain assumption Prompts with accuracy nearest 0.5 yield the most sample-efficient learning signal
read the original abstract
Reward-maximizing RL methods have shown to be capable of enhancing the reasoning performance of LLMs, but often lead to reduced generation diversity. Recent works address this issue by adopting GFlowNets, training LLMs to match a target distribution while jointly learning its partition function. In contrast to prior works that treat this partition function solely as a normalizer, we reinterpret it as a per-prompt expected-reward (i.e., online accuracy) signal, leveraging this unused information to improve sample efficiency. Specifically, we first establish a theoretical relationship between the partition function and per-prompt accuracy estimates. Building on this key insight, we propose Partition Function-Guided RL (PACED-RL), a post-training framework that leverages accuracy estimates to prioritize informative question prompts during training, and further improves sample efficiency through an accuracy estimate error-prioritized replay. Crucially, both components reuse information already produced during GFlowNet training, effectively amortizing the compute overhead into the existing optimization process. Extensive experiments across diverse benchmarks demonstrate strong performance improvements over GRPO and prior GFlowNet approaches, highlighting PACED-RL as a promising direction for a more sample efficient distribution-matching training for LLMs.
Figures
Reference graph
Works this paper leans on
-
[3]
Kim, M., Yun, T., Bengio, E., Zhang, D., Bengio, Y ., Ahn, S., and Park, J
URL https://openreview.net/forum? id=chfJJYC3iL. Kim, M., Yun, T., Bengio, E., Zhang, D., Bengio, Y ., Ahn, S., and Park, J. Local search GFlownets. InThe Twelfth International Conference on Learning Representations,
-
[5]
Qu, Y ., Wang, Q., Mao, Y ., Hu, V
URL https://openreview.net/forum? id=Feiz5HtCD0. Qu, Y ., Wang, Q., Mao, Y ., Hu, V . T., Ommer, B., and Ji, X. Can prompt difficulty be online predicted for acceler- ating rl finetuning of reasoning models?arXiv preprint arXiv:2507.04632, 2025. Schaul, T., Quan, J., Antonoglou, I., and Silver, D. Priori- tized experience replay.arXiv preprint arXiv:1511....
arXiv 2025
-
[6]
For FlowRL (Zhu et al., 2025a) and MoPPS (Qu et al., 2025), we adopt the official implementations and default hyperparameters provided by the authors in their implementations
library. For FlowRL (Zhu et al., 2025a) and MoPPS (Qu et al., 2025), we adopt the official implementations and default hyperparameters provided by the authors in their implementations. For LILO (Foster et al., 2025), we implement the over-sampling and rejection-sampling procedure that selects the top-m question prompts whose accuracies are closest to 0.5....
2025
-
[2021]
URL https://openreview.net/forum? id=7Bywt2mQsCe. Hessel, M., Modayil, J., Van Hasselt, H., Schaul, T., Os- trovski, G., Dabney, W., Horgan, D., Piot, B., Azar, M., and Silver, D. Rainbow: Combining improvements in deep reinforcement learning. InProceedings of the AAAI conference on artificial intelligence, volume 32, 2018. Horgan, D., Quan, J., Budden, D...
Pith/arXiv arXiv 2018
-
[2024]
URL https://openreview.net/forum? id=6cFcw1Rxww. Kwon, O. J., Matsunaga, D., and Kim, K.-E. Gdpo: Learn- ing to directly align language models with diversity using gflownets. InProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 17120–17139, 2024. Lee, S., Kim, M., Cherif, L., Dobre, D., Lee, J., Hwang, S. J., Kawag...
Pith/arXiv arXiv 2024
-
[2025]
Bengio, Y ., Lahlou, S., Deleu, T., Hu, E
URL https://openreview.net/forum? id=VwPt1WDQNB. Bengio, Y ., Lahlou, S., Deleu, T., Hu, E. J., Tiwari, M., and Bengio, E. Gflownet foundations.Journal of Machine Learning Research, 24(210):1–55, 2023. Chen, M. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021. Chen, Z., Qin, X., Wu, Y ., Ling, Y ., Ye, Q., Zhao, W. X...
Pith/arXiv arXiv 2023
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.