Playing repeated games with Large Language Models

05/26/2023
by   Elif Akata, et al.
8

Large Language Models (LLMs) are transforming society and permeating into diverse applications. As a result, LLMs will frequently interact with us and other agents. It is, therefore, of great societal value to understand how LLMs behave in interactive social settings. Here, we propose to use behavioral game theory to study LLM's cooperation and coordination behavior. To do so, we let different LLMs (GPT-3, GPT-3.5, and GPT-4) play finitely repeated games with each other and with other, human-like strategies. Our results show that LLMs generally perform well in such tasks and also uncover persistent behavioral signatures. In a large set of two players-two strategies games, we find that LLMs are particularly good at games where valuing their own self-interest pays off, like the iterated Prisoner's Dilemma family. However, they behave sub-optimally in games that require coordination. We, therefore, further focus on two games from these distinct families. In the canonical iterated Prisoner's Dilemma, we find that GPT-4 acts particularly unforgivingly, always defecting after another agent has defected only once. In the Battle of the Sexes, we find that GPT-4 cannot match the behavior of the simple convention to alternate between options. We verify that these behavioral signatures are stable across robustness checks. Finally, we show how GPT-4's behavior can be modified by providing further information about the other player as well as by asking it to predict the other player's actions before making a choice. These results enrich our understanding of LLM's social behavior and pave the way for a behavioral game theory for machines.

READ FULL TEXT

page 5

page 7

research
09/17/2021

The Optimal Way to Play the Most Difficult Repeated Coordination Games

This paper investigates repeated win-lose coordination games (WLC-games)...
research
11/04/2022

Unexploitable games and unbeatable strategies

Imitation is simple behavior which uses successful actions of others in ...
research
11/29/2021

Player Modeling using Behavioral Signals in Competitive Online Games

Competitive online games use rating systems to match players with simila...
research
04/15/2020

Optimal protocols for the most difficult repeated coordination games

This paper investigates repeated win-lose coordination games (WLC-games)...
research
08/29/2017

Learning in the Repeated Secretary Problem

In the classical secretary problem, one attempts to find the maximum of ...
research
05/22/2023

clembench: Using Game Play to Evaluate Chat-Optimized Language Models as Conversational Agents

Recent work has proposed a methodology for the systematic evaluation of ...
research
09/12/2023

Strategic Behavior of Large Language Models: Game Structure vs. Contextual Framing

This paper investigates the strategic decision-making capabilities of th...

Please sign up or login with your details

Forgot password? Click here to reset