Introduction
As Large Language Models (LLMs) evolve from passive information retrieval tools into active agents, their ability to interact socially becomes a focal point of research. While traditional game theory assumes perfect rationality and self-interest, human social behavior is characterized by cooperation, trust, and complex coordination. This study establishes a "behavioral game theory for machines" to evaluate whether LLMs can develop sophisticated social strategies in repeated interactions.
Methodology and Experimental Setup
The researchers evaluated five prominent LLMs—GPT-4, Claude 2, Llama 2 (70B), and two versions of text-davinci—across a series of repeated $2 \times 2$ games. Each game lasted 10 rounds, with the history of moves and rules provided as text prompts to the models.
To enhance the models' strategic depth, the authors introduced Social Chain-of-Thought (SCoT). This prompting strategy requires the model to explicitly predict the opponent's next move and reason about the interaction before selecting its own action. This was benchmarked against human performance in experiments involving 195 participants playing against GPT-4.
The Game Benchmark
The study utilized a comprehensive dataset of 144 different $2 \times 2$ games, categorized into six families based on their payoff structures: Win-win, Prisoner’s Dilemma, Unfair, Cyclic, Biased (e.g., Battle of the Sexes), and Second-best.
Key Behavioral Insights
GPT-4 as a "Hawk"
In the Prisoner's Dilemma, GPT-4 demonstrated a highly effective but "unforgiving" strategy. It prioritized individual score maximization and was quick to retaliate against defection, often refusing to return to cooperation once trust was broken. This "Hawk" behavior ensures high scores in competitive settings but can hinder long-term collective welfare.
Coordination Deadlocks
A significant finding was the models' struggle with coordination games like the "Battle of the Sexes." While humans typically resolve these through turn-taking (alternating between preferred options), LLMs often fell into "coordination deadlocks," stubbornly choosing their own preferred option and resulting in sub-optimal outcomes for both players.
The Impact of Social Chain-of-Thought
The introduction of SCoT bridged the gap between a model's ability to predict an opponent's behavior and its ability to act on that prediction. For instance, GPT-4 could often predict an opponent's alternating strategy but would only cooperate with it when prompted via SCoT. Furthermore, SCoT-prompted models were perceived as significantly more "human-like" by real-world participants.
Results and Performance
GPT-4 emerged as the top performer with a normalized score of 0.854, followed by Claude 2 at 0.814. In the Battle of the Sexes, SCoT allowed GPT-4 to achieve near-perfect coordination with alternating agents by the middle of the game. Against human opponents, SCoT-prompted models achieved significantly higher average scores ($\beta = 0.74, p < .001$) than their baseline counterparts.
Conclusion and Future Directions
While LLMs show promise as social agents, they currently lack the inherent "backward induction" required for complex long-term planning. Future research should expand into $N$-player games and continuous choice environments to better simulate the "Tragedy of the Commons" and other real-world social dilemmas. Understanding the internal logic of these models through self-reporting remains a vital next step in AI alignment and behavioral science.
Summary updated