Policy Design for Active Sequential Hypothesis Testing using Deep Learning

Dhruva Kartik, Ekraam Sabir, Urbashi Mitra, Prem NatarajanarXiv 2018

TL;DR

This paper tackles the challenge of Active Sequential Hypothesis Testing (ASHT)—the art of asking the fewest possible questions to identify a hidden truth—by framing it as a reinforcement learning problem. The authors introduce two novel heuristics, one based on Deep Q-Networks (DQN) and another on a KL-divergence zero-sum game, which significantly outperform traditional "greedy" methods in scenarios requiring long-term strategic planning.

What Problem Does This Paper Address?

Imagine you are playing a high-stakes game of "20 Questions." Your goal isn't just to guess the right answer, but to do so using the absolute minimum number of queries. In engineering, this is known as Active Sequential Hypothesis Testing. It has massive implications for everything from medical diagnostics and anomaly detection to cognitive radio and robotics.

Mathematically, this is often modeled as a Partially Observable Markov Decision Process (POMDP). The "partial observability" comes from the fact that you don't know the true state (the hypothesis); you only see noisy observations resulting from your queries. While we have tools like Dynamic Programming to find optimal policies, solving POMDPs is PSPACE-hard, meaning it is computationally infeasible for most real-world problems. Consequently, researchers usually rely on heuristics that are either "greedy" (looking only one step ahead) or "asymptotic" (only optimal if you have an infinite amount of time). This paper seeks better heuristics for the "non-asymptotic" regime—where every query counts.

Methods

The authors propose a shift from traditional information-theoretic heuristics to a control-theoretic framework:

  1. MDP Reformulation: They define the "state" as the agent's current belief (a probability distribution over hypotheses). The "reward" is the increase in Bayesian Log-Likelihood Ratio (BLLR), essentially a measure of how much more confident the agent becomes in the true hypothesis after an observation.
  2. Deep Q-Learning (DQN): They train a Deep Q-Network to approximate the optimal action-value function. To handle the fact that beliefs on incorrect hypotheses can become infinitesimally small (making it hard for a neural network to "see" them), they implement a belief normalization trick, augmenting the input vector with normalized alternate beliefs.
  3. KL-divergence Zero-sum Game (HEU): They introduce a game-theoretic heuristic. Here, the agent acts as a player trying to maximize the information gain (KL-divergence), while "Nature" acts as an adversary choosing the most difficult alternate hypothesis to distinguish. This results in an adaptive policy that is more robust than standard open-loop methods.
  4. Recurrent Neural Networks (RNNs): The authors also experimented with an LSTM-based architecture to see if it could implicitly learn both inference and query selection. While the LSTM successfully learned to track the hypothesis, it struggled to learn the query selection policy due to the non-differentiable nature of the query-observation loop.

Datasets

The paper relies on synthetic numerical simulations rather than standard external datasets. They designed two specific environments to test the limits of different policies:

  • Setup 1: A baseline with three hypotheses and two queries.
  • Setup 2: A more complex scenario with four queries, where two of the queries are "traps"—they look good in the short term (greedy) but are significantly less efficient than the other two over a longer horizon.

Key Insights and Ideas

  • Confidence as a Reward: By using the log-odds (BLLR) instead of raw probabilities, the authors create a reward signal that remains meaningful even as the agent approaches 100% certainty.
  • The Failure of Greed: A major insight is that standard heuristics like Extrinsic Jensen-Shannon (EJS) divergence are inherently greedy. In Setup 2, EJS fails because it cannot "see" that a currently low-reward query will lead to a massive information gain a few steps down the line.
  • Deep RL for Planning: The DQN approach successfully learns these long-term consequences, proving that reinforcement learning can discover sophisticated sensing strategies that human-designed heuristics miss.

Key Results

  • Superior Efficiency: In the complex query setup (Setup 2), the DQN and HEU heuristics achieved a significantly higher expected confidence rate than existing state-of-the-art methods like EJS and Open Loop Verification (OPE).
  • Near-Optimality: The proposed heuristics reached performance levels very close to the theoretical "Optimal Rate" upper bound derived in the paper.
  • Adaptivity Matters: The HEU (game-theoretic) approach showed that being adaptive during the "verification phase" of testing is much more efficient than the traditional open-loop (randomized) approach used in prior literature.

Limitations and Future Work

  • The Differentiability Gap: The failure of the end-to-end LSTM approach highlights a common hurdle in RL: the "black box" of the environment (the query result) prevents the use of standard backpropagation for query selection. The authors suggest that hard-decision models or specific RL techniques are needed to bridge this.
  • State Space Complexity: While DQN worked well here, the belief state space is uncountably infinite. Scaling this to problems with hundreds or thousands of hypotheses remains a challenge.
  • Theoretical Links: The authors note that the precise mathematical relationship between their "confidence maximization" and traditional "error probability decay" is not yet fully mapped out, marking a clear path for future theoretical research.

Summary updated

BibTeX
@misc{kartik2018policy,
  author = {Dhruva Kartik and Ekraam Sabir and Urbashi Mitra and Prem Natarajan},
  title = {{Policy Design for Active Sequential Hypothesis Testing using Deep Learning}},
  year = {2018},
  eprint = {1810.04859},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.04859},
}
Figure