ReVEL: Multi-Turn Reflective LLM-Guided Heuristic Evolution via Structured Performance Feedback
Authors: Cuong Van Duc, Minh Nguyen Dinh Tuan, Tam Vu Duc, Tung Vu Duy, Son Nguyen Van, Hanh Nguyen Thi, Binh Huynh Thi Thanh
Organizations: VinMotion · Hanoi University of Science and Technology · VinUniversity · Phenikaa School of Computing, Phenikaa University · Phenikaa School of Interdisciplinary Digital Technology, Phenikaa University
Designing effective heuristics for NP-hard combinatorial optimization problems remains challenging and often requires substantial domain expertise. Recent LLM-guided evolutionary methods have shown promise for automated heuristic generation, but most existing approaches refine heuristics independently or through limited pairwise feedback. We propose ReVEL: Multi-Turn Reflective LLM-Guided Heuristic Evolution via Structured Performance Feedback, a framework for group-wise multi-turn heuristic refinement. ReVEL organizes heuristics into behavior-aware reflective groups, including similarity-driven groups for localized refinement and diversity-driven groups for exploratory search. Within each group, the LLM performs iterative multi-turn refinement using accumulated performance feedback, enabling related heuristics to be jointly analyzed and progressively improved across evolutionary iterations. Experiments on standard combinatorial optimization benchmarks show that ReVEL generally improves optimization performance over existing LLM-guided evolutionary baselines across multiple settings and LLM backbones. Additional analyses suggest that behavior-aware grouping contributes to more consistent refinement trajectories during iterative heuristic evolution.
Figures & tables
Figure 1: The proposed REVEL framework addresses combinatorial optimization problems across diverse domains and problem scales through strategic multi-turn heuristic evolution. Starting from initial candidate search strategies, REVEL organizes heuristic populations into collaborative refinement groups that iteratively perform evaluation, strategic rewriting, and evolutionary adaptation. Through repeated multi-turn interactions, the framework progressively explores and refines increasingly effective search behaviors, enabling the automatic discovery of high-performing heuristics for complex combinatorial optimization problems.
Figure 2: ReVEL : Multi-turn reflective evolutionary optimization through structured population feedback. Starting from an initial heuristic population, ReVEL iteratively organizes heuristics into behaviorally coherent groups, performs reflective refinement over accumulated population feedback, and evolves improved heuristics through population-level reasoning.
Reasoning Category
Description
Freq
Example
Structure rewrite
Completely changes the algorithm family.
16
Given that the highest-performing known approach is “Stabilized Harmonic-Arctanh” … I should explore this proven algorithmic family rather than tuning simpler approaches.
Heuristic modification
Same algorithm family and pipeline structure, but decision and scoring logic is substantially rewritten.
89
Given the significant performance gap and clear indication that Worst-Fit works better, we should focus on refining this approach …
Parameter tuning
Only numeric changes (weights, thresholds, constants) with formulas and pipeline unchanged.
75
Given the regression, we should revert to the simpler version and make minimal adjustments to core parameters …
Table 1: Analysis of Reasoning Categories, their frequency, and examples.
Table 2: Online bin packing results. Fraction of excess bins to lower bound (lower is better).
Heuristic
TSP10 (%)
TSP20 (%)
TSP50 (%)
TSP100 (%)
TSP200 (%)
EoH
3.52
9.33
10.24
11.39
15.58
ReEvo
4.22
6.74
11.63
11.01
15.58
ReVEL (ours)
2.11
6.74
9.20
12.64
11.46
Table 3: Traveling Salesman Problem (TSP) results. Optimality gaps (%) relative to OR-Tools solutions.
Heuristic
Model
Gap(%)
ReVEL
deepseek-v3-0324
1.13
ReVEL
kimi-k2-instruct
1.95
ReVEL
qwen3-coder-480b-35a
1.41
ReVEL
glm-4.5
1.20
Table 4: Online Bin Packing: Method Across Models
Setting
Gap (%)
Δt
Cons. (%)
Mean
Var.
Random Grouping
15.97
0.86
1.79
45
Without Grouping
17.60
0.72
1.48
40
Pair-wise Grouping
15.55
0.92
1.67
45
w/o LLM Refinement
11.80
1.26
2.05
55
Our Method
9.20
1.61
2.84
65
Table 5: Performance of Grouping Strategies
Figure 3: Distribution of refinement operation types across optimization iterations.
Setting
Gap (%)
Single-turn Refinement
17.18
Best-of- N Sampling
16.68
Random Grouping
15.97
Without Grouping
17.60
ReVEL (Full)
9.20
Table 6: Ablation study on TSP50.
α
Gap (%)
0.2
15.79
0.4
14.06
0.5
9.20
0.6
15.97
0.8
12.50
Table 7: Effect of similarity balancing coefficient α on TSP50.
Method
API Cost
ReEvo
$0.25
EoH
$0.33
ReVEL (Ours)
$0.41
Table 8: Average API Consumption Costs per Run
Figure 4: Cost–performance trade-off across optimization iterations.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Dataset
Number of Cities
TSP10
10
TSP20
20
TSP50
50
TSP100
100
TSP200
200
Appendix
Table 9: TSP problem sizes
Dataset
Number of Items ( T )
Capacity ( C )
BPP-1K-100
1K
100
BPP-1K-300
1K
300
BPP-1K-500
1K
500
BPP-5K-100
5K
100
BPP-5K-300
5K
300
BPP-5K-500
5K
500
Appendix
Table 10: Online Bin Packing problem sizes
Figure 5: Qualitative example of reflective reasoning in ReVEL: Observations guide the LLM to alternate between exploration, exploitation, and innovation, resulting in progressive improvement of heuristic quality.
Method
API Cost
ReEvo
$0.25
EoH
$0.33
ReVEL (Ours)
$0.41
Appendix
Table 11: Average API Consumption Costs per Run
Instance
Nearest Neighbour
EoH
Our
Berlin52
19.06
17.68
6.24
Bier127
15.27
8.04
9.33
Ch130
23.98
6.81
10.21
D493
17.20
14.85
15.69
Eil51
19.72
3.19
3.68
KroA100
26.19
11.06
6.21
Appendix
Table 12: Results on TSPLib instances. The gap (%) to the best-known solution from TSPLib.
Parameter Name
Value
Evolution Loop Parameters
max_turns
6
num_candidates_to_initialize
10
epochs
20
top_k
10
reminder_probability
0.3
Appendix
Table 13: Hyperparameters Configuration
Heuristic
CVRP20 (%)
CVRP50 (%)
CVRP100 (%)
ReEvo
13.70
19.44
18.06
ReVEL (ours)
4.57
17.68
14.88
Appendix
Table 14: Baseline OR-Tools Results for the Capacitated Vehicle Routing Problem.
Figure 21
Capacity
Size
ReVEL (%)
CV
100
1 k
2.32±0.08
0.0345
5 k
1.15±0.11
0.0957
10 k
0.53±0.16
0.3019
300
1 k
0.31±0.02
0.0645
5 k
0.25±0.03
0.1200
10 k
0.18±0.06
0.3333
Appendix
Table 15: Repeated-run robustness on Online Bin Packing over 10 independent runs. Results report mean optimality gap ± standard deviation and coefficient of variation (CV). Lower is better.
Benchmark
ReVEL (%)
CV
TSP10
2.33±0.61
0.2618
TSP20
6.72±0.12
0.0179
TSP50
9.80±0.79
0.0806
TSP100
13.83±1.96
0.1417
TSP200
12.54±2.03
0.1619
Appendix
Table 16: Repeated-run robustness on the Traveling Salesman Problem over 10 independent runs. Results report mean optimality gap ± standard deviation and coefficient of variation (CV). Lower is better.
C2DL, Institute of Automation, Chinese Academy of Sciences · School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing · University of Chinese Academy of Sciences, Nanjing +1
Guangdong Provincial Key Laboratory of Brain-Inspired Intelligent Computation, Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen 518055, China · The Hong Kong University of Science and Technology