{"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/tackling-prevalent-conditions-in-unsupervised","title":"Tackling Prevalent Conditions in Unsupervised Combinatorial Optimization: Cardinality, Minimum, Covering, and More","arxiv_id":"2405.08424","date":"2024-05-14","proceeding":null,"authors":["Fanchen Bu","Hyeonsoo Jo","Soo Yong Lee","Sungsoo Ahn","Kijung Shin"],"abstract":"Combinatorial optimization (CO) is naturally discrete, making machine learning based on differentiable optimization inapplicable. Karalias & Loukas (2020) adapted the probabilistic method to incorporate CO into differentiable optimization. Their work ignited the research on unsupervised learning for CO, composed of two main components: probabilistic objectives and derandomization. However, each component confronts unique challenges. First, deriving objectives under various conditions (e.g., cardinality constraints and minimum) is nontrivial. Second, the derandomization process is underexplored, and the existing derandomization methods are either random sampling or naive rounding. In this work, we aim to tackle prevalent (i.e., commonly involved) conditions in unsupervised CO. First, we concretize the targets for objective construction and derandomization with theoretical justification. Then, for various conditions commonly involved in different CO problems, we derive nontrivial objectives and derandomization to meet the targets. Finally, we apply the derivations to various CO problems. Via extensive experiments on synthetic and real-world graphs, we validate the correctness of our derivations and show our empirical superiority w.r.t. both optimization quality and speed.","url_abs":"https://arxiv.org/abs/2405.08424v2","url_pdf":"https://arxiv.org/pdf/2405.08424v2.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":"tackling-prevalent-conditions-in-unsupervised","repo_url":"https://github.com/ai4co/unsupervised-co-ucom2","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"tackling-prevalent-conditions-in-unsupervised","repo_url":"https://github.com/bokveizen/unsupervised-CO-ucom2","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"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=2405.08424","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.08424"}},"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":"deterministic:regex_extraction","url":"https://github.com/ai4co/unsupervised-C","reach":{"status":"gone","observed_at":"2026-09-17","how":"tree_404+repo_404"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/Stalence/erdos_neu","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ai4co/unsupervised-co-ucom2","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bokveizen/unsupervised-CO-ucom2","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_fixture":1,"ran_draft_wrong":2,"ran":1,"unverified":3},"by_repo_kind":{"official":{"samples":4,"ran":4,"repositories":2},"found_in_text":{"samples":3,"ran":0,"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":3,"samples":[{"code_sha256_prefix":"bbef25284deca89d","entry":"compute_objective","repo":"ai4co/unsupervised-co-ucom2","repo_kind":"official","path":"facility_location_and_max_cover/src/facility_location_methods.py","file_url":"https://github.com/ai4co/unsupervised-co-ucom2/blob/HEAD/facility_location_and_max_cover/src/facility_location_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bbef25284deca89d"}},{"code_sha256_prefix":"5cf0360dde082472","entry":"compute_objective_differentiable","repo":"ai4co/unsupervised-co-ucom2","repo_kind":"official","path":"facility_location_and_max_cover/src/facility_location_methods.py","file_url":"https://github.com/ai4co/unsupervised-co-ucom2/blob/HEAD/facility_location_and_max_cover/src/facility_location_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5cf0360dde082472"}},{"code_sha256_prefix":"789f7d80bd07072f","entry":"compute_objective_differentiable_exact","repo":"ai4co/unsupervised-co-ucom2","repo_kind":"official","path":"facility_location_and_max_cover/src/facility_location_methods.py","file_url":"https://github.com/ai4co/unsupervised-co-ucom2/blob/HEAD/facility_location_and_max_cover/src/facility_location_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"789f7d80bd07072f"}},{"code_sha256_prefix":"6b87724bc1f4d71c","entry":"param2string","repo":"bokveizen/unsupervised-CO-ucom2","repo_kind":"official","path":"facility_location_and_max_cover/facility_location_ucom2.py","file_url":"https://github.com/bokveizen/unsupervised-CO-ucom2/blob/HEAD/facility_location_and_max_cover/facility_location_ucom2.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":"6b87724bc1f4d71c"}},{"code_sha256_prefix":"4478695b77856a66","entry":"getNdiracs","repo":"Stalence/erdos_neu","repo_kind":"found_in_text","path":"myfuncs.py","file_url":"https://github.com/Stalence/erdos_neu/blob/HEAD/myfuncs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4478695b77856a66"}},{"code_sha256_prefix":"d5916393e74f24f6","entry":"getSparseData","repo":"Stalence/erdos_neu","repo_kind":"found_in_text","path":"myfuncs.py","file_url":"https://github.com/Stalence/erdos_neu/blob/HEAD/myfuncs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d5916393e74f24f6"}},{"code_sha256_prefix":"10a72f4ad27cdd07","entry":"trainModel","repo":"Stalence/erdos_neu","repo_kind":"found_in_text","path":"myfuncs.py","file_url":"https://github.com/Stalence/erdos_neu/blob/HEAD/myfuncs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"10a72f4ad27cdd07"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}