Structure Learning in Ergodic Factored MDPs without Knowledge of the Transition Function's In-Degree

Doran Chakraborty, Peter Stone

Introduction

The paper introduces LSE-RMax, the first reinforcement learning algorithm for factored Markov Decision Processes (FMDPs) that can learn the underlying transition structure and achieve near-optimal performance without knowing the maximum number of "parent" variables ($K$) beforehand. By trading the requirement of knowing $K$ for a sufficiently long planning horizon, the authors provide a provably sample-efficient way to master complex, high-dimensional environments.

The Curse of Dimensionality and Unknown Structures

In Reinforcement Learning (RL), agents often struggle with the "curse of dimensionality"—as the number of state variables increases, the state space grows exponentially. Factored Markov Decision Processes (FMDPs) address this by assuming that each state variable (or "factor") only depends on a small subset of other variables, a structure often represented by a Dynamic Bayesian Network (DBN).

While previous state-of-the-art algorithms like Met-RMax could learn these structures, they required a crucial piece of prior knowledge: the in-degree ($K$), or the maximum number of parents any variable can have. In the real world, we rarely know exactly how many variables influence a specific outcome. If you guess $K$ too low, the agent never learns the true dynamics; guess too high, and the sample complexity (the amount of data needed) explodes. This paper tackles the challenge of learning the structure and planning optimally when $K$ is unknown.

Methods: LSE-RMax

The authors propose Learn Structure and Exploit RMax (LSE-RMax). The core innovation lies in how the agent decides it has "learned enough" about a variable's dependencies.

  1. Incremental Model Comparison: Instead of assuming a fixed $K$, the algorithm maintains multiple models of different sizes ($k=0, 1, \dots, n$). It compares a model of size $k$ with a model of size $k+1$. If the difference in their predictions ($\Delta_k$) is smaller than a statistical threshold ($\sigma_k$) derived from Hoeffding’s inequality, the algorithm concludes that the extra variable doesn't add significant information.
  2. Two Variants:
    • SSLA (Sequential): Used when there is a natural ordering of variables (e.g., a machine in a network is likely influenced by its immediate neighbors before distant ones).
  3. SLA (General): Used when the dependency structure is unknown. It searches through combinations of factors to find the most descriptive, minimal set.
Algorithm 3: FIND-BEST-MODEL-SLA
  1. Exploratory Phases: To prevent the agent from settling on a "good enough" but incomplete model, LSE-RMax periodically enters an exploratory phase. During these phases, it specifically seeks out data to test higher-order dependencies, ensuring it doesn't miss crucial parent factors.
  2. The Planning Horizon ($T$) Trade-off: The algorithm requires a planning horizon $T$ as input. The authors introduce "Condition 1," which states that $T$ must be large enough that planning with an incorrect (incomplete) set of parents results in a noticeably sub-optimal return. Essentially, they trade the hard-to-guess structural parameter $K$ for the more intuitive planning parameter $T$.

Key Insights and Ideas

  • Statistical Pruning: The use of $\Delta_k < \sigma_k$ allows the agent to "self-terminate" its search for parents once the predictive gains diminish, providing a mathematical basis for Occam's Razor in structure learning.
  • Horizon as a Proxy for Complexity: The insight that a sufficiently long planning horizon can "reveal" missing dependencies is powerful. If a variable is truly a parent, ignoring it will eventually lead to poor long-term rewards, which a large $T$ will detect.
  • Sample Efficiency: Despite not knowing $K$, the algorithm's sample complexity remains polynomial in $d^K$ (where $d$ is the number of possible values for a factor), which is the theoretical gold standard for these types of problems.

Key Results

The algorithm was evaluated on two classic RL benchmarks: Stock Trading (where a stock's price depends on previous prices of a subset of other stocks) and System Administrator (a network of computers where failure probability depends on a machine's own status and its immediate neighbors).

Cumulative rewards in Stock Trading and System Administrator domains
  • Theoretical Guarantees: The authors prove that LSE-RMax achieves a return very close to the optimal return ($U^*$) with high probability, given a sufficient planning horizon.
  • Superiority over Met-RMax: In the Stock Trading domain, LSE-RMax significantly outperformed Met-RMax, matching the performance of "Factored-RMax"—an agent that is given the true structure for free. It identified the correct structure for ~85% of the factors within just 1,000 time steps.
  • Rapid Learning: In the System Administrator task, LSE-RMax figured out the correct parent factors in about 400 steps, again matching the performance of the agent with prior structural knowledge.

Limitations and Future Work

  • Ergodicity Assumption: The theoretical proofs rely on the MDP being "ergodic," meaning every state is reachable from every other state under any policy. This doesn't hold for all real-world problems (e.g., those with "dead ends").
  • Known Rewards: The current version assumes the reward function is known to the agent, focusing entirely on learning the transition dynamics.
  • Condition 1 Sensitivity: While $T$ is arguably easier to guess than $K$, the performance still hinges on $T$ being "big enough." If the environment has very subtle long-term dependencies, $T$ might need to be prohibitively large.
  • Future Directions: The authors suggest further empirical testing in more diverse factored domains and potentially relaxing the ergodicity requirement.

Summary updated

BibTeX
@inproceedings{chakraborty2011structure,
  author = {Doran Chakraborty and Peter Stone},
  title = {{Structure Learning in Ergodic Factored MDPs without Knowledge of the Transition Function's In-Degree}},
  booktitle = {International Conference on Machine Learning},
  year = {2011},
}
Figure