← Latest papers
🤖 machine learning

LLM-FE: Automated Feature Engineering for Tabular Data with LLMs as Evolutionary Optimizers

This paper introduces LLM-FE, a novel framework that combines evolutionary search with Large Language Models to iteratively discover effective feature transformation programs for tabular data, thereby outperforming existing automated feature engineering methods by better leveraging domain knowledge and data-driven feedback.

Original authors: Nikhil Abhyankar, Parshin Shojaee, Chandan K. Reddy

Published 2026-05-12
📖 5 min read🧠 Deep dive

Original authors: Nikhil Abhyankar, Parshin Shojaee, Chandan K. Reddy

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a detective trying to solve a mystery using a pile of clues (data). Usually, you have to manually sift through these clues, combine them in clever ways, and create new "super-clues" to help you solve the case faster. This process is called Feature Engineering. In the world of machine learning, doing this manually is slow, boring, and requires a human expert to know exactly which combinations of clues might work.

The paper introduces a new tool called LLM-FE that automates this detective work using a "super-intelligent" AI (a Large Language Model) acting as a creative partner.

Here is how it works, broken down into simple concepts:

1. The Problem: The "Guessing Game"

Traditional automated tools try to solve this by blindly mixing and matching numbers (like adding Column A to Column B) based on a fixed list of rules. They are like a robot that only knows how to turn left or right, never realizing that sometimes you need to jump over a fence. They often miss the "aha!" moments that come from understanding the story behind the data (like knowing that "insulin" and "glucose" are related to diabetes).

2. The Solution: The "Evolutionary Chef"

The authors propose LLM-FE, which treats feature engineering like a cooking competition where the AI is the chef. Instead of just following a recipe, the AI is given:

  • The Ingredients: The raw data (e.g., patient age, blood sugar levels).
  • The Menu: The specific problem to solve (e.g., "predict if a patient has diabetes").
  • The Cookbook: The AI's own internal knowledge of the world (e.g., "I know that high sugar and low insulin are bad for health").

3. How It Works: The Four-Step Loop

The paper describes a cycle that repeats over and over, similar to how nature evolves species to survive better:

  • Step A: The Creative Spark (Generation)
    The AI looks at the data and the problem. It says, "Hmm, if I divide the insulin level by the glucose level, that might tell us something about how the body processes sugar." It writes a small computer program (a recipe) to create this new "super-clue."

    • Analogy: The chef invents a new sauce based on the ingredients and the dish they are trying to make.
  • Step B: The Taste Test (Evaluation)
    The new recipe is applied to the data. Then, a prediction model (a simple test) tries to solve the problem using this new data.

    • Analogy: The chef serves the new sauce to a judge. If the judge likes it (the score goes up), the recipe is good. If not, it's discarded.
  • Step C: The Memory Bank (Experience Management)
    This is the secret sauce of LLM-FE. The system doesn't just forget the failed recipes. It keeps a "Hall of Fame" of the best recipes it has ever made.

    • Analogy: Imagine a chef who keeps a notebook of their 10 best dishes. When they need to invent a new dish, they don't start from scratch; they look at their best past dishes and say, "What if I took the best part of Dish #3 and mixed it with the best part of Dish #7?"
  • Step D: The Evolution (Refinement)
    The AI uses the "Hall of Fame" to create even better versions of the recipes. It tries to "mutate" (change slightly) the best recipes to see if they can get even better.

    • Analogy: This is like natural selection. The strongest, tastiest recipes survive and evolve, while the weak ones die out.

4. Why It's Better Than the Rest

The paper compares LLM-FE to other methods and finds it wins for three main reasons:

  1. It Knows the Context: Unlike other robots that just do math, this AI understands what the data means. It knows that "Age" and "BMI" are related to health, so it creates features that make sense to humans, not just numbers.
  2. It Doesn't Get Stuck: Other methods often get stuck trying to improve one single idea. LLM-FE runs multiple "islands" of ideas at the same time. If one island gets stuck in a dead end, another island might find a shortcut.
  3. It Learns from Mistakes: By keeping a memory of what worked before, it gets smarter with every attempt, rather than just guessing randomly.

5. The Results

The researchers tested this on many different datasets (like predicting heart disease, housing prices, and car sales). They found that LLM-FE consistently made the prediction models more accurate than the old methods. It didn't just work with one type of AI; it helped different types of models get better at their jobs.

In a nutshell: LLM-FE is a system that uses a smart AI to invent new, meaningful ways to look at data. It acts like a creative chef who learns from its best past dishes, uses its knowledge of the world, and constantly experiments until it finds the perfect recipe to solve a problem.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →