Abstract
Automated Feature Engineering (AFE) has emerged as a critical component in the machine learning pipeline, particularly through Reinforcement Learning (RL) based Feature Transformation (FT). However, existing methods suffer from a significant runtime bottleneck: the need to train and evaluate a downstream model for every proposed feature transformation. This paper introduces FastFT, a novel framework designed to accelerate the search process by up to 80%. By decoupling the search process from expensive downstream evaluations using a neural performance predictor and a novelty-based exploration strategy, FastFT achieves state-of-the-art performance with significantly reduced computational overhead.
1. Introduction
Feature Transformation (FT) involves creating new, more informative features from raw data using mathematical operations (e.g., $f_1 \times f_2$, $\log(f_3)$). While manual feature engineering is labor-intensive, automated RL agents have shown promise in navigating the vast search space of potential transformations. Despite their success, the "evaluation bottleneck" remains a primary hurdle. In traditional systems, the agent must wait for a full downstream model evaluation to receive a reward signal, a process that can account for 80% of the total runtime. Furthermore, the sparse reward nature of FT often leads agents to converge on local optima, failing to discover complex, high-impact feature combinations.
2. Methodology
FastFT addresses these challenges through a multi-faceted architectural approach that prioritizes both speed and exploration depth.
2.1 Cascading Reinforcement Learning Agents
To manage the complexity of the transformation space, FastFT utilizes a chain of three specialized agents:
- Head Agent: Selects the primary feature for transformation.
- Operation Agent: Selects the mathematical operator (e.g., addition, multiplication, or unary functions).
- Tail Agent: Selects the secondary feature for binary operations. This cascading structure allows for a more granular and manageable action space compared to monolithic RL models.
2.2 Performance Predictor (The Proxy)
To bypass the evaluation bottleneck, FastFT incorporates an LSTM-based Performance Predictor. This neural network is trained to estimate the potential performance gain of a transformation sequence. By using this proxy, the system can filter out low-potential transformations instantly, decoupling the search time from the size of the underlying dataset.
2.3 Novelty Estimator and Exploration
To prevent the agent from becoming stuck in repetitive, mediocre transformation cycles, FastFT employs a Novelty Estimator based on Random Network Distillation (RND). The system provides an intrinsic reward for "novel" transformations—those the agent has rarely encountered. This encourages the exploration of the "infinite" mathematical search space, leading to the discovery of non-obvious feature interactions.
2.4 Adaptive Evaluation Strategy
FastFT does not eliminate downstream evaluation entirely but optimizes its application. A "real" evaluation is only triggered if the Performance Predictor forecasts high accuracy or if the Novelty Estimator identifies a highly unique sequence. This selective approach ensures that computational resources are focused only on the most promising candidates.
3. Experimental Setup
The framework was evaluated across 23 diverse datasets, including 12 classification tasks, 7 regression tasks, and 4 detection tasks. FastFT was benchmarked against 10 leading baselines, including OpenFE, CAAFE (LLM-based), and AFT.
4. Results and Discussion
4.1 Efficiency and Scalability
FastFT demonstrated a dramatic reduction in runtime, achieving performance parity or superiority while utilizing only ~20% of the total runtime required by non-predictor versions. On the Amazon Employee dataset, a known benchmark for high-dimensional data, FastFT completed its search in 207 seconds, whereas traditional methods like OpenFE often struggled with scalability or excessive time requirements.
4.2 Accuracy and Performance
Across nearly all 23 datasets, FastFT outperformed the baselines. In the WBC detection task, FastFT achieved an AUC of 0.972, significantly outperforming random-based approaches (0.753). The inclusion of novelty rewards was particularly effective in identifying multi-step interactions, such as those found in the Wine Quality dataset, which standard greedy search algorithms typically miss.
4.3 Traceability
Unlike many "black-box" automated engineering tools, FastFT maintains full transparency. It generates explicit mathematical sequences (e.g., $(f_3 \times f_9 + 1) \times f_4$), providing domain experts with interpretable insights into the feature interactions that drive model performance.
5. Conclusion and Future Work
FastFT represents a significant step forward in making automated feature engineering practical for large-scale industrial applications. By substituting expensive evaluations with intelligent proxies and novelty-driven exploration, it breaks the primary bottleneck of RL-based feature transformation.
Future research will focus on two areas: integrating Large Language Models (LLMs) to provide semantic guidance (ensuring transformations are logically sound, such as not multiplying "Age" by "Zip Code") and improving robustness against high-dimensional noise in the initial state representation.
Summary updated