cs.SIAug 25, 2026

Social Behavior Among Autonomous AI: How Large Language Models Interact in Dynamic Networks

Authors: Narges Fardnia, Fatemeh Seyedin, Matthias Becker, Mahmoudreza Babaei, Adrian Weller

Organizations: Gisma University of Applied Sciences, BRAIN Research Center, Potsdam, Germany · Leibniz University Hannover, Germany · University of Cambridge, Cambridge, United Kingdom

Abstract

Cooperation is a cornerstone of human societies, enabling collective progress in dynamic and uncertain environments. With the advent of AI systems acting autonomously, it becomes crucial to understand not only human-AI cooperation but also AI-AI interactions in adaptive networks. In this work, we examine the interactions of AI using Large Language Models -- Mistral, Llama3, Gemma3, and Phi3 -- in a public goods game within dynamic network structures. Our experiments were conducted under single-model and mixed-model conditions across Watts-Strogatz (WS), Barabasi-Albert (BA), and Erdos-Renyi (ER) networks. We analyzed the impact of model architecture, network topology, and prompt design on cooperative behavior. Results show that Mistral and Llama3 offer high cooperation rates, while Phi3 shows defective tendencies. Additionally, the random structure of Erdos-Renyi networks dramatically improves cooperation. Prompt design also plays a key role; a society-benefits prompt leads to a higher cooperation level. These findings offer a preliminary framework for LLM-based simulations in adaptive social networks.

Figures & tables

Explore similar work

CardsList
  1. The Butterfly Defects: Tracing Cooperation in LLM Agent Networks

    Oct 23, 2026Maria Sampani, Maria Lymperaiou, Angeliki Dimitriou +3Multi-LLM CollaborationMulti-Agent Coordination

  2. Collective cooperation without individual fidelity in LLM agents

    Jun 29, 2026Henrique Ferraz de Arruda, Carlos Gracia Lázaro, Alberto Aleta +1Multi-Agent LLM SystemsHuman Behavior Simulation

  3. Learning social norms enhances compatibility in dynamic human-AI coordination

    Jul 8, 2026Yi Yang, Siyuan Liu, Xin Gao +4Multi-Agent CoordinationHuman-AI Interaction