NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Evolutionary Feature Engineering for Structured Data

Ege Onur Taga, Yilin Zhuang, Muhammed Emrullah Ildiz, Petros Mol, Abhimanyu Das, Karthik Duraisamy, Samet Oymak

TL;DR

This paper introduces Evolutionary Feature Engineering (EFE), a framework that leverages Large Language Models (LLMs) to automatically discover effective data preprocessing programs for structured data. EFE significantly improves the performance of time-series forecasting models and tabular classifiers by learning dataset-specific transformations, demonstrating the power of LLM-driven evolutionary search for enhancing structured data analysis.

What Problem Does This Paper Address?

Feature engineering, the process of creating new features from existing data to improve model performance, is crucial but often requires domain expertise and can be time-consuming. For structured data like time series and tables, identifying optimal transformations is challenging due to the complex interplay between data characteristics, downstream models, and the inherent structure of the data. While LLMs have shown promise in code generation, their application to automatically discover executable preprocessing programs that are dataset-specific and interpretable for structured data remains an open area. This paper aims to bridge this gap by proposing a framework that uses LLM-driven evolution to search for such programs.

Methods

The core of the paper is the Evolutionary Feature Engineering (EFE) framework. EFE treats feature engineering as an evolutionary search problem where candidate transformations are represented as Python programs adhering to a standard fit/transform interface.

Here's how it works:

  • LLM-driven Evolution: An LLM is prompted with dataset context, summary statistics, and feedback from previous trials to propose new feature engineering programs.
  • Standardized Interface: Candidate programs must implement fit (to learn parameters from training data) and transform (to apply the learned transformation). For time series, an inverse_transform is also required.
  • Evolutionary Loop:
    • Prompt Generation: A prompt generator provides the LLM with relevant information about the dataset and past performance.
  • LLM Proposal: The LLM generates a new program (a "rewrite").
  • Evaluation: The proposed program is tested by inserting it before a fixed downstream model. Its performance is scored against a baseline (e.g., identity transform).
  • Feedback: The score and other feedback (e.g., errors, complexity) are fed back into the evolutionary loop to guide future proposals.
  • Specializations:
    • EFE-Time: Focuses on time-series forecasting. It learns invertible dataset-specific normalizations to make time-series data more amenable to forecasting models. The invertibility is crucial for mapping forecasts back to the original scale.
  • EFE-Tab: Targets tabular prediction. It aims to discover compact and interpretable feature programs, balancing predictive improvement with feature complexity (penalizing unnecessary features).

Datasets

The paper evaluates EFE on a variety of datasets:

  • Time-Series Forecasting (EFE-Time):
    • GIFT-Eval datasets: A collection of ten datasets spanning healthcare, energy, finance, weather, transportation, and web/cloud operations.
  • Synthetic exponential-trend data: Used to demonstrate the framework's ability to handle specific data patterns.
  • Tabular Prediction (EFE-Tab):
    • TabArena benchmark datasets: Nine binary-classification datasets covering domains like telecommunications, employment, e-commerce, banking, healthcare, and sports.

Key Insights and Ideas

  • LLMs as Evolutionary Operators: LLMs can effectively act as sophisticated variation operators within an evolutionary search framework, generating novel and complex feature engineering programs beyond what hand-crafted rules or simpler search methods can achieve.
  • Dataset-Specific Transformations are Key: The most significant gains come from transformations tailored to the specific characteristics of each dataset, rather than generic approaches. EFE-Time's success with invertible normalizations and EFE-Tab's focus on parsimonious features highlight this.
  • Interpretability and Parsimony: EFE-Tab explicitly penalizes feature complexity, leading to more interpretable models, especially for decision trees. This is crucial for understanding why a model makes certain predictions.
  • Complementarity with Fine-Tuning: For time-series forecasting, learned normalizations from EFE-Time are not only effective on their own but also complement traditional model fine-tuning, yielding additive performance improvements.
  • Robustness to Model Size: While larger LLMs generally perform better, the study shows that even smaller, open-weight models can be effective within the EFE framework, though with some trade-offs in stability.

Key Results

  • Time-Series Forecasting (EFE-Time):
    • Improved MASE, WQL, and MAE by at least 3% on average across multiple time-series foundation models (Chronos-2, TimesFM 2.5, Moirai 2, Reverso).
  • Achieved up to 19% improvement on the COVID-Deaths dataset.
  • Demonstrated strong transferability: programs learned on Chronos-2 improved performance on other forecasters without re-training.
  • Showed additive benefits when combined with model fine-tuning.
  • Tabular Prediction (EFE-Tab):
    • Achieved the best mean rank among compared feature-engineering methods (including CAAFE and LLM-FE) across tabular datasets, particularly for decision trees.
  • Evolved compact and interpretable feature programs that improved or matched prior LLM-based methods.
  • Showed particular benefit for shallower decision trees, indicating its strength in learning simple, effective decision rules.

Limitations and Future Work

  • Hyperparameter Sensitivity: The authors acknowledge that the evolutionary process currently uses fixed hyperparameters. Future work could explore how these choices (e.g., exploration-exploitation ratio, number of islands) affect performance.
  • Feedback Mechanism: The quality and structure of feedback play a critical role. Further research could ablate which feedback components are most useful and when they help or hinder refinement.
  • LLM Bias: For EFE-Tab, there's a potential risk of LLMs introducing biases into the preprocessed data representations, especially when using column names for semantic cues. Careful supervision and human review of generated programs are recommended.
  • Non-Frontier LLMs: While EFE-Time can work with smaller LLMs, achieving stable performance comparable to frontier models requires more iterations and may still be challenging for certain datasets.
  • Broader Impact: The paper suggests exploring how evolutionary hyperparameters and feedback design influence program quality.

Summary updated

BibTeX
@inproceedings{taga2026evolutionary,
  author = {Ege Onur Taga and Yilin Zhuang and Muhammed Emrullah Ildiz and Petros Mol and Abhimanyu Das and Karthik Duraisamy and Samet Oymak},
  title = {{Evolutionary Feature Engineering for Structured Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hz6wl9NrRG},
}
Figure