arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.09247cs.NE
收藏

大语言模型作为粒子群优化器

Large Language Models as Particle Swarm Optimizers

Yamato Shinohara, Jinglue Xu, Tianshui Li, Hitoshi Iba

AI总结:

本文提出语言模型粒子群优化(LMPSO),将大语言模型融入粒子群优化框架,用提示表示粒子速度以生成候选解,并在旅行商问题、启发式改进和符号回归上验证了其对结构化序列优化问题的有效性。

摘要:

优化问题通常需要领域特定的专业知识来设计依赖于问题的方法。近年来,一些通过将大语言模型(LLMs)集成到遗传算法中的方法引起了关注。基于这一趋势,我们提出了语言模型粒子群优化(LMPSO),这是一种将LLM纳入粒子群优化(PSO)群体智能框架的新方法。在LMPSO中,每个粒子的速度被表示为一个提示,该提示生成下一个候选解,利用LLM的能力按照PSO范式产生解。这种集成使得由LLM驱动的搜索过程能够遵循PSO的基本原理。所提出的LMPSO方法在多个问题领域进行了评估,包括旅行商问题(TSP)、针对TSP的启发式改进以及符号回归。由于这些问题的解具有结构化特性,它们对标准PSO而言传统上具有挑战性。实验结果表明,LMPSO在求解解被表示为结构化序列的问题时特别有效,例如数学表达式或程序化构造。通过将LLMs纳入PSO框架,LMPSO为群体智能研究开辟了一个新方向。该方法不仅将PSO的适用范围扩展到以往难以处理的问题,还展示了LLMs在应对复杂优化挑战方面的潜力。

英文摘要:

Optimization problems often require domain-specific expertise to design problem-dependent methodologies. Recently, several approaches have gained attention by integrating large language models (LLMs) into genetic 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 represented as a prompt that generates the next candidate solution, leveraging the capabilities of an LLM to produce solutions in accordance with the PSO paradigm. This integration enables an LLM-driven search process that adheres to the foundational principles of PSO. The proposed LMPSO approach is evaluated across multiple problem domains, including the Traveling Salesman Problem (TSP), heuristic improvement for TSP, and symbolic regression. These problems are traditionally challenging for standard PSO due to the structured nature of their solutions. Experimental results demonstrate that LMPSO is particularly effective for solving problems where solutions are represented as structured sequences, such as mathematical expressions or programmatic constructs. By incorporating LLMs into the PSO framework, LMPSO establishes a new direction in swarm intelligence research. This method not only broadens the applicability of PSO to previously intractable problems but also showcases the potential of LLMs in addressing complex optimization challenges.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑