Overview
This paper introduces a novel framework that decouples the "creative" and "evaluative" steps of feature engineering for tabular data. By using Large Language Models (LLMs) to propose features and a Bayesian Neural Network to select them—supplemented by strategic, low-effort human feedback—the system achieves significantly better model performance while reducing the cognitive burden on human experts.
The Challenge of Automated Feature Engineering
Feature engineering (FE)—the process of transforming raw data into more informative variables—is the "secret sauce" of high-performing machine learning models, especially for tabular data. While traditional AutoML tools can automate this process, they often lack the semantic "common sense" to know why certain features (like a ratio of "Income" to "Debt") make logical sense in the real world.
Recent attempts to use LLMs for FE have shown promise because LLMs inherently understand these semantics. However, current methods treat the LLM as a "black-box optimizer" that both proposes and selects features. This is problematic because LLMs are often overconfident and uncalibrated. They might repeatedly suggest "low-yield" features or fail to prioritize the most promising directions, wasting expensive computation and human time.
A Collaborative Human-LLM Framework
To address these limitations, the authors propose a collaborative framework that treats the LLM purely as a proposal engine rather than a final decision-maker. The core components of this approach include:
- Decoupled Selection: Instead of letting the LLM pick the best feature, the framework uses a Bayesian Neural Network (BNN) as a surrogate model. It maps feature descriptions (using text embeddings and a "column usage" bitmask) to predicted utility.
- Uncertainty-Aware Selection: Using the Upper Confidence Bound (UCB) algorithm, the system balances "exploitation" (choosing features likely to work) and "exploration" (trying features where the model is uncertain).
- Selective Human Elicitation: Recognizing that human experts have valuable domain knowledge, the system selectively asks for pairwise preference feedback (e.g., "Which of these two features is more promising?").
- The "Trigger" Mechanism: To avoid annoying the human, the system only asks for input when two conditions are met: the confidence intervals of the top two feature candidates overlap (meaning the AI isn't sure which is better), and the expected improvement from human advice outweighs a predefined "cognitive cost" threshold.
Datasets and Evaluation
The researchers evaluated their framework on 18 datasets from Kaggle and UCI Irvine, covering 13 classification tasks (e.g., flight delay prediction, loan approval, Titanic survival, and a proprietary user conversion dataset) and 5 regression tasks (e.g., housing prices, forest fire area).
Key Results
The proposed framework demonstrated substantial improvements over existing automated feature engineering baselines.
- Performance Boost: As shown in the results table, across the 13 classification datasets, the framework (with human feedback) achieved an average error reduction of 8.96% (using MLP) and 11.23% (using XGBoost) compared to the best existing baselines like CAAFE and AutoGluon.
- Efficiency and Faster Convergence: The system identified high-impact features much earlier in the process than "black-box" LLM methods, which often got stuck in local optima.
- User Study Success: In a study with 31 researchers and engineers, the proposed treatment led to significantly higher final model performance and lower completion times compared to a control group where humans led the process manually.
- Reduced Cognitive Load: Participants using the proposed framework reported significantly lower mental demand and frustration, as they only had to provide simple pairwise comparisons when prompted, rather than brainstorming features from scratch.
Limitations and Future Work
While highly effective, the framework still relies on multiple LLM calls per iteration, which can be expensive and slow for very large-scale applications. Additionally, in the large-scale synthetic study, the "human" was simulated by another LLM (GPT-4o) with access to feature importance scores. While the user study validated this approach, real-world human behavior can be more idiosyncratic.
Future directions suggested by the authors include exploring more complex forms of human feedback (like natural language critiques) and extending the framework to handle multi-modal data, such as tables combined with images or text.
Summary updated