Skip to main content
Log in

Hybrid fly optimization tuned artificial neural network for AI-based chess playing system

  • Track 2: Medical Applications of Multimedia
  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Artificial intelligence (AI) has grown considerably in the present environment and acts as a subject still possessing substantial space for development, making most of its noteworthy advancements in the current era. While considering the chess game based on AI, the end-to-end pipeline was employed, in which the prior knowledge concerning chess is not essential, but in contrast, the efficient learning makes the method more efficient for making the optimal move. This paper proposes the Hybrid Fly-based artificial neural network (Hybridfly-ANN) model for attaining the maximum possible legal moves by rectifying the drawbacks of conventional position evaluation strategies. The Portable Game Notation (PGN) file acts as the input database comprising the details and the games played by the players over 1 month. The possible legal moves corresponding to the opponent’s single move are evaluated through the proposed method and the mini-max algorithm is utilized for evaluating the best optimal move. The implication of the research relies on the proposed Hybrid Fly optimization algorithm that tunes the ANN classifier’s weight optimally, leading to enhanced system performance by hybridizing the behavior of the Photinus and ephemera flies. Thus, the ANN’s weights tuned with the proposed Hybrid Fly optimization’s global best solution reduces the training loss thereby, improving the prediction accuracy. The effectiveness of the proposed method is examined in terms of the evaluation metrics which showed the average accuracy above 98% and minimal computation time of 180 secs.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Algorithm 1:
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Adams JA (2001) Multiagent systems: a modern approach to distributed artificial intelligence. AI Mag 22(2):105–105

    Google Scholar 

  2. Adegun A, Adeyinka RO, Ogundokun S, Ogbonyomi, Sadiku (2020) Design and implementation of an intelligent gaming agent using A* algorithm and finite state machines. Int J Eng Res Technol. ISSN 0974–3154, 13(2):191–206

  3. Ambati LS, El-Gayar O (2019) Human activity recognition: a comparison of machine learning approaches. J Midwest Assoc Inf Syst 2021(1):49

    Google Scholar 

  4. Ambati LS, El-Gayar O, Nawar N (2020) Influence of the digital divide and socio-economic factors on prevalence of diabetes. Issues Inf Syst 21(4):103–113

    Google Scholar 

  5. Ambati L, El-Gayar S, Omar, Nawar, Nevine (2021) Design principles for multiple sclerosis mobile self-management applications: a patient-centric perspective, AMCIS 2021 proceedings

  6. Arora S, Singh S (2013) The firefly optimization algorithm: convergence analysis and parameter selection. Int J Comput Appl 69(3):48–52

    Google Scholar 

  7. Bennett S, Lasenby J (2014) ChESS–quick and robust detection of chessboard features. Comput Vis Image Underst 118:197–210

    Article  Google Scholar 

  8. Berliner H, Kopec D, Northam E (1990) A taxonomy of concepts for evaluating chess strength, In Proceedings of the 1990 ACM/IEEE conference on Supercomputing, pp 336–343

  9. Binu D, Kariyappa BS (2020) Rider deep LSTM network for hybrid distance score-based fault prediction in analog circuits IEEE Trans Ind Electr 1

  10. El-Gayar OF, Ambati LS, Nawar N (2020) Wearables, artificial intelligence, and the future of healthcare. In AI and big data's potential for disruptive innovation, 104–129). IGI global

  11. Felstiner C (2019) Alpha-Beta Pruning

  12. FUNK, Philippe (2021) From Internet of Things (IoT) to Ransomware of Things (RoT). figshare. Online resource. https://doi.org/10.6084/m9.figshare.14844870.v2

  13. Gao Z-M, Zhao J, Li S-R, Hu Y-R (2020) The improved mayfly optimization algorithm. J Phys Conf Ser 1684(1):012077 IOP Publishing

  14. García S, Derrac J, Cano JR, Herrera F (2012) Prototype selection for nearest neighbor classification: taxonomy and empirical study. IEEE Trans Pattern Anal Mach Intell 34(3):417–435

    Article  Google Scholar 

  15. Guid M, Možina M, Krivec J, Sadikov A, Bratko I (2008) Learning positional features for annotating chess games: a case study, In International conference on computers and games, pp 192–204. Springer, Berlin, Heidelberg

  16. Hübner D, Schall A, Tangermann M (2020) Unsupervised learning in a BCI chess application using label proportions and expectation-maximization. Brain Comput Interfaces 7(1–2):22–35

    Article  Google Scholar 

  17. Jiwani N, Gupta K, Whig P (2021) Novel healthcare framework for cardiac arrest with the application of AI using ANN, 2021 5th international conference on information systems and computer networks (ISCON), 1–5

  18. Khoche K, Gurav S, Pundir R, Chrotiya S, Narooka P (2019) Application based smart chess board using interative GUI design. Int J Comput Sci Trends Technol (IJCST) 7(1)

  19. Kołosowski P, Wolniakowski A, Miatliuk K (2020) Collaborative robot system for playing chess. In 2020 International Conference Mechatronic Systems and Materials (MSM) 1–6

  20. Kumar A, Chauda P, Devrari A (2021) Machine learning approach for brain tumor detection and segmentation. Int J Organization Coll Intell (IJOCI) 11(3):68–84

    Article  Google Scholar 

  21. Li H (2020) The Application of Machine Learning in Chess Endgames Prediction, In Proceedings of 2020 2nd International Conference on Big Data and Artificial Intelligence, 9–14

  22. Li X, Lv Z, Wang S, Wei Z, Wu L (2019) A reinforcement learning model based on temporal difference algorithm. Ieee Access 7:121922–121930

    Article  Google Scholar 

  23. Liaqat A, MA S, Siddiqui GF (2020) Metamorphic testing of an artificially intelligent chess game. IEEE Access 8:174179–174190

    Article  Google Scholar 

  24. Liu T, Ai D, Ma Y, Yu X, Duan Y, He Y (2020) An evolutionary game tree search algorithm of military chess game based on neural value network. In 2020 Chinese Control And Decision Conference (CCDC), 220–225

  25. Mehta F, Raipure H, Shirsat S, Bhatnagar S, Bhovi B (2020) Predicting chess moves with multilayer perceptron and limited Lookahead. J Eng Res Appl 10(4):05–08

    Google Scholar 

  26. Mirjalili SZ, Mirjalili S, Saremi S, Faris H, Aljarah I (2018) Grasshopper optimization algorithm for multi-objective optimization problems. Appl Intell 48(4):805–820

    Article  Google Scholar 

  27. Mishraa A, Kumarb A, Pariharc R (2017) Design and FPGA implementation of space shoot game. Int J Control Theory Appl 10(30)

  28. Nitsche T (1982) A learning chess program, In Advances in Computer Chess, 113–120

  29. Oshri B, Khandwala N (2016) Predicting moves in chess using convolutional neural networks

  30. Pan S, Wu J, Sun, Qu Y (2020) A military chess game tree algorithm based on refresh probability table. In 2020 Chinese Control And Decision Conference (CCDC), 4818–4823

  31. Patel SK (2022) Attack detection and mitigation scheme through novel authentication model enabled optimized neural network in smart healthcare. Comput Methods Biomech Biomed Eng 1–27

  32. Pawlewicz J, Hayward RB (2016) Conspiracy number search with relative sibling scores. Theor Comput Sci 644:127–142

    Article  MathSciNet  MATH  Google Scholar 

  33. PGN file, https://www.pgnmentor.com/files.html, last accessed on July 2022

  34. Prince J (2018) Exploring the effect of different numbers of convolutional filters and training loops on the performance of AlphaZero

  35. Rawat AS, Rana A, Kumar A, Bagwari A (2018) Application of multi layer artificial neural network in the diagnosis system: a systematic review. IAES Int J Artif Intell 7(3):138

    Google Scholar 

  36. Reingold EM, Charness N, Pomplun M, Stampe DM (2001) Visual span in expert chess players: evidence from eye movements. Psychol Sci 12(1):48–55

    Article  Google Scholar 

  37. Reingold EM, Charness N, Schultetus RS, Stampe DM (2001) Perceptual automaticity in expert chess players: parallel encoding of chess relations. Psychon Bull Rev 8(3):504–510

    Article  Google Scholar 

  38. Sabatelli M, Bidoia F, Codreanu V, Wiering M (2018) Learning to evaluate chess positions with deep neural networks and limited lookahead. In ICPRAM 276–283

  39. Sharma D, Chakraborty UK (2013) Artificial neural network based adaptive chess playing machine. Int J Adv Res Comput Sci 4(4)

  40. Sharma D, Chakraborty UK (2014) An Improved Chess Machine based on Artificial Neural Networks, International Journal of Computer Applications®(IJCA), 0975–8887

  41. Song Z, Iida H (2018) Using single conspiracy number for long term position evaluation. ICGA J 40(3):269–280

    Article  Google Scholar 

  42. Yan Z, Xie X, Su T, Ma L, Hao J, Meng Z, Liu Y, Shen R, Chen Y, Fan C (2019) Wuji: automatic online combat game testing using evolutionary deep reinforcement learning. In 2019 34th IEEE/ACM international conference on automated software engineering (ASE), pp 772–784. IEEE

Download references

Data accessibility statement

Not applicable.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vikrant Chole.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chole, V., Gadicha, V. Hybrid fly optimization tuned artificial neural network for AI-based chess playing system. Multimed Tools Appl 82, 20453–20475 (2023). https://doi.org/10.1007/s11042-022-14136-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-022-14136-9

Keywords

Navigation