Large Language Models as Particle Swarm Optimizers

Recently, several approaches have gained attention by integrating large language models (LLMs) into evolutionary algorithms. Building on this trend, we introduce Language Model Particle Swarm Optimization (LMPSO), a novel method that incorporates an LLM into the swarm intelligence framework of Particle Swarm Optimization (PSO). In LMPSO, the velocity of each particle is defined as a part of the prompt that generates the next candidate solution, leveraging an LLM to produce solutions while respecting the PSO paradigm. This integration enables an LLM-driven search process that adheres to the foundational principles of PSO. We evaluate LMPSO on the Traveling Salesman Problem (TSP) and on a heuristic improvement task for TSP, where solutions are represented as program code. Heuristic improvement aims to enhance existing heuristics by searching for new ones; it is challenging for standard PSO due to the solution representation in the form of program code. Experimental results demonstrate that LMPSO can generate high-quality solutions for small TSP instances and improve existing TSP heuristics while following the PSO search framework. By incorporating LLMs into PSO, LMPSO expands the applicability of swarm intelligence and highlights the potential of LLMs for addressing complex optimization challenges.

Authors

Institutions

Publication Details

Published
2025-06-08
DOI
https://doi.org/10.1109/cec65147.2025.11043021
Citations
4
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
9.92
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Large Language Models as Particle Swarm Optimizers

Yamato Shinohara, Hitoshi Iba, Jinglue Xu, Tim Li
4 citations
Topic Modeling
9.92
article

Large Language Models as Particle Swarm Optimizers

Yamato Shinohara, Hitoshi Iba, Jinglue Xu, Tim Li
article en
4 citations

Abstract

Recently, several approaches have gained attention by integrating large language models (LLMs) into evolutionary algorithms. Building on this trend, we introduce Language Model Particle Swarm Optimization (LMPSO), a novel method that incorporates an LLM into the swarm intelligence framework of Particle Swarm Optimization (PSO). In LMPSO, the velocity of each particle is defined as a part of the prompt that generates the next candidate solution, leveraging an LLM to produce solutions while respecting the PSO paradigm. This integration enables an LLM-driven search process that adheres to the foundational principles of PSO. We evaluate LMPSO on the Traveling Salesman Problem (TSP) and on a heuristic improvement task for TSP, where solutions are represented as program code. Heuristic improvement aims to enhance existing heuristics by searching for new ones; it is challenging for standard PSO due to the solution representation in the form of program code. Experimental results demonstrate that LMPSO can generate high-quality solutions for small TSP instances and improve existing TSP heuristics while following the PSO search framework. By incorporating LLMs into PSO, LMPSO expands the applicability of swarm intelligence and highlights the potential of LLMs for addressing complex optimization challenges.

The University of Tokyo (JP)
Openalex Percentile: Top 2%
Topic Modeling
9.92
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Large Language Models as Particle Swarm Optimizers — Yamato Shinohara, Hitoshi Iba, et al. · (2025) | TGRS Research Map | TGRS