# EvoOptiGraph: Weakness-Driven Coevolution via Graph-Based Structural Generation for Optimization Modeling

*Qingcan Kang, Mingyang LIU, Xiaojin Fu, Shixiong Kai, Tao Zhong, Mingxuan Yuan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155640) · [OpenReview](https://openreview.net/forum?id=45RetuO3zX) · [alphaXiv](https://www.alphaxiv.org/abs/2606.26578) · [Open on the map](../papers.html#p155640)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Evolutionary Optimization with LLMs](../pgroup/326.md) · Type: new method · Keywords: optimization modeling, graph-based generation, coevolution, reinforcement learning, LLM fine-tuning

## Summary
EvoOptiGraph is a coevolution framework that generates structurally diverse MILP instances via graph-based evolution to improve LLMs on optimization modeling.

## Explained to a 5-year-old
We want computers to understand math problems written in words. Right now, the computers only see a few kinds of problems, so they get stuck on new ones. This paper creates a way to make many new kinds of problems by using a picture-like structure that changes over time. The new problems help the computer learn to solve them better. In the end, the computer becomes better at solving many different math problems.

## Explained to a 5-year-old, longer
We want computers to read math problems that people write in words and turn them into code that solves them. Right now, the computers only learn from a small set of example problems, so they often fail when they see something new. The paper comes up with a new way to make lots of different kinds of problems by using a special picture that shows how the math is built. This picture is like a graph, where each part has a job and is connected to other parts. The picture can be changed safely, so we can create new problems that are still correct. The new problems are turned into both code that a solver can run and into words that the computer can read. First, the computer is trained on an initial set of problems using normal learning. Then, it gets a score based on how well it solves the new problems, and this score guides the creation of even more problems. The computer keeps making problems that target its own mistakes, so it learns from its weak spots. This loop of making problems and learning from them continues until the computer gets really good. As a result, the computer can solve many different kinds of math problems more accurately. The new method also works on many real-world datasets, helping people solve tough optimization tasks more easily.

## For a technical reader
EvoOptiGraph builds a feedback loop where a model’s errors guide the generation of new training examples. It encodes each optimization problem as a graph, evolves the graph with safe operators, and compiles the graph into both solver code and natural-language descriptions. The system first fine-tunes the model on an initial dataset, then uses reinforcement learning with verifiable rewards to iteratively create harder instances that target the model’s weaknesses. This continuous co-evolution improves the model’s accuracy, execution correctness, and ability to generalize to unseen problems.

## Problem
Automating optimization modeling from natural language is hindered by limited structural diversity in training data and static data generation pipelines that are not aligned with model learning.

## Method
The approach represents each MILP as an attributed bipartite graph, applies validity-preserving evolutionary operators to generate diverse instances, compiles them into solver code and natural language, and uses supervised fine-tuning followed by reinforcement learning with verifiable rewards, where graph-derived weakness signals drive the generation of new training instances in a closed loop.

## Results
The approach achieves significantly higher accuracy, executability, and generalization compared to larger generalist models, agentic methods, and specialized baselines on six public datasets.

## Contributions
It introduces a data-model co-evolution loop that generates structurally diverse MILP instances guided by model weaknesses, and demonstrates that this loop improves LLM performance on optimization modeling across multiple datasets.

## Research questions this paper is counted under

- [How can we automatically generate accurate optimization models from natural-language problem descriptions?](../q/222.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155640)
