Beyond Algorithm Evolution: An LLM-Driven Framework for the Co-Evolution of Swarm Intelligence Optimization Algorithms and Prompts

📅 2025-12-09
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
Existing automated algorithm design frameworks (e.g., EoH, FunSearch) optimize only algorithmic structure while neglecting systematic prompt evolution, limiting LLM performance on complex NP-hard problems. Method: We propose the first LLM-driven co-evolutionary framework that jointly optimizes population-based metaheuristic algorithms and guiding prompts. Our approach employs a unified large language model (GPT-4o-mini/Qwen3-32B/GPT-5) to instantiate a co-evolutionary mechanism integrating population intelligence modeling with interpretable, structured prompt template evaluation. Contribution/Results: The framework breaks the static prompt dependency bottleneck and reduces reliance on high-end LLMs. It achieves significant improvements over state-of-the-art methods across multiple NP-hard problem classes. Ablation studies confirm the necessity of co-evolution, and cross-model evolutionary trajectory analysis reveals intrinsic coupling mechanisms between prompts and algorithmic components.

Technology Category

Search and Optimization: Evolutionary ComputationMachine Learning: Evolutionary LearningNatural Language Processing: Prompt Engineering / Prompting

Application Category

Graph Algorithms and Modeling for the Web: Foundation models and LLMs for Web-related graphsEconomics, Online Markets and Human Computation: Cost models of using LLMs in production systemsSearch and Retrieval-Augmented AI: Search Tool Learning with LLM: Teaching LLMs to invoke search and make use of retrieved information
📝 Abstract
The field of automated algorithm design has been advanced by frameworks such as EoH, FunSearch, and Reevo. Yet, their focus on algorithm evolution alone, neglecting the prompts that guide them, limits their effectiveness with LLMs, especially in complex, uncertain environments where they nonetheless implicitly rely on strategies from swarm intelligence optimization algorithms. Recognizing this, we argue that swarm intelligence optimization provides a more generalized and principled foundation for automated design. Consequently, this paper proposes a novel framework for the collaborative evolution of both swarm intelligence algorithms and guiding prompts using a single LLM. To enhance interpretability, we also propose a simple yet efficient evaluation method for prompt templates. The framework was rigorously evaluated on a range of NP problems, where it demonstrated superior performance compared to several state-of-the-art automated design approaches. Experiments with various LLMs (e.g., GPT-4o-mini, Qwen3-32B, GPT-5) reveal significantly divergent evolutionary trajectories in the generated prompts, further underscoring the necessity of a structured co-evolution framework. Importantly, our approach maintains leading performance across different models, demonstrating reduced reliance on the most powerful LLMs and enabling more cost-effective deployments. Ablation studies and in-depth analysis of the evolved prompts confirm that collaborative evolution is essential for achieving optimal performance. Our work establishes a new paradigm for swarm intelligence optimization algorithms, underscoring the indispensable role of prompt evolution.
Problem

Research questions and friction points this paper is trying to address.

Automated algorithm design frameworks neglect prompt evolution alongside algorithm development
Current approaches lack structured co-evolution between swarm intelligence algorithms and guiding prompts
Existing methods show limited interpretability and high dependency on powerful LLMs
Innovation

Methods, ideas, or system contributions that make the work stand out.

Co-evolution of swarm intelligence algorithms and prompts using LLM
Simple evaluation method for prompt templates to enhance interpretability
Framework reduces reliance on powerful LLMs for cost-effective deployment
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
S
Shipeng Cen
School of Intelligence Science and Technology, Peking University, Beijing 100871, China
Y
Ying Tan
School of Intelligence Science and Technology, Peking University, Beijing 100871, China