Multi-AI competing and winning against humans in iterated Rock-Paper-Scissors game
- PMID: 32807813
- PMCID: PMC7431549
- DOI: 10.1038/s41598-020-70544-7
Multi-AI competing and winning against humans in iterated Rock-Paper-Scissors game
Abstract
Predicting and modeling human behavior and finding trends within human decision-making processes is a major problem of social science. Rock Paper Scissors (RPS) is the fundamental strategic question in many game theory problems and real-world competitions. Finding the right approach to beat a particular human opponent is challenging. Here we use an AI (artificial intelligence) algorithm based on Markov Models of one fixed memory length (abbreviated as "single AI") to compete against humans in an iterated RPS game. We model and predict human competition behavior by combining many Markov Models with different fixed memory lengths (abbreviated as "multi-AI"), and develop an architecture of multi-AI with changeable parameters to adapt to different competition strategies. We introduce a parameter called "focus length" (a positive number such as 5 or 10) to control the speed and sensitivity for our multi-AI to adapt to the opponent's strategy change. The focus length is the number of previous rounds that the multi-AI should look at when determining which Single-AI has the best performance and should choose to play for the next game. We experimented with 52 different people, each playing 300 rounds continuously against one specific multi-AI model, and demonstrated that our strategy could win against more than 95% of human opponents.
Conflict of interest statement
The authors declare no competing interests.
Figures




Similar articles
-
Social cycling and conditional responses in the Rock-Paper-Scissors game.Sci Rep. 2014 Jul 25;4:5830. doi: 10.1038/srep05830. Sci Rep. 2014. PMID: 25060115 Free PMC article.
-
Cyclic game dynamics driven by iterated reasoning.PLoS One. 2013;8(2):e56416. doi: 10.1371/journal.pone.0056416. Epub 2013 Feb 18. PLoS One. 2013. PMID: 23441191 Free PMC article.
-
Pigeons (Columba livia) approach Nash equilibrium in experimental Matching Pennies competitions.J Exp Anal Behav. 2009 Mar;91(2):169-83. doi: 10.1901/jeab.2009.91-169. J Exp Anal Behav. 2009. PMID: 19794832 Free PMC article.
-
Recent Advances in General Game Playing.ScientificWorldJournal. 2015;2015:986262. doi: 10.1155/2015/986262. Epub 2015 Aug 24. ScientificWorldJournal. 2015. PMID: 26380375 Free PMC article. Review.
-
[Artificial intelligence : A helpful tool for radiologists?].Radiologe. 2019 Dec;59(12):1091-1096. doi: 10.1007/s00117-019-00599-9. Radiologe. 2019. PMID: 31578624 Review. German.
Cited by
-
Deviation from Nash mixed equilibrium in repeated rock-scissors-paper reflect individual traits.Sci Rep. 2025 Apr 29;15(1):14955. doi: 10.1038/s41598-025-95444-6. Sci Rep. 2025. PMID: 40301459 Free PMC article.
-
Predicting rock-paper-scissors choices based on single-trial EEG signals.Psych J. 2024 Feb;13(1):19-30. doi: 10.1002/pchj.688. Epub 2023 Oct 31. Psych J. 2024. PMID: 37905897 Free PMC article.
References
-
- Allesina, S. & Levine, J. M. A Competitive Network Theory of Species Diversity. http://www.pnas.org/content/108/14/5638.abstract (2011). - PMC - PubMed
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Medical
Miscellaneous