Papers › Order-Preserving GFlowNets

Order-Preserving GFlowNets

30 Sep 2023arXiv:2310.00386archive 2025-07-28

Yihang Chen, Lukas Mauch

Generative Flow Networks (GFlowNets) have been introduced as a method to sample a diverse set of candidates with probabilities proportional to a given reward. However, GFlowNets can only be used with a predefined scalar reward, which can be either computationally expensive or not directly accessible, in the case of multi-objective optimization (MOO) tasks for example. Moreover, to prioritize identifying high-reward candidates, the conventional practice is to raise the reward to a higher exponent, the optimal choice of which may vary across different environments. To address these issues, we propose Order-Preserving GFlowNets (OP-GFNs), which sample with probabilities in proportion to a learned reward function that is consistent with a provided (partial) order on the candidates, thus eliminating the need for an explicit formulation of the reward function. We theoretically prove that the training process of OP-GFNs gradually sparsifies the learned reward landscape in single-objective maximization tasks. The sparsification concentrates on candidates of a higher hierarchy in the ordering, ensuring exploration at the beginning and exploitation towards the end of the training. We demonstrate OP-GFN's state-of-the-art performance in single-objective maximization (totally ordered) and multi-objective Pareto front approximation (partially ordered) tasks, including synthetic datasets, molecule generation, and neural architecture search.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.00386")

Code

Syntology Ran 11 of 19 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 3 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 6 ran with no contract checked.

By repository: official repository: 19 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yhangchen/op-gfn officialmentioned in papermentioned on GitHubpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 11 ran; 3 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
6ran
8unverified

Licence: 19 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from yhangchen/op-gfn. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

batch yhangchen/op-gfn/single/GFN-Mole/gflownet/utils.py official repository ran · fixture could not drive it no licence file found · pointer only · 1a1ebe33ee0285e0 · report
branin yhangchen/op-gfn/multi/grid_cond_gfn.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · b8e02a8995424b4e · report
collate_states_scores yhangchen/op-gfn/single/GFN-Mole/gflownet/policy.py official repository ran licence not identified · pointer only · 7d8c95fef7c01a82 · report
currin yhangchen/op-gfn/multi/grid_cond_gfn.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 54dafc6a55c42deb · report
dist_calibration_error yhangchen/op-gfn/single/GFN-Mole/gflownet/evaluate.py official repository ran no licence file found · pointer only · 198490929c547443 · report
get_unique_children_in_x yhangchen/op-gfn/single/GFN-Mole/gflownet/guide.py official repository ran · our draft was wrong no licence file found · pointer only · 2dfc42fc19e46728 · report
make_mlp yhangchen/op-gfn/single/GFN-Mole/gflownet/network.py official repository ran no licence file found · pointer only · 266dbf4340bef3f5 · report
make_nodesummary_gnn yhangchen/op-gfn/single/GFN-Mole/gflownet/network.py official repository ran no licence file found · pointer only · 7e8123dabbedb095 · report
pack yhangchen/op-gfn/single/GFN-Mole/gflownet/utils.py official repository ran no licence file found · pointer only · 1c23da6bab23ab31 · report
sphere yhangchen/op-gfn/multi/grid_cond_gfn.py official repository ran fingerprinted licence not identified · pointer only · 84f5d9cf76d6c466 · report
tensor_to_np yhangchen/op-gfn/single/GFN-Mole/gflownet/utils.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 973c7b0697f6a623 · report
anderson_darling yhangchen/op-gfn/single/GFN-Mole/gflownet/evaluate.py official repository unverified no licence file found · pointer only · cfafc9ffa57d7acf · report
collate_probs yhangchen/op-gfn/single/GFN-Mole/gflownet/policy.py official repository unverified licence not identified · pointer only · 0fec2c0107112bfd · report
guide_logp yhangchen/op-gfn/single/GFN-Mole/gflownet/guide.py official repository unverified no licence file found · pointer only · ac05e44262397b23 · report
guide_sample yhangchen/op-gfn/single/GFN-Mole/gflownet/guide.py official repository unverified no licence file found · pointer only · 6b1b2290357fc6dc · report
make_convnet yhangchen/op-gfn/single/GFN-Mole/gflownet/network.py official repository unverified no licence file found · pointer only · b3c76e81a3360fbd · report
make_full_exp yhangchen/op-gfn/single/GFN-Mole/gflownet/data.py official repository unverified no licence file found · pointer only · 07d2630a9cb727da · report
multi_set_distance yhangchen/op-gfn/single/GFN-Mole/gflownet/monitor.py official repository unverified no licence file found · pointer only · 6dd46344ca1baf43 · report
unique_keep_order_filter_children yhangchen/op-gfn/single/GFN-Mole/gflownet/policy.py official repository unverified no licence file found · pointer only · f928c1f4da5deecd · report

Tasks

Neural Architecture Search

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections