Chi-square Tests Driven Method for Learning the Structure of Factored MDPs

Thomas Degris, Olivier Sigaud, Pierre-Henri Wuillemin · OpenReview

Introduction

Reinforcement Learning (RL) in complex environments is often hindered by the "curse of dimensionality." Standard Markov Decision Processes (MDPs) require agents to learn about every individual state, which becomes computationally infeasible as the number of environmental variables grows. Factored MDPs (FMDPs) mitigate this by representing states as sets of variables and using Dynamic Bayesian Networks (DBNs) to describe interactions. However, traditional FMDP approaches often assume the structure is pre-defined by human experts. This paper introduces SPITI, an algorithm designed to learn these structures autonomously from scratch using incremental decision tree induction and Chi-square ($\chi^2$) tests.

Methodology: The SPITI Algorithm

SPITI (Structured Planning with Incremental Tree Induction) operates within the SDYNA (Structured DYNA) framework. It extends the classic DYNA architecture to handle factored representations.

Factored Representations and Decision Trees

The core of SPITI lies in representing transition and reward functions as decision trees. Each internal node in these trees performs a test on a specific state variable, while leaves store the resulting probabilities or rewards. This structure allows the agent to capture dependencies between variables efficiently.

Factored representation of an MDP using decision trees and DBN structure.

Incremental Learning with $\chi^2$ Tests

Unlike batch learning methods, SPITI updates its model after every interaction. It uses an Incremental Tree Inducer (ITI) to refine the decision trees. To prevent overfitting and maintain model compactness, SPITI employs the Chi-square ($\chi^2$) test of independence. A tree node is only split if a variable provides statistically significant information about the outcome. This thresholding mechanism allows the agent to build generalized models that can predict outcomes in states never previously visited.

Experimental Evaluation

The authors evaluated SPITI on three stochastic benchmarks:

  1. Coffee Robot: A navigation and delivery task with 6 boolean variables.
  2. Process Planning: A complex factory simulation with 17 binary variables, totaling over 1.8 million state-action pairs.
  3. Noisy Problem: A synthetic benchmark used to test robustness against 20% and 40% environmental noise.

Key Results and Insights

The experimental results highlight SPITI's superiority over traditional tabular methods in large-scale environments.

Scalability and Performance

In the high-dimensional Process Planning task, SPITI demonstrated rapid convergence to a near-optimal policy within approximately 2,000 steps. In contrast, the tabular DynaQ algorithm failed to show significant improvement even after 4,000 steps, as it could not generalize across the vast state space.

Performance comparison of SPITI against DynaQ and other baselines on the Process Planning task.

Model Compactness vs. Quality

A critical finding was the relationship between the $\chi^2$ threshold and model complexity. Increasing the threshold significantly reduced the number of nodes in the learned trees (e.g., from 1,800 to 700 in the Process Planning task) without substantially degrading the policy quality. This suggests that SPITI can effectively filter out irrelevant environmental noise, leading to more robust and efficient models.

Conclusion

SPITI provides a powerful framework for autonomous structure learning in FMDPs. By leveraging incremental decision tree induction and statistical significance tests, it enables agents to navigate and master environments with massive state spaces that are otherwise intractable for standard RL algorithms. Future work may involve integrating more sophisticated exploration strategies and exploring more complex DBN structures.

Summary updated

BibTeX
@misc{degris2006chi,
  author = {Thomas Degris and Olivier Sigaud and Pierre-Henri Wuillemin},
  title = {{Chi-square Tests Driven Method for Learning the Structure of Factored MDPs}},
  year = {2006},
  eprint = {1206.6842},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1206.6842},
}
Figure