Rooted Absorbed Prefix Trajectory Balance with Submodular Replay for GFlowNet Training
Organizations: Courant Institute School of Mathematics, Computing, and Data Science, New York University
Abstract
Generative Flow Networks (GFlowNets) enable fine-tuning large language models to approximate reward-proportional posteriors, but they remain prone to mode collapse, manifesting as prefix collapse and length bias. We attribute this to two factors: (i) weak credit assignment to early prefixes, and (ii) biased replay that induces a shifted, non-representative training flow distribution. We propose Rooted absorbed prefix Trajectory Balance RapTB, an objective that anchors subtrajectory supervision at the root and propagates terminal rewards to intermediate prefixes via absorbed suffix-based backups, providing dense prefix-level learning signals. To mitigate replay-induced distribution shift, we further introduce SubM, a submodular replay refresh strategy that promotes both high reward and diversity. Empirically, on tasks such as molecule generation with LLM using SMILES strings, RapTB combined with SubM consistently improves optimization performance and molecular diversity while preserving high validity. The code is released on https://github.com/ComDec/ChemGFN.
Figures & tables
| Method | Acc | Score | Entropy | FPDiv | Len |
|---|---|---|---|---|---|
| PPO | 1.000 | 0.604 | 0 | – | – |
| GRPO | 0.997 | 0.661 | 0.98 | – | 10.0 |
| TB | 0.998 | 0.717 | 2.503 | 0.807 | 3.065 |
| SubTB | 0.328 | 0.755 | 2.127 | 0.836 | 8.354 |
| RapTB | 0.996 | 0.740 | 2.448 | 0.860 | 6.142 |
| RapTB + SubM | 0.988 | 0.844 | 2.726 | 0.898 | 7.435 |
| Performance | Length Dist. | Prefix Diagnostics | Diversity | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Method | Acc | Score | 0–5 | 6–10 | 11+ | Surv | PefEnt | Top1 | MacroFP | FPDiv |
| TB | 0.999 | 0.716 | 0.858 | 0.129 | 0.013 | 0.207 | 2.99 | 0.303 | 0.653 | 0.813 |
| SubTB | 0.636 | 0.742 | 0.286 | 0.442 | 0.271 | 0.561 | 4.82 | 0.085 | 0.716 | 0.770 |
| RapTB | 0.988 | 0.768 | 0.113 | 0.318 | 0.568 | 0.681 | 5.59 | 0.084 | 0.793 | 0.810 |
| RapTB+SubM | 0.972 | 0.849 | 0.094 | 0.205 | 0.701 | 0.751 | 5.32 | 0.071 | 0.805 | 0.868 |
| Diversity | Quality | Distributional Fidelity | |||||
| Replay | Objective | Unique ✓ | NormCov | Acc | KL( ) | KL( ) | JS |
| N/A | PPO | 1 | 0.000 | 0.003 | – | – | – |
| GRPO | 1 | 0.000 | 0.002 | – | – | – | |
| PRT | TB | 103.7 | 0.016 | 0.999 | 1.105 | 7.803 | 0.292 |
| SubTB | 292.0 | 0.046 | 0.311 | 0.424 | 0.672 | 0.107 | |
| RapTB | 129.3 | 0.020 | 0.992 | 0.908 | 5.538 | 0.230 | |
| Method | Acc | NormCov | ||
|---|---|---|---|---|
| RP Replay | ||||
| TB | 0.999 | 0.001 | -0.000 | 0.063 |
| SubTB | 0.229 | 0.051 | -79.638 | – |
| RapTB | 0.991 | 0.039 | -0.065 | 0.062 |
| RootSubTBLogZ | 0.999 | 0.023 | -0.068 | 0.062 |
| Oracle Replay | ||||
| Method | Entropy | BLEU-4 | Len | |
|---|---|---|---|---|
| TB | 2.966 | 5.95 | 13.86 | -1.34 |
| SubTB | 3.719 | 24.39 | 20.00 | -28.32 |
| RapTB | 3.933 | 11.75 | 15.63 | -0.94 |
| RapTB+SubM | 4.102 | 33.23 | 11.83 | 4.89 |
| Variant | Score | FPDiv | Entropy | Len |
|---|---|---|---|---|
| RapTB | 0.740 | 0.860 | 2.448 | 6.142 |
| RapTB w/o reward absorb | 0.716 | 0.805 | 2.031 | 5.296 |
| RapTB absorb max-only | 0.821 | 0.775 | 1.716 | 7.431 |
| RapTB absorb soft-only | 0.819 | 0.748 | 1.516 | 7.710 |
| RapTB + SubM (Full) | 0.844 | 0.898 | 2.726 | 7.435 |
| + length-only SubM | 0.773 | 0.885 | 1.914 | 6.569 |
Appendix figures & tables28 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Acc | Score | Entropy | FPDiv | Len μ | Len 50 | Len 90 | Frac[0–2] | Frac[3–5] | Frac[6–8] | Frac[9–10] |
|---|---|---|---|---|---|---|---|---|---|---|---|
| TB | 0.998 0.001 | 0.717 0.001 | 2.503 0.026 | 0.807 0.003 | 3.06 0.02 | 2.15 0.03 | 6.42 0.13 | 0.601 0.004 | 0.252 0.007 | 0.084 0.005 | 0.064 0.004 |
| TB+SubM | 0.996 0.000 | 0.842 0.001 | 2.775 0.002 | 0.889 0.002 | 6.56 0.09 | 7.23 0.07 | 9.84 0.06 | 0.143 0.006 | 0.186 0.015 | 0.348 0.013 | 0.323 0.008 |
| RapTB | 0.996 0.001 | 0.740 0.004 | 2.448 0.017 | 0.860 0.001 | 6.14 0.03 | 6.58 0.03 | 9.01 0.04 | 0.134 0.007 | 0.204 0.009 | 0.466 0.017 | 0.197 0.015 |
| RapTB+SubM | 0.988 0.003 | 0.844 0.001 | 2.726 0.017 | 0.898 0.001 | 7.44 0.05 | 7.91 0.03 | 9.84 0.02 | 0.046 0.005 | 0.119 0.003 | 0.433 0.012 | 0.402 0.007 |
| SubTB | 0.328 0.016 | 0.755 0.004 | 2.127 0.037 | 0.836 0.003 | 8.35 0.06 | 9.22 0.05 | 9.97 0.03 | 0.006 0.001 | 0.047 0.005 | 0.076 0.005 | 0.871 0.001 |
| SubTB+SubM | 0.298 0.006 | 0.736 0.005 | 2.165 0.006 | 0.851 0.002 | 8.73 0.06 | 9.59 0.08 | 9.99 0.01 | 0.005 0.001 | 0.029 0.003 | 0.057 0.001 | 0.909 0.003 |
| TB | SubTB | RapTB | TB+SubM | SubTB+SubM | RapTB+SubM | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acc | Score | Frac | Count | Acc | Score | Frac | Count | Acc | Score | Frac | Count | Acc | Score | Frac | Count | Acc | Score | Frac | Count | Acc | Score | Frac | Count | |
| 1 | 1 0 | 0.708 0.004 | 0.215 0.007 | 687 22.7 | 1 0 | 0.762 0.007 | 0.002 0.001 | 1.7 0.7 | 1 0 | 0.651 0.004 | 0.042 0.002 | 133 4.9 | 1 0 | 0.712 0.007 | 0.055 0.007 | 175 22.6 | 1 0 | 0.766 0.001 | 0.004 0.003 | 3.7 2.6 | 1 0 | 0.702 0.006 | 0.02 0.002 | 64.3 7.5 |
| 2 | 0.999 0.001 | 0.752 0.002 | 0.387 0.008 | 1235.7 28.1 | 1 0 | 0.748 0.003 | 0.017 0.003 | 17.7 3.5 | 0.999 0.002 | 0.725 0.004 | 0.092 0.006 | 294.7 17.4 | 1 0 | 0.79 0 | 0.088 0.003 | 282 7.9 | 1 0 | 0.75 0.014 | 0.012 0.004 | 11.7 4 | 1 0 | 0.783 0.005 | 0.026 0.003 | 83.3 10.8 |
| 3 | 0.998 0.002 | 0.727 0.002 | 0.138 0.003 | 439.3 10.5 | 1 0 | 0.774 0.01 | 0.009 0.004 | 9.3 4 | 1 0 | 0.754 0.001 | 0.056 0.002 | 177 6.8 | 1 0 | 0.787 0.003 | 0.058 0.008 | 184.3 26.7 | 1 0 | 0.759 0.008 | 0.008 0.003 | 8 3 | 0.996 0.008 | 0.759 0.006 | 0.03 0.006 | 95 19.3 |
| 4 | 0.998 0.003 | 0.722 0.001 | 0.062 0.002 | 199.3 6.8 | 1 0 | 0.787 0.003 | 0.035 0.003 | 36.3 2.4 | 0.995 0.006 | 0.748 0.003 | 0.058 0.004 | 185.7 13.6 | 0.997 0.005 | 0.793 0.003 | 0.046 0.005 | 145.3 16.8 | 1 0 | 0.789 0.006 | 0.024 0.003 | 23.3 2.4 | 1 0 | 0.813 0.012 | 0.031 0.002 | 99.3 5.3 |
| 5 | 0.996 0.008 | 0.739 0.003 | 0.052 0.002 | 165.3 5.8 | 1 0 | 0.813 0.001 | 0.099 0.011 | 103.7 9.9 | 0.998 0.004 | 0.78 0.009 | 0.09 0.005 | 288.3 14.6 | 0.997 0.002 | 0.851 0.004 | 0.083 0.004 | 263.7 13.6 | 1 0 | 0.815 0.001 | 0.066 0.011 | 63 10.4 | 0.995 0.006 | 0.836 0.003 | 0.059 0.004 | 185.3 12.1 |
| TB | SubTB | RapTB | TB+SubM | SubTB+SubM | RapTB+SubM | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Entropy | FPDiv | Entropy | FPDiv | Entropy | FPDiv | Entropy | FPDiv | Entropy | FPDiv | Entropy | FPDiv | |
| 1 | 2.39 0.07 | 0.789 0.012 | 0.23 0.45 | 0.25 0.283 | 2.28 0.11 | 0.824 0.005 | 1.35 0.09 | 0.628 0.014 | 0.17 0.33 | 0.2 0.226 | 1.32 0.08 | 0.651 0.027 |
| 2 | 2.54 0.01 | 0.812 0.005 | 1.05 0.33 | 0.445 0.069 | 2.33 0.03 | 0.827 0.003 | 2.12 0.07 | 0.84 0.004 | 0.99 0.09 | 0.435 0.056 | 1.82 0.13 | 0.759 0.022 |
| 3 | 2.44 0.02 | 0.825 0.001 | 1.1 0.17 | 0.722 0.022 | 1.99 0.03 | 0.818 0.003 | 2.21 0.07 | 0.877 0.002 | 0.87 0.43 | 0.604 0.091 | 1.76 0.04 | 0.838 0.002 |
| 4 | 2.46 0.05 | 0.854 0.002 | 1.35 0.14 | 0.703 0.03 | 2.02 0.06 | 0.867 0.005 | 2.39 0.01 | 0.909 0.005 | 1.31 0.36 | 0.739 0.05 | 2.19 0.07 | 0.888 0.007 |
| 5 | 2.41 0.02 | 0.88 0.005 | 1.19 0.11 | 0.714 0.01 | 2.21 0.01 | 0.859 0.003 | 2.48 0.04 | 0.906 0.004 | 1.15 0.05 | 0.721 0.004 | 2.21 0.12 | 0.877 0.015 |
| TB | SubTB | RapTB | TB+SubM | SubTB+SubM | RapTB+SubM | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| UniqStr | UniqMol | UniqRateStr | UniqRateMol | UniqStr | UniqMol | UniqRateStr | UniqRateMol | UniqStr | UniqMol | UniqRateStr | UniqRateMol | UniqStr | UniqMol | UniqRateStr | UniqRateMol | UniqStr | UniqMol | UniqRateStr | UniqRateMol | UniqStr | UniqMol | UniqRateStr | UniqRateMol | |
| 1 | 29.3 1.1 | 25.3 1.5 | 0 0 | 0 0 | 1.3 0.4 | 1.3 0.4 | 0.8 0.2 | 0.8 0.2 | 17.3 0.8 | 15.7 0.4 | 0.1 0 | 0.1 0 | 13.7 0.8 | 13.7 0.8 | 0.1 0 | 0.1 0 | 1.3 0.4 | 1.3 0.4 | 0.5 0.3 | 0.5 0.3 | 8.3 0.8 | 8.3 0.8 | 0.1 0 | 0.1 0 |
| 2 | 184.7 2.1 | 115.7 3 | 0.1 0 | 0.2 0 | 6.3 0.8 | 6 0.7 | 0.4 0 | 0.3 0 | 77 1.9 | 71 2.5 | 0.3 0 | 0.2 0 | 60.3 3 | 59.7 2.9 | 0.2 0 | 0.2 0 | 5 0.7 | 5 0.7 | 0.4 0 | 0.4 0 | 27.3 1.5 | 27.3 1.5 | 0.3 0 | 0.3 0 |
| 3 | 224 7.5 | 215.7 7.3 | 0.5 0 | 0.5 0 | 6.3 1.7 | 6.3 1.7 | 0.7 0.1 | 0.7 0.1 | 78.3 2.2 | 76.3 2.2 | 0.4 0 | 0.4 0 | 52.3 5.8 | 52.3 5.8 | 0.3 0 | 0.3 0 | 4.7 1.8 | 4.7 1.8 | 0.6 0.1 | 0.6 0.1 | 27.7 3 | 27.7 3 | 0.3 0 | 0.3 0 |
| 4 | 166 4 | 164 3.6 | 0.8 0 | 0.8 0 | 17 1.2 | 16.7 0.8 | 0.5 0.1 | 0.5 0 | 111 3.1 | 107.3 3 | 0.6 0 | 0.6 0 | 58 0.7 | 57.7 1.1 | 0.4 0 | 0.4 0 | 14.7 2.2 | 13.7 1.8 | 0.6 0.1 | 0.6 0.1 | 41 6.1 | 41 6.1 | 0.4 0.1 | 0.4 0.1 |
| 5 | 156 5.9 | 153.3 5.8 | 0.9 0 | 0.9 0 | 41.3 3.7 | 38.3 3.9 | 0.4 0 | 0.4 0 | 187 7.6 | 181.7 7.9 | 0.6 0 | 0.6 0 | 101.3 3.5 | 100.7 3.3 | 0.4 0 | 0.4 0 | 31.3 4.2 | 28.3 3.5 | 0.5 0 | 0.4 0 | 74 8.1 | 73.7 7.9 | 0.4 0 | 0.4 0 |
| TB | SubTB | RapTB | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Survival | PefEnt | Eff | Top1 | UniqueRate | Survival | PefEnt | Eff | Top1 | UniqueRate | Survival | PefEnt | Eff | Top1 | UniqueRate | |
| 1 | 1 0 | 2.531 0.022 | 12.57 0.28 | 0.274 0.01 | 0.013 0.001 | 1 0 | 1.539 0.036 | 4.66 0.17 | 0.419 0.01 | 0.017 0.001 | 1 0 | 1.841 0.025 | 6.3 0.15 | 0.4 0.004 | 0.01 0 |
| 2 | 0.785 0.005 | 4.748 0.019 | 115.34 2.25 | 0.077 0.001 | 0.135 0.002 | 0.998 0 | 3.544 0.063 | 34.69 2.15 | 0.096 0.004 | 0.096 0.002 | 0.958 0.001 | 3.838 0.023 | 46.46 1.05 | 0.174 0.005 | 0.076 0.002 |
| 3 | 0.398 0.002 | 5.418 0.027 | 225.52 6.1 | 0.121 0.005 | 0.45 0.005 | 0.982 0.002 | 4.563 0.044 | 95.94 4.19 | 0.088 0.006 | 0.24 0.003 | 0.866 0.005 | 4.717 0.031 | 111.95 3.52 | 0.184 0.005 | 0.215 0.005 |
| 4 | 0.261 0.002 | 5.17 0.038 | 176.02 6.81 | 0.167 0.009 | 0.566 0.012 | 0.973 0.004 | 5.054 0.035 | 156.78 5.48 | 0.088 0.006 | 0.355 0.003 | 0.81 0.006 | 5.45 0.047 | 233.1 11.25 | 0.135 0.007 | 0.357 0.01 |
| 5 | 0.198 0.002 | 4.796 0.041 | 121.2 4.96 | 0.219 0.014 | 0.599 0.009 | 0.938 0.005 | 5.575 0.048 | 264.06 12.39 | 0.03 0.003 | 0.471 0.004 | 0.752 0.004 | 5.747 0.051 | 313.88 16.34 | 0.138 0.007 | 0.474 0.01 |
| TB+SubM | SubTB+SubM | RapTB+SubM | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Survival | PefEnt | Eff | Top1 | UniqueRate | Survival | PefEnt | Eff | Top1 | UniqueRate | Survival | PefEnt | Eff | Top1 | UniqueRate | |
| 1 | 1 0 | 2.715 0.017 | 15.11 0.25 | 0.165 0.006 | 0.011 0 | 1 0 | 1.559 0.037 | 4.76 0.18 | 0.394 0.01 | 0.017 0.001 | 1 0 | 2.563 0.004 | 12.98 0.05 | 0.193 0.005 | 0.009 0 |
| 2 | 0.945 0.004 | 4.778 0.004 | 118.92 0.46 | 0.052 0.003 | 0.094 0.001 | 0.996 0.002 | 3.669 0.041 | 39.26 1.58 | 0.094 0.005 | 0.108 0.004 | 0.98 0.001 | 4.43 0.015 | 83.96 1.27 | 0.065 0.001 | 0.076 0.001 |
| 3 | 0.857 0.004 | 5.224 0.01 | 185.6 1.81 | 0.033 0.002 | 0.164 0.005 | 0.984 0.002 | 4.723 0.024 | 112.55 2.69 | 0.089 0.004 | 0.278 0.008 | 0.953 0.003 | 5.019 0.022 | 151.34 3.33 | 0.042 0.006 | 0.141 0.001 |
| 4 | 0.799 0.005 | 5.434 0.014 | 229.16 3.26 | 0.034 0.002 | 0.211 0.006 | 0.975 0.004 | 5.275 0.021 | 195.48 4.12 | 0.09 0.004 | 0.437 0 | 0.923 0.007 | 5.342 0.036 | 209.02 7.37 | 0.037 0.002 | 0.196 0.004 |
| 5 | 0.753 0.008 | 5.667 0.021 | 289.19 6 | 0.024 0.002 | 0.254 0.007 | 0.951 0.004 | 5.765 0.014 | 318.94 4.35 | 0.029 0.001 | 0.563 0 | 0.892 0.006 | 5.641 0.047 | 282.07 13.11 | 0.036 0.004 | 0.254 0.006 |
| TB | SubTB | RapTB | RapTB+SubM | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acc | Score | Frac | Count | Acc | Score | Frac | Count | Acc | Score | Frac | Count | Acc | Score | Frac | Count | |
| 1 | 1 0 | 0.707 0.003 | 0.242 0.012 | 774.7 37.9 | 1 0 | 0.765 0 | 0.002 0.001 | 1.7 0.7 | 1 0 | 0.7 0.005 | 0.033 0.004 | 105.7 11.6 | 1 0 | 0.694 0.012 | 0.018 0.001 | 56.5 2.9 |
| 2 | 1 0 | 0.748 0 | 0.34 0.01 | 1086.7 33.2 | 1 0 | 0.738 0.009 | 0.05 0.002 | 51.3 2.6 | 1 0 | 0.723 0.003 | 0.033 0.005 | 103 16.7 | 1 0 | 0.798 0.004 | 0.018 0.008 | 57.5 26.5 |
| 3 | 0.999 0.002 | 0.724 0.007 | 0.128 0.005 | 409 16.3 | 1 0 | 0.723 0.016 | 0.03 0.006 | 31 6 | 1 0 | 0.747 0.012 | 0.011 0.001 | 34.3 2.4 | 1 0 | 0.824 0.003 | 0.016 0.004 | 50.5 12.7 |
| 4 | 0.999 0.002 | 0.739 0 | 0.088 0.006 | 281.3 20.3 | 1 0 | 0.796 0.008 | 0.069 0.011 | 70.7 11.3 | 0.995 0.01 | 0.758 0.005 | 0.017 0.002 | 55.3 7.5 | 1 0 | 0.853 0.017 | 0.016 0.006 | 51 17.6 |
| 5 | 0.997 0.003 | 0.749 0.001 | 0.06 0.003 | 192.3 10.3 | 1 0 | 0.795 0.003 | 0.135 0.004 | 137 5.2 | 1 0 | 0.779 0.01 | 0.019 0.008 | 60 25.5 | 1 0 | 0.888 0.01 | 0.025 0.001 | 77 2 |
| TB | SubTB | RapTB | RapTB+SubM | |||||
|---|---|---|---|---|---|---|---|---|
| Entropy | FPDiv | Entropy | FPDiv | Entropy | FPDiv | Entropy | FPDiv | |
| 1 | 2.45 0.04 | 0.82 0.011 | 0 0 | 0 0 | 1.8 0.06 | 0.625 0.009 | 0.92 0.03 | 0.455 0.024 |
| 2 | 2.57 0 | 0.813 0.004 | 0.83 0.21 | 0.344 0.071 | 2.07 0.12 | 0.802 0.004 | 1.04 0.2 | 0.661 0.025 |
| 3 | 2.49 0 | 0.834 0 | 1.49 0.05 | 0.793 0.005 | 1.6 0.14 | 0.706 0.02 | 1.21 0.24 | 0.682 0.027 |
| 4 | 2.18 0.03 | 0.791 0.009 | 1.21 0.08 | 0.673 0.012 | 1.27 0.23 | 0.748 0.04 | 1.17 0.06 | 0.653 0.026 |
| 5 | 2.42 0.04 | 0.868 0.003 | 1.25 0.02 | 0.748 0.007 | 1.72 0.05 | 0.825 0.008 | 1.32 0.19 | 0.793 0.017 |
| TB | SubTB | RapTB | RapTB+SubM | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| UniqStr | UniqMol | UniqRateStr | UniqRateMol | UniqStr | UniqMol | UniqRateStr | UniqRateMol | UniqStr | UniqMol | UniqRateStr | UniqRateMol | UniqStr | UniqMol | UniqRateStr | UniqRateMol | |
| 1 | 31 1.2 | 24.7 3 | 0 0 | 0 0 | 1 0 | 1 0 | 0.7 0.2 | 0.7 0.2 | 14 1.4 | 11.3 1.5 | 0.1 0 | 0.1 0 | 5.5 0.6 | 5.5 0.6 | 0.1 0 | 0.1 0 |
| 2 | 189 3.6 | 128.7 4.3 | 0.2 0 | 0.3 0 | 7.3 0.4 | 6.3 0.4 | 0.1 0 | 0.1 0 | 35.7 4.2 | 33 4.5 | 0.3 0 | 0.3 0 | 8.5 1.7 | 8.5 1.7 | 0.1 0 | 0.1 0 |
| 3 | 215.7 2.7 | 203.7 1.1 | 0.5 0 | 0.5 0 | 14.3 0.8 | 14.3 0.8 | 0.5 0.1 | 0.5 0.1 | 20.7 1.5 | 19.7 1.8 | 0.6 0 | 0.6 0 | 8.5 0.6 | 8.5 0.6 | 0.2 0 | 0.2 0 |
| 4 | 170 9.3 | 164.7 8.6 | 0.6 0 | 0.6 0 | 22 1.4 | 20.7 1.8 | 0.3 0 | 0.3 0 | 32 4.5 | 31.3 4.8 | 0.6 0.1 | 0.6 0.1 | 15.5 1.7 | 15.5 1.7 | 0.3 0 | 0.3 0 |
| 5 | 178.7 6.6 | 176 6.8 | 0.9 0 | 0.9 0 | 47 1.2 | 42.3 0.4 | 0.3 0 | 0.3 0 | 51.3 11 | 48.7 7.7 | 0.9 0 | 0.8 0.1 | 23 0 | 23 0 | 0.3 0 | 0.3 0 |
| TB | SubTB | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Survival | PefEnt | Eff | Top1 | UniqueRate | Survival | PefEnt | Eff | Top1 | UniqueRate | |
| 1 | 1 0 | 2.637 0.021 | 13.97 0.3 | 0.236 0.009 | 0.013 0 | 1 0 | 1.235 0.016 | 3.44 0.05 | 0.508 0.007 | 0.012 0.001 |
| 2 | 0.758 0.007 | 4.775 0.027 | 118.61 3.24 | 0.082 0.005 | 0.152 0.008 | 0.998 0 | 3.085 0.009 | 21.87 0.2 | 0.164 0.009 | 0.07 0.003 |
| 3 | 0.418 0.005 | 5.495 0.048 | 243.8 11.8 | 0.108 0.008 | 0.447 0.01 | 0.948 0.002 | 3.987 0.031 | 53.93 1.7 | 0.098 0 | 0.179 0.004 |
| 4 | 0.29 0.006 | 5.452 0.052 | 233.74 12.43 | 0.145 0.008 | 0.591 0.016 | 0.917 0.002 | 4.466 0.035 | 87.04 3 | 0.082 0.004 | 0.262 0.003 |
| 5 | 0.202 0.004 | 5.178 0.092 | 178.4 16.91 | 0.208 0.014 | 0.682 0.02 | 0.848 0.007 | 5.041 0.093 | 155.54 14.12 | 0.058 0.008 | 0.375 0.016 |
| RapTB | RapTB+SubM | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Survival | PefEnt | Eff | Top1 | UniqueRate | Survival | PefEnt | Eff | Top1 | UniqueRate | |
| 1 | 1 0 | 1.693 0.014 | 5.44 0.08 | 0.375 0.004 | 0.008 0 | 1 0 | 1.938 0.001 | 6.94 0.01 | 0.342 0 | 0.007 0 |
| 2 | 0.967 0.002 | 3.438 0.033 | 31.14 1.03 | 0.204 0.006 | 0.051 0.002 | 0.982 0.001 | 3.659 0.011 | 38.83 0.43 | 0.125 0.009 | 0.039 0 |
| 3 | 0.934 0.001 | 4.542 0.04 | 93.95 3.74 | 0.106 0.006 | 0.138 0.006 | 0.963 0.005 | 4.227 0.033 | 68.53 2.26 | 0.126 0.01 | 0.09 0.003 |
| 4 | 0.923 0.001 | 5.249 0.026 | 190.42 4.86 | 0.071 0.002 | 0.238 0.004 | 0.947 0.003 | 4.829 0.009 | 125.11 1.11 | 0.094 0.003 | 0.148 0.002 |
| 5 | 0.906 0.001 | 5.822 0.019 | 337.73 6.41 | 0.07 0.005 | 0.345 0.003 | 0.931 0 | 5.184 0.001 | 178.44 0.24 | 0.095 0.003 | 0.204 0.002 |
| Replay | Objective | Unique ✓ | NormCov | Acc | KL( ) | KL( ) | JS |
|---|---|---|---|---|---|---|---|
| PRT | TB | 103.7 3.2 | 0.016 0.001 | 0.999 0.000 | 1.105 0.002 | 7.803 0.060 | 0.292 0.001 |
| SubTB | 292.0 2.9 | 0.046 0.000 | 0.311 0.002 | 0.424 0.010 | 0.672 0.077 | 0.107 0.003 | |
| RapTB | 129.3 0.4 | 0.020 0.000 | 0.992 0.001 | 0.908 0.003 | 5.538 0.005 | 0.230 0.001 | |
| RP | TB | 5.3 0.4 | 0.001 0.000 | 1.000 0.000 | 1.297 0.001 | 11.403 0.282 | 0.339 0.000 |
| SubTB | 324.7 2.7 | 0.051 0.000 | 0.229 0.005 | 0.455 0.005 | 0.865 0.083 | 0.109 0.002 | |
| RapTB | 246.7 7.1 | 0.039 0.001 | 0.991 0.000 | 0.561 0.001 | 4.480 0.002 | 0.147 0.000 |
| Replay | Objective | ||||
|---|---|---|---|---|---|
| RP | TB | – | – | -0.000 | -0.001 |
| SubTB | -5.220 | -1.292 | -1.064 | -79.638 | |
| RapTB | – | -2.451 | -2.319 | -0.065 | |
| RootSubTBLogZ | -0.709 | -0.606 | -0.411 | -0.068 | |
| Oracle | TB | – | -4.391 | -1.779 | -0.441 |
| SubTB | -1.017 | -2.803 | -4.530 | -86.415 |
| TB | SubTB | RapTB | RapTB+SubM |
|---|---|---|---|
| (Len=19) The cat likes to sit on the couch with a pet that lives in a cat, because it. | (Len=20) My pet cat likes to sleep on a couch, I know, what a pet perv! This is. | (Len=15) The pet cat loves the couch, and the cat’s mom was an mascot. | (Len=10) A pet cat likes to sleep on a couch. |
| (Len=15) A kid loves to dance in a room that a kid likes to dance in. | (Len=20) My kid loves to dance in her room with all of her clothes on except her persnare cal. | (Len=7) I dance in the room for kid. | (Len=8) kid loves to dance in her room!! |
| (Len=20) There is a hockey team that plays at a rink and plays on a team on a hockey Claus. | (Len=20) The team practiced hockey at the rink, and do freeze to ourselves towards the rinks touring doors. | (Len=15) A team played at the hockey rink with the best players on their own. | (Len=11) The team practiced hockey at the rink for four hours. |
| (Len=20) There was a flight of stairs, and a jump, a flight of stairs, and a jump, | (Len=20) I jump up a flight of stair, landing in a little flight-recorded levy down to current it. | (Len=14) I jump up a flight of stair to get to school in the morning. | (Len=11) I walk up a stair: jump up a flight. |
| SMILES | Expr24 | |||||
|---|---|---|---|---|---|---|
| Method | Acc | Score | Entropy | Len | Acc | Unique ✓ |
| TB | 0.998 | 0.717 | 2.503 | 3.06 | 1.000 | 5.3 |
| AvgPrefixTB | 1.000 | 0.661 | 0.665 | 2.89 | 0.998 | 142.0 |
| RapTB | 0.996 | 0.740 | 2.448 | 6.14 | 0.991 | 246.7 |
| RapTB+SubM | 0.988 | 0.844 | 2.726 | 7.44 | 0.994 | 1337.3 |
| Method | Perf | Div | Novelty | Len | Steps |
|---|---|---|---|---|---|
| DynaPPO | 0.938 | 12.12 | 9.31 | 20 | 10K |
| COMs | 0.761 | 19.38 | 26.47 | 20 | 10K |
| GFlowNet | 0.868 | 11.32 | 15.72 | 20 | 10K |
| TB | 0.927 | 7.39 | 10.65 | 17.4 | 10K |
| SubTB † | 0.897 | 21.37 | 28.68 | 49.3 | 10K |
| RapTB | 0.919 | 8.83 | 14.44 | 22.4 | 5K |
| Scale | Method | Acc | Score | FPDiv | Ent | Len |
|---|---|---|---|---|---|---|
| 3B (Llama) | TB | 0.999 | 0.716 | 0.838 | 1.92 | 2.69 |
| SubTB | 0.311 | 0.222 | 0.854 | 2.56 | 9.52 | |
| RapTB | 1.000 | 0.795 | 0.839 | 1.81 | 7.99 | |
| RapTB+SubM | 0.998 | 0.869 | 0.936 | 2.41 | 8.05 | |
| 8B (Llama) | TB | 1.000 | 0.715 | 0.775 | 1.84 | 2.98 |
| SubTB | 0.391 | 0.307 | 0.869 | 2.72 | 9.22 |
| Acc | Diversity | ||
|---|---|---|---|
| 1 | 0.0 | 0.999 | 1.010 |
| 1 | 0.1 | 0.999 | 0.993 |
| 1 | 0.5 | 1.000 | 1.015 |
| 3 | 0.0 | 0.990 | 0.950 |
| 3 | 0.1 | 1.000 | 0.769 |
| 3 | 0.5 | 0.997 | 0.978 |
| Acc | Diversity | |
|---|---|---|
| 0.10 | 0.999 | 0.983 |
| 0.25 | 0.997 | 0.978 |
| 0.50 | 0.987 | 1.149 |
| variant | Acc | Diversity |
|---|---|---|
| Fixed | 0.998 | 0.852 |
| Schedule | 0.997 | 0.978 |
| Fixed | 0.969 | 1.025 |
| Acc | Entropy | ||
|---|---|---|---|
| 1 | 0.0 | 0.992 | 2.173 |
| 1 | 0.1 | 0.994 | 2.161 |
| 1 | 0.5 | 0.992 | 2.162 |
| 5 | 0.0 | 0.995 | 1.997 |
| 5 | 0.1 | 0.991 | 2.076 |
| 5 | 0.5 | 0.997 | 2.079 |
| Method | Acc | Score | Entropy | FPDiv | Len |
|---|---|---|---|---|---|
| TB | 0.998 | 0.717 | 2.503 | 0.807 | 3.065 |
| TB w/o ref | 0.381 | 0.601 | 0.418 | 0.425 | 10.000 |
| SMILES | Expr24 | |
| Trainer steps (max) | 5000 | 5000 |
| Precision | Bf16 | Bf16 |
| Grad clip | 0.5 | 0.5 |
| Grad accumulation | 4 | 4 |
| Optimizer | AdamW ( ) | AdamW ( ) |
| Sampling (train) |
| SMILES | Expr24 | |
| Aux weight | 0.25 | 0.25 |
| Distance discount | 0.99 | 0.99 |
| Detach in aux | True | True |
| Absorb gate threshold | ||
| Target mode | mix | mix |
| Mix weight (max vs soft) | 0.5 | 0.8 |
| ID | Concept Set | Domain Context |
|---|---|---|
| 1 | {field, look, stand} | Outdoor / Observation |
| 2 | {kid, room, dance} | Indoor / Activity |
| 3 | {cat, pet, couch} | Domestic / Animal |
| 4 | {climb, building, side} | Urban / Action |
| 5 | {climb, wall, talk} | Social / Action |
| 6 | {drive, snow, car} | Travel / Environment |
| Task | Factor | start | end | horizon |
| SMILES | replay_buffer | 0.50 | 0.25 | 5000 |
| SMILES | k_min | 5 | 2 | 5000 |
| Expr24 | replay_buffer | 0.50 | 0.25 | 5000 |
| Expr24 | oracle_buffer | 0.75 | 0.25 | 5000 |
| Expr24 | k_min | 7 | 3 | 5000 |
| Hyperparameter | Value |
|---|---|
| Buffer capacity | 200 |
| Similarity backend | RDKit bulk Tanimoto (Morgan r=2, 2048-bit) |
| Weights | |
| Length bin size | 1 token |
| Length alpha mode / power | uniform / 1.0 |
| Validity gating ratio | 0.0 |
| Hyperparameter | Value |
|---|---|
| Buffer capacity | 200 |
| Refresh period | 1 |
| Similarity backend | -gram shingles + Jaccard |
| Weights | |
| Length bin size | - |
| Length alpha mode / power | - |
Generative Flow Networks
Generative Flow Networks learn to sample diverse objects with probabilities proportional to their rewards.
See all 56 papers