An Investigation on Reinforcement Learning Approaches to Maze Solving
Abstract
The problem of moving from a starting point to a destination through a maze of walls and passages, known as maze solving, has been an active field of research in mathematics and computer science for decades with applications to robotics, logistics, network routing and game AI. Classical search algorithms such as Depth First Search (DFS), Breadth First Search (BFS) and A* provide deterministic guarantees but require complete prior knowledge of the environment and fail in dynamic or partially observable settings. Reinforcement learning (RL) provides a completely different paradigm. Agents learn the optimal navigation strategy through trial and error interaction, without relying on predefined maps. This paper summarizes the maze solving methods based on RL. The research methods mainly include seven categories: Deep Q-Networks, Quantum Reinforcement Learning(QRL), Hierarchical RL, Curriculum Learning, Reward Shaping, Transfer Learning, and Multi-Agent RL. Each category has representative works, potential mechanisms and experimental results. Then the sample efficiency, scalability, observability requirements and applicability are compared to determine three urgent challenges: sample efficiency in large-scale maze, partial observability and processing of dynamic environment, and the gap between simulation and reality. The purpose of this survey is to provide researchers with a systematic understanding of the current landscape and determine the direction of future work.
References
- Gabrovšek, P. (2017) Analysis of maze generating algorithms. Proc. Int. Conf. Information and Communication Technology Convergence (ICTC), 1054-1058.
- Elkari, B., et al. (2024) Exploring maze navigation: A comparative study of DFS, BFS, and A* search algorithms. Stat., Optim. Inf. Comput., 12, 761-781.
- Nandy, A., Subash, S. and Sarkar, A. (2023) Maze solving using deep Q-network. Proc. 6th Int. Conf. Advances in Robotics (AIR), 1-5.
- Pathak, M.J., Patel, R.L. and Rami, S.P. (2018) Comparative analysis of search algorithms. Int. J. Computer Applications, 179, 50, 1-6.
- Permana, S.D.H., Bintoro, K.B.Y., Arifitama, B. and Syahputra, A. (2018) Comparative analysis of pathfinding algorithms A*, Dijkstra, and BFS on maze runner game. Int. J. Information System and Technology, 1, 2, 1-8.
- Barnouti, N.H., Al-Dabbagh, S.S.M. and Naser, M.A.S. (2016) Pathfinding in strategy games and maze solving using A* search algorithm. J. Computer and Communications, 4, 11, 15-25.
- Reddy, M.V.V., G, M.R., Rahul, B., Bondala, C.R., Parimi, N. and S, R.I. (2025) Smart maze solver using reinforcement learning. Proc. 3rd Int. Conf. Networks, Multimedia and Information Technology (NMITCON), 1-6.
- Harwin, L. and Supriya, P. (2019) Comparison of SARSA algorithm and temporal difference learning algorithm for robotic path planning for static obstacles. Proc. Int. Conf. Inventive Systems and Control (ICISC), 1-6.
- Li, F., Wang, C. and Ge, S.S. (2020) A survey on visual navigation for artificial agents with deep reinforcement learning. IEEE Access, 8, 135426-135452.
- Nachum, O., Gu, S., Lee, H. and Levine, S. (2018) Data-efficient hierarchical reinforcement learning. Advances in Neural Information Processing Systems (NeurIPS), 3303-3313.
- Ma, H.-C., et al. (2023) Curriculum reinforcement learning: From avoiding collisions to navigating among movable obstacles in diverse environments. IEEE Robot. Autom. Lett., 8, 5, 2740-2747.
- Hu, Y., Liang, L., Liu, M., Luo, J. and Zhang, J. (2020) Learning to utilize shaping rewards: A new approach of reward shaping. Advances in Neural Information Processing Systems (NeurIPS), 15931-15941.
- Devo, A., Costante, G. and Valigi, P. (2020) Deep reinforcement learning for instruction-following visual navigation in 3D maze-like environments. IEEE Robot. Autom. Lett., 5, 2, 1175-1182.
- Dalla Pozza, N., Buffoni, L., Martina, S. and Caruso, F. (2022) Quantum reinforcement learning: The maze problem. Quantum Machine Intelligence, 4, 11, 1-10.
- Chen, H.-Y., Chang, Y.-J., Liao, S.-W. and Chang, C.-R. (2024) Deep Q-learning with hybrid quantum neural network on solving maze problems. Quantum Machine Intelligence, 6, 2, 1-11.
- Zhang, J., Springenberg, J.T., Boedecker, J. and Burgard, W. (2017) Deep reinforcement learning with successor features for navigation across similar environments. Proc. IEEE/RSJ Int. Conf. Intelligent Robots and Systems (IROS), 2371-2378.
- Zhu, Z., Lin, K., Jain, A.K. and Zhou, J. (2023) Transfer learning in deep reinforcement learning: A survey. IEEE Trans. Pattern Anal. Mach. Intell., 45, 11, 13344-13362.
- Martinez-Gil, F., Lozano, M. and Fernández, F. (2014) MARL-Ped: A multi-agent reinforcement learning based framework to simulate pedestrian groups. Simulation Modelling Practice and Theory, 47, 259-275.
- Sakai, O., Karasaki, T., Ito, T., Murakami, T., Tanaka, M. and Kambara, M. (2024) Maze-solving in a plasma system based on functional analogies to reinforcement-learning model. PLOS ONE, 19, 5, e0300842.