Skip to main content
QUICK REVIEW

[Paper Review] A Reinforcement Learning Approach to Online Learning of Decision Trees

Abhinav Garlapati, Aditi Raghunathan|arXiv (Cornell University)|Jul 24, 2015
Data Stream Mining TechniquesComputer Science10 references5 citations
TL;DR

This paper proposes RLDT, a reinforcement learning-based online decision tree algorithm that actively selects only the most informative features for classification and model learning, minimizing feature queries while maintaining high accuracy. By formulating decision tree learning as a Markov Decision Process (MDP), RLDT optimizes long-term performance rather than relying on greedy, short-term gains, outperforming batch and online baselines with significantly fewer feature queries and robustness to concept drift.

ABSTRACT

Online decision tree learning algorithms typically examine all features of a new data point to update model parameters. We propose a novel alternative, Reinforcement Learning- based Decision Trees (RLDT), that uses Reinforcement Learning (RL) to actively examine a minimal number of features of a data point to classify it with high accuracy. Furthermore, RLDT optimizes a long term return, providing a better alternative to the traditional myopic greedy approach to growing decision trees. We demonstrate that this approach performs as well as batch learning algorithms and other online decision tree learning algorithms, while making significantly fewer queries about the features of the data points. We also show that RLDT can effectively handle concept drift.

Motivation & Objective

  • To develop an online decision tree learning algorithm that minimizes the number of feature queries per data point while maintaining high classification accuracy.
  • To address the limitations of greedy, myopic feature selection in traditional decision tree algorithms by optimizing long-term return instead of immediate information gain.
  • To enable incremental learning in the presence of concept drift by leveraging the adaptive nature of online reinforcement learning.
  • To provide a unified framework where any RL algorithm can be used to learn the optimal decision tree policy, supporting diverse constraints like non-uniform feature costs.

Proposed method

  • Formalizes online decision tree learning as a Markov Decision Process (MDP), where states represent partial knowledge of a data point’s features, actions are feature queries or class predictions, and rewards are shaped to balance accuracy and query efficiency.
  • Uses a reward function that penalizes incorrect predictions and excessive queries, encouraging the agent to learn accurate, compact trees with minimal feature access.
  • Employs any standard reinforcement learning algorithm (e.g., Q-learning, policy gradient) to learn the optimal policy mapping states to actions, enabling flexible and scalable learning.
  • Introduces a state representation that tracks which features are known/unknown at each node, allowing dynamic and incremental learning without retraining from scratch.
  • Applies function approximation and dynamic pruning to manage large state and action spaces in high-dimensional or continuous feature settings.
  • Supports continuous features via discretization or online estimation of split points using models like Gaussian Mixture Models, enabling adaptation to continuous value distributions.

Experimental results

Research questions

  • RQ1Can reinforcement learning be effectively used to minimize feature queries in online decision tree learning while maintaining high classification accuracy?
  • RQ2How does an RL-based approach compare to traditional greedy, batch, and online decision tree algorithms in terms of accuracy and query efficiency?
  • RQ3Can RLDT effectively handle concept drift by adapting its policy over time in non-stationary data environments?
  • RQ4How does the long-term return optimization in RLDT compare to the myopic, information-gain-based splitting in conventional decision trees?
  • RQ5Can the RLDT framework be extended to handle high-dimensional and continuous feature spaces with efficient function approximation?

Key findings

  • On the Mushroom dataset, RLDT achieved 92.53% accuracy with only 2 feature queries per data point, outperforming C4.5 restricted to depth 2 (85.33% accuracy) despite fewer queries.
  • In the Electricity dataset, RLDT achieved 83.26% final accuracy and 81.15% mean accuracy, outperforming VFDT (75.8% final accuracy) and other online baselines.
  • RLDT demonstrated robustness to concept drift in the Electricity dataset, maintaining high performance with an appropriate learning rate, unlike many standard online algorithms.
  • The algorithm significantly reduced feature queries—achieving high accuracy with minimal feature access—demonstrating efficiency in data-scarce or costly feature environments.
  • RLDT eliminated the need for explicit pruning by naturally balancing generalization and accuracy through the RL reward formulation.
  • Experiments showed that RLDT’s performance was competitive with batch learning algorithms even under strict query limits, proving its effectiveness in low-information regimes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.