Research Article

Optimization of Alpha-Beta pruning based on heuristic algorithm

Don Yitong Ma*
University of Wisconsin

* Corresponding author: [email protected]

Abstract

Games have become an important place for testing Artificial Intelligence (AI). Minimax and Alpha-Beta Pruning are two common and basic algorithms implemented in game AIs. However, there are still limitations of the searching time and searching depth. This paper strives to improve the game AI with a Heuristic Algorithm to optimize both the searching time and depth. The experiment consists of three AIs built with Minimax, Alpha-Beta Pruning, and Heuristic Algorithm to evident the improvement. These AIs are built to play a traditional Chinese zero-sum game, Gobang, which can be seen as an enhanced version of tic-tac-toe but more advanced. The data is collected when AIs compete with each other. Comparing the search time of three AIs, there is significant improvement of AI implemented Heuristic Algorithm; the median search time for Heuristic AI is only half of the Alpha-Beta Pruning AI, and only quarter of the Minimax AI. Moreover, because the search time decreases, the searching depth of the Heuristic AI can also be increased. With the larger searching depth, the Heuristic AI also gains a higher winning rate against the other two AIs.

Keywords: Board Game; Alpha-Beta Pruning; Heuristic; artificial intelligence.
Published: June 14, 2023
DOI: 10.54254/2755-2721/6/20230498
Volume: ACE Vol.6
pp. 1143-1147
Download PDF

References

  1. Zhou Q 2022 Multi-modal medical image fusion based on densely-connected high-resolution CNN and hybrid transformer. Neural Computing and Applications, 1-21.
  2. Qiu Y 2020. Clustering Analysis for Silent Telecom Customers Based on K-means++. In 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC) (Vol. 1, pp. 1023-1027). IEEE.
  3. Valen J 2022. Quantifying uncertainty in machine learning classifiers for medical imaging. International Journal of Computer Assisted Radiology and Surgery, 17(4), 711-718.
  4. Bacchi S 2022. Machine learning in the prediction of medical inpatient length of stay. Internal medicine journal, 52(2), 176-185.
  5. Ahmed U 2022. Prediction of diabetes empowered with fused machine learning. IEEE Access, 10, 8529-8538.
  6. Kayalibay B 2017 CNN-based segmentation of medical imaging data. arXiv preprint arXiv:1701.03056.
  7. Chen J X 2016 The evolution of computing: AlphaGo. Computing in Science & Engineering, 18(4), 4-7
  8. Holcomb S D et al. 2018 Overview on deepmind and its alphago zero ai. In Proceedings of the 2018 international conference on big data and education (pp. 67-71).
  9. Perez L D et al. 2016 General video game ai: Competition, challenges and opportunities. In Thirtieth AAAI conference on artificial intelligence.
  10. Bakkes S 2009 Rapid and reliable adaptation of video game AI. IEEE Transactions on Computational Intelligence and AI in Games, 1(2), 93-104.