{"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/dimes-a-differentiable-meta-solver-for","title":"DIMES: A Differentiable Meta Solver for Combinatorial Optimization Problems","arxiv_id":"2210.04123","date":"2022-10-08","proceeding":null,"authors":["Ruizhong Qiu","Zhiqing Sun","Yiming Yang"],"abstract":"Recently, deep reinforcement learning (DRL) models have shown promising results in solving NP-hard Combinatorial Optimization (CO) problems. However, most DRL solvers can only scale to a few hundreds of nodes for combinatorial optimization problems on graphs, such as the Traveling Salesman Problem (TSP). This paper addresses the scalability challenge in large-scale combinatorial optimization by proposing a novel approach, namely, DIMES. Unlike previous DRL methods which suffer from costly autoregressive decoding or iterative refinements of discrete solutions, DIMES introduces a compact continuous space for parameterizing the underlying distribution of candidate solutions. Such a continuous space allows stable REINFORCE-based training and fine-tuning via massively parallel sampling. We further propose a meta-learning framework to enable the effective initialization of model parameters in the fine-tuning stage. Extensive experiments show that DIMES outperforms recent DRL-based methods on large benchmark datasets for Traveling Salesman Problems and Maximal Independent Set problems.","url_abs":"https://arxiv.org/abs/2210.04123v2","url_pdf":"https://arxiv.org/pdf/2210.04123v2.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":"dimes-a-differentiable-meta-solver-for","repo_url":"https://github.com/dimesteam/dimes","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"combinatorial-optimization","task_name":"Combinatorial Optimization"},{"task_slug":"deep-reinforcement-learning","task_name":"Deep Reinforcement Learning"},{"task_slug":"meta-learning","task_name":"Meta-Learning"},{"task_slug":"traveling-salesman-problem","task_name":"Traveling Salesman Problem"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2210.04123","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2210.04123"}},"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/dimesteam/dimes","reach":null}],"summary":{"ran":1,"ran_draft_wrong":9,"unverified":15},"by_repo_kind":{"official":{"samples":25,"ran":10,"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":"bcdee00b1c1f4959","entry":"Model","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.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":"bcdee00b1c1f4959"}},{"code_sha256_prefix":"2e790af504140ec1","entry":"apply_norm","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2e790af504140ec1"}},{"code_sha256_prefix":"b5e2ab32d7774a3c","entry":"decode","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b5e2ab32d7774a3c"}},{"code_sha256_prefix":"4def9750b7938697","entry":"greedy_decode","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4def9750b7938697"}},{"code_sha256_prefix":"a62b745a0dcdd413","entry":"np_get_mis","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a62b745a0dcdd413"}},{"code_sha256_prefix":"4bcb021dfa245389","entry":"sample","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4bcb021dfa245389"}},{"code_sha256_prefix":"760b81306eaa9b43","entry":"sample_with_log_prob","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"760b81306eaa9b43"}},{"code_sha256_prefix":"131549b05f32ab16","entry":"sample_with_path","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"131549b05f32ab16"}},{"code_sha256_prefix":"231026cfb60f11d3","entry":"softmax_sample","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"231026cfb60f11d3"}},{"code_sha256_prefix":"110cc87d3e75606f","entry":"softmax_sample_with_path","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"110cc87d3e75606f"}},{"code_sha256_prefix":"fec438a4bb79bc5e","entry":"Dense","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"fec438a4bb79bc5e"}},{"code_sha256_prefix":"fc2ba9d141d85b33","entry":"GCN_DEEP_DIVER_DIMES","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"fc2ba9d141d85b33"}},{"code_sha256_prefix":"7a01d3d524ba4bbe","entry":"GraphConvolution","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"7a01d3d524ba4bbe"}},{"code_sha256_prefix":"8d9ecc956fcf5e40","entry":"Layer","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"8d9ecc956fcf5e40"}},{"code_sha256_prefix":"7a81f93aab1b33f5","entry":"get_merged_aux_grad","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"7a81f93aab1b33f5"}},{"code_sha256_prefix":"81a3c043a4609a6e","entry":"get_merged_grad","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"81a3c043a4609a6e"}},{"code_sha256_prefix":"5d34c2a954683213","entry":"get_merged_grad_with_path","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"5d34c2a954683213"}},{"code_sha256_prefix":"5b2fcfe0862b8fa4","entry":"get_merged_sample","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"5b2fcfe0862b8fa4"}},{"code_sha256_prefix":"f33e88011484529a","entry":"np_get_merged_grad","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"f33e88011484529a"}},{"code_sha256_prefix":"8f730fab780fb806","entry":"np_get_merged_grad_ppo","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"8f730fab780fb806"}},{"code_sha256_prefix":"e5db5c5cacda2aca","entry":"softmax_sample_log_prob","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"e5db5c5cacda2aca"}},{"code_sha256_prefix":"295f9a13c181045b","entry":"sparse_dropout","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"295f9a13c181045b"}},{"code_sha256_prefix":"0f22b7e497f6d57f","entry":"tf_decode","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"0f22b7e497f6d57f"}},{"code_sha256_prefix":"5991cfa2b123aef1","entry":"tf_par_grad","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"5991cfa2b123aef1"}},{"code_sha256_prefix":"3019512a49dd14af","entry":"tf_par_grad_ppo","repo":"dimesteam/dimes","repo_kind":"official","path":"MIS/solvers/intel_treesearch/NPHard/gcn/models.py","file_url":"https://github.com/dimesteam/dimes/blob/HEAD/MIS/solvers/intel_treesearch/NPHard/gcn/models.py","link_basis":"first_harvest_node","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":"3019512a49dd14af"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}