Monte Carlo Tree Search for Comprehensive Exploration in LLM-Based Automatic Heuristic Design

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zheng, Zhi, Xie, Zhuoliang, Wang, Zhenkun, Hooi, Bryan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916591661219840
author Zheng, Zhi
Xie, Zhuoliang
Wang, Zhenkun
Hooi, Bryan
author_facet Zheng, Zhi
Xie, Zhuoliang
Wang, Zhenkun
Hooi, Bryan
contents Handcrafting heuristics for solving complex optimization tasks (e.g., route planning and task allocation) is a common practice but requires extensive domain knowledge. Recently, Large Language Model (LLM)-based automatic heuristic design (AHD) methods have shown promise in generating high-quality heuristics without manual interventions. Existing LLM-based AHD methods employ a population to maintain a fixed number of top-performing LLM-generated heuristics and introduce evolutionary computation (EC) to iteratively enhance the population. However, these population-based procedures cannot fully develop the potential of each heuristic and are prone to converge into local optima. To more comprehensively explore the space of heuristics, this paper proposes to use Monte Carlo Tree Search (MCTS) for LLM-based heuristic evolution. The proposed MCTS-AHD method organizes all LLM-generated heuristics in a tree structure and can better develop the potential of temporarily underperforming heuristics. In experiments, MCTS-AHD delivers significantly higher-quality heuristics on various complex tasks. Our code is available.
format Preprint
id arxiv_https___arxiv_org_abs_2501_08603
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Monte Carlo Tree Search for Comprehensive Exploration in LLM-Based Automatic Heuristic Design
Zheng, Zhi
Xie, Zhuoliang
Wang, Zhenkun
Hooi, Bryan
Artificial Intelligence
Handcrafting heuristics for solving complex optimization tasks (e.g., route planning and task allocation) is a common practice but requires extensive domain knowledge. Recently, Large Language Model (LLM)-based automatic heuristic design (AHD) methods have shown promise in generating high-quality heuristics without manual interventions. Existing LLM-based AHD methods employ a population to maintain a fixed number of top-performing LLM-generated heuristics and introduce evolutionary computation (EC) to iteratively enhance the population. However, these population-based procedures cannot fully develop the potential of each heuristic and are prone to converge into local optima. To more comprehensively explore the space of heuristics, this paper proposes to use Monte Carlo Tree Search (MCTS) for LLM-based heuristic evolution. The proposed MCTS-AHD method organizes all LLM-generated heuristics in a tree structure and can better develop the potential of temporarily underperforming heuristics. In experiments, MCTS-AHD delivers significantly higher-quality heuristics on various complex tasks. Our code is available.
title Monte Carlo Tree Search for Comprehensive Exploration in LLM-Based Automatic Heuristic Design
topic Artificial Intelligence
url https://arxiv.org/abs/2501.08603