CDEoH: Category-Driven Automatic Algorithm Design With Large Language Models

arXiv cs.AI / 3/23/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper introduces Category Driven Automatic Algorithm Design with Large Language Models (CDEoH), which explicitly models algorithm categories and balances performance with category diversity to improve evolutionary stability.
  • CDEoH enables parallel exploration across multiple algorithmic paradigms by managing category diversity during population selection.
  • Extensive experiments on representative combinatorial optimization problems across multiple scales show that CDEoH mitigates premature convergence and yields consistently superior average performance.
  • The results suggest that maintaining category diversity is a critical factor for stable and effective evolution when using LLM-based heuristic search.

Abstract

With the rapid advancement of large language models (LLMs), LLM-based heuristic search methods have demonstrated strong capabilities in automated algorithm generation. However, their evolutionary processes often suffer from instability and premature convergence. Existing approaches mainly address this issue through prompt engineering or by jointly evolving thought and code, while largely overlooking the critical role of algorithmic category diversity in maintaining evolutionary stability. To this end, we propose Category Driven Automatic Algorithm Design with Large Language Models (CDEoH), which explicitly models algorithm categories and jointly balances performance and category diversity in population management, enabling parallel exploration across multiple algorithmic paradigms. Extensive experiments on representative combinatorial optimization problems across multiple scales demonstrate that CDEoH effectively mitigates convergence toward a single evolutionary direction, significantly enhancing evolutionary stability and achieving consistently superior average performance across tasks and scales.