atlas

Research map / Large language models / Agents, code and math

ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution

NeurIPS 2024 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 53 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Language Hyper-Heuristics (LHHs) and Reflective Evolution (ReEvo), an evolutionary search over LLM-generated heuristic code with LLM short- and long-term verbal reflections, applied to six combinatorial optimization problems.

Problem

Automating heuristic design for NP-hard combinatorial optimization problems (COPs) with LLMs, where prior LLM-based heuristic search is sample-inefficient and weak at inferring structure of black-box problems.

Approach

Couples genetic-programming-style evolution of heuristic code with LLM reflections: a reflector LLM compares pairs of heuristics (short-term) and accumulates insights across iterations (long-term) to act as verbal gradients guiding crossover and elitist mutation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the KGLS penalty heuristic with a ReEvo-generated penalty heuristicKGLS · TSP20–TSP200optimality gap (%): 0.004 -> 0.000 (TSP20); 0.017 -> 0.000 (TSP50); 0.002 -> 0.000 (TSP100); 0.284 -> 0.216 (TSP200)Helped
Generate a constructive TSP heuristic with ReEvo instead of GHPPTSP constructive heuristic · TSP TSPLIB instances (average)average optimality gap: 16.7 -> 14.6Helped
Use ReEvo-generated attention reshaping instead of no reshapingPOMO · TSP1000optimality gap (%): 52.11 -> 29.08Helped
Use ReEvo-generated attention reshaping instead of expert-designed DARPOMO · TSP1000optimality gap (%): 44.05 -> 29.08Helped
Use ReEvo-generated attention reshaping instead of no reshapingLEHD · TSP1000optimality gap (%): 3.17 -> 2.97Helped
Use ReEvo-generated attention reshaping instead of expert-designed DARPOMO · CVRP1000optimality gap (%): 286.37 -> 218.22Helped
Use ReEvo-generated attention reshaping instead of expert-designed DARLEHD · CVRP1000optimality gap (%): 6.35 -> 4.76Helped
Add short-term reflectionReEvo ACO heuristic search · TSP50 ACO random walkobjective: 12.08 ± 7.15 -> 6.53 ± 0.60Helped
Remove long-term reflections (ablation)ReEvo · TSP100 white-box promptingobjective: 8.40 ± 0.02 -> 8.61 ± 0.21Hurt
Remove long-term reflections (ablation)ReEvo · TSP100 black-box promptingobjective: 8.96 ± 0.82 -> 9.32 ± 0.71Hurt
Remove short-term reflections (ablation)ReEvo · TSP100 white-box promptingobjective: 8.40 ± 0.02 -> 8.46 ± 0.01Hurt
Remove short-term reflections (ablation)ReEvo · TSP100 black-box promptingobjective: 8.96 ± 0.82 -> 9.05 ± 0.83Hurt

Surprising findings

Limitations

Experimental setup

Datasets: TSPLIB problem instances for TSP, CVRP, OP, MKP, BPP, DPP

Benchmarks: TSP20-200 GLS ACO on TSP/CVRP/OP/MKP/BPP DPP genetic algorithm TSPLIB constructive TSP POMO/LEHD attention reshaping on TSP and CVRP

Metrics: optimality gap (%) objective value execution time correlation length sample efficiency

Baselines: EoH KGLS GNNGLS NeuralGLS NeuOpt DeepACO GHPP DevFormer POMO + DAR LEHD

Builds on: EoH FunSearch KGLS DeepACO Reflexion

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy