When Large Language Models Meet Evolutionary Algorithms: Potential Enhancements and Challenges
Chao Wang, Jiaxuan Zhao, Licheng Jiao, Lingling Li, Fang Liu, Shuyuan Yang
TL;DR
The paper investigates how large language models (LLMs) and evolutionary algorithms (EAs) can mutually enhance each other, positing conceptual parallels at micro levels (token/embedding, position and fitness, Transformer/reproduction) and macro-level themes (evolutionary fine-tuning and LLM-enhanced EAs). It provides a systematic overview of existing interdisciplinary work, including evolutionary prompt tuning in black-box settings and LLMs as reproduction/mutation operators, to reveal opportunities for leveraging LLMs' learning capabilities with EA-driven exploration. The contributions include a structured mapping of LLM and EA characteristics, a survey of evolutionary fine-tuning approaches, and an examination of LLM-enhanced EAs, together highlighting key challenges such as resource constraints, access to gradients, and security. Overall, the work outlines promising avenues for building learning agents that combine robust knowledge acquisition with powerful search and optimization capabilities, potentially impacting algorithm design, decision-making, and multi-modal tasks.
Abstract
Pre-trained large language models (LLMs) exhibit powerful capabilities for generating natural text. Evolutionary algorithms (EAs) can discover diverse solutions to complex real-world problems. Motivated by the common collective and directionality of text generation and evolution, this paper first illustrates the conceptual parallels between LLMs and EAs at a micro level, which includes multiple one-to-one key characteristics: token representation and individual representation, position encoding and fitness shaping, position embedding and selection, Transformers block and reproduction, and model training and parameter adaptation. These parallels highlight potential opportunities for technical advancements in both LLMs and EAs. Subsequently, we analyze existing interdisciplinary research from a macro perspective to uncover critical challenges, with a particular focus on evolutionary fine-tuning and LLM-enhanced EAs. These analyses not only provide insights into the evolutionary mechanisms behind LLMs but also offer potential directions for enhancing the capabilities of artificial agents.
