SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.16854 · 2024

Knowing What Not to Do: Leverage Language Model Insights for Action Space Pruning in Multi-agent Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

10 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 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/2405.16854.json · badge: /api/ran/2405.16854.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
liuzhihao2022/espark canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
FunctionStatusWhere it lives
assign_gpu Ran
ran; our contract draft was wrong, not the code
liuzhihao2022/espark/Baseline/MARL_algorithm/run/eSpark_no_llm_run.py
code served (permissive licence) · get_code("19b86caa10272f9b")
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, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim 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 torch

torch.manual_seed(0)

ARGS = {
    'subthread_id': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
categorical_entropy Ran
ran; our contract draft was wrong, not the code
liuzhihao2022/espark/Baseline/MARL_algorithm/components/action_selectors.py
code served (permissive licence) · get_code("6008b0eb92d8067c")
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 Tensor, 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 torch
from torch.distributions import Categorical

torch.manual_seed(0)

# The function takes a probability tensor and computes entropy via Categorical distribution
# probs must have size > 1 in the last dimension
# We create a small tensor with batch_size=2, num_classes=4

probs = torch.tensor([
    [0.1, 0.2, 0.3, 0.4],
    [0.25, 0.25, 0.25, 0.25]
], dtype=torch.float32)

ARGS = {
    "probs": probs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, 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
divide_arr_into_interval Ran
ran; our contract draft was wrong, not the code
liuzhihao2022/espark/Baseline/MARL_algorithm/run/eSpark_no_llm_run.py
code served (permissive licence) · get_code("883ff631b5f026bc")
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 list. 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 numpy as np

# Create a simple 1D numpy array
arr = np.array([1.5, 2.3, 3.7, 4.2, 5.1, 6.8, 7.3, 8.9])

# Create intervals as a list of tuples (min, max)
interval = [(1.0, 3.5), (3.5, 6.0), (6.0, 9.0)]

ARGS = {
    "arr": arr,
    "interval": interval
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list 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
get_multilevel_single_stock_level Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
liuzhihao2022/espark/Baseline/OR_algorithm/base_stock.py
code served (permissive licence) · get_code("5c2cd0041222a356")
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 2, dtype family float, shape (2, 1) 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 numpy as np

# Parameters for get_multilevel_single_stock_level
warehouses = 2
time_horizon = 3
vlt = 1  # lead time

# Create small test arrays
selling_price = np.array([[10.0, 11.0, 12.0], [9.0, 10.0, 11.0]])  # shape (2, 3)
procurement_cost = np.array([[5.0, 5.0, 5.0], [4.5, 4.5, 4.5]])  # shape (2, 3)
demand = np.array([5, 6, 7])  # shape (3,)
holding_cost = np.array([[1.0, 1.0, 1.0], [0.8, 0.8, 0.8]])  # shape (2, 3)

ARGS = {
    "selling_price": selling_price,
    "procurement_cost": procurement_cost,
    "demand": demand,
    "vlt": vlt,
    "holding_cost": holding_cost,
    "warehouses": warehouses
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cvxpy, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 1) — shape (2, 1) 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
get_multilevel_stock_level Ran
ran, honoured the contract we drafted
liuzhihao2022/espark/Baseline/OR_algorithm/base_stock.py
code served (permissive licence) · get_code("ea5ed37f3e200dc7")
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 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 gym
import numpy as np
from gym import Env, Wrapper
from gym.spaces import Box, Discrete

class MockSKU:
    def __init__(self, sku_id):
        self.sku_id = sku_id
    
    def __repr__(self):
        return f"SKU_{self.sku_id}"

class MockWarehouse:
    def __init__(self, warehouse_id):
        self.warehouse_id = warehouse_id
    
    def __repr__(self):
        return f"Warehouse_{self.warehouse_id}"

class MockEnv(gym.Wrapper):
    def __init__(self):
        self.warehouse_count = 3
        self.num_skus = 2
        self.time_horizon = 5
        self._warehouse_list = [MockWarehouse(i) for i in range(self.warehouse_count)]
        self._sku_list = [MockSKU(i) for i in range(self.num_skus)]
    
    def get_warehouse_list(self):
        return self._warehouse_list
    
    def get_sku_list(self):
        return self._sku_list
    
    def get_selling_price(self, sku):
        return np.array([[100.0, 105.0, 110.0, 108.0, 102.0]])
    
    def get_procurement_cost(self, sku):
        return np.array([[60.0, 62.0, 61.0, 63.0, 60.0]])
    
    def get_demand(self, sku):
        return np.array([50.0, 55.0, 45.0, 60.0, 48.0])
    
    def get_average_vlt(self, sku):
        return np.array([2, 2, 2])
    
    def get_holding_cost(self, sku):
        return np.array([[5.0, 5.0, 5.0, 5.0, 5.0]])
    
    def reset(self):
        return np.zeros((self.warehouse_count,))
    
    def step(self, action):
        return np.zeros((self.warehouse_count,)), 0, False, {}

env = MockEnv()

ARGS = {
    "env": env
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cvxpy, gym, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float — no output shape is stated: observe_signature.py could not observe it (harness:RecursionError)
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
get_ranks Ran
ran, violated the contract we drafted
liuzhihao2022/espark/Baseline/OR_algorithm/search_different_profit.py
code served (permissive licence) · get_code("1e2aef5f1efa0988")
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 int, shape (5,) 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 numpy as np

# Create a small test array
my_array = np.array([3.5, 1.2, 4.1, 2.8, 0.9])

ARGS = {
    "my_array": my_array
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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 int, shape (5,) — shape (5,) 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
multilevel_base_stock Ran
ran, honoured the contract we drafted
liuzhihao2022/espark/Baseline/OR_algorithm/base_stock.py
code served (permissive licence) · get_code("4164e21ded1cfc42")
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 float, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 gym
import numpy as np
from gym import spaces

class MockSKU:
    def __init__(self, sku_id):
        self.id = sku_id

class MockWarehouse:
    def __init__(self, warehouse_id):
        self.id = warehouse_id

class MockEnv(gym.Wrapper):
    def __init__(self):
        self.warehouse_count = 2
        self._num_skus = 3
        self._num_warehouses = 2
        self._time_horizon = 4
        self._sku_list = [MockSKU(i) for i in range(self._num_skus)]
        self._warehouse_list = [MockWarehouse(i) for i in range(self._num_warehouses)]
        
        # Initialize observation and action spaces
        self.observation_space = spaces.Box(
            low=0, high=100, 
            shape=(self._num_warehouses * self._num_skus,), 
            dtype=np.float32
        )
        self.action_space = spaces.Box(
            low=0, high=100,
            shape=(self._num_warehouses * self._num_skus,),
            dtype=np.float32
        )
        
        self._step_count = 0
        self._max_steps = 10
        self._in_stock = np.random.randint(5, 20, (self._num_warehouses, self._num_skus))
        self._in_transit = np.random.randint(0, 10, (self._num_warehouses, self._num_skus))
        self._demand_mean = np.random.randint(1, 5, (self._num_warehouses, self._num_skus))
    
    def get_warehouse_list(self):
        return self._warehouse_list
    
    def get_sku_list(self):
        return self._sku_list
    
    def get_selling_price(self, sku):
        return np.random.uniform(10, 20, (self._num_warehouses, self._time_horizon))
    
    def get_procurement_cost(self, sku):
        return np.random.uniform(5, 10, (self._num_warehouses, self._time_horizon))
    
    def get_demand(self, sku):
        return np.random.randint(1, 5, (self._num_warehouses, self._time_horizon))
    
    def get_average_vlt(self, sku):
        return np.array([2, 2])
    
    def get_holding_cost(self, sku):
        return np.random.uniform(0.5, 2, (self._num_warehouses, self._time_horizon))
    
    def get_in_stock(self):
        return self._in_stock
    
    def get_in_transit(self):
        return self._in_transit
    
    def get_demand_mean(self):
        return self._demand_mean
    
    def reset(self):
        self._step_count = 0
        self._in_stock = np.random.randint(5, 20, (self._num_warehouses, self._num_skus))
        self._in_transit = np.random.randint(0, 10, (self._num_warehouses, self._num_skus))
        return np.zeros((self._num_warehouses * self._num_skus,))
    
    def step(self, action):
        self._step_count += 1
        self._in_stock = np.maximum(self._in_stock - 1, 0)
        self._in_transit = np.maximum(self._in_transit - 1, 0)
        
        reward = np.random.uniform(0, 10, (self._num_warehouses, self._num_skus))
        is_done = self._step_count >= self._max_steps
        
        info = {
            'balance': np.random.uniform(100, 1000)
        }
        
        state = np.zeros((self._num_warehouses * self._num_skus,))
        
        return state, reward, is_done, info

mock_env = MockEnv()

ARGS = {
    'env': mock_env,
    'update_freq': 7,
    'static_stock_levels': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cvxpy, gym, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float — no output shape is stated: observe_signature.py could not observe it (harness:RecursionError)
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
multinomial_entropy Ran
ran; our contract draft was wrong, not the code
liuzhihao2022/espark/Baseline/MARL_algorithm/components/action_selectors.py
code served (permissive licence) · get_code("2acbf488aab98339")
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 Tensor, 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 torch

torch.manual_seed(0)

# The function multinomial_entropy takes logits as a parameter
# It creates a GumbelSoftmax distribution and calls entropy() on it
# logits should be a tensor with shape (batch_size, num_classes)
# where num_classes > 1 (enforced by assert in the function)

logits = torch.randn(2, 4)  # batch_size=2, num_classes=4

ARGS = {
    "logits": logits
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, 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
sS_policy Ran
ran; our contract draft was wrong, not the code
liuzhihao2022/espark/Baseline/OR_algorithm/search_sS.py
code served (permissive licence) · get_code("8602497bc824a734")
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 numpy as np

class MockEnv:
    def __init__(self):
        self.warehouse_count = 2
        self.sku_list = ['SKU_A', 'SKU_B', 'SKU_C', 'SKU_D']
        self.in_stock_data = np.array([[10.0, 20.0, 15.0, 25.0],
                                        [5.0, 10.0, 8.0, 12.0]])
        self.in_transit_data = np.array([[5.0, 3.0, 2.0, 4.0],
                                         [2.0, 1.0, 3.0, 2.0]])
        self.demand_mean_data = np.array([[2.0, 3.0, 1.5, 2.5],
                                          [1.0, 2.0, 1.0, 1.5]])
        self.step_count = 0
        self.max_steps = 3
    
    def reset(self):
        self.step_count = 0
        return None
    
    def get_sku_list(self):
        return self.sku_list
    
    def get_in_stock(self):
        return self.in_stock_data
    
    def get_in_transit(self):
        return self.in_transit_data
    
    def get_demand_mean(self):
        return self.demand_mean_data
    
    def step(self, action):
        self.step_count += 1
        done = self.step_count >= self.max_steps
        
        reward = np.random.randn(self.warehouse_count, len(self.sku_list))
        state = np.random.randn(self.warehouse_count, len(self.sku_list))
        info = {'balance': 1000.0}
        
        return state, reward, done, info


env = MockEnv()
S = 100.0
s = 50.0

ARGS = {
    'env': env,
    'S': S,
    's': s
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
search_sS Ran
ran; our contract draft was wrong, not the code
liuzhihao2022/espark/Baseline/OR_algorithm/search_sS.py
code served (permissive licence) · get_code("530140af058c05b0")
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, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 numpy as np

class MockEnv:
    """Minimal environment mock matching the function's usage."""
    
    def __init__(self, num_warehouses=1, num_skus=2):
        self.warehouse_count = num_warehouses
        self.sku_count = num_skus
        self.step_count = 0
        self.max_steps = 3
    
    def reset(self):
        self.step_count = 0
        return np.zeros((self.warehouse_count, self.sku_count))
    
    def get_warehouse_list(self):
        return list(range(self.warehouse_count))
    
    def get_sku_list(self):
        return list(range(self.sku_count))
    
    def get_demand_mean(self):
        return np.ones((self.warehouse_count, self.sku_count)) * 2.0
    
    def get_in_stock(self):
        return np.ones((self.warehouse_count, self.sku_count)) * 5.0
    
    def get_in_transit(self):
        return np.ones((self.warehouse_count, self.sku_count)) * 2.0
    
    def step(self, action):
        self.step_count += 1
        state = np.zeros((self.warehouse_count, self.sku_count))
        reward = np.ones((self.warehouse_count, self.sku_count)) * 10.0
        done = self.step_count >= self.max_steps
        info = {'balance': 100.0}
        return state, reward, done, info


env = MockEnv(num_warehouses=1, num_skus=2)
search_range = np.arange(0.0, 12.1, 4.0)

ARGS = {
    'env': env,
    'search_range': search_range,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, dtype family float — a tuple output has no array shape of its own; none is stated
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
get_ranks Not yet run
unverified (harvested, no recorded run)
liuzhihao2022/espark/Baseline/OR_algorithm/random_actions.py
code served (permissive licence) · get_code("bac932c18ae61250")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 8 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
categorical_entropy 3 other papers
2 dated earlier, 1 later
2008.01062 (2020-08)
QPLEX: Duplex Dueling Multi-Agent Q-Learning
2207.05631 (2022-07)
DGPO: Discovering Multiple Strategies with Diversity-Guided Policy Optimization
2410.02511 (2024-10)
Stop Wandering, Find the Keys: LLMs Discriminate Key States for Efficient Multi-Agent Exploration
multinomial_entropy 3 other papers
2 dated earlier, 1 later
2008.01062 (2020-08)
QPLEX: Duplex Dueling Multi-Agent Q-Learning
2207.05631 (2022-07)
DGPO: Discovering Multiple Strategies with Diversity-Guided Policy Optimization
2410.02511 (2024-10)
Stop Wandering, Find the Keys: LLMs Discriminate Key States for Efficient Multi-Agent Exploration

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

Multi-agent reinforcement learning (MARL) is employed to develop autonomous agents that can learn to adopt cooperative or competitive strategies within complex environments. However, the linear increase in the number of agents leads to a combinatorial explosion of the action space, which may result in algorithmic instability, difficulty in convergence, or entrapment in local optima. While researchers have designed a variety of effective algorithms to compress the action space, these methods also introduce new challenges, such as the need for manually designed prior knowledge or reliance on the structure of the problem, which diminishes the applicability of these techniques. In this paper, we introduce Evolutionary action SPAce Reduction with Knowledge (eSpark), an exploration function generation framework driven by large language models (LLMs) to boost exploration and prune unnecessary actions in MARL. Using just a basic prompt that outlines the overall task and setting, eSpark is capable of generating exploration functions in a zero-shot manner, identifying and pruning redundant or irrelevant state-action pairs, and then achieving autonomous improvement from policy feedback. In reinforcement learning tasks involving inventory management and traffic light control encompassing a total of 15 scenarios, eSpark consistently outperforms the combined MARL algorithm in all scenarios, achieving an average performance gain of 34.4% and 9.9% in the two types of tasks respectively. Additionally, eSpark has proven to be capable of managing situations with a large number of agents, securing a 29.7% improvement in scalability challenges that featured over 500 agents. The code can be found in https://github.com/LiuZhihao2022/eSpark.git.

For agents

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

get_harvested_code_for_paper("2405.16854")
get_code_for_paper("2405.16854")
have("2405.16854")

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

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

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

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

Connect an agent — have() is free.