Abstract
We present DATASET EVOLVER, an interactive Jupyter notebook-based tool to support data scientists perform feature engineering for classification tasks. It provides users with suggestions on new features to construct, based on automated feature engineering algorithms. Users can navigate the given choices in different ways, validate the impact, and selectively accept the suggestions. DATASET EVOLVER is a pluggable feature engineering framework where several exploration strategies could be added. It currently includes meta-learning based exploration and reinforcement learning based exploration. The suggested features are constructed using well-defined mathematical functions and are easily interpretable. Our system provides a mixed-initiative system of a user being assisted by an automated agent to efficiently and effectively solve the complex problem of feature engineering. It reduces the effort of a data scientist from hours to minutes.
Introduction
Feature engineering (FE)—the process of creating new input variables from existing ones to improve model performance—is often the most time-consuming part of the machine learning pipeline. It typically relies on a data scientist’s intuition and a tedious cycle of trial and error. While "AutoML" tools have made strides in model selection and hyperparameter tuning, they often treat feature engineering as a black box or a simple preprocessing step. Dataset Evolver addresses this gap by providing an interactive, interpretable, and mixed-initiative system that keeps the human expert "in the loop."
Methods and System Architecture
Dataset Evolver introduces a system where a human user is assisted by two primary automated strategies:
- Learning Feature Engineering (LFE): A meta-learning approach using a Multi-Layer Perceptron (MLP) trained on previous datasets. It predicts effective transformations (e.g., arithmetic or aggregate functions) in approximately one millisecond using "Quantile Sketch Arrays" to summarize data distributions.
- Cognito: A search-based approach rooted in reinforcement learning. It views feature engineering as a hierarchical "transformation tree," exploring combinations and using model validation scores as feedback to prune the search space.
The system is integrated directly into Jupyter notebooks via a clean API, allowing for seamless workflow integration.
User Experience and Visualization
The tool's mixed-initiative design allows users to navigate choices and validate the impact of transformations through built-in visualizations before committing to them. As shown in the interface, users can view transformation trees and side-by-side comparisons of original versus transformed features to assess class separation.
Key Insights
- The "Cold Start" vs. "Deep Search" Balance: LFE provides instant recommendations based on cross-dataset patterns, while Cognito performs deeper, data-specific searches. Combining them offers both speed and high performance.
- Interpretability: Unlike deep learning approaches that create "latent" features, Dataset Evolver uses well-defined mathematical functions (e.g.,
log(feature_A) * feature_B). This transparency is critical for high-stakes domains like finance or healthcare. - Efficiency and Latency: The tool reduces feature engineering time from hours to minutes, with the LFE component providing recommendations in an average of one millisecond per feature.
Conclusion and Future Work
While currently focused on classification, future iterations of Dataset Evolver aim to extend meta-learning patterns to regression and time-series data. The authors are also working on a "positive-feedback loop" where LFE’s predictions bias Cognito’s search, and Cognito’s results further refine the LFE meta-model, creating a continuously improving feature engineering ecosystem.
Summary updated