Proceedings

Theoretical Analysis of Evolutionary Algorithms with Quality Diversity for a Classical Path Planning Problem

Download BibTeX Cite

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

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

Abstract

Quality diversity (QD) algorithms, an extension of evolutionary algorithms, excel at generating diverse sets of high-quality solutions for complex problems in robotics, games, and combinatorial optimisation. Despite their success, the underlying mechanisms remain poorly understood due to a lack of a theoretical foundation. We address this gap by analysing QD algorithms on the all-pairs-shortest-paths (APSP) problem, a classical planning task that naturally seeks multiple solutions. Using Map-Elites, a prominent QD approach, we leverage its ability to evolve solutions across distinct regions of a behavioural space, which for APSP corresponds to all pairs of nodes in the graph.

Our analysis rigorously demonstrates that evolutionary algorithms using Map-Elites efficiently compute shortest paths for all node pairs in parallel by exploiting synergies in the behavioural space. By appending edges to an existing shortest path, mutation can create optimal solutions in other regions of the behavioural space. Crossover is particularly effective, as it can combine optimal paths from two regions to produce an optimal path for a third region simply by concatenating two shortest paths. Finally, refining the parent selection to facilitate successful crossovers exhibits significant speed-ups compared to standard QD approaches.

  1. [Baste et al., 2019] Julien Baste, Lars Jaffke, Tomás Masarík, Geevarghese Philip, and Günter Rote. FPT algo- rithms for diverse collections of hitting sets. Algorithms, 12(12):254, 2019.
  2. [Baste et al., 2022] Julien Baste, Michael R. Fellows, Lars Jaffke, Tomás Masarík, Mateus de Oliveira Oliveira, Gee- varghese Philip, and Frances A. Rosamond. Diver- sity of solutions: An exploration through the lens of fixed-parameter tractability theory. Artificial Intelligence, 303:103644, 2022. IJCAI
  3. [Bossek and Neumann, 2022] Jakob Bossek and Frank Neu- mann. Exploring the feature space of TSP instances using quality diversity. In Proc. of GECCO 2022, pages 186- 194. ACM, 2022.
  4. [Bossek and Sudholt, 2024] Jakob Bossek and Dirk Sudholt. Runtime analysis of quality diversity algorithms. Algorith- mica, 86(10):3252-3283, 2024.
  5. [Corus and Lehre, 2018] Dogan Corus and Per Kristian Lehre. Theory driven design of efficient genetic algorithms for a classical graph problem. In Recent Developments in Metaheuristics, pages 125-140. Springer International Publishing, 2018.
  6. [Covantes Osuna and Sudholt, 2022] Edgar Covantes Osuna and Dirk Sudholt. Runtime analysis of restricted tour- nament selection for bimodal optimisation. Evolutionary Computation, 30(1):1-26, 2022.
  7. [Cully and Demiris, 2018] Antoine Cully and Yiannis Demiris. Quality and diversity optimization: A unifying modular framework. IEEE Transactions on Evolutionary Computation, 22(2):245-259, 2018.
  8. [Dang et al., 2016] Duc-Cuong Dang, Tobias Friedrich, Timo Kötzing, Martin S. Krejca, Per Kristian Lehre, Pietro S. Oliveto, Dirk Sudholt, and Andrew M. Sut- ton. Escaping local optima with diversity mechanisms and crossover. In Proc. of GECCO 2016, pages 645-652. ACM, 2016.
  9. [Doerr and Neumann, 2020] Benjamin Doerr and Frank Neumann, editors. Theory of Evolutionary Computation: Recent Developments in Discrete Optimization. Springer, 2020.
  10. [Doerr and Theile, 2009] Benjamin Doerr and Madeleine Theile. Improved analysis methods for crossover-based algorithms. In Proc. of GECCO 2009, pages 247-254. ACM, 2009.
  11. [Doerr et al., 2012] Benjamin Doerr, Edda Happ, and Chris- tian Klein. Crossover can provably be useful in evolution- ary computation. Theoretical Computer Science, 425:17- 33, 2012.
  12. [Doerr et al., 2013] Benjamin Doerr, Daniel Johannsen, Timo Kötzing, Frank Neumann, and Madeleine Theile. More effective crossover operators for the all-pairs short- est path problem. Theoretical Computer Science, 471:12- 26, 2013.
  13. [Floyd, 1962] Robert W. Floyd. Algorithm 97: Shortest path. Communications of the ACM (CACM), 5(6):345, 1962.
  14. [Fomin et al., 2024] Fedor V. Fomin, Petr A. Golovach, Lars Jaffke, Geevarghese Philip, and Danil Sagunov. Diverse pairs of matchings. Algorithmica, 86(6):2026-2040, 2024.
  15. [Fontaine et al., 2020] Matthew C. Fontaine, Julian To- gelius, Stefanos Nikolaidis, and Amy K. Hoover. Covari- ance matrix adaptation for the rapid illumination of behav- ior space. In Proc. of GECCO 2020, pages 94-102. ACM, 2020.
  16. [Fontaine et al., 2021] Matthew C. Fontaine, Ruilin Liu, Ahmed Khalifa, Jignesh Modi, Julian Togelius, Amy K. Hoover, and Stefanos Nikolaidis. Illuminating mario scenes in the latent space of a generative adversarial net- work. In Proc. of AAAI 2021, pages 5922-5930. AAAI Press, 2021.
  17. [Friedrich et al., 2009] Tobias Friedrich, Pietro S. Oliveto, Dirk Sudholt, and Carsten Witt. Analysis of Diversity- preserving Mechanisms for Global Exploration. Evolu- tionary Computation, 17(4):455-476, 2009.
  18. [Gao and Neumann, 2014] Wanru Gao and Frank Neumann. Runtime analysis for maximizing population diversity in single-objective optimization. In Proc. of GECCO 2014, pages 777-784. ACM, 2014.
  19. [Gao et al., 2021] Wanru Gao, Samadhi Nallaperuma, and Frank Neumann. Feature-based diversity optimization for problem instance classification. Evolutionary Computa- tion, 29(1):107-128, 2021.
  20. [Gao et al., 2022] Jie Gao, Mayank Goswami, Karthik C. S., Meng-Tsung Tsai, Shih-Yu Tsai, and Hao-Tsung Yang. Obtaining approximately optimal and diverse solutions via dispersion. In Proc. of LATIN 2022, volume 13568 of LNCS, pages 222-239. Springer, 2022.
  21. [Gravina et al., 2018] Daniele Gravina, Antonios Liapis, and Georgios N. Yannakakis. Fusing novelty and surprise for evolving robot morphologies. In Proc. of GECCO 2018, pages 93-100. ACM, 2018.
  22. [Hagg et al., 2018] Alexander Hagg, Alexander Asteroth, and Thomas Bäck. Prototype discovery using quality- diversity. In Proc. of PPSN 2018, volume 11101 of LNCS, pages 500-511. Springer, 2018.
  23. [Hanaka et al., 2021] Tesshu Hanaka, Yasuaki Kobayashi, Kazuhiro Kurita, and Yota Otachi. Finding diverse trees, paths, and more. In Proc. of AAAI 2021, pages 3778-3786. AAAI Press, 2021.
  24. [Hanaka et al., 2023] Tesshu Hanaka, Masashi Kiyomi, Ya- suaki Kobayashi, Yusuke Kobayashi, Kazuhiro Kurita, and Yota Otachi. A framework to design approximation algo- rithms for finding diverse solutions in combinatorial prob- lems. In Proc. of AAAI 2023, pages 3968-3976. AAAI Press, 2023.
  25. [Ingmar et al., 2020] Linnea Ingmar, Maria Garcia de la Banda, Peter J. Stuckey, and Guido Tack. Modelling diver- sity of solutions. In Proc. of AAAI 2020, pages 1528-1535. AAAI Press, 2020.
  26. [Jansen, 2013] Thomas Jansen. Analyzing Evolutionary Al- gorithms -The Computer Science Perspective. Springer, 2013.
  27. [Johnson, 1977] Donald B. Johnson. Efficient algorithms for shortest paths in sparse networks. Journal of the ACM, 24(1):1-13, 1977.
  28. [Lehman and Stanley, 2011] Joel Lehman and Kenneth O. Stanley. Evolving a diversity of virtual creatures through novelty search and local competition. In Proc. of GECCO 2011, pages 211-218. ACM, 2011.
  29. [Medina et al., 2023] Alejandro Medina, Melanie Richey, Mark Mueller, and Jacob Schrum. Evolving flying ma- chines in minecraft using quality diversity. In Proc. of GECCO 2023, pages 1418-1426. ACM, 2023.
  30. [Miao et al., 2022] Jiayu Miao, Tianze Zhou, Kun Shao, Ming Zhou, Weinan Zhang, Jianye Hao, Yong Yu, and Jun Wang. Promoting quality and diversity in population- based reinforcement learning via hierarchical trajectory space exploration. In Proc. of ICRA 2022, pages 7544- 7550. IEEE, 2022.
  31. [Mouret and Clune, 2015] Jean-Baptiste Mouret and Jeff Clune. Illuminating search spaces by mapping elites. CoRR, abs/1504.04909, 2015.
  32. [Neumann and Witt, 2010] Frank Neumann and Carsten Witt. Bioinspired Computation in Combinatorial Opti- mization -Algorithms and Their Computational Complex- ity. Springer, 2010.
  33. [Neumann et al., 2018] Aneta Neumann, Wanru Gao, Car- ola Doerr, Frank Neumann, and Markus Wagner. Discrepancy-based evolutionary diversity optimization. In Proc. of GECCO 2018, pages 991-998. ACM, 2018.
  34. [Neumann et al., 2019] Aneta Neumann, Wanru Gao, Markus Wagner, and Frank Neumann. Evolutionary diversity optimization using multi-objective indicators. In Proc. of GECCO 2019, pages 837-845. ACM, 2019.
  35. [Nikfarjam et al., 2022] Adel Nikfarjam, Anh Viet Do, and Frank Neumann. Analysis of quality diversity algorithms for the knapsack problem. In Proc. of PPSN 2022, volume 13399 of LNCS, pages 413-427. Springer, 2022.
  36. [Nikfarjam et al., 2024a] Adel Nikfarjam, Aneta Neumann, and Frank Neumann. On the use of quality diversity al- gorithms for the travelling thief problem. ACM Transac- tions on Evolutionary Learning and Optimization, 4(2):12, 2024.
  37. [Nikfarjam et al., 2024b] Adel Nikfarjam, Ty Stanford, Aneta Neumann, Dorothea Dumuid, and Frank Neumann. Quality diversity approaches for time-use optimisation to improve health outcomes. In Proc. of GECCO 2024, page 1318-1326. ACM, 2024.
  38. [Pugh et al., 2016] Justin K. Pugh, Lisa B. Soros, and Ken- neth O. Stanley. Searching for quality diversity when di- versity is unaligned with quality. In Proc. of PPSN 2016, volume 9921 of LNCS, pages 880-889. Springer, 2016.
  39. [Qian et al., 2024] Chao Qian, Ke Xue, and Ren-Jian Wang. Quality-diversity algorithms can provably be helpful for optimization. In Proc. of IJCAI 2024. ijcai.org, 2024. IJCAI
  40. [Ren et al., 2024] Shengjie Ren, Zhijia Qiu, Chao Bian, Miqing Li, and Chao Qian. Maintaining diversity provably helps in evolutionary multimodal optimization. In Proc. of IJCAI 2024, pages 7012-7020. ijcai.org, 2024. IJCAI
  41. [Schmidbauer et al., 2024] Marcus Schmidbauer, Andre Opris, Jakob Bossek, Frank Neumann, and Dirk Sudholt. Guiding quality diversity on monotone submodular func- tions: Customising the feature space by adding Boolean conjunctions. In Proc. of GECCO 2024, page 1614-1622. ACM, 2024.
  42. [Shen et al., 2020] Ruimin Shen, Yan Zheng, Jianye Hao, Zhaopeng Meng, Yingfeng Chen, Changjie Fan, and Yang Liu. Generating behavior-diverse game AIs with evolu- tionary multi-objective deep reinforcement learning. In Proc. of IJCAI 2020, pages 3371-3377. ijcai.org, 2020. IJCAI
  43. [Sudholt and Thyssen, 2012] Dirk Sudholt and Christian Thyssen. Running time analysis of ant colony optimiza- tion for shortest path problems. Journal of Discrete Algo- rithms, 10:165-180, 2012.
  44. [Sudholt, 2020] Dirk Sudholt. The benefits of population di- versity in evolutionary algorithms: A survey of rigorous runtime analyses. In Theory of Evolutionary Computation -Recent Developments in Discrete Optimization, Natural Computing Series, pages 359-404. Springer, 2020.
  45. [Vonásek and Saska, 2018] Vojtech Vonásek and Martin Saska. Increasing diversity of solutions in sampling-based path planning. In Proc. of ICRAI 2018, pages 97-102. ACM, 2018.
  46. [Witt, 2014] Carsten Witt. Fitness levels with tail bounds for the analysis of randomized search heuristics. Information Processing Letters, 114(1-2):38-41, 2014.
  47. [Zardini et al., 2021] Enrico Zardini, Davide Zappetti, Da- vide Zambrano, Giovanni Iacca, and Dario Floreano. Seeking quality diversity in evolutionary co-design of mor- phology and control of soft tensegrity modular robots. In Proc. of GECCO 2021, pages 189-197. ACM, 2021.

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

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