Abstract
Automating feature engineering for tabular data using Large Language Models (LLMs) is a promising frontier, yet these models often underperform compared to specialized tools. This research identifies a significant "simplicity bias" in LLMs, where models favor basic arithmetic operations over complex, performance-driving transformations. By evaluating frontier and open-source models against the state-of-the-art OpenFE tool, the study reveals that LLMs frequently generate redundant or noisy features, leading to a net decrease in predictive performance on standard benchmarks.
Introduction
Feature engineering is a critical yet labor-intensive step in machine learning pipelines, traditionally requiring domain expertise to transform raw variables into predictive signals. While LLMs are being integrated into these pipelines to leverage their vast "world knowledge," their functional biases remain poorly understood. This paper investigates whether LLMs systematically favor certain mathematical operations, potentially overlooking complex transformations that are essential for high-performance tabular modeling.
Methodology
The researchers proposed a three-stage framework to evaluate LLM performance and bias in feature engineering:
- Memorization Test: Ensuring models are not simply recalling known datasets from training.
- Feature Engineering: Prompting models (GPT-4o-mini, Gemini-1.5-flash, Llama3.1-8B, Mistral7B-v0.3) to generate features using a constrained set of 21 operators.
- Comparative Analysis: Benchmarking LLM-generated features against those produced by OpenFE, a performance-driven automated feature engineering tool.
Experimental Setup
The study utilized 27 classification datasets from the OpenML AutoML benchmark, covering diverse domains like medicine and finance. To isolate functional bias from linguistic cues, the authors also conducted experiments using masked random searches where operator names were hidden from the models.
The Simplicity Bias
A core finding of the research is the pronounced simplicity bias in frontier models. GPT-4o-mini and Gemini-1.5-flash concentrated over 90% of their suggestions into just five operators, primarily basic arithmetic like addition, subtraction, and multiplication. In contrast, specialized tools like OpenFE utilize a much broader and more complex distribution of operators to achieve optimal results.
Key Results and Performance Impact
- Performance Disparity: OpenFE improved ROC AUC on 21 of 27 datasets (+0.638% average). Conversely, frontier models like GPT-4o-mini and Gemini-1.5-flash caused an average performance decrease (-0.507% and -1.161% respectively), suggesting their "simple" features often introduced noise.
- Model Size vs. Bias: Smaller open-source models (Llama3.1-8B and Mistral7B-v0.3) exhibited less simplicity bias than their larger counterparts and provided modest performance gains (+0.16% average).
- Intentionality: The bias persisted even when operator positions were randomized, indicating it stems from internal model logic rather than prompt structure.
Conclusion and Future Work
LLMs currently struggle to match the efficacy of specialized feature engineering tools due to a deep-seated preference for simple arithmetic. Future research should focus on mitigation strategies such as in-context learning with complex examples or fine-tuning smaller models on high-quality feature engineering traces to bridge this performance gap.
Summary updated