Skip to main content

Strategies for Evolving Diverse and Effective Behaviours in Pursuit Domains

  • Conference paper
  • First Online:
Applications of Evolutionary Computation (EvoApplications 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14635))

  • 103 Accesses

Abstract

Gamer engagement with computer opponents is an important aspect of computer games. Players will be bored if computer opponents are predictable, and the game will be monotonous. Computer opponents that are both challenging and exhibit interesting and novel behaviours are ideal. This research explores different strategies that encourage diverse emergent behaviours for evolved intelligent agents, while maintaining good performance with the task at hand. We consider the pursuit domain, which consists of a single predator agent and twenty prey agents. The predator’s controller is evolved through genetic programming, while the preys’ controllers are hand-crafted. The fitness of a solution is calculated as the number of prey captured. Inspired by Lehman and Stanley’s novelty search strategy, the fitness is combined with a diversity score, determined by combining four rudimentary behaviour measurements. We combine these basic scores using the many objective optimization strategy known as “sum of ranks”, which is proven to effectively balance a high number of conflicting objectives in optimization problems. We also examine different population diversity strategies, as well as different weighting schemes for combining fitness and diversity scores. After producing sets of solutions for the above experiments, we manually tabulate higher-level emergent behaviour observed in the evolved predators. The use of K-nearest neighbours (K=32) with population archive, combined with a fitness:diversity weighting of 50:50, gave the best results, as it effectively balanced good fitness performance and diverse emergent behaviour.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Alhejali, A.M., Lucas, S.M.: Evolving diverse ms. pac-man playing agents using genetic programming. In: 2010 UK Workshop on Computational Intelligence (UKCI), pp. 1–6. IEEE (2010)

    Google Scholar 

  2. Bentley, P.J., Wakefield, J.P.: Finding acceptable solutions in the pareto-optimal range using multiobjective genetic algorithms. In: Chawdhry, P.K., Roy, R., Pant, R.K. (eds.) Soft Computing in Engineering Design and Manufacturing, pp. 231–240. Springer London, London (1998). https://doi.org/10.1007/978-1-4471-0427-8_25

    Chapter  Google Scholar 

  3. Bullen, T., Katchabaw, M.: Using genetic algorithms to evolve character behaviours in modern video games. In: Proceedings of the GAMEON-NA (2008)

    Google Scholar 

  4. Chatzilygeroudis, K.I., Cully, A., Vassiliades, V., Mouret, J.: Quality-diversity optimization: a novel branch of stochastic optimization. CoRR (2020). https://arxiv.org/abs/2012.04322

  5. Corne, D.W., Knowles, J.D.: Techniques for highly multiobjective optimisation: some nondominated points are better than others. In: Proceedings of the 9th Annual Conference on Genetic and Evolutionary Computation, pp. 773–780 (2007)

    Google Scholar 

  6. Cowan, T.: Strategies for Evolving Diverse and Effective Behaviours in Pursuit Domains. Master’s thesis, Brock University (2021)

    Google Scholar 

  7. Dockhorn, A., Kruse, R.: Combining cooperative and adversarial coevolution in the context of pac-man. In: 2017 IEEE Conference on Computational Intelligence and Games (CIG), pp. 60–67. IEEE (2017)

    Google Scholar 

  8. Gomes, J., Mariano, P., Christensen, A.L.: Devising effective novelty search algorithms: a comprehensive empirical study. In: Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation, pp. 943–950 (2015)

    Google Scholar 

  9. Joseph, M.: Emergent Behaviour in Game AI: A Genetic Programming and CNN-based Approach to Intelligent Agent Design. Master’s thesis, Brock University (2023)

    Google Scholar 

  10. Koza, J.R., Koza, J.R.: Genetic programming: on the programming of computers by means of natural selection, vol. 1. MIT press (1992)

    Google Scholar 

  11. Lehman, J., Stanley, K.O.: Abandoning objectives: evolution through the search for novelty alone. Evol. Comput. 19(2), 189–223 (2011)

    Article  Google Scholar 

  12. Lehman, J., Stanley, K.O.: Evolving a diversity of virtual creatures through novelty search and local competition. In: Proceedings of the 13th Annual Conference on Genetic and Evolutionary Computation, pp. 211–218 (2011)

    Google Scholar 

  13. Lehman, J., Stanley, K.O.: Novelty search and the problem with objectives. In: Riolo, R., Vladislavleva, E., Moore, J.H. (eds.) Genetic Programming Theory and Practice IX, pp. 37–56. Springer New York, New York, NY (2011). https://doi.org/10.1007/978-1-4614-1770-5_3

    Chapter  Google Scholar 

  14. Lehman, J., Stanley, K.O., et al.: Exploiting open-endedness to solve problems through the search for novelty. In: Proceedings of the 11th International Conference on Artificial Life (ALIFE XI), pp. 329–336 (2008)

    Google Scholar 

  15. Liberatore, F., Mora, A.M., Castillo, P.A., Merelo, J.J.: Comparing heterogeneous and homogeneous flocking strategies for the ghost team in the game of ms. pac-man. IEEE Trans. Comput. Intell. AI Games 8(3), 278–287 (2015)

    Google Scholar 

  16. Luke, S.: ECJ: A java-based evolutionary computation research system. https://cs.gmu.edu/~eclab/projects/ecj/. [Accessed 13 Oct 2021]

  17. Montana, D.: Strongly typed genetic programming. Evol. Comput. 3(2), 199–230 (1995)

    Article  Google Scholar 

  18. Mouret, J.B., Doncieux, S.: Encouraging behavioral diversity in evolutionary robotics: an empirical study. Evol. Comput. 20(1), 91–133 (2012)

    Article  Google Scholar 

  19. Mouret, J.-B.: Novelty-Based Multiobjectivization. In: Doncieux, S., Bredèche, N., Mouret, J.-B. (eds.) New Horizons in Evolutionary Robotics, pp. 139–154. Springer Berlin Heidelberg, Berlin, Heidelberg (2011). https://doi.org/10.1007/978-3-642-18272-3_10

    Chapter  Google Scholar 

  20. Pozzuoli, A., Ross, B.J.: Increasing features in map-elites using an age-layered population structure. In: IEEE Congress on Evolutionary Computation, CEC 2023, Chicago, IL, USA, July 1–5, 2023, pp. 1–8. IEEE (2023). https://doi.org/10.1109/CEC53210.2023.10254093

  21. Rohlfshagen, P., Lucas, S.M.: Ms pac-man versus ghost team cec 2011 competition. In: 2011 IEEE Congress of Evolutionary Computation (CEC), pp. 70–77. IEEE (2011)

    Google Scholar 

Download references

Acknowledgements

This research was supported by NSERC Discovery Grant RGPIN-2016-03653.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Brian J. Ross .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Cowan, T., Ross, B.J. (2024). Strategies for Evolving Diverse and Effective Behaviours in Pursuit Domains. In: Smith, S., Correia, J., Cintrano, C. (eds) Applications of Evolutionary Computation. EvoApplications 2024. Lecture Notes in Computer Science, vol 14635. Springer, Cham. https://doi.org/10.1007/978-3-031-56855-8_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-56855-8_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-56854-1

  • Online ISBN: 978-3-031-56855-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics