SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2210.04123 · NeurIPS · 2022

DIMES: A Differentiable Meta Solver for Combinatorial Optimization Problems

Yiming Yang, Zhiqing Sun, Ruizhong Qiu

arXiv · PDF · Open in the Atlas

Code that ran

10 of 25 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 9 failures of our instrument; 15 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2210.04123.json · badge: /api/ran/2210.04123.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
dimesteam/dimes marked official in Papers with Code
Papers with Code archive
10 ran · 15 no recorded run
FunctionStatusWhere it lives
Model Ran
ran on a synthesized input · constructed an object; no result was computed
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("bcdee00b1c1f4959")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Model: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()

# Set up FLAGS that are referenced in the code
tf.flags.DEFINE_integer('diver_num', 2, 'Number of divers')
FLAGS = tf.flags.FLAGS

ARGS = {
    'name': 'test_model',
    'logging': True,
    'meta_update': False,
    'meta_steps': 5,
    'ppo': False,
    'random_heatmap': False,
    'normalize_factor': 1.0,
    'supervision_factor': 0.5,
    'aux_grad': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Model — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Model output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
apply_norm Ran
ran; our contract draft was wrong, not the code
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("2e790af504140ec1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned SymbolicTensor. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow.compat.v1 as tf
import numpy as np

tf.disable_v2_behavior()

# Create a small test tensor
# The function reduces over axis=-1, so we need a tensor with at least that dimension
x = tf.constant([[1.0, 2.0, 3.0, 4.0],
                 [5.0, 6.0, 7.0, 8.0]], dtype=tf.float32)

# Create a scale tensor matching the last dimension
scale = tf.constant([1.5, 2.0, 0.5, 1.0], dtype=tf.float32)

ARGS = {
    "x": x,
    "scale": scale,
    "epsilon": 1e-20
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
decode Ran
ran; our contract draft was wrong, not the code
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("b5e2ab32d7774a3c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax.numpy as jnp
import jax

# Construct the carry tuple argument for the decode function
# carry is a tuple: (jax_flag, jax_solution, graph_indices, par)

# jax_flag: boolean array indicating whether to continue decoding
jax_flag = jnp.array(True)

# jax_solution: array tracking which nodes have been selected
# Use size 5 for the solution nodes
jax_solution = jnp.zeros(5, dtype=jnp.int32)

# graph_indices: array of shape (num_edges, 2) containing edge connections
# Each row is [source_node, target_node]
# Use 4 edges with node indices in range [0, 5)
graph_indices = jnp.array([
    [0, 1],
    [0, 2],
    [1, 3],
    [2, 4]
], dtype=jnp.int32)

# par: preference/priority array for each node
# Size 5 to match jax_solution, with values that can be compared to -100000000.0
par = jnp.array([100.0, 50.0, 75.0, -50.0, 25.0], dtype=jnp.float32)

# Construct the carry tuple
carry = (jax_flag, jax_solution, graph_indices, par)

ARGS = {
    "carry": carry
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
greedy_decode Ran
ran; our contract draft was wrong, not the code
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("4def9750b7938697")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp

# Construct valid arguments for greedy_decode function
# Parameters needed: graph_indices, par

# graph_indices: used as graph_indices[:, 0] and graph_indices[:, 1]
# So it needs shape (num_edges, 2) with integer values
# Let's make it small: 5 edges, 2 columns
graph_indices = jnp.array([
    [0, 1],
    [0, 2],
    [1, 2],
    [1, 3],
    [2, 3]
], dtype=jnp.int32)

# par: initial priority/scoring array
# Used with jnp.argmax(par, axis=-1), indexing par[...], concatenation
# Shape should be (batch_size, num_nodes) based on usage in vmap and while_loop
# Let's use batch_size=2, num_nodes=4
par = jnp.array([
    [0.5, 0.3, 0.8, 0.2],
    [0.1, 0.9, 0.4, 0.6]
], dtype=jnp.float32)

ARGS = {
    "graph_indices": graph_indices,
    "par": par
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
np_get_mis Ran
ran; our contract draft was wrong, not the code
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("a62b745a0dcdd413")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp
import numpy as np

# Set up small test data for the function np_get_mis
# Parameters: graph_indices, par, diver_num, max_graph_size=1400, max_num_edges=15000

# graph_indices: shape (num_edges, 2) - edge list representation of a graph
# Each row contains two node indices representing an edge
num_edges = 5
graph_indices = np.array([
    [0, 1],
    [1, 2],
    [2, 3],
    [3, 0],
    [0, 2]
], dtype=np.int32)

# par: shape (graph_size, diver_num) - parameters/scores for each node across different solutions
# Will be reshaped to (diver_num, graph_size) inside the function
graph_size = 4
diver_num = 2

# Create parameter matrix with scores for nodes
# Shape is (graph_size, diver_num) before transpose
par = np.array([
    [10.5, 8.3],
    [-5.2, 12.1],
    [7.8, -3.4],
    [9.1, 6.7]
], dtype=np.float32)

ARGS = {
    'graph_indices': graph_indices,
    'par': par,
    'diver_num': diver_num,
    'max_graph_size': 1400,
    'max_num_edges': 15000
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sample Ran
ran; our contract draft was wrong, not the code
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("4bcb021dfa245389")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp

# Set seed for reproducibility
jax.config.update('jax_default_prng_impl', 'threefry2x32')

# Create small example tensors
n_nodes = 4
n_edges = 3

# jax_flag: boolean flag, scalar
jax_flag = jnp.array(True)

# jax_solution: array tracking selected nodes
jax_solution = jnp.zeros(n_nodes, dtype=jnp.int32)

# graph_indices: edge list with shape (n_edges, 2)
# Each row is [source_node, target_node]
graph_indices = jnp.array([
    [0, 1],
    [1, 2],
    [2, 3]
], dtype=jnp.int32)

# par: parameter scores for each node
par = jnp.array([-5.0, -3.0, -4.0, -2.0], dtype=jnp.float32)

# par_grad: gradient accumulator for parameters
par_grad = jnp.zeros(n_nodes, dtype=jnp.float32)

# rng_key: JAX random key
rng_key = jax.random.PRNGKey(0)

# Construct the carry tuple
carry = (jax_flag, jax_solution, graph_indices, par, par_grad, rng_key)

ARGS = {
    "carry": carry
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sample_with_log_prob Ran
ran; our contract draft was wrong, not the code
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("760b81306eaa9b43")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp

# Set random seed for reproducibility
jax.config.update('jax_platform_name', 'cpu')

# Initialize RNG key
rng_key = jax.random.PRNGKey(0)

# Create small tensors with distinct sizes
num_nodes = 4
num_edges = 3
step = 0

# par: logits/probabilities for nodes (size 4)
par = jnp.array([1.0, 2.0, 0.5, -0.5], dtype=jnp.float32)

# jax_flag: boolean flag (scalar or array)
jax_flag = jnp.array(True, dtype=jnp.bool_)

# jax_solution: solution vector (size 4, one entry per node)
jax_solution = jnp.array([0, 0, 0, 0], dtype=jnp.int32)

# graph_indices: edge list (3x2, each row is [source, dest])
graph_indices = jnp.array([[0, 1], [1, 2], [2, 3]], dtype=jnp.int32)

# log_prob: log probabilities for each step (size 5 to allow steps 0-4)
log_prob = jnp.zeros(5, dtype=jnp.float32)

# jax_path: path of visited nodes (size 5 to allow steps 0-4)
jax_path = jnp.array([0, 0, 0, 0, 0], dtype=jnp.int32)

# Construct carry tuple
carry = (jax_flag, jax_solution, graph_indices, par, log_prob, jax_path, rng_key, step)

ARGS = {
    "carry": carry
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sample_with_path Ran
ran; our contract draft was wrong, not the code
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("131549b05f32ab16")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp

# Set seed for reproducibility
jax.config.update('jax_platform_name', 'cpu')

# Create small tensors with distinct dimensions to allow probing
num_nodes = 4
num_edges = 5

# Initialize carry tuple components
jax_flag = jnp.array(True)
graph_indices = jnp.array([[0, 1], [0, 2], [1, 3], [2, 1], [2, 3]], dtype=jnp.int32)
par = jnp.array([0.1, -0.5, 0.3, -0.2], dtype=jnp.float32)
old_log_prob = jnp.array([-0.1, -0.3, -0.2, -0.4], dtype=jnp.float32)
par_grad = jnp.array([0.0, 0.0, 0.0, 0.0], dtype=jnp.float32)
jax_path = jnp.array([0, 1, 2, 3], dtype=jnp.int32)
old_reward = jnp.array(0.5, dtype=jnp.float32)
step = jnp.array(0, dtype=jnp.int32)

# Construct the carry tuple
carry = (jax_flag, graph_indices, par, old_log_prob, par_grad, jax_path, old_reward, step)

ARGS = {
    "carry": carry
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
softmax_sample Ran
ran; our contract draft was wrong, not the code
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("231026cfb60f11d3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp

# Set random seed for reproducibility
jax.config.update('jax_platform_name', 'cpu')

# Define parameters for softmax_sample
batch_size = 2
graph_size = 4
num_edges = 3

# jax_flag: boolean array indicating which samples are still active
jax_flag = jnp.array([True, True])

# jax_solution: solution vector for each sample in batch
jax_solution = jnp.zeros((batch_size, graph_size), dtype=jnp.int32)

# graph_indices: edge list with shape (num_edges, 2) indicating source and target nodes
# Using shape (3, 2) for 3 edges
graph_indices = jnp.array([
    [0, 1],
    [1, 2],
    [2, 3]
], dtype=jnp.int32)

# par: parameter logits for each sample, shape (batch_size, graph_size)
par = jnp.array([
    [-1.0, 0.5, -0.5, 1.0],
    [0.2, -1.5, 0.8, -0.3]
], dtype=jnp.float32)

# par_grad: gradient accumulator for each sample, shape (batch_size, graph_size)
par_grad = jnp.zeros((batch_size, graph_size), dtype=jnp.float32)

# rng_key: JAX random key for each sample in batch, shape (batch_size, 2)
rng_key = jax.random.split(jax.random.PRNGKey(0), batch_size)

ARGS = {
    'jax_flag': jax_flag,
    'jax_solution': jax_solution,
    'graph_indices': graph_indices,
    'par': par,
    'par_grad': par_grad,
    'rng_key': rng_key,
    'graph_size': graph_size
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
softmax_sample_with_path Ran
ran; our contract draft was wrong, not the code
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("110cc87d3e75606f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp

# Set seed for reproducibility
jax.config.update('jax_platform_name', 'cpu')

# Small tensor dimensions
batch_size = 2
graph_size = 4
num_edges = 3

# Create graph_indices: shape (num_edges, 2)
# Each row is [source_node, target_node]
graph_indices = jnp.array([
    [0, 1],
    [1, 2],
    [2, 3]
], dtype=jnp.int32)

# Create par: shape (batch_size, graph_size)
# Logits for each node in the graph
par = jnp.array([
    [0.5, -0.5, 1.0, -1.0],
    [0.2, 0.3, -0.5, 0.8]
], dtype=jnp.float32)

# Create old_log_prob: shape (batch_size, graph_size)
# Log probabilities from previous step
old_log_prob = jax.nn.log_softmax(par, axis=-1)

# Create par_grad: shape (batch_size, graph_size)
# Gradient accumulator
par_grad = jnp.zeros_like(par, dtype=jnp.float32)

# Create jax_path: shape (batch_size, graph_size)
# Path of nodes visited
jax_path = jnp.array([
    [0, 1, 2, 3],
    [1, 2, 3, 0]
], dtype=jnp.int32)

# Create old_reward: shape (batch_size,)
# Rewards from previous step
old_reward = jnp.array([0.5, -0.3], dtype=jnp.float32)

# Create jax_flag: shape (batch_size,)
# Flags indicating active paths
jax_flag = jnp.array([True, True], dtype=jnp.bool_)

ARGS = {
    'jax_flag': jax_flag,
    'graph_indices': graph_indices,
    'par': par,
    'old_log_prob': old_log_prob,
    'par_grad': par_grad,
    'jax_path': jax_path,
    'old_reward': old_reward,
    'graph_size': graph_size
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Dense Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("fec438a4bb79bc5e")
How it ran

no invocation recorded.

GCN_DEEP_DIVER_DIMES Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("fc2ba9d141d85b33")
How it ran

no invocation recorded.

GraphConvolution Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("7a01d3d524ba4bbe")
How it ran

no invocation recorded.

Layer Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("8d9ecc956fcf5e40")
How it ran

no invocation recorded.

get_merged_aux_grad Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("7a81f93aab1b33f5")
How it ran

no invocation recorded.

get_merged_grad Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("81a3c043a4609a6e")
How it ran

no invocation recorded.

get_merged_grad_with_path Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("5d34c2a954683213")
How it ran

no invocation recorded.

get_merged_sample Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("5b2fcfe0862b8fa4")
How it ran

no invocation recorded.

np_get_merged_grad Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("f33e88011484529a")
How it ran

no invocation recorded.

np_get_merged_grad_ppo Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("8f730fab780fb806")
How it ran

no invocation recorded.

softmax_sample_log_prob Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("e5db5c5cacda2aca")
How it ran

no invocation recorded.

sparse_dropout Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("295f9a13c181045b")
How it ran

no invocation recorded.

tf_decode Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("0f22b7e497f6d57f")
How it ran

no invocation recorded.

tf_par_grad Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("5991cfa2b123aef1")
How it ran

no invocation recorded.

tf_par_grad_ppo Not yet run
unverified (harvested, no recorded run)
dimesteam/dimes/MIS/solvers/intel_treesearch/NPHard/gcn/models.py
code served (permissive licence) · get_code("3019512a49dd14af")
How it ran

no invocation recorded.

Also present in other papers' code

Of 25 samples lifted from this paper's linked repositories, 25 carry a function identity and 0 do not. Of the 25 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 24 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
sparse_dropout
brick of this paper's assembly: helper
18 other papers
17 dated earlier, 1 same year, order not determinable · 2 only as an assembly brick
1603.08861 (2016-03)
Revisiting Semi-Supervised Learning with Graph Embeddings
1606.09375 (2016-06)
Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
1609.02907 (2016-09)
Semi-Supervised Classification with Graph Convolutional Networks
and 15 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2210.04123")
get_code_for_paper("2210.04123")
have("2210.04123")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2210.04123.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2210.04123.svg)](https://syntology.ai/paper/2210.04123)

Connect an agent — have() is free.