SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.00068 · 2026

Human-in-the-Loop Meta Bayesian Optimization for Fusion Energy and Scientific Applications

Ricardo Luna Gutierrez, Vineet Gundecha, Sahand Ghorbanpour, Soumyendu Sarkar, Ejaz Rahman, Varchas Gopalaswamy, Riccardo Betti, Aarne Lees

arXiv · PDF

Code that ran

5 of 8 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2605.00068.json · badge: /api/ran/2605.00068.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
ma921/CoExBO canonical (classifier label)
classifier basis: census
2 ran · 1 no recorded run
piboauthors/PiBO-Hypermapper community
Papers with Code archive
3 ran · 2 no recorded run
FunctionStatusWhere it lives
compute_probability_from_model Ran
ran, honoured the contract we drafted
piboauthors/PiBO-Hypermapper/hypermapper/prior_optimization.py
code served (permissive licence) · get_code("c6eb5dda30c306eb")
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
from scipy import stats

# Create a minimal Space class that the function uses
class Space:
    def __init__(self, param_names):
        self.param_names = param_names
    
    def get_optimization_parameters(self):
        return self.param_names

# Set up parameters
num_configs = 2
param_names = ['param_a', 'param_b', 'param_c']

# Create model_means as a dict with parameter names as keys and arrays as values
model_means = {
    'param_a': np.array([0.5, 1.5]),
    'param_b': np.array([0.3, 1.2]),
    'param_c': np.array([0.8, 0.9])
}

# Create model_stds as a dict with parameter names as keys and arrays as values
model_stds = {
    'param_a': np.array([0.2, 0.3]),
    'param_b': np.array([0.1, 0.25]),
    'param_c': np.array([0.15, 0.18])
}

# Create a Space object
param_space = Space(param_names)

# Create objective_weights dict
objective_weights = {
    'param_a': 1.0,
    'param_b': 1.0,
    'param_c': 1.0
}

# Create threshold dict
threshold = {
    'param_a': 1.0,
    'param_b': 0.5,
    'param_c': 1.2
}

# Define the ARGS dictionary
ARGS = {
    'model_means': model_means,
    'model_stds': model_stds,
    'param_space': param_space,
    'objective_weights': objective_weights,
    'threshold': threshold,
    'compute_bad': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — 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
compute_probability_from_prior Ran
ran, honoured the contract we drafted
piboauthors/PiBO-Hypermapper/hypermapper/prior_optimization.py
code served (permissive licence) · get_code("eecf6b409cc89666")
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 numpy as np

class MockParameter:
    def __init__(self, name):
        self.name = name
    
    def get_x_probability(self, value):
        return 0.5 + 0.1 * (value % 10)

class MockParamSpace:
    def __init__(self, estimate_prior=False):
        self.estimate_prior = estimate_prior
        self.objectives = ["obj1", "obj2"]
        self.input_params = {
            "param_a": MockParameter("param_a"),
            "param_b": MockParameter("param_b"),
            "param_c": MockParameter("param_c")
        }
    
    def get_optimization_parameters(self):
        return self.objectives
    
    def get_input_parameters_objects(self):
        return self.input_params
    
    def get_estimate_prior_flags(self):
        return [self.estimate_prior]
    
    def get_configuration_probability(self, configuration):
        return 0.7

configurations = [
    {"param_a": 1.0, "param_b": 2.0, "param_c": 3.0},
    {"param_a": 1.5, "param_b": 2.5, "param_c": 3.5},
]

param_space = MockParamSpace(estimate_prior=False)

objective_weights = {
    "obj1": 0.5,
    "obj2": 0.5,
}

ARGS = {
    "configurations": configurations,
    "param_space": param_space,
    "objective_weights": objective_weights,
}
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, 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
estimate_prior_limits Ran
ran, honoured the contract we drafted
piboauthors/PiBO-Hypermapper/hypermapper/prior_optimization.py
code served (permissive licence) · get_code("f7c2ffc616bbe8a9")
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 numpy as np
from typing import Dict, List, Any

torch.manual_seed(0)

# Stand-in Parameter class
class Parameter:
    def __init__(self, name: str):
        self.name = name
    
    def get_x_probability(self, value: Any) -> float:
        # Return a simple probability based on value
        return 0.5 + 0.1 * (hash(str(value)) % 10) / 10.0

# Stand-in Space class
class Space:
    def __init__(self):
        self.objectives = ["obj1", "obj2"]
        self.input_params = {
            "param1": Parameter("param1"),
            "param2": Parameter("param2"),
            "param3": Parameter("param3"),
        }
        self.prior_flag = [False]  # Set to False to test the else branch
    
    def get_optimization_parameters(self) -> List[str]:
        return self.objectives
    
    def get_input_parameters_objects(self) -> Dict[str, Parameter]:
        return self.input_params
    
    def get_estimate_prior_flags(self) -> List[bool]:
        return self.prior_flag
    
    def get_configuration_probability(self, configuration: Dict) -> float:
        return 0.7
    
    def random_sample_configurations_without_repetitions(
        self, 
        seed_config: Dict, 
        num_points: int, 
        use_priors: bool = False
    ) -> List[Dict[str, float]]:
        # Generate random configurations
        configurations = []
        for i in range(num_points):
            config = {
                "param1": np.random.uniform(0, 1),
                "param2": np.random.uniform(0, 1),
                "param3": np.random.uniform(0, 1),
            }
            configurations.append(config)
        return configurations

# Create instances
param_space = Space()

objective_weights = {
    "obj1": 0.5,
    "obj2": 0.5,
}

prior_limit_estimation_points = 3

ARGS = {
    "param_space": param_space,
    "prior_limit_estimation_points": prior_limit_estimation_points,
    "objective_weights": objective_weights,
}
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, 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
set_and_train_classifier Ran
ran; our contract draft was wrong, not the code
ma921/CoExBO/CoExBO/_gp_classifier.py
code served (permissive licence) · get_code("6ca412cc2761cde9")
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 DirichletGPModel. 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 gpytorch
from gpytorch.likelihoods import DirichletClassificationLikelihood
from gpytorch.models import ExactGP
from gpytorch.kernels import ScaleKernel, RFFKernel, RBFKernel
from gpytorch.means import ConstantMean

torch.manual_seed(0)

# Create small dummy pairwise data
# X_pairwise: shape (batch_size, feature_dim) = (2, 4)
X_pairwise = torch.randn(2, 4)

# y_pairwise: shape (batch_size,) with class labels (0 or 1 for binary classification)
y_pairwise = torch.tensor([0, 1], dtype=torch.long)

# training_iter: small number for quick execution
training_iter = 2

ARGS = {
    "X_pairwise": X_pairwise,
    "y_pairwise": y_pairwise,
    "training_iter": training_iter,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gpytorch, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DirichletGPModel — a DirichletGPModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DirichletGPModel 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
set_gp_classifier Ran
ran; our contract draft was wrong, not the code
ma921/CoExBO/CoExBO/_gp_classifier.py
code served (permissive licence) · get_code("e4b02d2fdc4dc498")
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 DirichletGPModel. 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 gpytorch
from gpytorch.likelihoods import DirichletClassificationLikelihood
from gpytorch.kernels import RFFKernel

torch.manual_seed(0)

# Create small tensors: batch size 2, feature dim 4
X_pairwise = torch.randn(2, 4)

# Create binary classification targets (0 or 1)
y_pairwise = torch.tensor([0, 1])

ARGS = {
    "X_pairwise": X_pairwise,
    "y_pairwise": y_pairwise,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gpytorch, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DirichletGPModel — a DirichletGPModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DirichletGPModel 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
compute_EI_from_posteriors Not yet run
unverified (harvested, no recorded run)
piboauthors/PiBO-Hypermapper/hypermapper/prior_optimization.py
code served (permissive licence) · get_code("cdacb808f5dcbe77")
How it ran

no invocation recorded.

prior_guided_optimization Not yet run
unverified (harvested, no recorded run)
piboauthors/PiBO-Hypermapper/hypermapper/prior_optimization.py
code served (permissive licence) · get_code("e2aa6e41977dcd41")
How it ran

no invocation recorded.

train_by_sgd Not yet run
unverified (harvested, no recorded run)
ma921/CoExBO/CoExBO/_gp_classifier.py
code served (permissive licence) · get_code("0dfd6f75f17406ec")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 5 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
set_and_train_classifier 1 other paper
1 dated earlier
2310.17273 (2023-10)
Looping in the Human Collaborative and Explainable Bayesian Optimization
set_gp_classifier 1 other paper
1 dated earlier
2310.17273 (2023-10)
Looping in the Human Collaborative and Explainable Bayesian Optimization
train_by_sgd 1 other paper
1 dated earlier
2310.17273 (2023-10)
Looping in the Human Collaborative and Explainable Bayesian Optimization

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

Inertial Confinement Fusion (ICF) holds transformative promise for sustainable, near-limitless clean energy, yet remains constrained by prohibitively high costs and limited experimental opportunities. This paper presents Human-in-the-Loop Meta Bayesian Optimization (HL-MBO), a framework that integrates expert knowledge with few-shot, uncertainty-aware machine learning to accelerate discovery in data-scarce, high-stakes scientific domains. HL-MBO introduces a meta-learned surrogate model with an expert-informed acquisition function to recommend candidate experiments. To foster trust and enable informed decisions, HL-MBO also provides interpretable explanations of its suggestions. We show HL-MBO outperforms current BO methods on ICF energy yield optimization, as well as benchmarks in molecular optimization and critical temperature maximization for superconducting materials.

For agents

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

get_harvested_code_for_paper("2605.00068")
get_code_for_paper("2605.00068")
have("2605.00068")

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

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

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

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

Connect an agent — have() is free.