Metaheuristics and Large Language Models Join Forces: Toward an Integrated Optimization Approach

Camilo Chacón Sartori, Christian Blum, Filippo Bistaffa, Guillem Rodríguez Corominas
5/28/2024
cs.AI

Official code: camilochs/optipattern (4 stars, MIT, last commit 2025-03-30).

Abstract

Since the rise of Large Language Models (LLMs) a couple of years ago, researchers in metaheuristics (MHs) have wondered how to use their power in a beneficial way within their algorithms. This paper introduces a novel approach that leverages LLMs as pattern recognition tools to improve MHs. The resulting hybrid method, tested in the context of a social network-based combinatorial optimization problem, outperforms existing state-of-the-art approaches that combine machine learning with MHs regarding the obtained solution quality. By carefully designing prompts, we demonstrate that the output obtained from LLMs can be used as problem knowledge, leading to improved results. Lastly, we acknowledge LLMs' potential drawbacks and limitations and consider it essential to examine them to advance this type of research further. Our method can be reproduced using a tool available at: https://github.com/camilochs/optipattern.

View on arXivView PDF

Code Implementations(1)

MIT

OptiPattern: LLM-Powered Pattern Recognition for Combinatorial Optimization

40Roff, PythonOct 16, 20241 years agoMIT

Similar Papers

Cite this paper

@article{sartori2024metaheuristics,
  title  = {Metaheuristics and Large Language Models Join Forces: Toward an Integrated Optimization Approach},
  author = {Camilo Chacón Sartori and Christian Blum and Filippo Bistaffa and Guillem Rodríguez Corominas},
  year   = {2024},
  eprint = {2405.18272},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.18272v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.18272.svg)](https://codeofpaper.com/paper/2405.18272)

Discussion