diff --git a/index.html b/index.html index a34b62d..3d21f4e 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -
The omnipresence of NP-hard combinatorial optimization problems (COPs) compels domain experts to engage in trial-and-error heuristic design. The long-standing endeavor of design automation has gained new momentum with the rise of large language models (LLMs). This paper introduces Language Hyper-Heuristics (LHHs), an emerging variant of Hyper-Heuristics that leverages LLMs for heuristic generation, featuring minimal manual intervention and open-ended heuristic spaces. To empower LHHs, we present Reflective Evolution (ReEvo), a novel integration of evolutionary search for efficiently exploring the heuristic space, and LLM reflections to provide verbal gradients within the space. Across five heterogeneous algorithmic types, six different COPs, and both white-box and black-box views of COPs, ReEvo yields state-of-the-art and competitive meta-heuristics, evolutionary algorithms, heuristics, and neural solvers, while being more sample-efficient than prior LHHs.
$ git clone git@github.com:ai4co/reevo.git # download reevo code
+[NeurIPS 2024] ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution Abstract
The omnipresence of NP-hard combinatorial optimization problems (COPs) compels domain experts to engage in trial-and-error heuristic design. The long-standing endeavor of design automation has gained new momentum with the rise of large language models (LLMs). This paper introduces Language Hyper-Heuristics (LHHs), an emerging variant of Hyper-Heuristics that leverages LLMs for heuristic generation, featuring minimal manual intervention and open-ended heuristic spaces. To empower LHHs, we present Reflective Evolution (ReEvo), a novel integration of evolutionary search for efficiently exploring the heuristic space, and LLM reflections to provide verbal gradients within the space. Across five heterogeneous algorithmic types, six different COPs, and both white-box and black-box views of COPs, ReEvo yields state-of-the-art and competitive meta-heuristics, evolutionary algorithms, heuristics, and neural solvers, while being more sample-efficient than prior LHHs.
Usage 🔑
Get Started
$ git clone git@github.com:ai4co/reevo.git # download reevo code
$ cd reevo
$ python3 -m venv ./venv # [optional] create virtual environment
$ source ./venv/bin/activate # [optional] activate virtual environment
@@ -7,16 +7,16 @@
$ export OPENAI_API_KEY=xxxxxxxxxx # set openAI API key, other service providers are also available
$ python3 main.py problem=tsp_gls
-
Available problems
- Traveling Salesman Problem (TSP):
tsp_aco
, tsp_aco_black_box
, tsp_constructive
, tsp_gls
, tsp_pomo
, tsp_lehd
- Capacitated Vehicle Routing Problem (CVRP):
cvrp_aco
, cvrp_aco_black_box
, cvrp_pomo
, cvrp_lehd
- Bin Packing Problem (BPP):
bpp_offline_aco
, bpp_offline_aco_black_box
, bpp_online
- Multiple Knapsack Problems (MKP):
mkp_aco
, mkp_aco_black_box
- Orienteering Problem (OP):
op_aco
, op_aco_black_box
- Decap Placement Problem (DPP):
dpp_ga
Use Alternative LLMs
$ export LLAMA_API_KEY=xxxxxxxxxxxxxxxxxxxx
+
Available problems
- Traveling Salesman Problem (TSP):
tsp_aco
, tsp_aco_black_box
, tsp_constructive
, tsp_gls
, tsp_pomo
, tsp_lehd
- Capacitated Vehicle Routing Problem (CVRP):
cvrp_aco
, cvrp_aco_black_box
, cvrp_pomo
, cvrp_lehd
- Bin Packing Problem (BPP):
bpp_offline_aco
, bpp_offline_aco_black_box
, bpp_online
- Multiple Knapsack Problems (MKP):
mkp_aco
, mkp_aco_black_box
- Orienteering Problem (OP):
op_aco
, op_aco_black_box
- Decap Placement Problem (DPP):
dpp_ga
Use Alternative LLMs
$ export LLAMA_API_KEY=xxxxxxxxxxxxxxxxxxxx
$ python3 main.py llm_client=llama_api llm_client.model=gemma2-9b
-
Available LLM service providers
Citation 🤩
@inproceedings{ye2024reevo,
+
Available LLM service providers
Poster
Citation 🤩
@inproceedings{ye2024reevo,
title={ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution},
author={Haoran Ye and Jiarui Wang and Zhiguang Cao and Federico Berto and Chuanbo Hua and Haeyeon Kim and Jinkyoo Park and Guojie Song},
booktitle={Advances in Neural Information Processing Systems},
year={2024},
note={\url{https://github.com/ai4co/reevo}}
-}
News 📰
Sep. 2024 ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution has been accepted at NeurIPS 2024 🥳 May 2024 We release a new paper version Apr. 2024 Novel use cases for Neural Combinatorial Optimization (NCO) and Electronic Design Automation (EDA) Feb. 2024 We are excited to release ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution 🚀