journal article·2018-07-03Open access

Learning Behavior Trees for Autonomous Agents with Hybrid Constraints Evolution

Qi Zhang, Jian Yao, Quanjun Yin, Yabing Zha

Applied Sciences· Volume 8· Issue 7

Abstract

In modern training, entertainment and education applications, behavior trees (BTs) have already become a fantastic alternative to finite state machines (FSMs) in modeling and controlling autonomous agents. However, it is expensive and inefficient to create BTs for various task scenarios manually. Thus, the genetic programming (GP) approach has been devised to evolve BTs automatically but only received limited success. The standard GP approaches to evolve BTs fail to scale up and to provide good solutions, while GP approaches with domain-specific constraints can accelerate learning but need significant knowledge engineering effort. In this paper, we propose a modified approach, named evolving BTs with hybrid constraints (EBT-HC), to improve the evolution of BTs for autonomous agents. We first propose a novel idea of dynamic constraint based on frequent sub-trees mining, which can accelerate evolution by protecting preponderant behavior sub-trees from undesired crossover. Then we introduce the existing ‘static’ structural constraint into our dynamic constraint to form the evolving BTs with hybrid constraints. The static structure can constrain expected BT form to reduce the size of the search space, thus the hybrid constraints would lead more efficient learning and find better solutions without the loss of the domain-independence. Preliminary experiments, carried out on the Pac-Man game environment, show that the hybrid EBT-HC outperforms other approaches in facilitating the BT design by achieving better behavior performance within fewer generations. Moreover, the generated behavior models by EBT-HC are human readable and easy to be fine-tuned by domain experts.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Evolutionary Algorithms and Applications · Metaheuristic Optimization Algorithms Research · Reinforcement Learning in Robotics

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Systems Engineering, National University of Defense Technology, Changsha 410073, Hunan, China

Funding

National Natural Science Foundation of China

References (32)

Show source-provided references
1. Tirnauca, C., Montana, J.L., Ontanon, S., Gonzalez, A.J., and Pardo, L.M. (2016). Behavioral Modeling Based on Probabilistic Finite Automata: An Empirical Study. Sensors, 16.10.3390/s16070958 ↗
2. Toubman, A., Poppinga, G., Roessingh, J.J., Hou, M., Luotsinen, L., Lovlid, R.A., Meyer, C., Rijken, R., and Turcanik, M. (December, January 30). Modeling CGF Behavior with Machine Learning Techniques: Requirements and Future Directions. Proceedings of the 2015 Interservice/Industry Training, Simulation, and Education Conference, Orlando, FL, USA.
3. Diller, D.E., Ferguson, W., Leung, A.M., Benyo, B., and Foley, D. (2004, January 17–20). Behavior modeling in commercial games. Proceedings of the 2004 Conference on Behavior Representation in Modeling and Simulation (BRIMS), Arlington, VA, USA.
4. Kamrani, F., Luotsinen, L.J., and Løvlid, R.A. (2017, January 9–12). Learning objective agent behavior using a data-driven modeling approach. Proceedings of the IEEE International Conference on Systems, Man, and Cybernetics, Budapest, Hungary.10.1109/SMC.2016.7844561 ↗
5. Luotsinen, L.J., Kamrani, F., Hammar, P., Jändel, M., and Løvlid, R.A. (2017, January 9–12). Evolved creative intelligence for computer generated forces. Proceedings of the IEEE International Conference on Systems, Man, and Cybernetics, Budapest, Hungary.10.1109/SMC.2016.7844707 ↗
6. Yao, J., Huang, Q., and Wang, W. (2015, January 14–16). Adaptive human behavior modeling for air combat simulation. Proceedings of the 2015 IEEE/ACM 19th International Symposium on Distributed Simulation and Real Time Applications (DS-RT), Chengdu, China.10.1109/DS-RT.2015.12 ↗
7. Sagredo-Olivenza, I., Gómez-Martín, P.P., Gómez-Martín, M.A., and González-Calero, P.A. (2017). Trained Behavior Trees: Programming by Demonstration to Support AI Game Designers. IEEE Trans. Games.
8. Behaivor Trees for Computer Games
9. Rabin, S. (2014). AI Game Programming Wisdom 4, Nelson Education.10.1201/b16725 ↗
10. Colledanchise, M., and Ögren, P. (arXiv, 2017). Behavior Trees in Robotics and AI: An Introduction, arXiv.10.1201/9780429489105 ↗
11. Evolutionary Behavior Tree Approaches for Navigating Platform Games10.1109/TCIAIG.2016.2543661 ↗
12. Perez, D., Nicolau, M., O’Neill, M., and Brabazon, A. (2011, January 27–29). Evolving behaviour trees for the mario AI competition using grammatical evolution. Proceedings of the European Conference on the Applications of Evolutionary Computation, Torino, Italy.10.1007/978-3-642-20525-5_13 ↗
13. Lim, C.U., Baumgarten, R., and Colton, S. (2010, January 7–9). Evolving behaviour trees for the commercial game DEFCON. Proceedings of the European Conference on the Applications of Evolutionary Computation, Torino, Italy.10.1007/978-3-642-12239-2_11 ↗
14. Mcclarron, P., Ollington, R., and Lewis, I. (2016, January 15–18). Effect of Constraints on Evolving Behavior Trees for Game AI. Proceedings of the International Conference on Computer Games Multimedia & Allied Technologies, Los Angeles, CA, USA.10.5176/2251-1679_CGAT16.2 ↗
15. Genetic programming II: Automatic discovery of reusable programs10.1016/0898-1221(95)90099-3 ↗
16. Poli, R., Langdon, W.B., and Mcphee, N.F. (2008). A Field Guide to Genetic Programming, lulu.com.
17. Behavior Trees for Evolutionary Robotics10.1162/ARTL_a_00192 ↗
18. Champandard, A.J. (2007, December 12). Behaivor Trees for Next-gen Game AI. Available online: http://aigamedev.com/insider/presentations/behavior-trees/.
19. Zhang, Q., Yin, Q., and Xu, K. (2016, January 10–11). Towards an Integrated Learning Framework for Behavior Modeling of Adaptive CGFs. Proceedings of the IEEE 9th International Symposium on Computational Intelligence and Design (ISCID), Hangzhou, China.10.1109/ISCID.2016.2011 ↗
20. Learning tactical human behavior through observation of human performance10.1109/TSMCB.2005.855568 ↗
21. Stein, G., and Gonzalez, A.J. (2011). Building High-Performing Human-Like Tactical Agents Through Observation and Experience, IEEE Press.10.1109/TSMCB.2010.2091955 ↗
22. Teng, T.H., Tan, A.H., Tan, Y.S., and Yeo, A. (2012, January 10–15). Self-organizing neural networks for learning air combat maneuvers. Proceedings of the IEEE International Joint Conference on Neural Networks (IJCNN), Brisbane, Australia.10.1109/IJCNN.2012.6252763 ↗
23. Ontañón, S., Mishra, K., Sugandh, N., and Ram, A. (2007, January 13–16). Case-Based Planning and Execution for Real-Time Strategy Games. Proceedings of the International Conference on Case-Based Reasoning: Case-Based Reasoning Research and Development, Northern Ireland, UK.
24. Correcting flawed expert knowledge through reinforcement learning10.1016/j.eswa.2015.04.015 ↗
25. Robertson, G., and Watson, I. (2015, January 2–4). Building behavior trees from observations in real-time strategy games. Proceedings of the International Symposium on Innovations in Intelligent Systems and Applications, Madrid, Spain.10.1109/INISTA.2015.7276774 ↗
26. Dey, R., and Child, C. (2013, January 11–13). Ql-bt: Enhancing behaviour tree design and implementation with q-learning. Proceedings of the IEEE Conference on Computational Intelligence in Games (CIG), Niagara Falls, ON, Canada.10.1109/CIG.2013.6633623 ↗
27. Zhang, Q., Sun, L., Jiao, P., and Yin, Q. (2017, January 11–13). Combining Behavior Trees with MAXQ Learning to Facilitate CGFs Behavior Modeling. Proceedings of the 4th International Conference on IEEE Systems and Informatics (ICSAI), Hangzhou, China.10.1109/ICSAI.2017.8248348 ↗
28. Asai, T., Abe, K., Kawasoe, S., Arimura, H., Sakamoto, H., and Arikawa, S. (2002, January 11–13). Efficient Substructure Discovery from Large Semi-structured Data. Proceedings of the Siam International Conference on Data Mining, Arlington, Arlington, VA, USA.10.1137/1.9781611972726.10 ↗
29. Frequent Subtree Mining—An Overview
30. Williams, P.R., Perezliebana, D., and Lucas, S.M. (2016, January 20–23). Ms. Pac-Man Versus Ghost Team CIG 2016 Competition. Proceedings of the IEEE Conference on Computational Intelligence and Games (CIG), Santorini, Greece.10.1109/CIG.2016.7860446 ↗
31. Christensen, H.J., and Hoff, J.W. (2016). Evolving Behaviour Trees: Automatic Generation of AI Opponents for Real-Time Strategy Games. [Master’s Thesis, Norwegian University of Science and Technology].
32. Osborn, J.C., Samuel, B., Mccoy, J.A., and Mateas, M. (2014, January 3–7). Evaluating play trace (Dis)similarity metrics. Proceedings of the AIIDE, Raleigh, NC, USA.