Skip to main content

Learning Levels of Mario AI Using Genetic Algorithms

  • Conference paper
  • First Online:
Advances in Artificial Intelligence (CAEPIA 2015)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 9422))

Included in the following conference series:

Abstract

This paper introduces an approach based on Genetic Algorithms to learn levels from the Mario AI simulator, based on the Infinite Mario Bros. game (which is, at the same time, based on the Super Mario World game from Nintendo). In this approach, an autonomous agent playing Mario is able to learn a sequence of actions in order to maximize the score, not looking at the current state of the game at each time.

Different parameters for the Genetic Algorithm are explored, and two different stages are executed: in the first, domain independent genetic operators are used; while in the second knowledge about the domain is incorporated to these operators in order to improve the results.

Results are encouraging, as Mario is able to complete very difficult levels full of enemies, resembling the behavior of an expert human player.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Mario AI Championship 2010: Results (2010). https://sites.google.com/a/marioai.com/www/results. Accessed 24 May 2015

  2. Bellemare, M.G., Naddaf, Y., Veness, J., Bowling, M.: The arcade learning environment: an evaluation platform for general agents. JAIR 47, 253–279 (2013)

    Google Scholar 

  3. Emgallar: Intelligent NPC for Mario AI Championship (2011). https://www.youtube.com/watch?v=u_0pgFQ8HcM. Accessed 22 May 2015

  4. Fujii, N., Sato, Y., Wakama, H., Katayose, H.: Autonomously acquiring a video game agent’s behavior: letting players feel like playing with a human player. In: Nijholt, A., Romão, T., Reidsma, D. (eds.) ACE 2012. LNCS, vol. 7624, pp. 490–493. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  5. Fujii, N., Sato, Y., Wakama, H., Kazai, K., Katayose, H.: Evaluating human-like behaviors of video-game agents autonomously acquired with biological constraints. In: Reidsma, D., Katayose, H., Nijholt, A. (eds.) ACE 2013. LNCS, vol. 8253, pp. 61–76. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  6. Karakovskiy, S., Togelius, J.: The Mario AI benchmark and competitions. IEEE Trans. Comput. Intell. AI Games 4(1), 55–67 (2012)

    Article  Google Scholar 

  7. Meffert, K., Rotstan, N.: JGAP: Java Genetic Algorithms Package (2015). http://jgap.sourceforge.com. Accessed 6 July 2015

  8. Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A., Veness, J., Graves, A., Riedmiller, M., Fidjeland, A., Ostrovski, G., Petersen, S., Beattie, C., Sadik, A., Antonoglou, I., King, H., Kumaran, D., Wierstra, D., Legg, S., Hassabis, D.: Human-level control through deep reinforcement learning. Nature 518, 529–533 (2015)

    Article  Google Scholar 

  9. Steadman, I.: This AI ‘Solves’ Super Mario Bros. and Other Classic NES Games (2013). http://www.wired.co.uk/news/archive/2013-04/12/super-mario-solved. Accessed 22 May 2015

  10. Togelius, J., Karakovskiy, S., Baumgarten, R.: The 2009 Mario AI competition. In: 2010 IEEE Congress on Evolutionary Computation, pp. 1–8 (2010)

    Google Scholar 

  11. Togelius, J., Karakovskiy, S., Koutnik, J., Schmidhuber, J.: Super Mario evolution. In: 2009 IEEE Symposium on Computational Intelligence and Games, pp. 156–161 (2009)

    Google Scholar 

  12. Valero, H., Saez, Y., Recio, G.: Computacin Evolutiva Aplicada al Desarrollo de Videojuegos: Mario AI (2011). http://e-archivo.uc3m.es/handle/10016/13308

Download references

Acknowledgements

This research work is co-funded by the Spanish Ministry of Industry, Tourism and Commerce under grant agreement no. TSI-090302-2011-11. Special acknowledgements are addressed at Hector Valero due to his contributions to the work.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alejandro Baldominos .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Baldominos, A., Saez, Y., Recio, G., Calle, J. (2015). Learning Levels of Mario AI Using Genetic Algorithms. In: Puerta, J., et al. Advances in Artificial Intelligence. CAEPIA 2015. Lecture Notes in Computer Science(), vol 9422. Springer, Cham. https://doi.org/10.1007/978-3-319-24598-0_24

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-24598-0_24

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-24597-3

  • Online ISBN: 978-3-319-24598-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics