TopoFE: topology-aware LLM-guided Automated Feature Engineering
TOPOFE is a topology-aware multi-island evolutionary framework that enhances LLM-guided automated feature engineering by integrating family-specialized exploration, adaptive prompt memory, and topology-guided knowledge transfer to overcome the limitations of stateless generation and homogeneous search, thereby discovering diverse and high-performing feature programs across 29 tabular datasets.
Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.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 trying to teach a computer to make smart decisions, like predicting if a loan applicant will pay back their money or if a patient has a specific illness. The computer doesn't start with the answers; it needs to look at a spreadsheet of raw data—numbers, categories, and dates—and figure out what patterns matter. This process is called machine learning. But here's the tricky part: the raw data is often messy and hard to understand. Just like a chef can't make a great soup with only raw, unchopped vegetables, a computer often can't find the best patterns unless the data is transformed first. This transformation step is called feature engineering. It's the art of taking raw numbers and mixing them together to create new, smarter clues that help the computer see the truth. For a long time, humans had to do this by hand, guessing which combinations of numbers might be useful. Recently, we've started using super-smart computer programs called Large Language Models (LLMs) to help. Think of these LLMs as brilliant, well-read assistants who know a lot about math and science and can suggest new ways to mix the data. However, even these brilliant assistants have a problem: they sometimes get stuck in a rut, suggesting the same types of mixes over and over, or they forget what they tried before, wasting time on dead ends.
This is where a new framework called TOPOFE comes in. The researchers, Sha Li and Naren Ramakrishnan from Virginia Tech, realized that the space of possible data mixes is so huge and varied that a single, uniform search strategy isn't enough. They proposed a system that treats the search for the best data clues like a team of specialized explorers working in different territories, rather than one giant crowd.
Instead of having one big group of computer programs all trying to solve the problem at once, TOPOFE splits the work into five distinct "islands." Each island is a specialist team focused on a specific type of math trick. One island only looks at simple arithmetic like adding or multiplying numbers. Another focuses on statistics like averages and counts. A third looks at time-based patterns, like how sales change over the last week. Another handles relationships between different groups, and the last one deals with curved, non-linear shapes. By keeping these specialists separate, the system ensures that no single type of math trick takes over and blocks the others from being discovered.
But the real magic happens when these islands talk to each other. In older systems, if a team got stuck, they might just randomly swap ideas with another team, which often didn't help. TOPOFE is smarter. It uses a "topology graph," which is like a dynamic map that learns which teams are best at helping each other. If the "Time" island gets stuck, the system checks its map and sees that the "Arithmetic" island has the best ideas for helping them. It then triggers a special event where the two teams combine their best ideas to create something entirely new—a "hybrid" feature that neither team could have invented alone. For example, it might combine a time-based average with a division operation to create a brand-new, highly predictive clue.
The system also has a "memory" that learns from its own mistakes. If a certain type of math trick keeps failing on a specific dataset, the system remembers this and stops suggesting it, while reinforcing the tricks that are working. This happens without needing to retrain the main computer brain, making the search incredibly efficient.
The researchers tested this idea on 29 different real-world datasets, ranging from predicting heart disease to forecasting bike rentals. They found that TOPOFE consistently outperformed the best existing methods. It didn't just find better answers; it found more diverse answers. While other methods often ended up with a pile of very similar clues (redundancy), TOPOFE's specialized islands and smart teamwork produced a set of clues that covered more ground and worked well with different types of prediction models. The study suggests that by organizing the search into specialized, communicating groups and letting them learn when to swap ideas, we can unlock much more powerful ways to teach computers to understand our data. The results show that this approach is robust, working well even when the underlying computer "brain" changes, proving that the secret sauce is in the structure of the search itself, not just the intelligence of the model.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.