Abstract
Bayesian experimental design (BED) has been used as a method for conducting efficient experiments based on Bayesian inference. The existing methods, however, mostly focus on maximizing the expected information gain (EIG); the cost of experiments and sample efficiency are often not taken into account. In order to address this issue and enhance practical applicability of BED, we provide a new approach Sequential Experimental Design via Reinforcement Learning to construct BED in a sequential manner by applying reinforcement learning in this paper. Here, reinforcement learning is a branch of machine learning in which an agent learns a policy to maximize its reward by interacting with the environment. The characteristics of interacting with the environment are similar to the sequential experiment, and reinforcement learning is indeed a method that excels at sequential decision making. By proposing a new real-world-oriented experimental environment, our approach aims to maximize the EIG while keeping the cost of experiments and sample efficiency in mind simultaneously. We conduct numerical experiments for three different examples. It is confirmed that our method outperforms the existing methods in various indices such as the EIG and sampling efficiency, indicating that our proposed method and experimental environment can make a significant contribution to application of BED to the real world.
Introduction
In scientific fields such as physics, medicine, and engineering, experiments are often the most resource-intensive phase of research. Bayesian Experimental Design (BED) provides a mathematical framework for selecting experimental settings that maximize the information gained about a model's parameters, typically by maximizing the Expected Information Gain (EIG). However, traditional BED approaches face significant hurdles in real-world applications: high computational costs for real-time decision-making, a "myopic" focus on immediate gains rather than long-term experimental sequences, and a frequent disregard for physical constraints like travel distance or time.
To bridge the gap between theoretical information gain and practical execution, this paper introduces RL-SED (Sequential Experimental Design via Reinforcement Learning). By framing experimental design as a reinforcement learning problem, the framework accounts for physical costs and improves computational efficiency through off-policy learning.
Methodology
The RL-SED Framework
RL-SED treats the experimental sequence as a Reinforcement Learning (RL) environment where an agent (the designer) interacts with a physical or simulated system. The core components of the framework include:
- Action Space ($a_t$): Instead of selecting absolute design parameters, the agent determines the change in design (e.g., the displacement of a sensor). This formulation naturally incorporates movement costs and physical constraints into the decision-making process.
- Reward Function: To avoid the prohibitive cost of calculating EIG at every step, the authors utilize Contrastive Information Bounds (CID). This computationally efficient lower bound for EIG is calculated at the end of an experimental episode, encouraging the agent to optimize for the total information gathered over the entire sequence.
- Optimization Algorithm: The framework employs Soft Actor-Critic (SAC), an off-policy algorithm. SAC maximizes both the expected reward and policy entropy, promoting effective exploration of the experimental space. Being off-policy, SAC is significantly more sample-efficient than previous on-policy methods, as it can reuse past experiences for training.
Experimental Setup
The performance of RL-SED was evaluated across three simulated benchmarks, each modified to include realistic physical constraints:
- Location Finding: A microphone must move to identify the locations of three sound sources. Constraints include a "fuel limit" (total travel distance) and a maximum movement speed per step.
- Source Inversion: Identifying the source of a chemical leak in a windy environment, requiring the agent to adapt to both diffusion and wind-driven displacement.
- Death Process: An epidemiological model used to estimate infection rates. A "monotonicity" constraint was added, ensuring observations occur forward in time to prevent unrealistic "teleportation" to past data points.
Key Results
Performance and Efficiency
RL-SED was compared against a random baseline and the previous state-of-the-art, Deep Adaptive Design (DAD). In the Location Finding task, RL-SED achieved a reward of 5.955, significantly higher than DAD’s 4.164.
Perhaps more striking is the improvement in training efficiency. RL-SED reached peak performance in just 15,000 episodes, whereas DAD required 750,000 episodes—a 50-fold improvement in sample efficiency. This speedup is primarily attributed to the use of the off-policy SAC algorithm, which leverages historical data more effectively than the on-policy methods used in prior work.
Robustness and Strategy
Beyond raw metrics, RL-SED demonstrated superior generalization. When tested in environments with noise levels or source distributions different from the training set, RL-SED maintained high performance. This suggests the agent learned a robust experimental strategy—such as making early-stage "sacrifices" to reach high-value data clusters—rather than simply memorizing specific paths.
Discussion and Future Work
While RL-SED represents a significant step forward, several challenges remain. The current model uses the entire history of designs and observations ($s_{0:t}$) as the state, which can lead to a "state space explosion" in long-running experiments. Future iterations could benefit from state-space reduction techniques, such as Recurrent Neural Networks (RNNs) or Transformers, to process long sequences more efficiently.
Additionally, while the simulations incorporated realistic constraints, the framework has yet to be deployed on physical robotic platforms or in real-world clinical trials. Transitioning from simulation to reality remains a primary goal for future research in sequential Bayesian experimental design.
Summary updated