Feature Dynamic Bayesian Networks

Marcus Hutter

Abstract: This paper introduces Feature Dynamic Bayesian Networks ($\Phi$DBN), a framework designed to automate feature discovery and structure learning in reinforcement learning. By leveraging the Minimum Description Length (MDL) principle, $\Phi$DBN allows agents to balance model complexity with predictive accuracy, effectively mitigating the curse of dimensionality inherent in unstructured Markov Decision Processes (MDPs).

Introduction

In standard Reinforcement Learning (RL), environments are typically modeled as Markov Decision Processes (MDPs). However, "unstructured" MDPs suffer from the curse of dimensionality: as the complexity of the environment increases, the state space explodes, making learning computationally impossible. While Dynamic Bayesian Networks (DBNs) offer a solution by breaking states into smaller, interacting factors, they traditionally rely on human designers to hand-pick these features. $\Phi$DBN addresses this limitation by enabling an agent to autonomously discover which features to track and how they influence one another.

The $\Phi$DBN Framework

The $\Phi$DBN framework extends the previously proposed $\Phi$MDP model into a structured domain. It relies on a Feature Map ($\Phi$), a function that transforms a raw history of observations and actions into a compact vector of binary features.

A sample Dynamic Bayesian Network structure showing factored transitions between state features over time.

A critical component of this framework is the assumption of Factored Transitions. Instead of modeling the transition of the entire state at once, the model assumes that each feature at time $t$ depends only on a small subset of "parent" features from time $t-1$. This sparsity is what allows $\Phi$DBN to remain efficient even in complex environments.

Learning as Compression: The Cost Criterion

The paper's primary contribution is a mathematical cost criterion based on the Minimum Description Length (MDL) principle. This principle posits that the "best" model is the one that minimizes the total code length required to describe both the model itself and the data it explains. In the context of $\Phi$DBN, the agent seeks a feature map and a network structure that allow it to compress its experience (state sequences and rewards) most effectively. This creates a "Goldilocks" balance: if the feature map keeps too much history, the model becomes too complex; if it keeps too little, the environment appears non-Markovian and unpredictable.

Beyond transitions, the framework incorporates Local Reward Decomposition. It assumes that global rewards can be modeled as a sum of local rewards associated with individual features, using least-squares estimation to attribute credit. To find the optimal DBN graph, the paper discusses various structure search algorithms. While brute-force search is feasible for small feature sets, the author suggests heuristics like Mutual Information for larger, more complex systems.

Key Results and Conceptual Proof

As a theoretical advancement, the paper demonstrates the framework's utility through a "Simple Vacuum World" proof-of-concept. In this scenario, a robot must navigate two rooms that can be clean or dirty. The $\Phi$DBN framework successfully identifies a 3-feature model (Robot location, Room A status, Room B status) that perfectly captures environment dynamics, whereas an unstructured MDP would require a significantly larger state space.

Key findings include:

  • Complexity Reduction: $\Phi$DBN allows for algorithms that are polynomial in the number of features, provided the DBN structure remains sparse.
  • Incremental Updates: The model supports incremental updates, allowing agents to refine their world model in real-time as new data arrives.

Limitations and Future Outlook

While $\Phi$DBN represents a significant step toward autonomous feature engineering, several challenges remain. Finding the optimal feature map $\Phi$ in a vast functional space is computationally hard. Additionally, the current model assumes linear reward combinations and focuses primarily on binary features and small action spaces. Future work will need to extend these principles to continuous, real-valued observations and high-dimensional action spaces common in robotics.

Summary updated

BibTeX
@misc{hutter2008feature,
  author = {Marcus Hutter},
  title = {{Feature Dynamic Bayesian Networks}},
  year = {2008},
  eprint = {0812.4581},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/0812.4581},
}
Figure