ReEvo

Reflective Evolution

An evolutionary search over heuristics in which a second LLM role writes short and long 'reflections' that steer crossover and mutation.

Read the paper

The loop

  1. Proposes

    Heuristic code produced by LLM crossover and elitist mutation

  2. Judged by

    Running the heuristic on problem instances to get an objective value

  3. Steers

    Short-term reflection compares parents; long-term reflection accumulates hints; both feed later prompts ('verbal gradient')

Headline result

Across six combinatorial problems (TSP, CVRP, OP, MKP, BPP, DPP), with a budget of 100 heuristic evaluations and GPT-3.5 Turbo, ReEvo beats EoH on sample efficiency in five problems, and designed heuristics improved neural solvers, for example POMO's TSP1000 gap from about 52% to 29%. Its genetic algorithm for decap placement scored 12.98 vs 12.41 for the expert-designed one.

What this does not prove

Authors' benchmark set-ups with GPT-3.5 Turbo as the main model; 'state of the art' refers to the compared methods in the paper.

How it generalizes the harness

Evolutionary search is the solver over a population, and the product is a heuristic or operator that runs without the model.

Classification

Classification of ReEvo (Reflective Evolution)
What it proposesHeuristic
Generative modelPretrained LLMs, frozen (GPT-3.5 Turbo, GPT-4 Turbo, Llama 3 70B compared)
Algorithmic authorityObjective evaluation on problem instances
FeedbackWritten reflection
What gets updatedPrompt context and population of candidates
When it runsOffline, at design time
ValidityEmpirical (measured)
EvidenceExperiments reported
LineageDerivative