Active Learning in Partially Observable Markov Decision Processes

Robin Jaulmes, Joelle Pineau, Doina PrecupECML 2005

Abstract

Learning the underlying dynamics of a partially observable environment is a significant hurdle for autonomous agents. Traditional methods for learning Partially Observable Markov Decision Processes (POMDPs) often suffer from slow convergence and local minima. This paper introduces MEDUSA (Markovian Exploration with Decision based on the Use of SAmpled Models), an active learning algorithm that incorporates an oracle to provide the true hidden state upon request. By intelligently balancing the cost of queries against the potential for model improvement, MEDUSA demonstrates the ability to learn near-optimal policies orders of magnitude faster than existing experience-based approaches across a variety of benchmark environments and robotics simulations.

Introduction

Partially Observable Markov Decision Processes (POMDPs) provide a robust mathematical framework for decision-making under uncertainty, particularly in environments where state information is incomplete or noisy. However, the practical application of POMDPs is often limited by the difficulty of learning the model parameters—specifically the transition and observation probabilities—from scratch. Existing techniques, such as Expectation-Maximization (EM) or Predictive State Representations (PSRs), typically require extensive data collection and are prone to suboptimal convergence.

This research addresses the challenge of efficient parameter estimation by introducing an active learning component. We propose an agent that can occasionally query an "oracle"—such as a human supervisor or a high-precision sensor—to reveal the true state of the environment. The primary objective is to develop a strategy that minimizes the number of expensive oracle queries while maximizing the speed and accuracy of policy learning.

Methodology: The MEDUSA Algorithm

The proposed algorithm, MEDUSA, utilizes a Bayesian reinforcement learning approach tailored for POMDPs. It operates through four primary mechanisms:

1. Bayesian Uncertainty Modeling

MEDUSA employs Dirichlet distributions to represent the agent's uncertainty regarding the transition and observation probabilities of the POMDP. This Bayesian approach allows for the seamless integration of prior knowledge. For instance, if an agent knows that a specific action cannot change the state, this can be encoded into the Dirichlet parameters, narrowing the search space from the outset.

2. Model Sampling and Policy Computation

Rather than maintaining a single point estimate of the environment, MEDUSA maintains a pool of POMDP models sampled from the current Dirichlet distributions. By computing policies for this ensemble of models, the agent naturally balances exploration and exploitation. Actions that are beneficial across multiple plausible models are prioritized, while actions that resolve ambiguity are favored during the learning phase.

3. Active Querying Heuristics

A critical component of MEDUSA is the decision-making process for querying the oracle. The agent evaluates three primary heuristics at each time step:

  • Alternate State Entropy: Measures the uncertainty of the current state estimate. If the state is already well-known from a recent query, further querying is unnecessary.
  • Information Gain: Estimates how much a query will improve the accuracy of the Dirichlet parameters.
  • Value Variance: Assesses the disagreement among the sampled models regarding the expected reward. High variance indicates that the current model uncertainty is impacting the policy's performance, signaling a need for more data.

4. Learning Updates

When a query is performed, the agent receives the true state and executes a "query update," directly refining the Dirichlet parameters. In the absence of a query, the agent performs a "non-query update" based on its current belief state, allowing for continuous, albeit less certain, learning.

Experimental Evaluation

MEDUSA was evaluated against standard POMDP benchmarks and a complex robotics simulation.

Benchmark Performance

The algorithm was tested on classic problems (Tiger, Paint, Shuttle) and larger grid environments (4x4 maze, Hallway, Network). In the "Network" problem, MEDUSA achieved 95% of the optimal return with only 1,300 queries. In contrast, Predictive State Representation (PSR) methods required over 2 million samples to achieve comparable results. On the "Tiger" problem, the agent converged to an optimal policy within approximately 300 queries, even when starting with zero prior knowledge.

Robotics Simulation

To test scalability, MEDUSA was implemented in the Carmen robotics simulator for the HIDE problem, involving a 362-state POMDP where a robot tracks a moving target. The agent successfully converged to a near-optimal policy in 12,000 time steps with 9,000 queries, demonstrating the algorithm's viability in high-dimensional state spaces.

Discussion

Several key insights emerged from the evaluation of MEDUSA:

  • Policy Stability vs. Model Accuracy: An agent does not require a perfect model to act optimally. By monitoring Value Variance, MEDUSA identifies when the policy has stabilized, allowing it to cease querying even if the model parameters are not yet exact.
  • Robustness to Noise: The algorithm is resilient to oracle errors. Experiments showed that MEDUSA could still converge with an oracle error rate of up to 20%, treating the noise as part of the environmental uncertainty.
  • Adaptability: By decaying the confidence of past parameters, MEDUSA can handle non-stationary environments, such as a robot experiencing sensor degradation.

Conclusion and Future Work

MEDUSA offers a significant advancement in the efficient learning of POMDPs by leveraging active learning and Bayesian uncertainty. While the computational cost of solving multiple sampled models remains a challenge, the massive reduction in required samples makes it a promising candidate for real-world robotics applications. Future work will focus on parallelizing model solvers and refining non-query learning techniques to further enhance performance and scalability.

Summary updated

BibTeX
@inproceedings{jaulmes2005active,
  author = {Robin Jaulmes and Joelle Pineau and Doina Precup},
  title = {{Active Learning in Partially Observable Markov Decision Processes}},
  booktitle = {ECML},
  year = {2005},
  doi = {10.1007/11564096\_59},
}
Figure