← Latest papers
💻 computer science

LLM-Guided Evolutionary Search for Constraint Model Reformulation to Improve Solver Efficiency

This paper proposes an LLM-guided evolutionary search framework enhanced by a Profile-Diverse Retention (PDR) strategy that maintains behavioral diversity in candidate reformulations, demonstrating that such diverse context selection combined with validation-based model choice significantly improves solver efficiency on combinatorial problems compared to strategies relying solely on recency or performance.

Original authors: Kostis Michailidis, Dimos Tsouros, Nguyen Dang, Tias Guns

Published 2026-07-31
📖 4 min read☕ Coffee break read

Original authors: Kostis Michailidis, Dimos Tsouros, Nguyen Dang, Tias Guns

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 trying to solve a massive, mind-bending puzzle. In the world of computer science, this is called "Constraint Programming." It's the magic behind everything from scheduling airline flights and organizing factory assembly lines to cracking secret codes and planning the perfect school timetable. The tricky part isn't just finding an answer; it's finding the answer fast. To do this, humans write "models"—a set of strict rules and instructions that tell a computer solver exactly how to look for the solution. Think of the model as a map. A good map gets you to the destination quickly, but a bad map might send you in circles for hours, even if it technically leads to the right place.

For a long time, experts have known that the way you draw this map matters more than the solver itself. But drawing the best map is hard work. Recently, we've met a new assistant: Large Language Models (LLMs). These are the super-smart AI chatbots that can read a problem description and write the rules for you. They are great at getting the rules right, but they aren't always great at making the rules fast. It's like having a chef who can perfectly follow a recipe but doesn't know how to chop vegetables efficiently. This paper asks a big question: Can we teach these AI chefs to not just cook the meal, but to redesign the kitchen so the meal gets cooked in record time?

The researchers behind this study decided to treat model creation like a game of evolutionary survival. Instead of asking the AI to write the perfect model in one go, they set up a loop where the AI tries, fails, learns, and tries again. They call this an "evolutionary search." Here's how it works: The AI proposes a new version of the puzzle rules (a "reformulation"). A computer then tests this new version against the old one. If the new version is faster, it gets to stay in the game. If it's slower or wrong, it gets cut. The AI then looks at its past attempts and the feedback it received to write the next, hopefully better, version.

The team tested ten different strategies for how the AI should remember its past attempts. Some strategies told the AI to only look at its very last try (like a student who only studies the night before). Others told it to only remember the fastest attempts it ever made (like a runner who only looks at their personal bests). But the researchers suspected that these approaches were too narrow. They wondered if the AI needed a more diverse "memory bank"—a mix of fast attempts and attempts that solved the puzzle in completely different ways.

To test this, they invented a new strategy called Profile-Diverse Retention (PDR). Imagine you are a coach training a team of runners. A coach who only remembers the fastest runner might miss the fact that one runner is great at sprints while another is great at long distances. PDR is like a coach who keeps a roster of runners who are not only fast but also have unique running styles. By keeping a diverse group of "fast but different" attempts in the AI's memory, the AI can mix and match ideas to create something truly new and efficient.

The results were exciting. Across eight different types of complex puzzles (from "Social Golfers" to "Tail Assignment"), the evolutionary search consistently found models that were significantly faster than the original human-written ones. In fact, for some problems, the new models were hundreds of times faster. The study showed that the strategy of keeping a diverse memory (PDR) worked better than just keeping the most recent or the single fastest attempts. It also proved that checking the models on a separate set of "test" puzzles (validation) was crucial; without this step, the AI sometimes just memorized the training puzzles rather than learning how to solve them generally.

Interestingly, the researchers also compared their "whole-model redesign" approach against a method that just adds small extra rules to the original model (like adding a few extra hints to a map). Their "whole redesign" approach won every time, suggesting that sometimes you need to redraw the whole map, not just add a few arrows.

In the end, this paper suggests that we can use AI to not just solve problems, but to reinvent how we tell computers to solve them. By letting the AI evolve its own strategies and keeping a diverse library of its best ideas, we can build constraint models that are dramatically more efficient. It's a step toward a future where computers don't just follow our instructions, but help us write better instructions for themselves.

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 →