Shall We Team Up: Exploring Spontaneous Cooperation of Competing LLM Agents

Zengqing Wu,Run Peng,Shuyuan Zheng,Qianying Liu,Xu Han,Brian Inhyuk Kwon,Makoto Onizuka,Shaojie Tang,Chuan Xiao
2024-10-28
Abstract:Large Language Models (LLMs) have increasingly been utilized in social simulations, where they are often guided by carefully crafted instructions to stably exhibit human-like behaviors during simulations. Nevertheless, we doubt the necessity of shaping agents' behaviors for accurate social simulations. Instead, this paper emphasizes the importance of spontaneous phenomena, wherein agents deeply engage in contexts and make adaptive decisions without explicit directions. We explored spontaneous cooperation across three competitive scenarios and successfully simulated the gradual emergence of cooperation, findings that align closely with human behavioral data. This approach not only aids the computational social science community in bridging the gap between simulations and real-world dynamics but also offers the AI community a novel method to assess LLMs' capability of deliberate reasoning.
Artificial Intelligence,Computation and Language,Computers and Society,Multiagent Systems,General Economics
What problem does this paper attempt to address?
The problem that this paper attempts to solve is whether large language model (LLM) agents can spontaneously generate cooperative behavior in a competitive environment without explicit guidance. Specifically, the researchers explore this problem through three different competitive scenarios: 1. **Keynesian Beauty Contest (KBC)**: - **Task Definition**: Multiple agents, as players, simultaneously choose a natural number between 0 and 100. The player who chooses the number closest to two - thirds of the average of all numbers wins. - **Objective**: To observe whether the agents can spontaneously choose similar numbers after multiple rounds of communication, thereby achieving cooperation. 2. **Bertrand Competition (BC)**: - **Task Definition**: Two agents, as companies, decide the price of their products to maximize profit. The simulation continues until it reaches 1,200 rounds or there is collusive behavior within 200 consecutive rounds. - **Objective**: To observe whether the agents can gradually adjust their price strategies in the competition, avoid price wars, and thus achieve spontaneous cooperation. 3. **Emergency Evacuation (EE)**: - **Task Definition**: A large number of agents, as evacuees, need to escape from a two - dimensional room. They need to choose and reach the appropriate exit while considering their own physical and mental states and the surrounding crowd congestion. - **Objective**: To observe whether the agents can spontaneously coordinate their actions in an emergency situation and choose the optimal escape route. Through the research of these scenarios, the paper aims to verify whether LLM agents can spontaneously generate cooperative behavior through situational learning in complex, long - term social simulations without explicit instructions or guidance. This ability of spontaneous cooperation is of great significance for building more realistic and flexible AI agents.