Proceedings

Topological Planning with Post-unique and Unary Actions

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 5429-5436.

https://doi.org/10.24963/ijcai.2023/603

Abstract

We are interested in realistic planning problems to model the behavior of Non-Playable Characters (NPCs) in video games. Search-based action planning, introduced by the game F.E.A.R. in 2005, has an exponential time complexity allowing to control only a dozen NPCs between two frames. A close study of the plans generated in first-person shooters shows that: (1) actions are unary, (2) actions are contextually post-unique and (3) there is no two instances of the same action in an NPC’s plan. By considering (1), (2) and (3) as restrictions, we introduce new classes of problems with the Simplified Action Structure formalism which indeed allow to model realistic problems and whose instances are solvable by a linear-time algorithm. We also experimentally show that our algorithm is capable of managing millions of NPCs per frame.

  1. [Bäckström, 1992] Christer Bäckström. Computational Complexity of Reasoning about Plans. PhD thesis, Depart- ment of Computer and Information Science, Linköping University, september 1992.
  2. [Bylander, 1994] Tom Bylander. The computational com- plexity of propositional STRIPS planning. Artificial In- telligence, 69(1-2):165-204, 1994.
  3. [Conway, 2015] Chris Conway. GOAP in Tomb Raider. https://youtu.be/gm7K68663rA?t=1200, March 2015. Ac- cessed on May 12 th , 2023. Link
  4. [Cooper et al., 2012] Martin Cooper, Frédéric Maris, and Pierre Régnier. Tractable monotone temporal planning. In Proceedings of the International Conference on Auto- mated Planning and Scheduling, volume 22, pages 20-28, 2012.
  5. [DefendTheHouse, 2018] DefendTheHouse. NPC daily life in Read Dead Redemption 2. https://youtu.be/MrUJJgppMn4?t=434, November 2018. Accessed on May 12 th , 2023. Link
  6. [Domshlak and Brafman, 2002] Carmel Domshlak and Ro- nen Brafman. Structure and complexity in planning with unary operators. In Proceedings of the 6 th International Conference on Artificial Intelligence Planning Systems, pages 34-43. AAAI Press, 2002.
  7. [Games, 2017] Guerilla Games. Horizon Zero Dawn. https://www.guerrilla-games.com/games, December 2017. Accessed on May 12 th , 2023. Link
  8. [Girard, 2021] Simon Girard. Postmortem: AI action planning on Assassin's Creed Odyssey and Immortals Fenyx Rising. https://www.gamedeveloper.com/programming/postmortem- AI-action-planning-on-Assassins-Creed-Odyssey-and- Immortals-Fenyx-Rising-, November 2021. Accessed on May 12 th , 2023. Link
  9. [Helmert, 2006] Malte Helmert. The fast downward plan- ning system. Journal of Artificial Intelligence Research, 26:191-246, 2006.
  10. [Higley, 2015] Peter Higley. GOAP at monolith productions. https://youtu.be/gm7K68663rA, March 2015. Accessed on May 12 th , 2023. [Horti, 2017] Samuel Horti. Why F.E.A.R.'s AI is still the best in first-person shooters -Flank, cover and run away. https://www.rockpapershotgun.com/why-fears-ai- is-still-the-best-in-first-person-shooters, April 2017. Ac- cessed on May 12 th , 2023. Link
  11. [Jacopin, 2014] Éric Jacopin. Game AI planning analytics: The case of three first-person shooters. In Proceedings of the 10 th AIIDE, pages 119-124. AAAI Press, 2014.
  12. [Jonsson and Bäckström, 1998] Peter Jonsson and Christer Bäckström. State-variable planning under structural re- strictions: algorithms and complexity. Artificial Intelli- gence, 100(1-2):125-176, April 1998.
  13. Monolith Pro- ductions. F.E.A.R. public tools. https://www.gamefront.com/games/f-e-a-r/file/f-e-a-r- v1-08-sdk, June 2006. Accessed on May 12 th , 2023. Link
  14. [Ocampo, 2007] Jason Ocampo. F.E.A.R. review. https://www.gamespot.com/reviews/fear-review/1900- 6169771/, April 2007. Accessed on May 12 th , 2023. Link
  15. [Orkin, 2003] Jeff Orkin. Applying goal-oriented action planning to games. In Steve Rabin, editor, AI Game Pro- gramming Wisdom 2, volume 2, chapter 3.4, pages 217- 227.
  16. [Orkin, 2005] Jeff Orkin. Agent architecture considerations for real-time planning in games. In Proceedings of the 1 st AIIDE, pages 105-110, 2005.
  17. [Prévost et al., 2022] Guillaume Prévost, Stéphane Cardon, Éric Jacopin, Tristan Cazenave, and Christophe Guettier. Planning for millions of NPCs in real-time. In 2022 IEEE Symposium Series on Computational Intelligence (SSCI), pages 330-336. IEEE, 2022.
  18. [Ubisoft, 2017] Ubisoft. Assassin's Creed: Origins. https://store.ubi.com/fr/assassin-s-creed-origins-all- games, Octobre 2017. Accessed on May 12 th , 2023. Link

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

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