SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2210.13937 · 2022

Multi-Fidelity Bayesian Optimization with Unreliable Information Sources

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 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 5 have no contract verdict; 0 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/2210.13937.json · badge: /api/ran/2210.13937.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
aaltopml/rmfbo canonical (classifier label)
classifier basis not recorded on the link
5 ran · 1 no recorded run
FunctionStatusWhere it lives
build_combinations Ran
ran on a synthesized input
aaltopml/rmfbo/misc.py
code served (permissive licence) · get_code("b4d3358c6c7da668")
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 torch
import numpy as np

torch.manual_seed(0)

# Analyze the function to understand what each parameter needs to be
# The function iterates over:
# - experiments: iterated over
# - methods: iterated over (strings checked for 'rMF', 'MF')
# - costs: iterated over (or replaced with [-1])
# - conds_var: iterated over (or replaced with [-1])
# - conds_ig: iterated over (or replaced with [-1])
# - mogp: iterated over
# - tuples of (n, seed+n): iterated over
# All these are combined via itertools.product, so they should be iterables

# Construct minimal valid arguments
N_REP = 2

experiments = ['exp1', 'exp2']

# Mix of different method types to trigger different branches
methods = ['rMF_method', 'MF_method', 'other_method']

costs = ['cost1', 'cost2']

conds_var = ['cond_var1', 'cond_var2']

conds_ig = ['cond_ig1', 'cond_ig2']

mogp = ['mogp1']

seed = 42

ARGS = {
    'N_REP': N_REP,
    'experiments': experiments,
    'costs': costs,
    'methods': methods,
    'conds_var': conds_var,
    'conds_ig': conds_ig,
    'mogp': mogp,
    'seed': seed,
}
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 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
eval_accuracy_score Ran
ran on a synthesized input
aaltopml/rmfbo/xgb_utils.py
code served (permissive licence) · get_code("5c500de799d55b9a")
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 float64, 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 numpy as np

# Create small numpy arrays for predictions and ground truth
# pred should be shape (batch_size, num_classes) with logits/probabilities
# ground should be shape (batch_size,) or (batch_size, 1) with class labels

batch_size = 2
num_classes = 4

# Create predictions: (2, 4) array of logits
# argmax will pick the class with highest value for each sample
pred = np.array([
    [0.1, 0.9, 0.5, 0.3],  # argmax = 1
    [0.2, 0.3, 0.8, 0.1]   # argmax = 2
], dtype=np.float32)

# Create ground truth labels: (2,) array
ground = np.array([1, 2], dtype=np.int64)

ARGS = {
    "pred": pred,
    "ground": ground
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
eval_auc_score Ran
ran on a synthesized input
aaltopml/rmfbo/xgb_utils.py
code served (permissive licence) · get_code("f673a0b2d0465a29")
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, shape () 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.special import softmax
from sklearn.metrics import roc_auc_score

torch.manual_seed(0)

# The function expects:
# - pred: array-like with shape (batch_size, num_classes) that can be passed to softmax
# - ground: array-like that can be squeezed to get labels

# Create pred: logits for binary classification (batch_size=2, num_classes=2)
pred = np.array([
    [0.5, 1.2],
    [-0.3, 0.8]
], dtype=np.float32)

# Create ground: binary labels (batch_size=2, 1)
ground = np.array([[1], [0]], dtype=np.int32)

ARGS = {
    'pred': pred,
    'ground': ground
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, sklearn, torch — 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, shape () — shape () 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
eval_rmse_score Ran
ran on a synthesized input
aaltopml/rmfbo/xgb_utils.py
code served (permissive licence) · get_code("24ff1df1e3d1fdbf")
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 float64, 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 numpy as np

# The function eval_rmse_score takes two parameters: pred and ground
# Both are used in numpy operations (subtraction, squaring, mean, sqrt)
# They should be numpy arrays or array-like objects of the same shape

# Create small numpy arrays for predictions and ground truth
pred = np.array([1.0, 2.0, 3.0, 4.0])
ground = np.array([1.1, 2.1, 2.9, 3.9])

ARGS = {
    "pred": pred,
    "ground": ground
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
is_primary_source Ran
ran on a synthesized input
aaltopml/rmfbo/misc.py
code served (permissive licence) · get_code("fad2a2d4bcb7fcda")
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, ndim 1, 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 torch
import math

torch.manual_seed(0)

# The function expects:
# - x: a 2D tensor with shape (batch_size, features)
# - opposite: a boolean flag (defaults to False)

# Create a 2D tensor with batch_size=2 and features=4
x_batch_multiple = torch.tensor([
    [0.1, 0.2, 0.3, 1.0],  # last element is 1.0 (primary source)
    [0.4, 0.5, 0.6, 0.0]   # last element is 0.0 (not primary source when opposite=False)
], dtype=torch.float32)

# Also create a single-row tensor for the case where x.shape[0] == 1
x_single_row = torch.tensor([[0.1, 0.2, 0.3, 1.0]], dtype=torch.float32)

# Test case 1: batch with multiple rows, opposite=False
ARGS = {
    'x': x_batch_multiple,
    'opposite': False
}
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 list, ndim 1, dtype family float — a list 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_problem_settings Not yet run
unverified (harvested, no recorded run)
aaltopml/rmfbo/misc.py
code served (permissive licence) · get_code("bbc787d11c25a211")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 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 6 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-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

Bayesian optimization (BO) is a powerful framework for optimizing black-box, expensive-to-evaluate functions. Over the past decade, many algorithms have been proposed to integrate cheaper, lower-fidelity approximations of the objective function into the optimization process, with the goal of converging towards the global optimum at a reduced cost. This task is generally referred to as multi-fidelity Bayesian optimization (MFBO). However, MFBO algorithms can lead to higher optimization costs than their vanilla BO counterparts, especially when the low-fidelity sources are poor approximations of the objective function, therefore defeating their purpose. To address this issue, we propose rMFBO (robust MFBO), a methodology to make any GP-based MFBO scheme robust to the addition of unreliable information sources. rMFBO comes with a theoretical guarantee that its performance can be bound to its vanilla BO analog, with high controllable probability. We demonstrate the effectiveness of the proposed methodology on a number of numerical benchmarks, outperforming earlier MFBO methods on unreliable sources. We expect rMFBO to be particularly useful to reliably include human experts with varying knowledge within BO processes.

For agents

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

get_harvested_code_for_paper("2210.13937")
get_code_for_paper("2210.13937")
have("2210.13937")

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

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

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

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

Connect an agent — have() is free.