Skip to main content

[TMLR 2026] LLM-FE: Automated Feature Engineering for Tabular Data with LLMs as Evolutionary Optimizers

License: MIT arXiv Hugging Face

Official implementation of LLM-FE: Automated Feature Engineering for Tabular Data with LLMs as Evolutionary Optimizers.

📄 Overview

LLM-FE is a novel framework that leverages Large Language Models (LLMs) as evolutionary optimizers to automate feature engineering for tabular datasets. LLM-FE iteratively generates and refines features using structured prompts, selecting high-impact transformations based on model performance. This approach enables the discovery of interpretable and high-quality features, enhancing the performance of various machine learning models across diverse classification and regression tasks.

⚙️ Installation

To run the code, create a conda environment and install the dependencies using requirements.txt:

conda create -n llmfe python=3.11.7
conda activate llmfe
pip install -r requirements.txt

🔧 Usage

In run_llmfe.sh file, set the OPENAI API key under

export API KEY = <ENTER YOUR API KEY>

To run the LLM-FE pipeline on a sample dataset:

bash run_llmfe.sh

✅ Evaluation

  • The generated features for each dataset are stored in the logs under the samples/ folder.

  • Install caafe into your environment before running the evaluation.

    conda activate llmfe
    pip install caafe
    
  • To run the evaluation, open the evaluation.ipynb notebook and set the pb_name variable to the dataset name you want to evaluate (i.e., replace the existing dataset name in pb_name with your target dataset), then run the notebook cells.

📝 Citation

@article{
abhyankar2026llmfe,
title={{LLM}-{FE}: Automated Feature Engineering for Tabular Data with {LLM}s as Evolutionary Optimizers},
author={Nikhil Abhyankar and Parshin Shojaee and Chandan K. Reddy},
journal={Transactions on Machine Learning Research},
issn={2835-8856},
year={2026},
url={https://openreview.net/forum?id=qvI35hkpOO}
}

📄 License

This repository is licensed under MIT licence.

This work is built on top of other open source projects like FunSearch and LLM-SR. We thank the original contributors of these works for open-sourcing their valuable source codes.

📬 Contact Us

For any questions or issues, you are welcome to open an issue in this repo, or contact us at nikhilsa@vt.edu and parshinshojaee@vt.edu.

Metadata

Release files for evoreason 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evoreason 1.0.0
File Size Uploaded Provenance Actions
evoreason-1.0.0.tar.gz 53.6 kB Without provenance Details for evoreason-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for evoreason 1.0.0
File Interpreter ABI Platform Actions
evoreason-1.0.0-py3-none-any.whl Python 3 none any Details for evoreason-1.0.0-py3-none-any.whl

Total release size: 108.7 kB

Release files / evoreason-1.0.0.tar.gz

Download URL evoreason-1.0.0.tar.gz
Size 53.6 kB
Tags Source
SHA-256 checksum
How to use checksums
786f543f194ad4af86ab8dea4be42e3619172767fa7f83cbb34b04159e95e000
BLAKE2b-256 checksum
How to use checksums
dc16913ed38cdfec8ec15b6d770608486f6485fe493a855c2bd23173f0d05fd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / evoreason-1.0.0-py3-none-any.whl

Download URL evoreason-1.0.0-py3-none-any.whl
Size 55.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad797b32f81cf9e45e33acb9417cbc440a0133e73c48d612702a6e4527c5a69e
BLAKE2b-256 checksum
How to use checksums
4e09acd56196b970a5b4fc6782987952ac8e96940ea640ff044d1536f29a7088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Security for evoreason 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page