Hierarchical POMDP Controller Optimization by Likelihood Maximization

Marc Toussaint, Laurent Charlin, Pascal Poupart · OpenReview

TL;DR

This paper proposes a novel method for discovering optimal hierarchical policies in partially observable environments by framing the problem as a maximum likelihood estimation task within a dynamic Bayesian network. This approach scales better than previous methods and demonstrates the effectiveness of learning hierarchies for improved planning performance.

What Problem Does This Paper Address?

Planning in partially observable environments (POMDPs) is notoriously difficult because the agent doesn't know the true state of the world. While breaking down complex tasks into smaller, hierarchical subtasks can simplify planning, discovering the optimal hierarchy is a significant challenge. Previous work by Charlin et al. formulated this hierarchy discovery as a non-convex optimization problem, which proved computationally intractable for real-world applications. This paper aims to address this scalability issue by proposing a more efficient method for simultaneously discovering and optimizing hierarchical policies.

Methods

The core of this paper's contribution lies in combining two existing techniques:

  • Dynamic Bayesian Networks (DBNs) for Hierarchical Structures: Inspired by Murphy and Paskin's work on hierarchical Hidden Markov Models (HMMs), the authors encode POMDPs with hierarchical controllers into DBNs. This allows the hierarchical structure and policy parameters to be represented as conditional probability tables within the DBN.
  • Maximum Likelihood Estimation (MLE) for Policy Optimization: They adapt Toussaint et al.'s MLE approach for policy optimization. Instead of directly optimizing the policy, they optimize it by maximizing the likelihood of observing rewards within the DBN framework. This is achieved using the Expectation-Maximization (EM) algorithm.

The process involves transforming the POMDP into a DBN, where the policy and hierarchy parameters become entries in the DBN's probability tables. The EM algorithm then iteratively refines these parameters by alternating between estimating the expected values of hidden variables (E-step) and updating the parameters to maximize the likelihood (M-step). They also introduce a "softened greedy M-step" to improve convergence and escape local optima.

Datasets

The paper evaluates their approach on several benchmark problems:

  • Paint
  • Shuttle
  • 4x4 maze
  • Chain-of-chains (a newly designed problem to analyze hierarchy discovery)
  • Hand-washing (a reduced version)
  • Cheese-taxi (a variant)

Key Insights and Ideas

  • MLE as a Scalable Alternative: Framing hierarchy discovery as an MLE problem within a DBN offers a significant scalability advantage over previous non-convex optimization approaches.
  • DBNs as a Natural Fit: Dynamic Bayesian Networks provide a flexible and expressive framework for encoding complex hierarchical structures and their associated policies.
  • Factored Controllers Offer Robustness: The paper introduces "factored controllers," which are more general than strictly hierarchical ones. These factored controllers demonstrate robustness and good performance across various problems, often outperforming strictly hierarchical or flat controllers.
  • Hierarchy Discovery Can Improve Planning: The experiments show that automatically discovering a hierarchy can lead to faster optimization and better policy values, especially when a good hierarchical policy exists.
  • Interpreting Discovered Hierarchies: While the method can discover effective hierarchies, these discovered structures are not always intuitively interpretable by humans, suggesting a trade-off between performance and human understanding.

Key Results

  • The proposed ML approach successfully tackles problems (like hand-washing and cheese-taxi) that were intractable for previous methods due to computational limitations.
  • For benchmark problems, the ML approach achieved comparable or better policy values than previous methods, often with larger controllers but with significantly better scalability.
  • The optimization time for hierarchical and factored controllers was demonstrated to be faster than for flat controllers, especially as the number of nodes increased.
  • Factored controllers, in particular, were found to be robust and often found the best policies across the tested problems.

Limitations and Future Work

  • Local Optima: The EM algorithm, while guaranteeing monotonic improvement in likelihood, is not guaranteed to converge to a global optimum. The authors acknowledge that escaping local optima remains a challenge.
  • Interpretability: The discovered hierarchies are not always human-interpretable, which could be a limitation for applications requiring clear understanding of the decision-making process.
  • Structure Learning: The current work assumes a fixed hierarchical structure. Future work could explore using structure learning techniques within the DBN framework to optimize the factored structure of the controller itself, potentially leading to better performance and circumventing local optima.
  • Exploiting Factored Structure: The current implementation does not fully exploit the factored structure of the DBN, which is a promising avenue for further scalability improvements.

Summary updated

BibTeX
@misc{toussaint2012hierarchical,
  author = {Marc Toussaint and Laurent Charlin and Pascal Poupart},
  title = {{Hierarchical POMDP Controller Optimization by Likelihood Maximization}},
  year = {2012},
  eprint = {1206.3291},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1206.3291},
}
Figure