SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.00308 · NeurIPS · 2024

BOTS: Batch Bayesian Optimization of Extended Thompson Sampling for Severely Episode-Limited RL Settings

Benjamin Marlin, Susan Murphy, Karine Karine

arXiv · PDF · Open in the Atlas

Code that ran

3 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 1 failure of our instrument; 6 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/2412.00308.json · badge: /api/ran/2412.00308.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
reml-lab/BOTS community
Papers with Code archive
3 ran · 6 no recorded run
FunctionStatusWhere it lives
Packing Ran
ran on a synthesized input · constructed an object; no result was computed
reml-lab/BOTS/BOTS/batch_agents.py
pointer only (licence: NONE) · get_code("fd3dedd297a20368")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reml-lab/BOTS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

TurboState Ran
ran on a synthesized input · constructed an object; no result was computed
reml-lab/BOTS/BOTS/batch_agents.py
pointer only (licence: NONE) · get_code("625214e9a51d1e55")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reml-lab/BOTS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

update_TurboState Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
reml-lab/BOTS/BOTS/batch_agents.py
pointer only (licence: NONE) · get_code("28d83db80a6ea5f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reml-lab/BOTS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BatchAgentBO Not yet run
unverified (harvested, no recorded run)
reml-lab/BOTS/BOTS/batch_agents.py
pointer only (licence: NONE) · get_code("8b154d91799aef45")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reml-lab/BOTS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

BatchAgentBase Not yet run
unverified (harvested, no recorded run)
reml-lab/BOTS/BOTS/batch_agents.py
pointer only (licence: NONE) · get_code("c5ee07841a004ecc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reml-lab/BOTS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ThompsonSamplingBayesLRAgent Not yet run
unverified (harvested, no recorded run)
reml-lab/BOTS/BOTS/batch_agents.py
pointer only (licence: NONE) · get_code("a22ff25e1228ec7d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reml-lab/BOTS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

create_TS_and_set_priors Not yet run
unverified (harvested, no recorded run)
reml-lab/BOTS/BOTS/batch_agents.py
pointer only (licence: NONE) · get_code("c46051f5c5414c1d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reml-lab/BOTS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate_TuRBO_batch Not yet run
unverified (harvested, no recorded run)
reml-lab/BOTS/BOTS/batch_agents.py
pointer only (licence: NONE) · get_code("43b92bdeec36b7ad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reml-lab/BOTS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_TS_coeffs Not yet run
unverified (harvested, no recorded run)
reml-lab/BOTS/BOTS/batch_agents.py
pointer only (licence: NONE) · get_code("d7493c4b601a1c89")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reml-lab/BOTS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

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

In settings where the application of reinforcement learning (RL) requires running real-world trials, including the optimization of adaptive health interventions, the number of episodes available for learning can be severely limited due to cost or time constraints. In this setting, the bias-variance trade-off of contextual bandit methods can be significantly better than that of more complex full RL methods. However, Thompson sampling bandits are limited to selecting actions based on distributions of immediate rewards. In this paper, we extend the linear Thompson sampling bandit to select actions based on a state-action utility function consisting of the Thompson sampler's estimate of the expected immediate reward combined with an action bias term. We use batch Bayesian optimization over episodes to learn the action bias terms with the goal of maximizing the expected return of the extended Thompson sampler. The proposed approach is able to learn optimal policies for a strictly broader class of Markov decision processes (MDPs) than standard Thompson sampling. Using an adaptive intervention simulation environment that captures key aspects of behavioral dynamics, we show that the proposed method can significantly out-perform standard Thompson sampling in terms of total return, while requiring significantly fewer episodes than standard value function and policy gradient methods.

For agents

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

get_harvested_code_for_paper("2412.00308")
get_code_for_paper("2412.00308")
have("2412.00308")

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

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

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

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

Connect an agent — have() is free.