[Paper Review] Feature Engineering for Predictive Modeling using Reinforcement Learning
This paper proposes a reinforcement learning (RL)-driven framework to automate feature engineering by exploring a transformation graph that systematically enumerates feature modifications. By learning performance-driven exploration policies, the method reduces predictive modeling error by 23.8% median relative absolute error across 24 datasets, outperforming expansion-reduction, random, and heuristic baselines while maintaining interpretable, composed features.
Feature engineering is a crucial step in the process of predictive modeling. It involves the transformation of given feature space, typically using mathematical functions, with the objective of reducing the modeling error for a given target. However, there is no well-defined basis for performing effective feature engineering. It involves domain knowledge, intuition, and most of all, a lengthy process of trial and error. The human attention involved in overseeing this process significantly influences the cost of model generation. We present a new framework to automate feature engineering. It is based on performance driven exploration of a transformation graph, which systematically and compactly enumerates the space of given options. A highly efficient exploration strategy is derived through reinforcement learning on past examples.
Motivation & Objective
- To address the lack of a systematic, automated approach to feature engineering, which is currently dominated by trial-and-error and domain expertise.
- To reduce the high human and computational cost of manual feature engineering in predictive modeling.
- To develop a performance-driven, budget-constrained exploration strategy that discovers effective feature transformations efficiently.
- To produce human-readable, compositional features that enhance model interpretability and performance.
Proposed method
- The framework constructs a transformation graph—a directed acyclic graph—encoding all possible feature transformations from original features.
- It uses reinforcement learning to learn an exploration policy that navigates the transformation graph to maximize predictive performance under a fixed budget.
- The RL agent is trained on historical feature engineering examples to learn a general bias for effective transformations, with variants conditioned on data types.
- The system supports composition of transformations (e.g., sine of a normalized feature), enabling complex, meaningful feature engineering.
- It integrates feature selection to prune irrelevant features and improve model efficiency.
- The exploration strategy is adaptive and constrained by a maximum number of nodes (B_max) and maximum transformation depth (h_max).
Experimental results
Research questions
- RQ1Can reinforcement learning learn an effective, performance-driven strategy for exploring the space of feature transformations in predictive modeling?
- RQ2How does an RL-based exploration policy compare to handcrafted strategies (e.g., breadth-first, depth-first) in finding high-performing feature sets?
- RQ3To what extent does the proposed method reduce modeling error compared to expansion-reduction, random, and heuristic baselines?
- RQ4How does the inclusion of feature selection and transformation composition impact final model performance?
- RQ5Does the RL policy generalize across diverse datasets and learning algorithms?
Key findings
- The proposed method reduced the median relative absolute error by 23.8% across 24 publicly available datasets compared to the base dataset.
- The RL-based exploration policy was 4–8 times more efficient than handcrafted strategies (breadth-first, depth-first, global) in finding optimal feature sets.
- The RL1 policy, which learns a general bias for transformations, outperformed RL2 (data-type conditioned) in efficiency, indicating that generalization improves search performance.
- The maximum performance was typically achieved with a transformation depth of 4–5 (h_max=4 to 5), while h_max=6 led to minor performance deterioration due to increased exploration cost.
- Including feature selection improved performance gains by 51% compared to no selection, demonstrating its value in filtering irrelevant features.
- The method outperformed or tied with expansion-reduction and Cognito’s global search in 23 out of 24 datasets, with only one case favoring expansion-reduction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.