Experience-Guided Reflective Co-Evolution of Prompts and Heuristics for Automatic Algorithm Design

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liu, Yihong, Li, Junyi, Zhao, Wayne Xin, Lu, Hongyu, Wen, Ji-Rong
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914066787729408
author Liu, Yihong
Li, Junyi
Zhao, Wayne Xin
Lu, Hongyu
Wen, Ji-Rong
author_facet Liu, Yihong
Li, Junyi
Zhao, Wayne Xin
Lu, Hongyu
Wen, Ji-Rong
contents Combinatorial optimization problems are traditionally tackled with handcrafted heuristic algorithms, which demand extensive domain expertise and significant implementation effort. Recent progress has highlighted the potential of automatic heuristics design powered by large language models (LLMs), enabling the automatic generation and refinement of heuristics. These approaches typically maintain a population of heuristics and employ LLMs as mutation operators to evolve them across generations. While effective, such methods often risk stagnating in local optima. To address this issue, we propose the Experience-Guided Reflective Co-Evolution of Prompt and Heuristics (EvoPH) for automatic algorithm design, a novel framework that integrates the island migration model with the elites selection algorithm to simulate diverse heuristics populations. In EvoPH, prompts are co-evolved with heuristic algorithms, guided by performance feedback. We evaluate our framework on two problems, i.e., Traveling Salesman Problem and Bin Packing Problem. Experimental results demonstrate that EvoPH achieves the lowest relative error against optimal solutions across both datasets, advancing the field of automatic algorithm design with LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2509_24509
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Experience-Guided Reflective Co-Evolution of Prompts and Heuristics for Automatic Algorithm Design
Liu, Yihong
Li, Junyi
Zhao, Wayne Xin
Lu, Hongyu
Wen, Ji-Rong
Artificial Intelligence
Computation and Language
Combinatorial optimization problems are traditionally tackled with handcrafted heuristic algorithms, which demand extensive domain expertise and significant implementation effort. Recent progress has highlighted the potential of automatic heuristics design powered by large language models (LLMs), enabling the automatic generation and refinement of heuristics. These approaches typically maintain a population of heuristics and employ LLMs as mutation operators to evolve them across generations. While effective, such methods often risk stagnating in local optima. To address this issue, we propose the Experience-Guided Reflective Co-Evolution of Prompt and Heuristics (EvoPH) for automatic algorithm design, a novel framework that integrates the island migration model with the elites selection algorithm to simulate diverse heuristics populations. In EvoPH, prompts are co-evolved with heuristic algorithms, guided by performance feedback. We evaluate our framework on two problems, i.e., Traveling Salesman Problem and Bin Packing Problem. Experimental results demonstrate that EvoPH achieves the lowest relative error against optimal solutions across both datasets, advancing the field of automatic algorithm design with LLMs.
title Experience-Guided Reflective Co-Evolution of Prompts and Heuristics for Automatic Algorithm Design
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2509.24509