Interactive Reinforcement Learning for Feature Selection With Decision Tree in the Loop

Wei Fan, Kunpeng Liu, Hao Liu, Yong Ge, Hui Xiong, Yanjie Fu

TL;DR

This paper tackles the trade-off between effectiveness and efficiency in automated feature selection by introducing an interactive reinforcement learning framework. By incorporating feedback from a downstream decision tree model, the system learns to represent feature subsets more effectively and assigns more personalized rewards, leading to improved feature selection performance.

What Problem Does This Paper Address?

Automated feature selection aims to identify the most relevant subset of features from a large pool to improve the performance of machine learning models. However, a common dilemma exists: traditional methods are efficient but may miss the optimal subset, while emerging reinforcement learning (RL) approaches can explore more thoroughly but are often computationally inefficient. This paper seeks to bridge this gap by developing an automated feature selection method that is both effective and efficient, leveraging interaction and structured knowledge.

Methods

The core of this work is an Interactive Reinforcement Learning (IRL) framework for feature selection. Instead of a single agent, the system uses multiple agents, each responsible for a single feature. These agents learn to select or deselect features based on their policy networks and advice from "trainers."

Key innovations include:

  • Joint Interaction Architecture: The framework unifies two types of interactions: (1) between agents and external trainers (mimicking human guidance), and (2) between the downstream predictive task (a decision tree) and the RL process.
  • Decision Tree Feedback (DTF): The decision tree, used as a downstream task, provides structured knowledge back to the RL loop. This feedback is used in two primary ways:
  • Improved State Representation: A Graph Convolutional Network (GCN) is employed to learn state representations that combine a feature-feature correlation graph with a directed tree structure derived from the decision tree's feature importance hierarchy. This captures richer relationships than a simple feature graph.
  • Personalized Reward Schemes: The decision tree's feature importance is used to assign rewards, giving higher rewards to agents that select more important features. Additionally, a reward scheme based on historical action frequency is introduced, assuming frequently selected features are more beneficial.
  • Trainer Diversity and Hybrid Teaching: To enhance the advice given to agents, the authors propose diversifying trainers (e.g., using KBest and Decision Tree as trainers) and a "Hybrid Teaching" strategy where different trainers guide agents at different stages of learning.

Datasets

The proposed methods were evaluated on several real-world datasets:

  • Pen-based Recognition of Digits (PRD)
  • Forest Cover (FC)
  • Spam
  • Insurance Company Benchmark (ICB)
  • Nomao
  • Musk
  • Epileptic Seizure Recognition (ESR)
  • QSAR oral toxicity

Key Insights and Ideas

  • Structured Knowledge is Powerful: The decision tree's inherent hierarchical structure provides valuable "feature knowledge" that can significantly improve both state representation and reward assignment in RL-based feature selection.
  • Interaction is Key: Combining agent-trainer interaction with downstream task feedback creates a more robust and efficient learning process than pure RL or traditional methods alone.
  • Personalized Rewards Matter: Moving beyond uniform reward distribution, tailoring rewards based on feature importance (from the decision tree) or action history leads to better agent behavior and ultimately, better feature subsets.
  • Diversity in Guidance: Using multiple trainers with different strengths and employing a phased teaching strategy (Hybrid Teaching) helps agents explore more effectively and avoid getting stuck in suboptimal solutions.

Key Results

The paper demonstrates that their proposed Interactive Reinforcement Learning (IRL) framework, particularly with Decision Tree Feedback (DTF), consistently outperforms baseline methods across various datasets.

  • Overall Performance: The IRFS method achieved the best overall accuracy ("Best Acc") on all eight tested datasets, outperforming traditional methods (KBest, DT-RFE, mRMR, LASSO) and a basic multi-agent RL feature selection method (MARLFS).
  • Exploration Efficiency: The trainer-guided approaches (IRFS with KBest, IRFS with Decision Tree, and IRFS with Hybrid Teaching) reached higher accuracy in fewer exploration steps compared to the baseline MARLFS, indicating improved efficiency.
  • Variant Method Improvements: The proposed state representation methods (SRDT1, SRDT2) and personalized reward schemes (PRS1, PRS2) individually contributed to improvements over the baseline MARLFS. The combination of both (SRDT+PRS) yielded the best results, highlighting the synergy of these components.

Limitations and Future Work

  • Computational Cost: While more efficient than some RL approaches, the framework still involves training decision trees and GCNs, which can be computationally intensive.
  • Trainer Dependency: The effectiveness of the trainers (KBest, Decision Tree) is crucial. The paper suggests that the choice and combination of trainers can impact performance.
  • Future Work: The authors suggest exploring other downstream tasks beyond decision trees to provide feedback, investigating more sophisticated trainer mechanisms, and potentially developing more advanced GCN architectures for state representation. They also note that the performance of action-changed agents indicates the value of the advised actions, suggesting further analysis into agent behavior and advice effectiveness could be beneficial.

Summary updated

BibTeX
@article{fan2023interactive,
  author = {Wei Fan and Kunpeng Liu and Hao Liu and Yong Ge and Hui Xiong and Yanjie Fu},
  title = {{Interactive Reinforcement Learning for Feature Selection With Decision Tree in the Loop}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2023},
  doi = {10.1109/tkde.2021.3102120},
}
Figure