Generative Agents: Interactive Simulacra of Human Behavior

Joon Sung Park,Joseph C. O'Brien,Carrie J. Cai,Meredith Ringel Morris,Percy Liang,Michael S. Bernstein
2023-08-06
Abstract:Believable proxies of human behavior can empower interactive applications ranging from immersive environments to rehearsal spaces for interpersonal communication to prototyping tools. In this paper, we introduce generative agents--computational software agents that simulate believable human behavior. Generative agents wake up, cook breakfast, and head to work; artists paint, while authors write; they form opinions, notice each other, and initiate conversations; they remember and reflect on days past as they plan the next day. To enable generative agents, we describe an architecture that extends a large language model to store a complete record of the agent's experiences using natural language, synthesize those memories over time into higher-level reflections, and retrieve them dynamically to plan behavior. We instantiate generative agents to populate an interactive sandbox environment inspired by The Sims, where end users can interact with a small town of twenty five agents using natural language. In an evaluation, these generative agents produce believable individual and emergent social behaviors: for example, starting with only a single user-specified notion that one agent wants to throw a Valentine's Day party, the agents autonomously spread invitations to the party over the next two days, make new acquaintances, ask each other out on dates to the party, and coordinate to show up for the party together at the right time. We demonstrate through ablation that the components of our agent architecture--observation, planning, and reflection--each contribute critically to the believability of agent behavior. By fusing large language models with computational, interactive agents, this work introduces architectural and interaction patterns for enabling believable simulations of human behavior.
Human-Computer Interaction,Artificial Intelligence,Machine Learning
What problem does this paper attempt to address?
This paper aims to address the issue of how to create interactive artificial societies capable of simulating realistic human behavior. Specifically, the authors propose Generative Agents, which can exhibit believable individual and group behaviors and interact with users in virtual environments. By combining large language models with computational agents, Generative Agents can record, retrieve, reflect on their experiences, and make plans based on the current environment. The paper demonstrates that in a game environment similar to "The Sims," these agents can autonomously perform daily activities, build relationships, and coordinate collective activities. For example, by simply informing one agent that it wants to host a Valentine's Day party, other agents can autonomously spread the message, invite others to participate, and prepare for the party together. In this way, the researchers hope to achieve more realistic social dynamics in various applications, including role-playing, social prototyping, virtual worlds, and game development. Additionally, the paper explores the opportunities for Generative Agents in interactive systems and their potential ethical and social risks, proposing some mitigation measures.