Active Exploration via Experiment Design in Markov Chains

Mojmir Mutny, Tadeusz Janik, Andreas Krause

Abstract

A key challenge in science and engineering is to design experiments to learn about some unknown quantity of interest. Classical experimental design optimally allocates the experimental budget into measurements to maximize a notion of utility (e.g., reduction in uncertainty about the unknown quantity). We consider a rich setting, where the experiments are associated with states in a Markov chain, and we can only choose them by selecting a policy controlling the state transitions. This problem captures important applications, from exploration in reinforcement learning to spatial monitoring tasks. We propose an algorithm – MARKOV-DESIGN – that efficiently selects policies whose measurement allocation provably converges to the optimal one. The algorithm is sequential in nature, adapting its choice of policies (experiments) using past measurements. In addition to our theoretical analysis, we demonstrate our framework on applications in ecological surveillance and pharmacology.

Introduction

In many scientific fields, the goal is to characterize an unknown "quantity of interest"—such as the density of a tree species across a vast forest or the metabolic rate of a drug in a patient's bloodstream. Classical Optimal Experimental Design (OED) provides a mathematical foundation for determining where to take measurements to minimize uncertainty. However, traditional OED assumes that any measurement point can be chosen at will.

In real-world scenarios, measurements are often constrained by physical movement through an environment. If the environment is modeled as a Markov Chain, the agent's movement is governed by policies and stochastic transitions. This introduces three major hurdles: the combinatorial complexity of the policy space, the stochastic nature of transitions, and the difficulty of formulating uncertainty reduction as a function of a policy. This paper introduces MARKOV-DESIGN, a framework that bridges OED with reinforcement learning to solve these challenges.

The MARKOV-DESIGN Framework

The core innovation of the MARKOV-DESIGN algorithm is treating experiment design as a Convex Reinforcement Learning problem. Instead of optimizing over an exponential number of possible trajectories, the algorithm focuses on the State-Action Visitation Polytope. This allows the problem to be reduced to finding a distribution of states and actions that maximizes information gain.

Overview of the MARKOV-DESIGN framework: (a, b) gridworld environments and (c) the mapping between policy space, state-action visitation distributions, and trajectory probabilities.

The algorithm utilizes a Frank-Wolfe (conditional gradient) optimization approach. In each episode, the agent evaluates the data collected thus far, calculates the gradient of the uncertainty objective, and identifies a new policy that targets the most informative areas. The paper proposes two main variants:

  • EXACT: Computes the optimal next policy for the current objective.
  • ONE-STEP: A computationally efficient version that performs a single improvement step per episode.

For non-smooth objectives, such as E-design (which minimizes worst-case error), the authors employ Nesterov’s smoothing technique to ensure stable convergence.

Experimental Evaluation

The researchers evaluated MARKOV-DESIGN across three distinct domains:

  1. Synthetic Gridworlds: Used to benchmark the algorithm against varying levels of transition stochasticity.
  2. Ecological Surveillance: Utilizing a real-world dataset of the Beilschmiedia tree genus in Africa, where an agent must plan paths to map species density based on environmental covariates like soil type and elevation.
  3. Pharmacokinetics: A simulated medical study where the goal is to identify drug absorption rates by determining optimal blood sampling times under strict constraints on the total number of samples.

Key Results and Convergence

Theoretical analysis proves that MARKOV-DESIGN converges to the optimal experimental design at a rate of $O(1/\sqrt{T})$ for general cases. In practice, the algorithm often exhibits a faster $O(\log T / T)$ rate.

Empirical convergence rates of MARKOV-DESIGN variants (ONE-STEP, EXACT, TRACKING) compared to baselines in deterministic and stochastic gridworlds.

As shown in the convergence plots, the adaptive methods (ONE-STEP and EXACT) reach near-zero suboptimality significantly faster than non-adaptive or random baselines. This efficiency is largely due to the algorithm's ability to "fill the gaps" in knowledge. While static policies often suffer from the "Coupon Collector" problem—repeatedly measuring the same states—MARKOV-DESIGN actively avoids well-explored regions to maximize information gain.

Discussion and Future Work

MARKOV-DESIGN demonstrates that by linearizing uncertainty objectives, the search for information can be transformed into a standard RL problem where the "reward" is the gradient of information gain. This allows the use of off-the-shelf RL solvers as subroutines.

However, some limitations remain. The current framework assumes the Markov transition model is known beforehand. A natural extension is Active Reinforcement Learning, where the agent must simultaneously learn the environment's map and the quantity of interest. Additionally, while the visitation polytope approach is efficient, scaling to very high-dimensional state spaces may require advanced function approximation techniques, such as Linear MDPs, to maintain practical performance.

Summary updated

BibTeX
@inproceedings{mutny2023active,
  author = {Mojmir Mutny and Tadeusz Janik and Andreas Krause},
  title = {{Active Exploration via Experiment Design in Markov Chains}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=fvWgmqP4lI},
}
Figure