Research Article

Virtual Pet AI Algorithm: A Comparative Study of Growth-Adaptive Systems Based on A* Path Planning and Reinforcement Learning

Liyuan Liang*
Yucai Middle School

* Corresponding author: [email protected]

Abstract

This paper explores the differences in the application of A * path planning and reinforcement learning in the adaptive AI system for virtual pet growth, and implements virtual pet path navigation, autonomous behavior decision-making, and dynamic growth regulation based on the two algorithms. At present, virtual pets have become the mainstream digital products for emotional companionship and leisure relaxation in people's daily lives. The market and user demand are continuously increasing. But there is a problem that the intelligence level of most virtual pet products on the market is low, and there are generally fixed and rigid behavior patterns that cannot grow and evolve independently based on user interaction and usage scenarios. The anthropomorphic interaction experience and intelligent autonomy are seriously insufficient. The A * path planning algorithm, with its advantages of efficient pathfinding and precise obstacle avoidance, has become the mainstream solution for character movement navigation in virtual scenes; And 'reinforcement learning' improves strategies through autonomous trial and error training and environmental interaction, enabling intelligent agents to make behavioral decisions, provide emotional feedback, and dynamically grow and iterate. Under the premise of industry development and technological application, conducting a comparative study on the virtual pet growth adaptive system based on A * path planning and reinforcement learning can not only clarify the adaptability and advantages and disadvantages of the two algorithms in virtual pet construction, but also provide algorithm selection for highly anthropomorphic and autonomous virtual companion AI products, which has strong practical application value and academic research significance.

Keywords: Virtual pets; A* path planning; Reinforcement learning; Adaptive growth; AI algorithms
Published: June 23, 2026
DOI: 10.54254/2755-2721/2026.34601
Volume: ACE Vol.245
pp. 152-158
Download PDF

References

  1. Han, H., Zhang, H., Chen, Y., Liu, J. (2025). The evolution and optimization of game AI: From rule-driven to deep reinforcement learning. Neurocomputing 652, 131036.
  2. Zhang, G., Hu, X., Chai, J., Zhao, L. and Yu, T. (2011) Overview of Path Planning Algorithms and Their Applications. 1002-6886(2011)05-0085-06.
  3. Pang, J. and Feng, Z. (2023) Research Progress on the Integration of Heuristic Search and Deep Reinforcement Learning in Game AI Planning. Computer Application Research.
  4. Hua, W. and Zhang, Y. (2022) Neural-Symbolic Chain of Logic Reasoning. EMNLP Findings.
  5. Li, J. and Sun, X. (2008) Research on UAV Trajectory Planning Algorithm Based on Improved A-Star Algorithm. Journal of Ordnance Engineering, (7), 787-792.
  6. Fox, D. (2008) A Probabilistic Approach to Collaborative Robot Localization. Autonomous Robots, 8, 325-344.
  7. Watkins, C.J.C.H. and Dayan, P. (1992) Q-learning. Machine Learning, 8(3), 279-292.
  8. Purnomo, M.R. et al. (2021) Dynamic Pathfinding for Non-Player Character Follower on Game. in Proc. International Conference on Game Development and Multimedia.
  9. Savarese, S., Gupta, A. and Li, F.F. (2025) Emergence of Complex Behaviors in Virtual Pets via Proximal Policy Optimization. arXiv preprint arXiv: 2506.00138.
  10. Liu, Z., Wu, H., Li, X. et al. (2025) Intelligent Automated Guided Vehicle (AGV) Path Planning and Virtual Reality Simulation for Space Launch Sites. China Manned Space Engineering Network.