mlsanityData to 14 Oct 2026

How memory can affect collective and cooperative behaviors in an LLM-Based Social Particle Swarm

arXiv 2604.12250 ↗First posted 14 Apr 2026cs.AI cs.CL cs.GTcited by 0

Not on the map. Why?

Abstract (arXiv)

This study examines how memory shapes the collective and cooperative dynamics of Large Language Model (LLM) agents in a multi-agent system. To this end, we extend the Social Particle Swarm (SPS) model, in which agents move in a two-dimensional space and play the Prisoner's Dilemma with neighboring agents, by replacing its rule-based agents with LLM agents endowed with Big Five personality scores and varying memory lengths. Using Gemini 2.0 Flash, we find that memory length is a critical parameter governing collective behavior: even a minimal memory drastically suppressed cooperation, transitioning the system from stable cooperative clusters through cyclical formation and collapse of clusters to a state of scattered defection as memory length increased. Big Five personality traits correlated with agent behaviors in partial agreement with findings from experiments with human participants, supporting the validity of the model. This effect of memory appeared whether or not personality was assigned. With heterogeneous personalities, individual behavior reflected the assigned traits and cooperation collapsed under long memory, whereas without personality Gemini's cooperative disposition dominated and cooperation was broadly maintained. Sentiment analysis of agents' reasoning texts showed that the model interprets memory increasingly negatively as its length grows, already in the early phase, providing a micro-level account of the suppression of cooperation. These results suggest that how an LLM interprets accumulated memory is a key driver of emergent social behavior in Generative Agent-Based Modeling.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 30 references that are in the map. First posted on arXiv 14 Apr 2026.

Builds on

13 of 30 references.

References · 13

  1. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  2. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  3. 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 598
  4. 2023PersonaLLM: Investigating the Ability of Large Language Models to Express Personality Traitscited by 234
  5. 2023Playing repeated games with Large Language Modelscited by 217
  6. 2023Personality Traits in Large Language Modelscited by 169
  7. 2024Nicer Than Humans: How do Large Language Models Behave in the Prisoner's Dilemma?cited by 63
  8. 2023The Machine Psychology of Cooperation: Can GPT models operationalise prompts for altruism, cooperation, competitiveness and selfishness in economic games?cited by 22
  9. 2023An evolutionary model of personality traits related to cooperative behavior using a large language modelcited by 18
  10. 2025Game Theory Meets Large Language Models: A Systematic Survey with Taxonomy and New Frontierscited by 16
  11. 2026Strategies of cooperation and defection in five large language modelscited by 4
  12. 2019Knowing the past improves cooperation in the futurecited by 2
1 more
  1. 2025Evolutionary ecology of wordscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Collective cooperation without individual fidelity in LLM agents
  2. 2024Spontaneous Emergence of Agent Individuality through Social Interactions in LLM-Based Communities
  3. 2025Group size effects and collective misalignment in LLM multi-agent systems
  4. 2026The Memory Curse: How Expanded Recall Erodes Cooperative Intent in LLM Agents
  5. 2025Will Systems of LLM Agents Cooperate: An Investigation into a Social Dilemma
  6. 2026Effects of personality steering on cooperative behavior in Large Language Model agents
  7. 2026When Agents "Misremember" Collectively: Exploring the Mandela Effect in LLM-based Multi-Agent Systems
  8. 2025Herd Behavior: Investigating Peer Influence in LLM-based Multi-Agent Systems