stat.MLNov 4, 2026

TestBED: An Open-Source Toolkit for Bayesian Experimental Design

Authors: Gavin Kerrigan, Marcel Hedman, Sahel Iqbal, Tom Rainforth

Organizations: Department of Statistics, University of Oxford

Abstract

Bayesian experimental design (BED) is a principled framework for intelligent data acquisition with applications across a wide range of scientific and industrial domains. However, the development and adoption of BED remains hindered by a lack of standardised software and benchmarks. Existing methods are typically implemented in bespoke codebases and evaluated on a small subset of tasks, making methods difficult to apply, compare, or extend. To address this, we present TestBED, a general-purpose, open-source toolkit for Bayesian experimental design. TestBED decomposes the BED process into modular, reusable components spanning tasks, objectives, training mechanisms, policy architectures, and evaluation procedures, together with scalable implementations of core primitives such as expected information gain estimators. We provide a wide range of these components, which can be freely composed, allowing existing methods to be reproduced within a common framework, while also enabling previously unexplored configurations and new methodologies to be easily implemented and evaluated. Using TestBED, we further conduct a large-scale benchmark of contemporary BED methods, including controlled studies of under-appreciated but surprisingly critical methodological choices, such as the importance of time embeddings in design policy architectures. By providing a modular, extensible software foundation and a reproducible benchmarking suite, we hope that TestBED will accelerate methodological research in BED and lower the barrier to its real-world application.

Figures & tables

Appendix figures & tables17 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Action-BED: Task-Driven Bayesian Experimental Design with Singly Intractable Objectives

    Jun 22, 2026Tom Rossa, Angus Phillips, Tom RainforthBayesian Decision TheoryBayesian Experimental Design

  2. Constrained Bayesian Experimental Design via Online Planning

    May 26, 2026Yujia Guo, Daolang Huang, Xinyu Zhang +3Bayesian Experimental DesignSequential Experimental Design