Skip to main content
QUICK REVIEW

[Paper Review] Feature Selection Using Reinforcement Learning

Rasoul Sali, Sodiq Adewole|arXiv (Cornell University)|Jan 23, 2021
Evolutionary Algorithms and ApplicationsComputer Science12 references9 citations
TL;DR

This paper proposes a reinforcement learning (RL) approach to feature selection by modeling it as a Markov Decision Process (MDP), where the agent selects features sequentially to maximize predictive accuracy. Using a Temporal Difference learning algorithm with an epsilon-greedy strategy and a robust classifier for reward evaluation, the method achieves high accuracy—85.55% on the Australian dataset—while efficiently exploring the feature space and outperforming traditional filter and wrapper methods.

ABSTRACT

With the decreasing cost of data collection, the space of variables or features that can be used to characterize a particular predictor of interest continues to grow exponentially. Therefore, identifying the most characterizing features that minimizes the variance without jeopardizing the bias of our models is critical to successfully training a machine learning model. In addition, identifying such features is critical for interpretability, prediction accuracy and optimal computation cost. While statistical methods such as subset selection, shrinkage, dimensionality reduction have been applied in selecting the best set of features, some other approaches in literature have approached feature selection task as a search problem where each state in the search space is a possible feature subset. In this paper, we solved the feature selection problem using Reinforcement Learning. Formulating the state space as a Markov Decision Process (MDP), we used Temporal Difference (TD) algorithm to select the best subset of features. Each state was evaluated using a robust and low cost classifier algorithm which could handle any non-linearities in the dataset.

Motivation & Objective

  • To address the growing challenge of high-dimensional data by selecting optimal feature subsets that minimize bias and variance.
  • To overcome limitations of traditional feature selection methods such as filter-based scoring (ignoring feature dependencies) and wrapper methods (high computational cost).
  • To formulate feature selection as a sequential decision-making problem using RL, enabling efficient exploration and exploitation of feature subsets.
  • To improve model interpretability, prediction accuracy, and computational efficiency through an RL-driven feature selection strategy.
  • To evaluate the method's performance against standard filter and wrapper approaches on datasets of varying feature space sizes.

Proposed method

  • The feature selection problem is modeled as a Markov Decision Process (MDP), where each state represents a subset of selected features.
  • Actions correspond to adding one unselected feature to the current subset, with the action space dynamically shrinking as features are added.
  • A temporal difference (TD) learning algorithm updates state values based on the difference in classification accuracy between successive states, using a robust, low-cost classifier for reward estimation.
  • An epsilon-greedy strategy balances exploration and exploitation: random actions are taken on first visits to a state, while greedy actions are selected on subsequent visits based on accumulated outcome rewards (AOR table).
  • The agent proceeds through episodes, sequentially adding features and updating the AOR table until all features are included or a stopping condition is met.
  • The method incorporates a hybrid exploration phase, switching to random selection when a new node is reached, to maintain diversity in feature selection.

Experimental results

Research questions

  • RQ1Can reinforcement learning effectively model feature selection as a sequential decision-making process with meaningful state and action spaces?
  • RQ2How does the proposed RL-based feature selection method compare in accuracy and efficiency to traditional filter and wrapper methods?
  • RQ3To what extent does the epsilon-greedy strategy with AOR-based value updates improve exploration and convergence in feature subset selection?
  • RQ4How scalable is the RL-based approach across datasets with varying numbers of features and samples?
  • RQ5Can the RL agent learn a policy that consistently selects high-performing feature subsets without exhaustive search?

Key findings

  • The RL-based method achieved a classification accuracy of 85.55% ± 0.039 on the Australian dataset, outperforming standard filter and wrapper baselines.
  • On the Breast Cancer Wisconsin (Prognostic) dataset, the method reached 76.29% ± 0.007 accuracy, demonstrating strong performance on medium-sized feature spaces.
  • For the Connectionist Bench dataset with 60 features, the method achieved 73.69% ± 0.108 accuracy, indicating scalability to larger feature sets.
  • Increasing the epsilon value led to higher state visitation rates, confirming effective exploration control through the epsilon-greedy strategy.
  • The state value function increased to a maximum of approximately 3.5 by the 50th episode on the Australian dataset, indicating learning progress over time.
  • The RL agent demonstrated superior feature ranking accuracy compared to filter-based methods, as shown in comparative performance plots across datasets.

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.