Papers › DIMES: A Differentiable Meta Solver for Combinatorial Optimization Problems

DIMES: A Differentiable Meta Solver for Combinatorial Optimization Problems

8 Oct 2022arXiv:2210.04123archive 2025-07-28

Ruizhong Qiu, Zhiqing Sun, Yiming Yang

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.

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="2210.04123")

Code

Syntology Ran 10 of 25 code samples harvested from 1 repository linked to this paper; 15 have no recorded run. Of those that ran: 9 ran · our draft was wrong; 1 ran with no contract checked.

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

dimesteam/dimes officialmentioned in papermentioned on GitHubpytorch 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

25 samples harvested; 10 ran; 0 honoured the contract we drafted; 15 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.

9ran · our draft was wrong
1ran
15unverified

Licence: 0 of the 25 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 dimesteam/dimes. “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.

Model dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran MIT (permissive) · bcdee00b1c1f4959 · report
apply_norm dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran · our draft was wrong MIT (permissive) · 2e790af504140ec1 · report
decode dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran · our draft was wrong MIT (permissive) · b5e2ab32d7774a3c · report
greedy_decode dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran · our draft was wrong MIT (permissive) · 4def9750b7938697 · report
np_get_mis dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran · our draft was wrong MIT (permissive) · a62b745a0dcdd413 · report
sample dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran · our draft was wrong MIT (permissive) · 4bcb021dfa245389 · report
sample_with_log_prob dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran · our draft was wrong MIT (permissive) · 760b81306eaa9b43 · report
sample_with_path dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran · our draft was wrong MIT (permissive) · 131549b05f32ab16 · report
softmax_sample dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran · our draft was wrong MIT (permissive) · 231026cfb60f11d3 · report
softmax_sample_with_path dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository ran · our draft was wrong MIT (permissive) · 110cc87d3e75606f · report
Dense dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · fec438a4bb79bc5e · report
GCN_DEEP_DIVER_DIMES dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · fc2ba9d141d85b33 · report
GraphConvolution dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 7a01d3d524ba4bbe · report
Layer dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 8d9ecc956fcf5e40 · report
get_merged_aux_grad dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 7a81f93aab1b33f5 · report
get_merged_grad dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 81a3c043a4609a6e · report
get_merged_grad_with_path dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 5d34c2a954683213 · report
get_merged_sample dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 5b2fcfe0862b8fa4 · report
np_get_merged_grad dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · f33e88011484529a · report
np_get_merged_grad_ppo dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 8f730fab780fb806 · report
softmax_sample_log_prob dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · e5db5c5cacda2aca · report
sparse_dropout dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 295f9a13c181045b · report
tf_decode dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 0f22b7e497f6d57f · report
tf_par_grad dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 5991cfa2b123aef1 · report
tf_par_grad_ppo dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py official repository unverified MIT (permissive) · 3019512a49dd14af · report

Tasks

Combinatorial OptimizationDeep Reinforcement LearningMeta-LearningTraveling Salesman Problem

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