[Paper Review] Automatic programming via large language models with population self-evolution for dynamic job shop scheduling problem
This paper proposes SeEvo, a novel population self-evolutionary framework that leverages large language models (LLMs) to automatically generate and refine heuristic dispatching rules (HDRs) for dynamic job shop scheduling problems (DJSSP). By integrating individual and collective self-evolution reflections, SeEvo enhances exploration and exploitation, outperforming GP, GEP, and end-to-end deep reinforcement learning methods—especially in unseen and dynamic scenarios.
Heuristic dispatching rules (HDRs) are widely regarded as effective methods for solving dynamic job shop scheduling problems (DJSSP) in real-world production environments. However, their performance is highly scenario-dependent, often requiring expert customization. To address this, genetic programming (GP) and gene expression programming (GEP) have been extensively used for automatic algorithm design. Nevertheless, these approaches often face challenges due to high randomness in the search process and limited generalization ability, hindering the application of trained dispatching rules to new scenarios or dynamic environments. Recently, the integration of large language models (LLMs) with evolutionary algorithms has opened new avenues for prompt engineering and automatic algorithm design. To enhance the capabilities of LLMs in automatic HDRs design, this paper proposes a novel population self-evolutionary (SeEvo) method, a general search framework inspired by the self-reflective design strategies of human experts. The SeEvo method accelerates the search process and enhances exploration capabilities. Experimental results show that the proposed SeEvo method outperforms GP, GEP, end-to-end deep reinforcement learning methods, and more than 10 common HDRs from the literature, particularly in unseen and dynamic scenarios.
Motivation & Objective
- Address the poor generalization and high randomness in existing automatic algorithm design methods for dynamic job shop scheduling problems (DJSSP).
- Overcome the limitations of genetic programming (GP) and gene expression programming (GEP), which suffer from stochastic search and limited adaptability to new scenarios.
- Leverage the domain knowledge and pattern recognition of large language models (LLMs) to generate more generalized and effective heuristic dispatching rules.
- Improve exploration and exploitation efficiency in HDR search by introducing a self-evolutionary mechanism inspired by human expert reflection strategies.
- Demonstrate superior performance of the proposed method in both static and dynamic DJSSP scenarios, particularly in unseen environments.
Proposed method
- Propose a population self-evolutionary (SeEvo) framework that uses LLMs as hyper-heuristic generators to create initial heuristic dispatching rules (HDRs).
- Implement three reflection mechanisms: individual co-evolution reflection, individual self-evolution reflection, and collective evolution reflection to guide HDR refinement.
- Use real-time feedback from scheduling simulations to iteratively improve HDR quality through self-evolution, enhancing exploration and exploitation.
- Employ LLM APIs (e.g., GLM-3, GPT-3.5) to generate HDRs based on prompt engineering and training on diverse order batch datasets.
- Integrate a validation loop where evolved HDRs are tested on static and dynamic DJSSP instances to assess performance and guide further evolution.
- Apply ablation studies to isolate the impact of individual self-evolution, confirming its critical role in performance improvement.
Experimental results
Research questions
- RQ1Can LLMs effectively generate generalized heuristic dispatching rules (HDRs) for dynamic job shop scheduling problems (DJSSP) without fine-tuning?
- RQ2How does the inclusion of self-evolution mechanisms—individual and collective reflection—improve the exploration and exploitation capabilities of HDR generation?
- RQ3To what extent does the SeEvo method generalize to unseen DJSSP scenarios compared to traditional GP, GEP, and end-to-end deep reinforcement learning (DRL) methods?
- RQ4What is the impact of individual self-evolution on convergence speed and solution quality in dynamic scheduling environments?
- RQ5Can the LLM-based SeEvo framework maintain high performance in dynamic scenarios with real-time changes such as machine breakdowns and new order arrivals?
Key findings
- SeEvo significantly outperforms GP, GEP, and end-to-end DRL methods in static generalization performance, achieving a lower average makespan on benchmark datasets.
- On the TA70 test set with 30 jobs and 20 machines, SeEvo (GLM-3) achieved a makespan of 2445, outperforming DRL-GAT (2628) and ReEvo (2452).
- In dynamic scenarios, SeEvo demonstrates strong adaptability and robustness, maintaining high performance even under uncertainty and real-time changes.
- The ablation study confirms that removing individual self-evolution (ReEvo) leads to worse performance than SeEvo, with ReEvo underperforming even GP on the DMU dataset.
- SeEvo (GLM-3) achieves better average results than GPT-3.5, primarily due to clearer and more structured heuristic strategies generated by GLM-3-Turbo.
- The method generates effective HDRs with only a single iteration, indicating high efficiency and strong generalization from diverse training data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.