Proceedings

NS4S: Neighborhood Search for Scheduling Problems Via Large Language Models

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 8687-8695.

https://doi.org/10.24963/ijcai.2025/966

Abstract

Large Language Models (LLMs) have emerged as a promising technology for solving combinatorial optimization problems. However, their direct application to scheduling problems remains limited due to the inherent complexity of these problems. This paper proposes an LLMs-based neighborhood search method that leverages LLMs to tackle the job shop scheduling problem (JSP) and its variants.

The main contributions of this work are threefold. First, we introduce a novel LLMs-guided neighborhood evaluation strategy that guides local search by dynamically adjusting operation weights. Second, we develop a verification evolution (VeEvo) framework to mitigate the hallucination effects of LLMs, enabling the generation of high-quality heuristics for weight updates. Third, we integrate this framework with the weighted neighborhood evaluation strategy to effectively guide the search towards promising regions.

Extensive experiments are conducted on 349 benchmark instances across three classical scheduling problems. The results demonstrate that our algorithm significantly outperforms existing state-of-the-art methods. For JSP, our algorithm reduces the average optimality gap from 10.46% to 1.35% on Taillard's instances compared to reinforced adaptive staircase curriculum learning. For flexible JSP (FJSP), it reduces the gap from 13.24% to 0.05% on Brandimarte's instances compared to deep reinforcement learning methods. Furthermore, for FJSP with sequence dependent setup time, our algorithm updates 9 upper bounds for benchmark instances.

  1. [Banerjee et al., 2024] Sourav Banerjee, Ayushi Agarwal, and Saloni Singla. Llms will always hallucinate, and we need to live with this. arXiv preprint arXiv:2409.05746, 2024.
  2. [Caldeira and Gnanavelbabu, 2019] Rylan H. Caldeira and A. Gnanavelbabu. Solving the flexible job shop scheduling problem using an improved jaya algorithm. Computers & Industrial Engineering, 137:106064, 2019.
  3. [Chen et al., 2020] Ronghua Chen, Bo Yang, Shi Li, and Shilong Wang. A self-learning genetic algorithm based on reinforcement learning for flexible job-shop schedul- ing problem. Computers & industrial engineering, 149:106778, 2020.
  4. [Ding et al., 2019] Junwen Ding, Zhipeng Lü, Chu-Min Li, Liji Shen, Liping Xu, and Fred Glover. A two-individual based evolutionary algorithm for the flexible job shop scheduling problem. In Proceedings of the AAAI Confer- ence on Artificial Intelligence, volume 33, pages 2262- 2271, 2019.
  5. [Fontes et al., 2023] Dalila BMM Fontes, S Mahdi Homay- ouni, and José F Gonc ¸alves. A hybrid particle swarm op- timization and simulated annealing algorithm for the job shop scheduling problem with transport resources. Eu- ropean Journal of Operational Research, 306(3):1140- 1157, 2023.
  6. [González et al., 2013] Miguel Ángel González, Camino Rodríguez Vela, and Ramiro Varela. An ef- ficient memetic algorithm for the flexible job shop with setup times. In Proceedings of the International Confer- ence on Automated Planning and Scheduling, volume 23, pages 91-99, 2013.
  7. [Guo et al., 2024] Haoxin Guo, Jianhua Liu, Yue Wang, and Cunbo Zhuang. An improved genetic programming hyper- heuristic for the dynamic flexible job shop scheduling problem with reconfigurable manufacturing cells. Journal of Manufacturing Systems, 74:252-263, 2024.
  8. [Iklassov et al., 2023] Zangir Iklassov, Dmitrii Medvedev, Ruben Solozabal Ochoa De Retana, and Martin Takac. On the study of curriculum learning for inferring dispatching policies on the job shop scheduling. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence, IJCAI, pages 5350-5358, 2023. IJCAI
  9. [Lei et al., 2022] Kun Lei, Peng Guo, Wenchao Zhao, Yi Wang, Linmao Qian, Xiangyin Meng, and Liansheng Tang. A multi-action deep reinforcement learning frame- work for flexible job-shop scheduling problem. Expert Systems with Applications, 205:117796, 2022.
  10. [Li et al., 2024] Junyi Li, Jie Chen, Ruiyang Ren, Xiaoxue Cheng, Wayne Xin Zhao, Jian-Yun Nie, and Ji-Rong Wen. The dawn after the dark: An empirical study on factual- ity hallucination in large language models. arXiv preprint arXiv:2401.03205, 2024.
  11. Liu et al., ] Tennison Liu, Nicolás Astorga, Nabeel Seedat, and Mihaela van der Schaar. Large language models to en- hance bayesian optimization. In The Twelfth International Conference on Learning Representations.
  12. [Liu et al., 2024a] Fei Liu, Xialiang Tong, Mingxuan Yuan, Xi Lin, Fu Luo, Zhenkun Wang, Zhichao Lu, and Qingfu Zhang. Evolution of heuristics: Towards efficient auto- matic algorithm design using large language mode. arXiv preprint arXiv:2401.02051, 2024.
  13. [Liu et al., 2024b] Hanchao Liu, Wenyuan Xue, Yifei Chen, Dapeng Chen, Xiutian Zhao, Ke Wang, Liping Hou, Rongjun Li, and Wei Peng. A survey on hallucina- tion in large vision-language models. arXiv preprint arXiv:2402.00253, 2024.
  14. [Liu et al., 2024c] Tennison Liu, Nicolás Astorga, Nabeel Seedat, and Mihaela van der Schaar. Large language mod- els to enhance bayesian optimization. In The Twelfth Inter- national Conference on Learning Representations, 2024.
  15. [Oddi et al., 2011] Angelo Oddi, Riccardo Rasconi, Amedeo Cesta, and Stephen F Smith. Job shop scheduling with routing flexibility and sequence dependent setup-times. 2011.
  16. [Pan et al., 2021] Zixiao Pan, Deming Lei, and Ling Wang. A bi-population evolutionary algorithm with feedback for energy-efficient fuzzy flexible job shop scheduling. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 52(8):5295-5307, 2021.
  17. [Romera-Paredes et al., 2024] Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M Pawan Kumar, Emilien Dupont, Francisco JR Ruiz, Jordan S Ellenberg, Pengming Wang, Omar Fawzi, et al. Mathematical discoveries from program search with large language models. Nature, 625(7995):468-475, 2024.
  18. [Rooyani and Defersha, 2019] Danial Rooyani and Fan- tahun M Defersha. An efficient two-stage genetic algorithm for flexible job-shop scheduling. IFAC- PapersOnLine, 52(13):2519-2524, 2019.
  19. [Sels et al., 2012] Veronique Sels, Nele Gheysen, and Mario Vanhoucke. A comparison of priority rules for the job shop scheduling problem under different flow time-and tardiness-related objective functions. International Jour- nal of Production Research, 50(15):4255-4270, 2012.
  20. [Song et al., 2022] Wen Song, Xinyang Chen, Qiqiang Li, and Zhiguang Cao. Flexible job-shop scheduling via graph neural network and deep reinforcement learning. IEEE Transactions on Industrial Informatics, 19(2):1600-1610, 2022.
  21. [Sun et al., 2023a] Kexin Sun, Debin Zheng, Haohao Song, Zhiwen Cheng, Xudong Lang, Weidong Yuan, and Jiquan Wang. Hybrid genetic algorithm with variable neighbor- hood search for flexible job shop scheduling problem in a machining system. Expert Systems with Applications, 215:119359, 2023.
  22. [Sun et al., 2023b] Kexin Sun, Debin Zheng, Haohao Song, Zhiwen Cheng, Xudong Lang, Weidong Yuan, and Jiquan Wang. Hybrid genetic algorithm with variable neighbor- hood search for flexible job shop scheduling problem in a machining system. Expert Systems with Applications, 215:119359, 2023.
  23. [Tian et al., 2024] Shichen Tian, Chunjiang Zhang, Jiaxin Fan, Xinyu Li, and Liang Gao. A genetic algorithm with critical path-based variable neighborhood search for dis- tributed assembly job shop scheduling problem. Swarm and Evolutionary Computation, 85:101485, 2024.
  24. [Xie et al., 2023] Jin Xie, Xinyu Li, Liang Gao, and Lin Gui. A hybrid genetic tabu search algorithm for distributed flex- ible job shop scheduling problems. Journal of Manufac- turing Systems, 71:82-94, 2023.
  25. [Xu et al., 2024] Ziwei Xu, Sanjay Jain, and Mohan Kankanhalli. Hallucination is inevitable: An innate limitation of large language models. arXiv preprint arXiv:2401.11817, 2024.
  26. [Yao et al., 2024] Youjie Yao, Lin Gui, Xinyu Li, and Liang Gao. Tabu search based on novel neighborhood struc- tures for solving job shop scheduling problem integrating finite transportation resources. Robotics and Computer- Integrated Manufacturing, 89:102782, 2024.
  27. [Ye et al., 2024] Haoran Ye, Jiarui Wang, Zhiguang Cao, and Guojie Song. Reevo: Large language models as hyper-heuristics with reflective evolution. arXiv preprint arXiv:2402.01145, 2024.
  28. [Yuan et al., 2023] Erdong Yuan, Shuli Cheng, Liejun Wang, Shiji Song, and Fang Wu. Solving job shop scheduling problems via deep reinforcement learning. Applied Soft Computing, 143:110436, 2023.
  29. [Yuan et al., 2024] Erdong Yuan, Liejun Wang, Shuli Cheng, Shiji Song, Wei Fan, and Yongming Li. Solving flexi- ble job shop scheduling problems via deep reinforcement learning. Expert Systems with Applications, 245:123019, 2024.
  30. Zeng et al., ] Junhua Zeng, Chao Li, Zhun Sun, Qibin Zhao, and Guoxu Zhou. tngps: Discovering unknown tensor net- work structure search algorithms via large language mod- els (llms). In Forty-first International Conference on Ma- chine Learning.
  31. [Zhang et al., 2020] Cong Zhang, Wen Song, Zhiguang Cao, Jie Zhang, Puay Siew Tan, and Xu Chi. Learning to dispatch for job shop scheduling via deep reinforcement learning. Advances in neural information processing sys- tems, 33:1621-1632, 2020.
  32. [Zhang et al., 2023] Jia-Dong Zhang, Zhixiang He, Wing- Ho Chan, and Chi-Yin Chow. Deepmag: Deep rein- forcement learning with multi-agent graphs for flexible job shop scheduling. Knowledge-Based Systems, 259:110083, 2023.
  33. [Zhang et al., 2024] Junjie Zhang, Zhipeng Lü, Junwen Ding, Zhouxing Su, Xingyu Li, and Liang Gao. An effec- tive local search algorithm for flexible job shop scheduling in intelligent manufacturing systems. Engineering, 2024.
  34. [Zhuang et al., 2024] Yuchen Zhuang, Xiang Chen, Tong Yu, Saayan Mitra, Victor Bursztyn, Ryan A. Rossi, Somdeb Sarkhel, and Chao Zhang. Toolchain*: Efficient action space navigation in large language models with a* search. In The Twelfth International Conference on Learn- ing Representations, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards