{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/ant-colony-sampling-with-gflownets-for","title":"Ant Colony Sampling with GFlowNets for Combinatorial Optimization","arxiv_id":"2403.07041","date":"2024-03-11","proceeding":null,"authors":["Minsu Kim","Sanghyeok Choi","Hyeonah Kim","Jiwoo Son","Jinkyoo Park","Yoshua Bengio"],"abstract":"We present the Generative Flow Ant Colony Sampler (GFACS), a novel meta-heuristic method that hierarchically combines amortized inference and parallel stochastic search. Our method first leverages Generative Flow Networks (GFlowNets) to amortize a \\emph{multi-modal} prior distribution over combinatorial solution space that encompasses both high-reward and diversified solutions. This prior is iteratively updated via parallel stochastic search in the spirit of Ant Colony Optimization (ACO), leading to the posterior distribution that generates near-optimal solutions. Extensive experiments across seven combinatorial optimization problems demonstrate GFACS's promising performances.","url_abs":"https://arxiv.org/abs/2403.07041v4","url_pdf":"https://arxiv.org/pdf/2403.07041v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"ant-colony-sampling-with-gflownets-for","repo_url":"https://github.com/ai4co/gfacs","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"ant-colony-sampling-with-gflownets-for","repo_url":"https://github.com/henry-yeh/DeepACO","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"combinatorial-optimization","task_name":"Combinatorial Optimization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.07041","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.07041"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/henry-yeh/DeepACO","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ai4co/gfacs","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":8,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":10,"ran":9,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"e4bad5bb67d2cd61","entry":"cal_fitness","repo":"ai4co/gfacs","repo_kind":"official","path":"bpp/aco.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/bpp/aco.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e4bad5bb67d2cd61"}},{"code_sha256_prefix":"01df1926cf07ac89","entry":"check_extension","repo":"ai4co/gfacs","repo_kind":"official","path":"cvrp_nls/lkh.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/cvrp_nls/lkh.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"01df1926cf07ac89"}},{"code_sha256_prefix":"01aaf3a4a24be900","entry":"count_last_zero","repo":"ai4co/gfacs","repo_kind":"official","path":"bpp/aco.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/bpp/aco.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"01aaf3a4a24be900"}},{"code_sha256_prefix":"e7e1d6908c528c19","entry":"gen_instance","repo":"ai4co/gfacs","repo_kind":"official","path":"bpp/utils.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/bpp/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e7e1d6908c528c19"}},{"code_sha256_prefix":"906dfc9d505aae42","entry":"gen_pyg_data","repo":"ai4co/gfacs","repo_kind":"official","path":"bpp/utils.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/bpp/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"906dfc9d505aae42"}},{"code_sha256_prefix":"46bfbacd7712b160","entry":"get_subroutes","repo":"ai4co/gfacs","repo_kind":"official","path":"cvrp_nls/aco.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/cvrp_nls/aco.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"46bfbacd7712b160"}},{"code_sha256_prefix":"69062811f34d8ff6","entry":"load_dataset","repo":"ai4co/gfacs","repo_kind":"official","path":"cvrp_nls/lkh.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/cvrp_nls/lkh.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"69062811f34d8ff6"}},{"code_sha256_prefix":"f26fe6db8c14c408","entry":"load_val_dataset","repo":"ai4co/gfacs","repo_kind":"official","path":"bpp/utils.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/bpp/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f26fe6db8c14c408"}},{"code_sha256_prefix":"10cea2b2066d40da","entry":"merge_subroutes","repo":"ai4co/gfacs","repo_kind":"official","path":"cvrp_nls/aco.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/cvrp_nls/aco.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"10cea2b2066d40da"}},{"code_sha256_prefix":"f4b9a37d67290bfd","entry":"calc_vrp_cost","repo":"ai4co/gfacs","repo_kind":"official","path":"cvrp_nls/lkh.py","file_url":"https://github.com/ai4co/gfacs/blob/HEAD/cvrp_nls/lkh.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f4b9a37d67290bfd"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}