TL;DR
Feature engineering is often a "black box" or a manual grind, but it doesn't have to be. This paper introduces GRFG (Group-wise Reinforcement Feature Generation), a framework that uses cascading reinforcement learning agents to automatically discover optimal, human-readable feature transformations. By moving from standard Q-learning to an Actor-Critic architecture and incorporating graph-based state representations, the authors achieve state-of-the-art performance across 29 diverse datasets while keeping the results fully traceable.
What Problem Does This Paper Address?
In machine learning, the "representation space"—the way data is structured before it hits a model—is everything. Traditionally, we have two choices:
- Manual Feature Engineering: Domain experts spend weeks brainstorming transformations (e.g., "maybe $age \times \text{income}$ matters"). This is slow and labor-intensive.
- Representation Learning (Deep Learning): Models learn "latent" features automatically. While powerful, these features are often "black boxes" that offer no explanation for why they work.
The authors identify three major gaps: full automation (removing the human in the loop), explainable explicitness (ensuring we can trace a feature back to its mathematical roots), and flexible optimality (creating a framework that works for any downstream model, from Random Forests to KNNs).
Methods
The core of the paper is the Group-wise Reinforcement Feature Generation (GRFG) framework. It breaks the problem down into a "cascading" decision process handled by three specialized agents:
- M-Clustering: Instead of treating every feature individually (which leads to a "feature explosion"), the system clusters similar features into groups based on a novel "Relevance-Redundancy Ratio." This makes the search space manageable.
- Cascading Agents: The system uses three agents in a sequence:
- Agent 1 selects the first feature group.
- Agent 2 selects a mathematical operation (e.g., plus, multiply, log, sqrt).
- Agent 3 selects the second feature group.
- Dual Optimization Perspective: The authors compare two ways to train these agents:
- Improved Q-Learning ($GRFG^v$): Uses a dual-network structure to prevent the "overestimation bias" common in standard reinforcement learning.
- Actor-Critic ($GRFG^\alpha$): This is the "star" of the paper. It uses an Actor network to learn the selection policy directly and a Critic network to evaluate it. This approach converges faster and performs better in high-dimensional spaces.
- Graph-Based State Representation: To help the agents "understand" the data, the authors represent the feature space as a graph where nodes are features and edges represent correlations. A Graph Autoencoder (GAE) then compresses this complex relationship into a vector the RL agents can use.
Datasets
The authors conducted an exhaustive evaluation using 29 publicly available tabular datasets sourced from UCI, LibSVM, Kaggle, and OpenML.
- 14 Classification tasks (e.g., Higgs Boson, Amazon Employee, Pima Indian).
- 10 Regression tasks (e.g., Housing Boston, Airfoil).
- 5 Outlier Detection tasks (e.g., Mammography, Thyroid).
This broad range ensures that the framework isn't just "overfitting" to one type of problem but is a general-purpose tool for tabular data.
Key Insights and Ideas
- Group-Wise is Greater than Point-Wise: By operating on groups of features rather than individual ones, the agents receive much stronger "reward signals." It’s easier for an agent to learn that "Financial Features" should be multiplied by "Tax Features" than to pick two specific columns out of thousands.
- Traceability is the "Aha" Moment: Because the agents select explicit operations (like
multiplyorlog), the final features are human-readable. For example, in the Housing Boston dataset, the system discovered thatlstat * lstat(the square of the lower-status population percentage) was a top predictor, revealing a non-linear relationship that a human might have missed but can easily understand. - The Actor-Critic Advantage: The shift to Actor-Critic was pivotal. While standard Q-learning struggled with the massive action space of feature combinations, the Actor-Critic model balanced exploration and exploitation more effectively, reaching higher accuracy in fewer training "epochs."
Key Results
- Superior Performance: The Actor-Critic variant ($GRFG^\alpha$) achieved the best average ranking (1.37) across all 29 datasets, significantly outperforming established baselines like NFS (4.63) and LDA (8.58).
- Significant Gains: On the Housing Boston dataset, the reconstructed feature space improved model performance (1-RAE) by 20.9% compared to using the original features.
- Efficiency: The improved Q-learning and Actor-Critic methods converged much faster than the original framework, making the "automated" part of the process practical for real-world use.
- Robustness: The framework improved results regardless of the downstream model used (Random Forest, XGBoost, SVM, etc.), proving it is "model-agnostic."
Limitations and Future Work
While the framework is highly effective, the authors note a few areas for growth:
- Computational Cost: Even with grouping, searching for transformations in extremely high-dimensional datasets (thousands of features) can be intensive.
- Pre-training: The authors suggest that incorporating pre-training techniques could further enhance the agents' ability to understand feature relationships before the optimization even begins.
- Operation Set: The current system uses a fixed set of mathematical operations. Expanding this to include more complex or domain-specific transformations could unlock even more performance.
Summary updated