Hidden Markov Decision Trees

Michael I. Jordan, Zoubin Ghahramani, Lawrence K. SaulNeurIPS 1996

TL;DR

This paper introduces the Hidden Markov Decision Tree (HMDT), a novel probabilistic model that combines the hierarchical structure of decision trees with the temporal dynamics of Hidden Markov Models (HMMs). This allows for modeling time series data with complex, multi-scale temporal dependencies, overcoming limitations of previous models that assumed independent data points.

What Problem Does This Paper Address?

Traditional decision trees are excellent for segmenting input spaces but struggle with sequential data because they typically assume data points are independent and identically distributed (i.i.d.). On the other hand, Hidden Markov Models (HMMs) are well-suited for time series but lack the hierarchical, nested structure that decision trees provide for representing complex relationships. The authors aim to bridge this gap by creating a model that can capture both the hierarchical decomposition of decision trees and the temporal dependencies of HMMs, enabling more sophisticated analysis of time series data with multi-scale temporal structures.

Methods

The core innovation is the Hidden Markov Decision Tree (HMDT), which integrates HMMs and Hierarchical Mixture of Experts (HME) decision trees. The HMDT models decisions within a decision tree as multinomial random variables that evolve over time according to Markovian dynamics.

Since exact calculations for HMDTs are intractable, the paper proposes variational approximations. Specifically, they employ partially factorized variational approximations (building on Saul and Jordan, 1996). This approach involves simplifying the complex HMDT graph by removing some dependencies (arcs) to create tractable substructures (like forests of chains or forests of trees). The goal is to retain the most important dependencies while making computations feasible, guaranteeing a lower bound on the log-likelihood.

Three specific approximation strategies are explored:

  • Forest of Chains: Decouples the decision tree layers, treating each level as an independent chain.
  • Forest of Decision Trees: Decouples the time steps, treating each time slice as an independent decision tree.
  • Viterbi-like Approximation: A computationally efficient approximation that assigns probability one to a single, most likely sequence of hidden states, similar to the Viterbi algorithm used in standard HMMs.

Datasets

  1. Artificial Time Series Data: Generated from a three-level binary HMDT with no inputs. This synthetic data was designed to exhibit spatial and temporal structure at multiple scales, with different temporal scales assigned to each level of the decision tree.
  2. J.S. Bach's Chorales: A dataset of 30 melody lines, each with 40 events. Each event is encoded with attributes like start time, pitch, duration, key signature, time signature, and whether it's under a fermata. This dataset was chosen for its likely inherent spatial and temporal structure.

Key Insights and Ideas

  • Bridging Hierarchies and Time: The HMDT elegantly combines the nested decomposition of decision trees with the temporal modeling capabilities of HMMs, offering a powerful new tool for analyzing complex sequential data.
  • Intractability and Approximation: The inherent complexity of HMDTs necessitates sophisticated approximation techniques. The paper demonstrates the utility of partially factorized variational approximations in managing this complexity.
  • Multi-scale Temporal Structure: The model is capable of capturing temporal dependencies at different resolutions, as evidenced by the distinct temporal scales observed at different levels of the decision tree in both synthetic and real-world data.
  • Approximation Trade-offs: Different variational approximations (forest-of-chains, forest-of-trees, Viterbi-like) offer varying trade-offs between computational efficiency and accuracy, with the forest-of-chains showing promising results for capturing multi-scale structures.

Key Results

  • Artificial Data: The forest-of-chains approximation successfully identified and extracted the coarse, medium, and fine temporal scales present in the synthetic data, often assigning them to the correct hierarchical levels. The Viterbi-like approximation also yielded similar results. The forest-of-trees approximation was found to be less accurate for this data.
  • Bach Chorales: When applied to the Bach chorales, the HMDT models (with varying branching factors) demonstrated a consistent coarse-to-fine progression of temporal scales from the root to the leaves of the tree. For a branching factor of 4, the top level modeled time and key signatures, the middle node modeled start times, and the bottom node modeled pitch or duration, aligning with intuitive interpretations of musical structure. Table 1 quantifies the percentage of variance explained for different attributes and the temporal scales at each level.

Limitations and Future Work

  • Computational Cost: While approximations are used, exact calculations for HMDTs remain intractable, and even the approximations can be computationally intensive, especially for long time series.
  • Approximation Accuracy: The paper notes that the forest-of-trees approximation was not sufficiently accurate for the artificial data, highlighting that the choice of approximation method is crucial and data-dependent.
  • Future Work: The authors suggest that the HMDT is a natural extension to existing adaptive graphical probabilistic models and that their work is in its early stages. Further development and exploration of its capabilities are implied. The paper also briefly mentions the interest in considering more complex models with inter-nonterminal pathways for synchronization, which is not explored in this work.

Summary updated

BibTeX
@inproceedings{jordan1996hidden,
  author = {Michael I. Jordan and Zoubin Ghahramani and Lawrence K. Saul},
  title = {{Hidden Markov Decision Trees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1996},
  url = {https://openreview.net/forum?id=r1Wixub_Zr},
}
Figure