AutoSECO: Automated Skill Evolution for Cross-Problem Combinatorial Optimization with General-Purpose LLM Agents

Zirui Zhu, Cong Zhang, Ni Zhang, Kuan Xu, Zhiguang CaoarXiv 2026

It’s late, you’ve had a long day, and the last thing you want to do is manually tune a heuristic for an NP-hard optimization problem. You’d rather have an LLM agent do it. But here’s the rub: while LLMs are great at writing code, they often lack the "intuition" or "expertise" to navigate the complex trade-offs of algorithm design. Usually, we fix this by hard-coding specific workflows for every new problem.

The authors of AutoSECO asked a better question: Can we teach an LLM the meta-skill of developing solvers, and can that expertise transfer across entirely different types of problems?

TL;DR

AutoSECO is a system that evolves natural-language "skills"—essentially a set of high-level strategic instructions—to guide LLM agents in building optimization solvers. By tracing performance failures back to specific development decisions, it refines these instructions so that a "skill" learned while solving the Traveling Salesperson Problem (TSP) can successfully guide agents to build top-tier solvers for vehicle routing, job scheduling, and bin packing without any further training.

What Problem Does This Paper Address?

Combinatorial Optimization Problems (COPs)—like finding the shortest route for a delivery truck or the best way to pack a warehouse—are notoriously difficult. While LLM agents can write solvers for these, they often get stuck. They might make a coding error, choose a weak search strategy, or fail to realize their algorithm has hit a plateau.

The standard fix is "prompt engineering" or specialized workflows, but these are brittle and problem-specific. The real challenge is that feedback is indirect. If a solver performs poorly, is it because the code has a bug? Or because the high-level guidance was too vague? AutoSECO aims to bridge this gap by turning "solver-development experience" into reusable, general-purpose expertise.

Methods

AutoSECO uses a "closed-loop" evolutionary approach involving two distinct roles:

  1. The Solver Agent: This agent is given a "Solving Skill" (a Markdown file of instructions) and tasked with building a complete solver from scratch. It goes through a "ReAct-style" loop: designing, implementing, testing on training data, and diagnosing its own capability gaps.
  2. The Skill Evolver: This is the "coach." It looks at the final solver's performance, the code it wrote, and—crucially—the trace of decisions the Solver Agent made. If the solver failed, the Evolver traces the failure back to the guidance. Was an instruction missing? Ambiguous? Too general?
Fig. 1. Overview of AutoSECO. Evaluation feedback and development records guide skill revision. Each candidate is evaluated through fresh solver development and replaces the current skill if the mean evaluation gap decreases.

The most rigorous part of the method is the Selection Rule. A revised skill is only kept if a fresh agent, starting from a blank slate with no memory of previous attempts, uses that skill to build a solver that achieves a lower "gap" (error) than the previous best. This ensures the skill itself is what's improving, not just a lucky bit of code.

Fig. 2. Skill-guided solver development with the test set held out. Under a fixed skill, a fresh agent uses execution evidence from training instances to diagnose capability gaps and iteratively revise solver code.

Datasets

The authors used a diverse set of classic optimization benchmarks:

  • Evolution Source: The Traveling Salesperson Problem (TSP) using TSPLIB.
  • Cross-Problem Transfer:
    • CVRP: Capacitated Vehicle Routing (delivering goods with limited truck capacity).
  • JSSP: Job-Shop Scheduling (ordering tasks on machines).
  • 3D-BPP: Three-Dimensional Bin Packing (fitting boxes into containers).
Table showing the training scales and public benchmarks used for evaluation.

Key Insights and Ideas

  • Traceability is King: You can’t fix a strategy if you don’t know which part of the strategy led to the bad code. By recording the agent's "thoughts" during development, AutoSECO can pinpoint exactly where the instructions were unhelpful.
  • Generalization through Abstraction: The evolved skills don't say "use a 2-opt swap for TSP." Instead, they might say, "Compare paired runs across different time budgets to distinguish between slow code and a search space that is too small." This is advice that works whether you're routing trucks or scheduling factories.
  • The "Fresh Start" Filter: By forcing a new agent to use the revised skill from scratch, the system filters out "lucky" code fixes and retains only the guidance that is truly robust and interpretable by the LLM.

Key Results

The results are impressive, especially considering the "skills" were only evolved on TSP:

  • On TSP: AutoSECO achieved a mean benchmark gap of 0.52%, nearly halving the 0.98% gap of the previous state-of-the-art baseline (SkillOpt).
  • Zero-Shot Transfer: Without any additional evolution, the TSP-learned skill outperformed all baselines on CVRP, JSSP, and 3D-BPP. For example, on CVRP, it reduced the gap from 3.63% (SkillOpt) to 1.37%.
  • Robustness: The skill remained effective even when the underlying LLM or the software "harness" was changed, proving the expertise is truly in the natural language guidance.
Fig. 3. TSP benchmark mean gap of each round’s candidate solver. The curves include rejected candidates and show candidate performance rather than the sequence of retained skills.

Limitations and Future Work

  • Source Diversity: The skills were evolved using only one problem (TSP). The authors note that evolving across multiple different problems simultaneously might lead to even more "universal" expertise.
  • Stochasticity: LLMs are inherently random. A single "fresh run" might not always represent the true quality of a skill.
  • Stopping Rules: Currently, the system runs for a fixed number of rounds. A smart "stopping rule" that knows when the skill has plateaued would save significant computational cost.

In short, AutoSECO suggests that we don't just need better models; we need better ways to let those models "take notes" on what works, creating a library of digital expertise that grows more capable over time. Now, go get some sleep—the agents have the next shift.

Summary updated

Abstract

General-purpose large language model (LLM) agents can develop complete solvers for combinatorial optimization problems. Their specialization, however, often relies on workflows engineered for individual problems, limiting the reuse of development expertise. We propose AutoSECO, an automated skill evolution method that learns reusable solver-development guidance from experience. The challenge is that external evaluation measures the completed solver, while the skill guides decisions during development. AutoSECO connects this feedback to guidance deficiencies by tracing performance shortfalls through solver code and recorded development decisions. Revisions are expressed as general instructions and retained only if a fresh solver developed under the revised skill achieves a lower mean evaluation gap. Evolved solely on the traveling salesperson problem (TSP), the skill guides fresh agents in developing solvers for capacitated vehicle routing, job-shop scheduling, and three-dimensional bin packing without further skill evolution. On TSP, the final mean benchmark gap is 0.52\%, compared with 0.98\% for the skill-evolution baseline SkillOpt. Across all four problems, the evolved skill achieves better aggregate results than no skill guidance, the initial skill, and SkillOpt. The same frozen skill also supports solver development under alternative model--harness configurations. These findings suggest that solver-development experience can be retained as reusable expertise for general-purpose LLM agents.
BibTeX
@misc{zhu2026autoseco,
  author = {Zirui Zhu and Cong Zhang and Ni Zhang and Kuan Xu and Zhiguang Cao},
  title = {{AutoSECO: Automated Skill Evolution for Cross-Problem Combinatorial Optimization with General-Purpose LLM Agents}},
  year = {2026},
  eprint = {2611.30139},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30139},
}
Figure