arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.03239cs.NEcs.LG
收藏

PAIR:一种用于进化算法的新型大型语言模型引导选择策略

PAIR: A Novel Large Language Model-Guided Selection Strategy for Evolutionary Algorithms

Egypt University of Informatics(埃及信息学大学);Birmingham City University(伯明翰城市大学)

Shady Ali, Mahmoud Ashraf, Seif Hegazy, Fatty Salem, Hoda Mokhtar, Mohamed Medhat Gaber, Mohamed Taher Alrefaie

AI总结:

本文提出PAIR选择策略,利用大型语言模型基于遗传多样性、适应度和交叉兼容性评估个体以指导进化算法配对,实验证明其在TSP实例中显著优于LMEA基线,提升了收敛性并有效逃离局部最优。

摘要:

进化算法采用随机或简单的选择方法,限制了其对解空间的探索及向最优解的收敛。执行交叉或突变时的随机性可能会限制模型高效进化的能力。本文提出了偏好对齐个体互惠(PAIR),这是一种利用大型语言模型模拟类人交配选择的新型选择方法,从而为进化算法中的配对过程引入智能。PAIR提示LLM基于遗传多样性、适应度水平和交叉兼容性来评估种群中的个体,以指导更明智的配对决策。我们将PAIR与最近发表的名为LLM驱动EA(LMEA)的基线方法进行了评估。结果表明,PAIR在各种TSP实例中显著优于LMEA,实现了更低的优性差距和更好的收敛性。当与flash thinking模型结合使用时,这种性能尤为明显,表现出增加的种群多样性以逃离局部最优。总体而言,PAIR通过复杂的偏好建模,为进化算法中LLM驱动选择的上下文学习领域提供了新策略,为改进解决方案和进一步研究LLM引导的优化铺平了道路。

英文摘要:

Evolutionary Algorithms (EAs) employ random or simplistic selection methods, limiting their exploration of solution spaces and convergence to optimal solutions. The randomness in performing crossover or mutations may limit the model's ability to evolve efficiently. This paper introduces Preference-Aligned Individual Reciprocity (PAIR), a novel selection approach leveraging Large Language Models to emulate human-like mate selection, thereby introducing intelligence to the pairing process in EAs. PAIR prompts an LLM to evaluate individuals within a population based on genetic diversity, fitness level, and crossover compatibility, guiding more informed pairing decisions. We evaluated PAIR against a baseline method called LLM-driven EA (LMEA), published recently. Results indicate that PAIR significantly outperforms LMEA across various TSP instances, achieving lower optimality gaps and improved convergence. This performance is especially noticeable when combined with the flash thinking model, demonstrating increased population diversity to escape local optima. In general, PAIR provides a new strategy in the area of in-context learning for LLM-driven selection in EAs via sophisticated preference modelling, paving the way for improved solutions and further studies into LLM-guided optimization.

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

↑