Efficient Structure Learning in Factored-State MDPs

Alexander L. Strehl, Carlos Diuk, Michael L. Littman

Introduction

Reinforcement learning (RL) in complex environments often faces the "curse of dimensionality," where the state space grows exponentially with the number of features. Factored-state Markov Decision Processes (MDPs) offer a solution by assuming the environment has an underlying structure—specifically, that each state variable only depends on a small subset of others. However, most efficient algorithms require this structure to be provided by a human expert.

This paper introduces SLF-Rmax, the first RL algorithm for factored-state environments that is provably sample-efficient even when the underlying structure is unknown. By treating structure learning as an online prediction problem and applying the principle of "optimism under uncertainty," SLF-Rmax learns dependencies while simultaneously exploring the environment to maximize rewards.

The Problem: Learning Structure on the Fly

In a factored MDP, transitions are represented by a Dynamic Bayesian Network (DBN). While algorithms like Factored Rmax can exploit a known DBN to learn policies quickly, they fail if the structure is unknown. Previous attempts to learn structure during RL either lacked formal performance guarantees or relied on unrealistic assumptions, such as access to independent, identically distributed (i.i.d.) samples. SLF-Rmax bridges this gap by providing a way to learn the "map" of dependencies with a rigorous guarantee on the number of sub-optimal steps the agent will take.

Methodology: The SLF-Rmax Algorithm

SLF-Rmax (Structure-Learn-Factored-Rmax) is a model-based RL algorithm that utilizes a modular approach to structure learning:

  1. Reduction to Online Learning: Structure learning is framed as an online problem. For every input, the learner must either provide a highly accurate probability prediction or admit it is uncertain (returning $\emptyset$).
  2. Optimism Under Uncertainty: Following the Rmax philosophy, if the structure learner for any state-action pair returns $\emptyset$, the agent assigns that pair the maximum possible reward ($R_{max}$). This "optimism" incentivizes the agent to explore unknown parts of the state-variable dependency graph.
  3. Admissible Learners: The authors define a class of "admissible" structure-learning algorithms. This modularity allows SLF-Rmax to serve as a wrapper; any improved DBN or Decision Tree learner meeting these criteria can be integrated into the system.

Experimental Domain: Stock-Trading

To evaluate the algorithm, the authors designed a synthetic Stock-Trading domain. In this environment, the economy is divided into sectors, each containing individual stocks. A stock's probability of rising depends on the performance of other stocks within its specific sector. The agent's goal is to learn which stocks belong to which sectors and how they influence each other to decide which sectors to "own" for maximum profit.

The dependency structure of the Stock-Trading domain, illustrating how sector ownership and stock performance at time t influence states at time t+1.

Key Results and Empirical Performance

The primary theoretical contribution is the proof that SLF-Rmax is PAC-MDP (Probably Approximately Correct). The number of timesteps where the agent's policy is not near-optimal is bounded by a polynomial in the number of state factors ($n$).

Empirically, the Stock-Trading simulation demonstrated the necessity of structure-aware learning:

  • Factored Rmax (with known structure) learned the fastest, serving as a performance ceiling.
  • SLF-Rmax (with unknown structure) successfully learned the dependencies and reached near-optimal performance shortly after an initial exploration phase.
  • Standard Rmax (ignoring structure) failed to find an adequate policy within the experimental timeframe, as the state space was too large to explore without factoring.
Comparison of accumulated rewards: SLF-Rmax quickly approaches the performance of Factored-Rmax, while standard Rmax fails to learn an effective policy.

Limitations and Future Work

While SLF-Rmax provides strong theoretical guarantees, it faces a computational bottleneck. The algorithm requires re-solving the MDP frequently as the structure is updated, which is expensive in large domains. Future work involves integrating faster, approximate planners. Additionally, while the sample complexity is polynomial in the number of variables ($n$), it remains exponential in the maximum number of parents ($k$) a variable can have, limiting its use in highly dense dependency networks.

Summary updated

BibTeX
@inproceedings{strehl2007efficient,
  author = {Alexander L. Strehl and Carlos Diuk and Michael L. Littman},
  title = {{Efficient Structure Learning in Factored-State MDPs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2007},
}
Figure