SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.18066 · 2025

Accurate Peak Detection in Multimodal Optimization via Approximated Landscape Learning

arXiv · PDF · Open in the Atlas

Code that ran

7 of 13 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; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 0 failures of our instrument; 6 no recorded run), measured 2026-11-24; 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/2503.18066.json · badge: /api/ran/2503.18066.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
gmc-drl/apdmmo canonical (classifier label)
classifier basis not recorded on the link
7 ran · 6 no recorded run
FunctionStatusWhere it lives
FSphere Ran
ran on a synthesized input
gmc-drl/apdmmo/np_parallel_cec2013/cec2013/cfunction.py
code served (permissive licence) · get_code("82c67bef14a53e91")
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
import numpy as np

torch.manual_seed(0)

# FSphere expects x to be a 2D array-like with shape (batch_size, features)
# It computes (x ** 2).sum(axis=1), so it squares elements and sums along axis 1
# This returns a 1D array of shape (batch_size,)

x = torch.randn(2, 4)  # batch_size=2, features=4

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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
equal_maxima Ran
ran on a synthesized input
gmc-drl/apdmmo/np_parallel_cec2013/cec2013/functions.py
code served (permissive licence) · get_code("8622b863c948755c")
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 numpy as np

# The function takes a parameter x which should be a numpy array
# The function accesses x[:, 0], so x needs to be 2D with at least 1 column
# Let's create a small 2D numpy array with shape (2, 4)
x = np.array([
    [0.1, 0.2, 0.3, 0.4],
    [0.5, 0.6, 0.7, 0.8]
], dtype=np.float32)

ARGS = {
    "x": x
}
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 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
five_uneven_peak_trap Ran
ran on a synthesized input
gmc-drl/apdmmo/np_parallel_cec2013/cec2013/functions.py
code served (permissive licence) · get_code("1a313c1e6ba3c136")
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 (4,) 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

# Construct a valid argument for the five_uneven_peak_trap function
# The function expects x to be a 2D array where it extracts the first column (x[:, 0])
# and applies piecewise linear transformations based on value ranges

# Create a small test array with shape (batch_size, num_features)
# Using values in the range [0, 30] since that's what the function operates on
x_input = np.array([
    [5.0, 1.0, 2.0],
    [15.3, 4.0, 3.0],
    [25.7, 5.0, 6.0],
    [10.0, 7.0, 8.0]
], dtype=np.float64)

ARGS = {
    "x": x_input
}
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 float, shape (4,) — shape (4,) 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
generate_optimize_sampling Ran
ran on a synthesized input
gmc-drl/apdmmo/optimize.py
code served (permissive licence) · get_code("ceaffe429cac21cd")
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 (9, 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
import numpy as np
from scipy.stats import qmc

# Define a stand-in Problem class that provides the required methods
class StandInProblem:
    def __init__(self, dimension=2, lbound=0.0, ubound=1.0):
        self.dimension = dimension
        self.lbound = lbound
        self.ubound = ubound
    
    def get_dimension(self):
        return self.dimension
    
    def get_lbound(self, idx):
        return self.lbound
    
    def get_ubound(self, idx):
        return self.ubound

# Set seed for reproducibility
torch.manual_seed(0)
np.random.seed(0)

# Create a valid problem instance
problem = StandInProblem(dimension=2, lbound=0.0, ubound=1.0)

# Define ARGS mapping all parameters
ARGS = {
    'seed': 42,
    'num_of_try': 9,
    'strategy': 'grid',
    'problem': problem
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, torch — 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 (9, 2) — shape (9, 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
local_optimization_parallel Ran
ran on a synthesized input
gmc-drl/apdmmo/optimize.py
code served (permissive licence) · get_code("a31c18d10cf806c6")
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 torch
import torch.nn as nn

torch.manual_seed(0)

# Define a minimal model that the function will call
class SimpleModel(nn.Module):
    def __init__(self, input_dim, output_dim=1):
        super().__init__()
        self.linear = nn.Linear(input_dim, output_dim)
    
    def forward(self, x):
        return self.linear(x)

# Define a minimal problem class with required methods
class SimpleProblem:
    def __init__(self, dim=4):
        self._dim = dim
        self._lbounds = [0.0] * dim
        self._ubounds = [1.0] * dim
    
    def get_dimension(self):
        return self._dim
    
    def get_lbound(self, k):
        return self._lbounds[k]
    
    def get_ubound(self, k):
        return self._ubounds[k]

# Create instances
device = 'cpu'
dim = 4
model = SimpleModel(input_dim=dim, output_dim=1)
problem = SimpleProblem(dim=dim)

# Create normalization statistics
mu_x = torch.randn(1, dim)
std_x = torch.ones(1, dim) * 0.5
mu_y = torch.tensor([[0.0]])
std_y = torch.tensor([[1.0]])

# Create initial point (temp)
temp = torch.randn(2, dim).numpy()

# Create optimizer class reference
opt_class = torch.optim.Adam

ARGS = {
    'temp': temp,
    'seed': 42,
    'num_of_try': 1,
    'strategy': 'local',
    'num_of_step': 2,
    'device': device,
    'model': model,
    'lr': 0.01,
    'opt_class': opt_class,
    'bc': 'clip',
    'problem': problem,
    'mu_x': mu_x,
    'std_x': std_x,
    'mu_y': mu_y,
    'std_y': std_y,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm — 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
tosolve_func Ran
ran on a synthesized input
gmc-drl/apdmmo/local_refine.py
code served (permissive licence) · get_code("89c58d8548cd8d64")
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 (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 torch
import torch.nn as nn

torch.manual_seed(0)

class MockEvaluator(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        # x shape: (batch, 4)
        # returns shape: (batch, 1) or (batch,)
        return self.linear(x).sum(dim=1, keepdim=True)
    
    def evaluate(self, x):
        # evaluate method that takes batch input
        return self.forward(x)

# Create the evaluator object
evaluator = MockEvaluator()

# Create a sample x vector
x = torch.randn(4)

ARGS = {
    'x': x,
    'args': evaluator
}
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 (1,) — shape (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
uneven_decreasing_maxima Ran
ran on a synthesized input
gmc-drl/apdmmo/np_parallel_cec2013/cec2013/functions.py
code served (permissive licence) · get_code("3c1b73ff70f8b793")
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 numpy as np

# Construct a small numpy array with shape (2, 1) for batch of 2 samples
# The function accesses x[:, 0], so we need at least 2 dimensions where the second dimension has at least 1 column
x = np.array([[0.1], [0.5]])

ARGS = {
    "x": x
}
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 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
FGrienwank Not yet run
unverified (harvested, no recorded run)
gmc-drl/apdmmo/np_parallel_cec2013/cec2013/cfunction.py
code served (permissive licence) · get_code("072bf23d8e9864c5")
How it ran

no invocation recorded.

FRastrigin Not yet run
unverified (harvested, no recorded run)
gmc-drl/apdmmo/np_parallel_cec2013/cec2013/cfunction.py
code served (permissive licence) · get_code("7cda5ec50592db8e")
How it ran

no invocation recorded.

find_seeds Not yet run
unverified (harvested, no recorded run)
gmc-drl/apdmmo/local_refine.py
code served (permissive licence) · get_code("4c9a1b6cf4dac0f6")
How it ran

no invocation recorded.

find_seeds_indices Not yet run
unverified (harvested, no recorded run)
gmc-drl/apdmmo/np_parallel_cec2013/cec2013/cec2013.py
code served (permissive licence) · get_code("01fd44766aa8bd58")
How it ran

no invocation recorded.

fit Not yet run
unverified (harvested, no recorded run)
gmc-drl/apdmmo/surrogate.py
code served (permissive licence) · get_code("8131b3f5abb83bbf")
How it ran

no invocation recorded.

how_many_goptima Not yet run
unverified (harvested, no recorded run)
gmc-drl/apdmmo/np_parallel_cec2013/cec2013/cec2013.py
code served (permissive licence) · get_code("537db54df938bf97")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 13 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.

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

Repositories linked to this paper

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

Abstract

Detecting potential optimal peak areas and locating the accurate peaks in these areas are two major challenges in Multimodal Optimization problems (MMOPs). To address them, much efforts have been spent on developing novel searching operators, niching strategies and multi-objective problem transformation pipelines. Though promising, existing approaches more or less overlook the potential usage of landscape knowledge. In this paper, we propose a novel optimization framework tailored for MMOPs, termed as APDMMO, which facilitates peak detection via fully leveraging the landscape knowledge and hence capable of providing strong optimization performance on MMOPs. Specifically, we first design a novel surrogate landscape model which ensembles a group of non-linear activation units to improve the regression accuracy on diverse MMOPs. Then we propose a free-of-trial peak detection method which efficiently locates potential peak areas through back-propagation on the learned surrogate landscape model. Based on the detected peak areas, we employ SEP-CMAES for local search within these areas in parallel to further improve the accuracy of the found optima. Extensive benchmarking results demonstrate that APDMMO outperforms several up-to-date baselines. Further ablation studies verify the effectiveness of the proposed novel designs. The source-code is available at ~\href{}{https://github.com/GMC-DRL/APDMMO}.

For agents

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

get_harvested_code_for_paper("2503.18066")
get_code_for_paper("2503.18066")
have("2503.18066")

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

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

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

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

Connect an agent — have() is free.