Table of Contents
Fetching ...

LLM4EO: Large Language Model for Evolutionary Optimization in Flexible Job Shop Scheduling

Rongjie Liao, Junhao Qiu, Xin Chen, Xiaoping Li

TL;DR

This work introduces LLM4EO, a framework that uses large language models to perceive evolutionary dynamics and drive operator-level meta-evolution in evolutionary algorithms applied to flexible job shop scheduling. It combines knowledge-transfer-based operator design, evolution perception and analysis, and adaptive operator evolution to co-evolve solutions and meta-operators, guided by sophisticated prompting and feedback loops. Empirical evaluation on Brandimarte MFJS and DFJSP benchmarks shows that LLM4EO accelerates population evolution and yields superior makespan comparing favorably against GP, GEP, traditional EAs, and several hybrid methods, with good generalization across distributed settings. By integrating semantic understanding of problem structure and evolutionary state into operator design, the approach demonstrates a new paradigm for adaptive, domain-aware optimization that can adapt to diverse combinatorial problems.

Abstract

Customized static operator design has enabled widespread application of Evolutionary Algorithms (EAs), but their search performance is transient during iterations and prone to degradation. Dynamic operators aim to address this but typically rely on predefined designs and localized parameter control during the search process, lacking adaptive optimization throughout evolution. To overcome these limitations, this work leverages Large Language Models (LLMs) to perceive evolutionary dynamics and enable operator-level meta-evolution. The proposed framework, LLMs for Evolutionary Optimization (LLM4EO), comprises three components: knowledge-transfer-based operator design, evolution perception and analysis, and adaptive operator evolution. Firstly, initialization of operators is performed by transferring the strengths of classical operators via LLMs. Then, search preferences and potential limitations of operators are analyzed by integrating fitness performance and evolutionary features, accompanied by corresponding suggestions for improvement. Upon stagnation of population evolution, gene selection priorities of operators are dynamically optimized via improvement prompting strategies. This approach achieves co-evolution of populations and operators in the search, introducing a novel paradigm for enhancing the efficiency and adaptability of EAs. Finally, a series of validations on multiple benchmark datasets of the flexible job shop scheduling problem demonstrate that LLM4EO accelerates population evolution and outperforms both mainstream evolutionary programming and traditional EAs.

LLM4EO: Large Language Model for Evolutionary Optimization in Flexible Job Shop Scheduling

TL;DR

This work introduces LLM4EO, a framework that uses large language models to perceive evolutionary dynamics and drive operator-level meta-evolution in evolutionary algorithms applied to flexible job shop scheduling. It combines knowledge-transfer-based operator design, evolution perception and analysis, and adaptive operator evolution to co-evolve solutions and meta-operators, guided by sophisticated prompting and feedback loops. Empirical evaluation on Brandimarte MFJS and DFJSP benchmarks shows that LLM4EO accelerates population evolution and yields superior makespan comparing favorably against GP, GEP, traditional EAs, and several hybrid methods, with good generalization across distributed settings. By integrating semantic understanding of problem structure and evolutionary state into operator design, the approach demonstrates a new paradigm for adaptive, domain-aware optimization that can adapt to diverse combinatorial problems.

Abstract

Customized static operator design has enabled widespread application of Evolutionary Algorithms (EAs), but their search performance is transient during iterations and prone to degradation. Dynamic operators aim to address this but typically rely on predefined designs and localized parameter control during the search process, lacking adaptive optimization throughout evolution. To overcome these limitations, this work leverages Large Language Models (LLMs) to perceive evolutionary dynamics and enable operator-level meta-evolution. The proposed framework, LLMs for Evolutionary Optimization (LLM4EO), comprises three components: knowledge-transfer-based operator design, evolution perception and analysis, and adaptive operator evolution. Firstly, initialization of operators is performed by transferring the strengths of classical operators via LLMs. Then, search preferences and potential limitations of operators are analyzed by integrating fitness performance and evolutionary features, accompanied by corresponding suggestions for improvement. Upon stagnation of population evolution, gene selection priorities of operators are dynamically optimized via improvement prompting strategies. This approach achieves co-evolution of populations and operators in the search, introducing a novel paradigm for enhancing the efficiency and adaptability of EAs. Finally, a series of validations on multiple benchmark datasets of the flexible job shop scheduling problem demonstrate that LLM4EO accelerates population evolution and outperforms both mainstream evolutionary programming and traditional EAs.

Paper Structure

This paper contains 28 sections, 5 equations, 6 figures, 8 tables, 1 algorithm.

Figures (6)

  • Figure 1: The primary approaches for leveraging LLMs to assist in solving optimization problems.
  • Figure 2: The framework of LLM4EO.
  • Figure 3: The average convergence curves of MK01, MK02, MK04, MK05, MK06, MK07, MK09 and MK10.
  • Figure 4: Partial box plots of $RPD$ for GP, GEP and LLM4EO on Fattahi benchmark.
  • Figure 5: The average convergence curves of MK01, MK02, MK04, MK05, MK06, MK07, MK09 and MK10.
  • ...and 1 more figures