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.
Introduction
In game theory, the Nash Equilibrium for Rock-Paper-Scissors (RPS) suggests a purely random strategy: playing each option with exactly 1/3 probability. Under these conditions, the expected win rate for any player is zero. However, empirical studies consistently show that humans are poor at generating true randomness. Instead, human players often fall into predictable patterns, react emotionally to losses, or employ "socially circular" strategies.
The primary challenge in exploiting these patterns is their non-stationary nature. A human player might switch strategies mid-game, rendering a fixed predictive model obsolete. This research introduces a "Multi-AI" ensemble designed to recognize and adapt to these shifts in real-time.
Methodology: The Multi-AI Architecture
The core of the proposed system is an ensemble of Single-AI units, each utilizing an $m$-th order Markov chain. For instance, an AI-1 model examines the single previous round to predict the next move, while an AI-5 model considers the history of the last five rounds.
The Focus Length ($F$)
The critical innovation is the introduction of the Focus Length ($F$). This parameter defines a sliding window of the most recent rounds. The Multi-AI tracks the performance of all internal Single-AIs within this window. For each new round, the system selects the prediction from the Single-AI that achieved the highest cumulative score during the focus window.
This dynamic switching allows the system to remain agile. If an opponent shifts from a simple repetitive pattern to a more complex sequence, higher-order Markov models will eventually outperform simpler ones in the focus window, prompting the Multi-AI to pivot its strategy automatically.
Experimental Design
To validate the Multi-AI approach, the researchers conducted experiments with 52 human subjects (undergraduate and graduate students). Each participant played 300 continuous rounds against a specific Multi-AI configuration. To ensure rational competitive behavior, participants were provided with monetary incentives based on their performance (2 points for a win, 1 for a draw, 0 for a loss), in addition to a base participation fee.
Results and Discussion
The Multi-AI strategy demonstrated overwhelming dominance, winning against more than 95% of human opponents. In representative trials, the AI achieved win rates significantly higher than the human players, often by a factor of four.
Human Memory and Model Performance
The study found that AI models with orders between 2 and 6 generally performed best. This correlates with psychological findings regarding human short-term memory capacity (typically $7 \pm 2$ items). Humans rarely employ strategies requiring them to track more than 6 or 7 moves of history, making extremely high-order Markov chains (e.g., AI-10) less effective due to slower convergence.
Stability vs. Sensitivity
The choice of focus length involves a trade-off. A shorter focus length ($F=5$) increases sensitivity to sudden strategy changes but introduces more noise. Conversely, a longer focus length ($F=10$) provides more stable performance but may lag slightly when an opponent pivots.
Conclusion
The Multi-AI approach successfully models the non-stationarity of human decision-making in competitive games. By predicting which of its own sub-models is currently the best fit for the opponent, the system achieves a meta-level of strategic adaptation. Future work may explore "weighted voting" between sub-models or dynamic optimization of the focus length itself based on the perceived volatility of the opponent.
Summary updated