---
title: "Generative Agents: Interactive Simulacra of Human Behavior"
description: "Generative Agents explores how simulated townspeople use memory, reflection, and planning to sustain routines, share news, and…"
canonical: "https://research.elamur.ai/free/en/papers/park-2023-generative-agents-interactive-simulacra-human/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/park-2023-generative-agents-interactive-simulacra-human/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / Generative Agents: Interactive Simulacra of Human Behavior

# Generative Agents: Interactive Simulacra of Human Behavior

Paper · 2023 · Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai et al.

**Authors:** [Joon Sung Park](https://md.research.elamur.ai/free/en/authors/joon-sung-park/), Joseph C. O'Brien, Carrie J. Cai, [Meredith Ringel Morris](https://md.research.elamur.ai/free/en/authors/meredith-ringel-morris/), [Percy Liang](https://md.research.elamur.ai/free/en/authors/percy-liang/) and [Michael S. Bernstein](https://md.research.elamur.ai/free/en/authors/michael-s-bernstein/) · **Year:** 2023 · **Venue:** arXiv:2304.03442 · **Licence:** [arXiv — non-exclusive licence to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**2,048** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4387835442) · [arXiv:2304.03442](https://openalex.org/S7407087746) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/2304.03442)
- [arXiv 2304.03442](https://arxiv.org/abs/2304.03442)
- [OpenAlex](https://openalex.org/W4387835442)

Citations: OpenAlex, 2026-10-14.

## Summary

A fictional shopkeeper can give a convincing answer about an election and still fail to recognize a neighbor who told him about it that morning. Portraying someone over time takes more than producing a plausible line for the current scene. Earlier encounters need to change what the character knows, and intentions need to survive long enough to influence what the character does. *Generative Agents* examines how to give interactive characters that continuity. The authors build Smallville, a town inspired by *The Sims*, and populate it with 25 residents driven by ChatGPT. Users can watch them go about their days, talk to them in ordinary language, take over an avatar, or change the condition of an object and see how a nearby resident responds.

Each resident has a memory stream, a running record of experiences written in ordinary language. To answer a question or make a decision, the system retrieves entries using their relevance to the situation, their importance, and the time since they were last used. It periodically turns groups of entries into reflections, such as a conclusion about a neighbor’s interests. A planning process outlines the day, breaks broad activities into shorter ones, and revises the schedule after an interruption. Plans and reflections become searchable entries themselves. A remark from an earlier conversation can thus influence what a resident concludes about somebody, and that conclusion can shape a later decision.

The authors assess individual behavior by interviewing residents and asking human evaluators to rank the believability of the replies. The complete system leads the comparison, including the condition in which crowdworkers write replies in character. Its rating declines as successive versions lose access to reflections, plans, and observations from the same simulated history. A separate evaluation follows the town for two game days. Residents pass along news of a mayoral candidacy, come to recognize more of their neighbors, and organize a Valentine’s Day party. The authors give Isabella Rodriguez the initial intention to host it and establish Maria Lopez’s interest in Klaus Mueller in her biography. During play, the residents issue invitations, decorate the café, and arrange to go together. Five of the twelve invited residents attend.

The experiments also show where continuity breaks. A resident may overlook a relevant memory, remember only part of an episode, or add a plausible detail it never learned. Conversations can sound unusually formal for the relationship, and residents can be more accommodating than their established personalities would suggest. The paper presents the architecture as a way to make fictional characters more coherent in games, interpersonal rehearsal, and early design. It also discusses emotional attachment, misleading impersonation, tailored persuasion, and the consequences of substituting simulated people for real participants. The authors propose clear disclosure of the characters’ artificial nature, audit records of inputs and outputs, and a supporting role for the characters in work that still includes human stakeholders.

## Deep dive: Generative Agents: Interactive Simulacra of Human Behavior

Generative Agents explores how simulated townspeople use memory, reflection, and planning to sustain routines, share news, and coordinate a party. · about 82 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Believability has to survive a change of scene

Consider a character who has promised to talk to a friend at a party. Later, someone asks whether the party is happening. A believable answer depends on the character recovering something specific about its past. A different question, about whether it intends to go, also depends on what else it has planned. The friend may have told the character about the event, or the character may have learned about it from the host. A suitable reply has to fit whichever sequence took place. An interactive setting keeps creating these small differences between what would sound reasonable in general and what makes sense for the person being portrayed.

The authors use *believability* for the sense that a fictional character has a life that carries across encounters. They relate it to the apparent independence of animated characters, whose actions can suggest stable interests and a point of view. An interactive world asks for that effect under changing conditions. A user can speak to someone the designer never expected the character to meet. A visitor can arrive in the middle of a routine. An object can change state while a character is using it. Each event creates a new occasion for behavior, and each response gives the character a different past to take into the following scene.

The distinction can be seen in a morning at home. If a family member says that a composition is due soon, the conversation can end with an ordinary expression of interest. When the family meets again, a question about the piece can make the earlier exchange count for something. A stove beginning to burn poses a different problem. It calls for immediate attention and can force a change to the sequence of breakfast preparations. The two events operate on different timescales, yet a character may have to deal with both in the same day. The architecture needs to let a recent perception interrupt ongoing activity and let a much earlier remark matter when the right occasion arises.

With several characters, a choice about one person’s day can change the opportunities available to others. A trip to a store may put a resident in a position to learn some news. The resident can then mention it to somebody who was elsewhere when it first circulated. A shared event poses further dependencies. Anyone considering whether to attend has to hear enough about it to identify when and where it will occur, find a place for it in the day, and go there. A convincing exchange in isolation can be one link in that chain. The problem the paper sets itself is how to let interactions supply what the next links need.

This kind of continuity would serve several purposes in the authors’ account. A game can give the player inhabitants who remember encounters and take part in stories that develop during play. A rehearsal setting can give somebody practice in a difficult conversation, with a counterpart whose reactions depend on the exchange that has already taken place. A designer can populate an early prototype and observe what a proposed change sets in motion. The paper also connects these possibilities to earlier efforts to describe human activity for usability analysis and to design technology that responds to ongoing routines. In each application, the character’s behavior becomes more informative when some of it can be understood in light of earlier events.

#### What designers could already give a character

A designer can specify conduct directly. The paper discusses finite-state machines, which represent a character as occupying a state and specify when it can move into another one. A behavior tree organizes choices into branches that lead to actions. With either approach, developers can build a character that follows a routine, handles recognizable interruptions, and takes part in social exchanges for which the designers have supplied procedures. The paper points to *Mass Effect* and *The Sims* as examples of games where authored behavior supports recognizable social activity.

The cost of authoring grows with the number of circumstances that can bear on a decision. A person asked to help decorate a café might be a close friend of the organizer or a customer who has only just met her. The person might have a free afternoon or have told somebody else to expect them at work. An agreement to help can lead to a conversation about the party, and that conversation can put another person in a position to attend. Specifying what to do when asked for help is manageable if the scene and relevant alternatives are known. Specifying how all of these histories and commitments can combine in later situations is the harder task.

The paper also considers reinforcement learning, where behavior is learned through feedback tied to an objective. It cites AlphaStar and OpenAI Five as examples of the strength of the approach in competitive games. Those settings give the learning system a result around which to organize its behavior. Everyday social conduct is harder to characterize with a single objective. Agreeing to an invitation can be plausible in one relationship and peculiar in another. Showing up can express enthusiasm, courtesy, or the fulfillment of a promise. The paper treats such open-ended conduct as a different problem from acquiring a strategy that wins a game.

Earlier cognitive architectures addressed part of the continuity problem directly. They gave agents short-term and long-term stores and organized behavior into recurring cycles of perception, planning, and action. The paper describes examples involving Quakebot-SOAR, ICARUS, and TacAir-SOAR. Their symbolic representations let the system relate a perceived situation to knowledge and procedures that were already available. This supplied an organizational precedent for Smallville. In the authors’ reading of the earlier systems, the agent’s repertoire still depended on procedures people had specified for it, which constrained what it could do in unfamiliar circumstances.

The generative architecture keeps the recurring cycle and changes what can be represented inside it. A resident can store a description of a conversation that no designer wrote in advance. It can later combine that record with others to arrive at an interpretation, then use the interpretation in a new situation. The designers still specify how information enters the system, how it is retrieved, and how an action is rendered in the game. The game also supplies a finite arrangement of rooms, destinations, and objects. Within those arrangements, the contents of a conversation or the reason for undertaking an activity can emerge from the history of the particular resident.

#### From responding in language to acquiring a history

There is a separate tradition behind the way users deal with the town. The authors point to work that let people teach a classifier through interaction, specify a desired behavior by demonstration, or shape generated outputs by writing prompts. A prompt is the material supplied with a generation request. It can name a task, give the information relevant to it, and indicate the form of the desired result. The paper also discusses earlier language interfaces such as SHRDLU and ELIZA, and work on how people choose between acting directly and delegating initiative to software. Those questions recur when a user can both converse with a Smallville resident and intervene in the world that the resident perceives.

Natural language serves two roles in Smallville. It is an interface a person can use to ask about the election or describe a change to the stove. It is also a format the architecture uses to record experiences and pass information between its own operations. The language in which a resident receives an invitation can be represented in a record consulted when a future plan is drafted. A description of an object comes from a structured game state, but it can enter a prompt alongside a description of a relationship. This shared format gives the system a way to bring several kinds of context into one decision.

The immediate opportunity comes from earlier work showing that a text generator can produce plausible human responses given a sufficiently specific situation. The authors discuss uses in interactive fiction and text adventures, and experiments that use generated responses in social research. They also describe work on robot planning, where a request to retrieve an object can be developed into simpler actions such as moving to the table and picking up the object. Asking for component steps is useful to Smallville as well. A resident’s task of working on a composition or preparing a room has to turn into activities the game can depict.

The paper places these examples alongside prompting methods that provide a small set of demonstrations and methods that elicit intermediate reasoning. Demonstrations can show the kind of response expected in a new case. Intermediate reasoning can give a complicated request a sequence of smaller decisions. The authors’ question is where the circumstances for such a request should come from after a character has spent time in a world. A set of examples can indicate how to produce an answer, while the history determines which answer is appropriate to this particular life. The earlier reasoning approach is described in [Chain-of-Thought Prompting Elicits Reasoning in Large Language Models](https://md.research.elamur.ai/free/en/papers/wei-2022-chain-thought-prompting-elicits-reasoning/).

A direct precedent is work that populated prototypes of social computing systems with generated personas. Linked prompts provided descriptions of fictional users and produced contributions those users might make. That gives the prototype a set of people with distinct perspectives and interactions that a designer can inspect. Smallville extends this approach to a town whose inhabitants acquire personal histories as they act. A resident who hears about a photography project during an introduction can use it in another encounter, even though no one put that particular conversation into the resident’s original description. The earlier study is [Social Simulacra](https://md.research.elamur.ai/free/en/papers/park-2022-social-simulacra-creating-populated-prototypes/).

An initial biography is still useful. It can give a shopkeeper an occupation, specify which neighbors he knows, and establish what he cares about. Such material lets a resident begin with interests and relationships that already make sense in the setting. The growing history serves a different function. It records changes within that world, including the first time someone meets a neighbor they previously recognized only by name. That difference makes it possible to give a character a stable starting point and still let an unplanned encounter have lasting effects.

#### A resident needs more history than a request can hold

The context window is the amount of material a generator can process in one request. A town that keeps operating can produce more observations than the window can accommodate. Long before every record is needed for a single decision, the system can already have a record of countless details with no bearing on it. If somebody asks a café owner who is running for mayor, the latest state of the refrigerator and a long description of an earlier break can occupy space without helping. The challenge is to carry a large history from one request to the next while presenting only the useful portion on each occasion.

Condensing a whole history into a short account would save space and keep recurrent facts in view. The resident’s occupation and recent priorities may deserve places in such a portrait. A brief introduction in a park or the last remark in a conversation may be too incidental to include. Yet the precise thing a later question needs can be one of those details. For instance, knowing that two people have talked often may be less useful than recovering what one said about an upcoming project. The authors build on earlier work that retrieves material for a request or summarizes extensive inputs. The precedents include [Demonstrate-Search-Predict](https://md.research.elamur.ai/free/en/papers/khattab-2022-demonstrate-search-predict-composing-retrieval/) and [Recursively Summarizing Books with Human Feedback](https://md.research.elamur.ai/free/en/papers/wu-2021-recursively-summarizing-books-human-feedback/).

Smallville gives retrieval a moving target. Its records expand as residents encounter one another, and a fresh observation can give an old record a new use. An observation can also conflict with an existing intention. If the resident sees that a room is occupied, the plan to use it immediately may need revision. A concise inference about why a friend spends time in a certain place can help the resident interpret a later meeting there. The same collection needs to accommodate events, conclusions about those events, and statements of what the resident means to do. Each can be useful to the same decision for a different reason. Selecting among them is a problem of [information retrieval and search](https://md.research.elamur.ai/free/en/topics/information-retrieval/).

This leads to two questions beyond which record to show the generator. One is how to make the meaning of several experiences available together. A long record of reading, note-taking, and meetings about a project can support a simple conclusion about the importance of that work. The other is how to give separate actions a common direction across a day. Several individually plausible choices may be incompatible when made in succession. Reflection addresses the first question, and planning addresses the second. Both put new material into the continuing history, where its significance can change as the resident acquires more experience.

### The method, step by step

#### Establish the town and the people who live there

Smallville contains homes, shops, a college, a dormitory, a café, a bar, and a park. The authors design the environment by hand. Within a house there can be a kitchen, bedroom, or garden, and within the kitchen there can be a stove and refrigerator. The simulator represents these places and their contents so a resident can choose somewhere to go and something to use. It also represents the current condition of objects. A bed can be occupied, and a refrigerator can become empty. The authors make the simulation code available under the repository name `joonspk-research/generative_agents`.

The 25 residents begin with biographies that the authors write in ordinary language. Each biography establishes some combination of identity, occupation, interests, and existing relationships. John Lin, for example, works in a pharmacy and lives with Mei and Eddy. His description also says who he knows in the neighborhood and through work. It distinguishes an established acquaintance from someone he has heard of but never met. Such distinctions give the town existing social ties and opportunities for new ones.

The program divides each biography at semicolons and stores the resulting pieces as individual memories. The procedure makes a fact about John’s work available separately from a fact about his family. A request can collect the parts pertinent to it and combine them with events that occurred during play. When John meets a colleague, the system may use an existing description of their relationship. When John hears about Eddy’s latest project, that experience supplies detail the original family description never needed to include.

Each resident also begins with a partial representation of the town. It includes the places and objects the person can be expected to know, such as their home, workplace, and commonly visited shops. This starting map gives the resident alternatives for carrying out a plan. The biography supplies reasons for some of the choices, while the map describes where the required activities can happen. As the resident moves, it can enlarge what it knows about the town and update the portions it sees again.

The implementation uses the `gpt3.5-turbo` version of ChatGPT. The authors create individual residents by giving this shared generator different records and circumstances through prompts. During play, each resident’s own experience changes what the architecture supplies to it. The generator is called for distinct purposes, such as assessing the importance of an event, proposing a plan, or producing a line of conversation. The software around it manages the town, stores the records, and decides which request to make. ChatGPT serves as the architecture’s [large language model](https://md.research.elamur.ai/free/en/concepts/large-language-models/).

How a Smallville resident uses experience to act The steps in order.

The flow recurs as the town advances, with different parts operating on different schedules. Every game step gives residents an opportunity to perceive their surroundings. A reflection round needs enough important experiences to have accumulated. Daily planning begins with a broad agenda, while more detailed planning can wait until an activity is approaching. Most steps through the town can belong to a continuing activity, with no need for the resident to change its mind or generate a new interpretation of its life.

#### Record experience from each resident’s position

A memory stream is a list of records associated with one person. A record contains a textual description, the time it was created, and the time it was most recently accessed. An observation is the simplest kind of entry. It can describe something the resident did, an activity it saw someone else performing, or a condition it noticed in the environment. Isabella’s record of a morning at the café might include serving food, noticing a student at work, talking about the party, and finding the refrigerator empty. Those observations can later answer different questions even though they came from the same place.

The game server determines what is available to observe. It provides information about agents and objects within a preset visual range. An event in the café can therefore enter the records of residents nearby while remaining absent from the records of people farther away. A person across town can learn about it when someone comes to tell them. The remembered experience in that case is an exchange about what happened. Keeping records specific to their observers is what lets knowledge vary among residents and makes a conversation consequential to the distribution of news.

The timestamps distinguish an older experience from its recent use. If a resident receives an invitation and later brings it up in conversation, it can have a record created when the invitation arrived and accessed again when the conversation called for it. An invitation from a previous afternoon can be more recently accessed than an observation from the current morning. That matters because the retrieval system treats recent use as a reason the record may still belong in the current context. An event can remain in focus through several decisions without being observed again.

The current state of the game serves a different purpose from a memory of the state. If Isabella leaves the café after making coffee, her record can describe the machine as it was at that point. A resident now standing at the counter can see whether it is still brewing. The game server supplies what is currently visible, and the earlier descriptions preserve what different people had reason to believe when they were last there. The resident can draw on both when deciding what to do.

In addition to observations, the stream comes to contain plans and reflections. A plan records an intention for the future, such as going somewhere during an interval. A reflection interprets experience, perhaps by describing a colleague as particularly interested in a subject. A question about a planned outing can therefore draw on the original invitation, a decision to attend, and an impression of someone expected to be there. An entry’s value depends on which part of the situation it helps the resident understand.

#### Retrieve records using three signals

Retrieval starts with a query that gives the records a purpose. The query can come from an interview question or from a need inside the architecture, such as deciding whether to react to somebody passing by. The program scores the entries for that query and places the highest-ranked ones that fit in the request into the prompt. The stored history remains available for another search. The same morning’s activities can supply one group of entries for a question about food preparation and another for a question about somebody who stopped to talk.

The paper illustrates the value of selection through a question about Isabella’s current passions. A condensed account of her overall history gives general material about keeping the café in order and taking part in events and projects. Records more directly relevant to the question connect her enjoyment of welcoming people with organizing the party. The narrower selection makes it possible to explain what the event means to her rather than listing activities that happen to occupy her time. That answer depends on which part of her experience is brought into view.

Relevance is the signal that changes most directly with the wording of the query. The system obtains an embedding for each memory description and for the query. An embedding represents text as a vector, an ordered sequence of numerical values. The implementation uses cosine similarity, which compares the directions of the two vectors. A question about what to study for a chemistry test should then give schoolwork a stronger match than a description of breakfast. The comparison supplies an estimate of [semantic similarity](https://md.research.elamur.ai/free/en/concepts/semantic-similarity/).

Recency uses the time elapsed since the record was last retrieved, measured in sandbox game hours. The implementation applies exponential decay with a factor of 0.995. Exponential decay applies the same proportional reduction for the same interval of elapsed time. The recency value thus falls as an entry goes unused, and a new retrieval brings the entry back into the group of records with recent access. If several exchanges concern the party, the invitation can remain relevant to the unfolding matter and benefit from having been consulted recently.

Importance is estimated at the time the memory is made. The program asks the generator to assign an integer between 1 and 10. The low end denotes routine events such as making a bed, while the high end represents experiences such as a breakup or college acceptance. The paper reports an importance rating of 2 for cleaning a room and 8 for asking out someone the resident has a crush on. The rating represents an assessment of how consequential or emotionally salient the described experience is likely to be. It stays with the entry as its recency and relationship to different queries change.

The program scales each signal to the interval from 0 to 1 before combining them. This is min-max scaling. The smallest value for a signal is mapped to the lower end of the range, the largest value to the upper end, and intermediate values are positioned between them. The operation lets a similarity measure and an importance judgment contribute on comparable numerical ranges. A weighted sum then gives the ranking score.

```
score = αᵣ × recency + αᵢ × importance + αₛ × relevance
```

`score` is the final value assigned to a candidate memory for the current query. `recency` is the scaled value based on the time since access. `importance` is the scaled version of the rating supplied when the entry was created. `relevance` is the scaled similarity of the memory and query embeddings. The `α` terms are coefficients, with `ᵣ` marking recency, `ᵢ` importance, and `ₛ` the similarity used for relevance. The implementation sets each coefficient to 1. The multiplication sign `×` applies each coefficient to its signal, `+` adds the terms, and `=` gives their sum as the score.

An entry can rank well for different reasons. A mundane detail about the café might be exactly what a question about the refrigerator needs. An important social occasion can remain a useful candidate even after the surrounding activity moves on. An entry consulted during the previous turn can help a conversation maintain its subject. Equal weights after scaling allow each of these properties to affect which entries fit in the prompt. They also mean that an entry with strengths on several signals can outrank one that is especially strong on a single signal.

The selected entries are evidence available to the generator. They can support several distinct parts of a response. An invitation establishes that a gathering will take place. An agreement to talk at the gathering specifies something the resident expects to do there. Their words and subjects may overlap, although one is much better evidence for the existence of the occasion. The ranking selects each entry on the basis of its score. Whether the group of selected entries adequately covers the question is a further property of the selection, visible in the reply it supports.

#### Reflect on patterns that individual records leave unstated

Klaus Mueller’s experiences include reading about gentrification, taking notes, and talking to people about research. He also encounters his dorm neighbor Wolfgang Schulz frequently. If Klaus is asked whom he would like to spend an hour with, frequent encounters provide one reason to answer Wolfgang. The paper describes those particular meetings as mostly brief. Maria Lopez’s research offers a different reason to seek her company, because it gives her something in common with Klaus. Recognizing that connection requires the system to interpret what several events show about each person.

The architecture saves interpretations of this kind as reflections. Their generation is triggered when the accumulated importance of newly perceived events passes 150. A succession of consequential experiences can therefore bring on a reflection round sooner than a stretch of ordinary activity. The paper describes reflection as occurring on a typical day in a couple of rounds, sometimes with another round as experiences accumulated. The importance threshold determines when to begin. It leaves the subjects of the round to a separate process.

To choose those subjects, the system passes the 100 most recent entries to the generator. It asks for 3 broad questions that the entries make salient and provide some basis for answering. Descriptions of research at the college might suggest asking what holds Klaus’s interest. A group of recent meetings could make his relationship with Maria a subject for consideration. The generator thus proposes what to investigate before it attempts to say what the evidence means.

The program uses each proposed question to search the stream. This second selection can retrieve records beyond those used to formulate the question. It can also include earlier reflections. From the selected entries the generator is asked for 5 insights, each with a reference to the items used as evidence. The software parses the statements, saves them as reflections, and retains pointers to the cited memory objects. The pointers associate a generalization with particular records that can be inspected later.

Klaus’s research provides an example of how the process can repeat. Several observations of reading can support a reflection that he devotes substantial time to working through material. That reflection can be retrieved together with descriptions of note-taking, conversations with a librarian, and a plan that allocates part of the day to his paper. A later reflection can combine them into a broader assessment of his dedication. In the authors’ diagram, successive levels of interpretation connect concrete activities to increasingly general statements about Klaus. Some links are to past events, while a link to a plan supplies evidence about an intended allocation of time.

Once saved, a reflection is searchable whenever a new request makes it useful. The system can retrieve the statement about Klaus’s engagement with research without spending the prompt space needed to present every incident behind it. The search can still return a concrete episode along with that statement if the immediate question calls for one. The architecture thereby preserves both a compact interpretation and the more specific history from which it was developed. Its evidence pointers record the claimed basis for the inference, while the wording of the inference gives future queries another way to find the idea.

#### Give the day an outline and fill in the near future

A request framed around a single moment can yield a plausible action at that moment. The authors use Klaus’s lunch to show what can happen when several such requests are made independently. Lunch at 12 pm seems reasonable. The same answer can be generated at 12:30 pm and again at 1 pm, even though the earlier requests already assigned him a meal. An agenda establishes how the time is meant to be spent as a whole. It can give him a period for lunch and put research and a walk in later parts of the afternoon.

An entry in a plan specifies an action, where it is meant to happen, when it begins, and how long it lasts. The system first asks for the day in broad outline. The request supplies a condensed description of the resident and an account of the previous day. The resident description gives the generator the person’s traits and current priorities. The recent account establishes what the person has been working on and what a day usually involves. For Eddy Lin, the resulting agenda can accommodate classes and meals alongside the composition he wants to spend more time on.

The main outline divides the day into five to eight parts. The architecture saves it and then develops shorter activities from the relevant portions. A stretch reserved for a composition can first be broken into hour-long periods that cover devising ideas, working on the piece, and coming back to it after a break. Further decomposition produces activities lasting 5–15 minutes. A resident taking a break might get a snack and leave the workspace for a short walk. Each small action falls within a larger purpose already represented in the schedule.

The difference in granularity matters for how the day appears in the game. An outline can reserve an afternoon for an artist’s painting. Finer steps can have the artist gather materials, prepare the paint, pause, and put things away. Each action can lead to a different location or use of an object. The broad description gives this movement continuity. The detailed schedule gives the game a sequence it can portray and supplies occasions at which another resident might see the artist or start a conversation.

The appendix describes an implementation that prepares broad plans in advance and elaborates the near future just before it is needed. A distant activity can remain loosely specified while the resident carries out the current one. If an interruption changes the day, the architecture has done less detailed work on portions it may have to replace. The system can also retrieve a saved plan in response to a question. The information available for a decision can then include what the resident has seen, what it has concluded, and an explicit commitment about the time it is trying to use.

#### Decide whether to continue an activity or react

The action loop gives the resident opportunities to compare a new observation with its current activity. A painter already working at an easel has little reason to react merely because the easel is visible. John seeing Eddy out for a walk can have more significance. The prompt for such a decision includes the current time and activity, the observation, a short portrait of the observer, and a digest of relevant context from its memory. It asks whether anything warrants a response and what the response could be.

To assemble the digest, the program retrieves information about the observer’s relationship to the entity it noticed. It also searches using a description of what the entity is currently doing. These requests can uncover different reasons to react. In John’s case the relationship provides the family context for approaching Eddy. The activity points towards memories about his son’s music assignment and his habit of taking a walk while thinking about music. Together those entries give John a specific subject to bring up.

The concise portrait included in many prompts is prepared at intervals and cached, meaning that the program saves it for reuse across requests. The system retrieves records about the resident’s core characteristics, current occupation, and feelings about recent progress. It summarizes the results for those different subjects and joins them with details such as name, age, and traits. Some elements of the resulting portrait can stay fairly stable while others change as the resident takes up an activity or develops a different view of its recent experience.

The portrait and the context for a reaction supply information on different timescales. John’s relationship to his family is useful in many requests. The fact that Eddy is taking a walk just now poses a question for the current decision. A memory about the composition makes the walk an occasion to ask about it. A resident with a different relationship or less information could see the same walk and merely continue on the way to work. Conditioning a reaction on the observer’s history gives the architecture grounds for those differences.

When the chosen response changes the resident’s activity, the system generates an updated plan beginning at the interruption. The response can concern an object as well as a person. The authors demonstrate this with Isabella cooking breakfast while a user changes the stove’s status to indicate that it is burning. Isabella notices the change, turns the stove off, and starts making the meal again. A similar intervention changes the shower’s status to indicate a leak, which she attempts to repair. In both cases the user supplies a changed circumstance, and the agent architecture decides how it affects the ongoing routine.

#### Generate conversation from both participants’ perspectives

If a decision calls for speaking to another resident, the initiator’s prompt supplies the purpose of the exchange and the pertinent context. John can ask how the composition is coming along because his reaction already identifies a reason to speak. His line is then a new event for Eddy. From Eddy’s perspective the question arrives in the middle of a walk, and its relevance depends on what Eddy knows about his father and his own work.

Eddy retrieves memories about their relationship and material connected with John’s latest utterance. If he replies, the new turn uses that context along with the dialogue so far. The generator can accordingly make Eddy’s reply address the composition and explain something John may have inferred only tentatively, such as what Eddy gets out of his walks. Subsequent turns use the same procedure, and the conversation ends when a participant chooses to stop.

The two perspectives make a conversation a place where knowledge can move. A speaker can supply an observation or intention that the other person has never heard. The listener’s later activity can bring that information up again in a new exchange. Meanwhile, each person can form a different impression of what the conversation established. Smallville’s town-wide interactions depend on this local transfer. A resident can tell a new acquaintance about a party because a customer, friend, or host told them on an earlier occasion.

Users can speak to a resident from a role they specify. A user acting as a reporter can ask John about the election, and the system draws on what John has heard and his views about the candidate. A person can also address John as his inner voice. The authors use that role to make a suggestion more likely to be taken as an instruction. In their example, telling John to challenge Sam leads him to decide to run and share the decision with Mei and Eddy. The user can set a new intention in motion and observe how the resident brings it into other relationships.

A user can also enter the world by controlling an existing character or taking the role of a visitor. Residents can notice the avatar and approach it as they would one another. A first meeting with a visitor gives the resident something to remember on a later occasion. People observing the town have a simpler way to see what the agents are doing. The interface displays emojis derived from their action descriptions, and selecting a character reveals the description in full. The graphical view and the textual view are two representations of an activity that the game is already tracking.

#### Ground the written action in the simulated place

The visual world runs in Phaser, a web game development framework. The authors import the map, sprites, and collision information that restricts where avatars can walk. A server keeps a JSON representation of participants and their current activity. JSON is a structured text format that lets the simulator record separately such details as a resident’s location, the description of what it is doing, and the object it is using. At a game step, the server applies changes to these states and supplies observations for the next step.

Places and objects are also represented as a containment tree. Its root represents the town. Branches lead into areas and subareas, and the endpoints can represent individual objects. A stove attached to the kitchen node is an object located in the kitchen. The software can turn that relationship into an ordinary statement for a prompt. It can also use the path through the tree to distinguish that stove from a similar one in another building.

A resident’s own tree covers the part of the whole arrangement it knows about. It can add places during visits and update what it remembers when it sees a known place again. Its information can become dated in the interval between visits. An area elsewhere in the town may be visibly different to somebody now standing there, while the absent resident still has its earlier representation. This preserves limits on what a person can conclude about the environment and allows different residents to know about different destinations.

To put an intended activity somewhere in the world, the program starts at the top of the resident’s known tree. It presents a relevant portion as text and asks which area would suit the action. It repeats the procedure within the selected area until it reaches the required endpoint. Prompts can favor staying in the current area when it already provides an appropriate place. In the example of Eddy’s walk, the system first chooses the Lin home and then narrows the destination to the garden. A game pathfinding algorithm calculates the route the avatar can follow.

The system can make a further request about what using an object does to its state. If Isabella is making espresso, the coffee machine can acquire a state that indicates brewing. The server applies that change, and residents within viewing range can record the new state in their own experience. This closes the sequence from an intention in text to a change that other participants can perceive. An action can consequently furnish the observation that changes the next decision, either for the person who acted or for somebody nearby.

### Experiments and results

#### Use interviews to probe a resident with a known past

The paper evaluates the town in two ways. The controlled study asks how plausibly a resident can answer questions about an already recorded life. Human evaluators can compare the replies of several configurations with the evidence of what the resident experienced. The end-to-end study follows an operating Smallville and measures what happens between residents, including passing on information, developing mutual recognition, and going to a shared event. The first procedure varies the information an answer can use. The second observes behavior as it occurs under the full architecture.

The authors’ interview study draws on residents from the point when the full system had run for two in-game days. By then the characters have accumulated conversations, observations, plans, and reflections in addition to the biographies that started their lives. A named acquaintance or event in a question can refer to an actual part of the simulation. The interview therefore tests whether the resident can use the history available to it when the question requires something more specific than a plausible answer about town life.

The interview bank contains 25 questions divided among five categories. Self-knowledge questions concern the character’s identity, occupation, interests, living arrangements, or usual schedule. An answer about a weekday can show whether those details form a coherent portrayal when described together. For Klaus, work on a paper about gentrification can explain why a normal day includes reading, writing, and time at the college. Identifying that occupation and explaining what it means for the day are related demands on the same personal history.

Memory questions concern people, events, or things the character has heard. Some name another resident drawn from those with whom the subject has interacted. The election and the party provide further cases because knowledge of each depends on how the character’s day unfolded. A suitable answer can recover an encounter or acknowledge uncertainty in the absence of one. What counts as a convincing expression of uncertainty depends on whether the person actually had an opportunity to learn the information.

Planning questions ask what the resident will be doing or expects to have finished at a specified time. A resident with a saved agenda can refer to a particular intention for that day. Questions about reactions supply an unexpected situation, such as a burning meal, an occupied bathroom, or a friend passing by. These can test whether the resident makes an appropriate immediate choice and whether the choice takes account of the rest of the day. A character can greet a friend and also have a reason to keep the interruption brief.

Reflection questions ask the character to interpret an existing relationship or interest. A gift suggestion, a compliment, or a choice of company can make that interpretation visible. Several possible gifts can suit the recipient. The strength of a proposed answer comes partly from showing how the resident reached it using what it has learned about the person. The categories thus combine questions about recoverable facts with ones for which the evidence constrains several reasonable answers. The shared outcome the study measures is perceived believability.

#### Compare answers about the same life

Four configurations of the software generate answers independently. The complete architecture can use observations, plans, and reflections. The next configuration keeps access to observations and plans and withholds reflections. The next keeps observations alone. The most restricted configuration has no access to the accumulated records of any of those types. The authors use it to represent the earlier approach in which a character generates its response without an evolving episodic history available to the prompt.

Each of these conditions answers about the same preceding run. A resident who heard an invitation during play has the same underlying history in every comparison even if some versions cannot access the entry about hearing it. The decision to compare at the endpoint means the question can refer to the same event, encounter, or commitment in all versions. If the authors ran separate simulations with the different configurations, a changed decision early in the run could send the residents to different places and give them different things to remember before the interview began.

A fifth condition uses replies written by crowdworkers. The authors assign a different worker to each of the 25 residents. The worker watches a replay, can inspect the resident’s memory stream, and writes answers while playing that role. The first author checks the response about an ordinary weekday for coherent sentences and a voice suited to the character. Four sets of replies fail that check and are replaced using other workers. This procedure gives the comparison a human reference for carrying out the interview assignment.

A separate group of 100 people evaluates the replies. They are recruited through Prolific, are based in the United States, and are fluent in English. A participant sees the replay of a randomly chosen resident and has access to that person’s memory stream. The experiment selects one question from each category and shows the competing answers to that question. The participant ranks the conditions by the believability of their replies. Participation takes around 30 minutes.

The design is within-subjects, so the same evaluator compares the conditions for the same resident. A person who knows how the resident acquired a piece of news can compare every answer with that event. A person who notices a distinctive detail of the resident’s routine can see which alternative puts it to use. Giving the judge the replay and the records puts the replies in a shared setting. It makes a sentence’s fit to the particular character available for judgment alongside its tone and general plausibility.

#### Measure the ordering of the interview conditions

The interviews yield 100 sets of rankings. The authors aggregate the orderings with TrueSkill, a rating procedure that extends the Elo approach to comparisons involving several participants in a ranked outcome. The interview conditions occupy the places that competing players would occupy in another application of the procedure. A condition receives a higher estimated rating when it tends to rank ahead of its competitors. The output for each condition includes a mean and a standard deviation.

```
𝒩(μ, σ²)
```

`𝒩` denotes the normal distribution that TrueSkill assigns to the condition’s skill. Here skill concerns how it fares in the rankings of believable replies. `μ` is the mean rating, and `σ` is the standard deviation. The superscript `²` indicates that the second parameter is the variance, the square of the standard deviation. The parentheses hold the parameters, and the comma separates the mean from the variance.

The authors test for an overall difference using the Kruskal–Wallis test on the raw ranks and then use Dunn’s tests to examine pairs of conditions. They apply the Holm–Bonferroni adjustment to the pairwise probabilities to account for making multiple comparisons. The ratings and tests serve different purposes. The ratings show where each condition stands on the comparison scale, while the tests use the rank data to assess evidence for differences across the conditions and within specific pairs.

The first author also examines the wording and content of replies through qualitative open coding. Coding assigns descriptive labels to features of the material. The first pass develops codes close to what individual sentences say. A second pass draws those codes into broader themes. This allows the authors to identify characteristic behaviors behind the rankings, such as a reply recognizing an acquaintance, extending a recollection with an invented detail, or drawing on an inference about what someone would enjoy.

#### The complete architecture earns the highest believability rating

In the controlled comparison, the full configuration ranks ahead of every alternative. The order of the software conditions follows their access to memories. The configuration with observations and plans comes closest to the complete system, followed by the version with observations alone. The replies authored by crowdworkers place above the most restricted software condition in the rating estimates.

Mean TrueSkill believability rating in the Smallville interviews The complete architecture leads, and each successive restriction on memory access lowers the estimated rating.

**The numbers**

| System or setting | TrueSkill mean rating |
| --- | --- |
| Full generative agent architecture (this paper) | 29.89 |
| Observations and plans | 26.88 |
| Observations alone | 25.64 |
| Crowdworker-authored replies | 22.95 |
| Observations, plans, and reflections withheld | 21.21 |

The mean TrueSkill rating for the full system is 29.89, with a standard deviation of 0.72. With reflections withheld, the mean is 26.88 and the standard deviation is 0.69. The condition limited to observations has a mean of 25.64 and a standard deviation of 0.68. The crowdworker replies have a mean of 22.95 and a standard deviation of 0.69. When observations, plans, and reflections are all withheld, the mean is 21.21 and the standard deviation is 0.70. These estimates summarize relative standing in the interview judgments.

The authors report a standardized effect size comparing the complete architecture with the condition denied the accumulated observations, reflections, and plans.

```
d = 8.16
```

`d` denotes Cohen’s d, a measure of separation in standard-deviation units. The equals sign gives the reported value of `8.16` for the contrast on the Smallville interview rating scale. The comparison is between the full configuration and the most restricted software baseline.

For the overall difference in raw ranks, the paper gives the Kruskal–Wallis result as follows.

```
H(4) = 150.29
```

`H` is the test statistic, and the number `4` in parentheses denotes its degrees of freedom. The equals sign specifies the reported statistic of `150.29` for the study’s comparison across conditions.

```
p < 0.001
```

`p` is the p-value associated with the test. The less-than symbol indicates that it falls below the stated bound of `0.001`. In the adjusted Dunn comparisons, the authors likewise report p-values below 0.001 for all pairs except the comparison between the crowdworker replies and the most restricted software condition. The rank evidence does not establish a significant difference for that pair.

#### What the replies reveal about using a history

Abigail Chen can introduce herself by connecting her identity as an animator to her interest in creative work. Her answer about Rajiv Patel depends on a different kind of information. When it can use her observations, the system recognizes him and refers to his interest in poetry and art. The configuration without observational access fails to recognize him. The latter can still say plausible things about the character in general. The question about Rajiv gives the evaluator a way to see whether the answer fits a specific acquaintance acquired in Smallville.

The authors also find responses that recover only part of what they need. Asked about the election, Rajiv gives little sign of knowing who is running even though he had heard about Sam. Tom’s reply about the party is more revealing. He remembers having arranged to discuss the election with Isabella there, yet expresses uncertainty about whether the event is happening. His stream contains both the relevant invitation and the later plan for the conversation. The researchers identify the plan as the record recovered for the question. The omission of the invitation leaves Tom with a purpose for attending an occasion whose existence he doubts.

A reply can recover the right subject and still go beyond the evidence. Isabella knows about Sam’s candidacy and confirms it when asked. She then supplies a supposed announcement for the following day, although the researchers find no basis for that detail in what she and Sam discussed. Yuriko’s answer about a neighbor named Adam Smith associates him with *Wealth of Nations*. Knowledge attached to the famous name has supplied details about a different person. Both cases illustrate hallucination, the generation of an assertion that the resident’s available experience does not support.

Other answers show what a concise interpretation can add. When asked for a possible birthday gift for Wolfgang, Maria expresses uncertainty in the condition that cannot retrieve reflections. With access to reflections, she suggests something related to the mathematical aspects of music composition. The answer gives a recognizable basis for the choice. A judge can consider whether the proposed gift suits Wolfgang and whether the reason follows from the experiences Maria had. That is a more specific opportunity to judge the portrayal than a generally courteous answer would provide.

#### Track the spread of two items of news

In the end-to-end study, the 25 inhabitants of Smallville interact throughout two full game days. The authors use the town’s recorded behavior to examine three outcomes. They ask whether residents acquire news through their interactions, whether more pairs of residents recognize each other, and whether an event draws people to the same place at the intended time. Each outcome is assessed in a way that connects a report or action to a history the researchers can inspect.

The diffusion test begins with two items: Sam Moore’s intention to run for mayor and Isabella’s intention to organize the Valentine’s Day party at Hobbs Cafe. Each starts in its originator’s initial memories. Another resident can learn the news through a conversation with Sam or Isabella, or encounter it after an intermediary has heard it. At the end of the two days the researchers ask each resident about both subjects.

They classify each reply as indicating knowledge or failing to indicate it. For every affirmative answer they check the memory stream for the particular conversation in which the knowledge was acquired. A resident who identifies the host and venue can thus be assessed against its own encounter with the information. The verification concerns the source of the reported knowledge. The count at the end reflects residents who can produce evidence of awareness in their answers, with their claims checked against the run.

Smallville residents aware of each news item before and after the town run Both items reach more residents during the run, and the party is more widely known at the end.

**The numbers**

| System or setting | Residents aware % |
| --- | --- |
| Mayoral candidacy at the start | 4 |
| Mayoral candidacy at the end | 32 |
| Valentine’s Day party at the start | 4 |
| Valentine’s Day party at the end (this paper) | 52 |

Awareness of the candidacy grows from one resident, or 4%, to eight, or 32%. Awareness of the party grows from one resident, or 4%, to thirteen, or 52%. The authors report that the residents who claimed to know either piece of news had a basis for the claim in the available records. The news spreads after initialization without further user intervention. The total for the party includes Isabella, and the paper traces the invitation to 12 other residents.

The individual exchanges show how the counts can change. Sam mentions his candidacy to Tom at the grocery store. John learns about it elsewhere. When John later discusses the election with Tom, their conversation can begin from information they acquired on different occasions. In the party example, Isabella tells people she meets, and some of them mention the event to someone else. The news can serve a new purpose with each exchange, such as inviting participation, asking for help, or suggesting a place to resume a conversation.

The authors use the final questions to measure knowledge they can elicit at that point in the run. The test can count a resident who recovers the information and has a recorded source for it. A resident who once heard the item can still miss it when questioned, as some individual interview replies illustrate. The endpoint numbers therefore describe verified awareness as the researchers measured it. The diachronic record of dialogue, meaning the exchanges ordered over time, gives the complementary evidence of how the information moved between people.

#### Measure mutual recognition before and after play

To examine how relationships form, the researchers ask each resident whether they know of other named residents. They ask at the start and again at the end. At the beginning an answer can reflect an acquaintance supplied by the biography. By the end it can also draw on an introduction, conversation, or other encounter during play. The authors check affirmative responses against the memory stream and require recognition by both members of a pair before counting a connection.

They represent the resulting network as an undirected graph. A graph has vertices, which here represent the 25 residents, and edges, which here represent the recognized connections. Calling an edge undirected means that it belongs to the pair without pointing from one resident to the other. The graph’s density expresses how many of the possible pairwise connections are present. This gives the authors one measure they can calculate at both points in the simulation.

```
η = 2 × |E| ÷ (|V| × (|V| − 1))
```

`η` is network density. `E` is the set of connections, and `V` is the set of residents represented as vertices. The bars in `|E|` and `|V|` give the number of elements in those sets. The `1` removed from `|V|` excludes a resident from its possible partners. The factor `2` compensates for the denominator counting a possible pair from both endpoints. The parentheses group the factors in the denominator, `×` means multiplication, `÷` means division, `−` means subtraction, and `=` gives the resulting density.

The measured density rises from 0.167 at the start to 0.74 at the end. Of 453 replies about knowing another resident, the authors report that 1.3% were hallucinated, with `n = 6` denoting the count of such replies. The check gives the density measure a grounding in the history instead of taking every expression of familiarity at face value. A mutual tie records reciprocal awareness under the interview procedure and can arise from relationships of quite different kinds.

One example shows what a new acquaintance can add to a conversation. Sam and Latoya Williams start out without knowing each other. When they meet in Johnson Park, they introduce themselves and Latoya mentions her photography project. At a later meeting, Sam addresses her by name and asks about that work. The early exchange supplies both recognition and a topic for a later greeting. The network measurement registers whether mutual recognition has become more common, while the example shows a concrete change in how one such connection is expressed.

#### Observe which invitations turn into attendance

The party gives coordination an observable time and place. Isabella begins with a plan to hold it at Hobbs Cafe from 5 to 7 p.m. on February 14th. Maria’s initial characterization establishes her feelings for Klaus. These facts give the architecture a venue, a time, and some personal reasons to make decisions about the event. The residents still need to communicate, distribute the work, and incorporate attendance into their days.

Isabella invites people during meetings at the café and elsewhere. In preparation she gathers materials and decorates the venue. When Maria comes to the café, Isabella asks her to help and she agrees. Maria later asks Klaus to go to the party with her, and Klaus accepts. Their exchange draws on circumstances supplied at different points: Maria’s interest in Klaus comes from her starting character description, while the event provides an occasion generated through the organizer’s activity. The plans of several residents then have a chance to converge at the café.

Five of the twelve invited residents attend. Maria and Klaus are among those the paper describes arriving at 5 pm. This measure concerns where the residents go in the game. A resident can remember the invitation and speak favorably of the party while spending the relevant time elsewhere. An arrival demonstrates the further step of acting on the information at the setting and time specified for the gathering.

The authors interview the seven invitees who do not turn up. Three give reasons involving conflicts. Rajiv, for instance, says that he is occupied with preparations for his show. The other four express interest when questioned but did not make a plan to go on the day. These answers distinguish remembering an event, expressing a desire to attend, and setting aside time in a schedule. The simulation makes their practical consequences visible because the researchers can see who actually gets to the venue.

The group results show the kinds of continuity the architecture can support in a shared world. News learned in one place can become the subject of a later exchange somewhere else. An introduction can give a resident enough knowledge to address a new acquaintance personally. A seeded intention can lead to preparations, invitations, and a gathering through actions produced during play. The interview rankings give a complementary result about individual replies under controlled access to the recorded histories. Together, the two evaluations connect what a character can say about its experience with what its experience can lead it to do.

### What the ablations show

#### The researchers changed what an answer could draw on

An ablation tests the contribution of part of a system by removing it and observing what changes. In Smallville, the removal happens when a resident is asked to account for its life. The authors can keep the encounters, activities, and decisions leading up to that moment fixed. They can then ask what the resident would say if it could consult some of the resulting records but had no access to others. A higher ranking under one condition shows that the extra information helped produce a more believable answer about that particular history.

The location of the intervention matters. Suppose a morning plan sends a resident to the college, where a chance conversation yields a suggestion for its research. If the researchers later hide the plan, the conversation is still part of the resident’s experience. A configuration that can retrieve observations can use the suggestion even though it cannot consult the schedule that brought the resident there. Restoring the plan could give it something further to say about why it went to the college or what it had intended to work on. The experiment measures that contribution at the point of answering.

Earlier reflections can similarly affect the experiences that every configuration inherits. A resident may approach somebody because an earlier synthesis suggested they have a common interest. The conversation can then make the common interest explicit. When asked about that acquaintance, a configuration that can retrieve the conversation may give a convincing account even if its access to the earlier reflection has been removed. The authors’ approach tests the value of the reflection when it is available directly to the answer. Some of its earlier effects can persist in the observations.

This arrangement makes comparisons possible for questions about events a resident encountered by chance. Under separate runs, a change to an early decision could prevent the encounter from taking place in one condition. A reply expressing ignorance would then be appropriate to one resident’s experience and a failure of recall for the other. The difference would tell us something about how the two simulated lives developed. It would be harder to identify the contribution of stored information to answering a common question. The shared history gives the ranking task a consistent basis for that narrower comparison.

The authors suggest that the design may give a conservative estimate of the architectural improvements. A version missing a capability throughout the run could lose opportunities whose products are still available in the interviews. A resident that never makes a useful plan can miss a meeting, lose the chance to learn something there, and have less from which to draw a subsequent conclusion. In the actual study, the missed meeting is hypothetical. The rankings give direct evidence about access at the endpoint. The effects of withholding capabilities throughout a resident’s life remain a separate empirical question.

#### Observations let an answer refer to a particular encounter

A resident can describe a recognizable occupation or give a reasonable response to an everyday surprise from the material in a short prompt. Earlier encounters create a different demand. When asked about a person it met during play, the resident has to recover something that depends on what happened to it. An apparently reasonable reply can stand in for several possible histories. The evaluator who has watched the resident can ask whether it fits the history that occurred.

This is why the answer about Abigail’s acquaintance is a useful diagnostic. A response about Abigail’s own creative interests can be assembled from information available about her identity. The facts about Rajiv’s interests depend on something she encountered outside that initial description. Observations let those two parts of the portrayal coexist. Abigail can remain recognizable as an animator and also reveal knowledge that only this particular version of her, after this sequence of encounters, would have acquired. The architectural benefit is the agreement between two scenes that may be distant from each other.

Memory access also supports appropriate uncertainty. An invented familiarity with an unfamiliar person can sound confident and courteous. A cautious answer can fit a resident who has never heard the name. The same caution can disappoint an evaluator who saw the two people talk. There is no wording that works equally well across these possibilities. The system needs evidence about this resident’s experience, and the judge needs enough of the same evidence to see what the expression of confidence or doubt means.

Incidental details are an especially good reason to retain observations as separate entries. Something mentioned in passing may never belong in the short portrait the system uses to describe the resident. Later, an interviewer may name the person who mentioned it and ask what the resident thinks of their work. At that point the passing remark can matter more than an account of the activities that occupied most of the day. The comparison with the most restricted configuration shows the value of making such details available under the paper’s retrieval procedure.

There is still a difference between the store of evidence and the evidence selected for a reply. The party question exposes this when a record about a planned discussion survives retrieval while the account of learning about the event does not. The selected entry is genuinely relevant to the subject. It simply supports a different proposition from the one the question asks about. A resident could have a detailed plan that presupposes a gathering and still need to retrieve the invitation to say with confidence when and where it is happening. The case makes the contents of the retrieved set consequential alongside its topical match.

The observations contrast incorporates the search procedure as implemented. It therefore demonstrates an advantage for access to observations selected in that way. The comparisons leave the individual retrieval signals fixed. For example, the recency advantage of an entry can depend on a search earlier in the day, while the importance assigned to it came from a judgment at creation. The study does not vary those properties independently. A reader can conclude that access to the observational record helps without treating the particular scoring settings as the demonstrated source of the gain.

#### Plans let separate answers draw on the same intention

When the comparison adds plans, both conditions already have access to observations. This is a demanding baseline for the addition. A conversation may contain a promise to meet, and a description of a resident leaving for work can reveal its intention. A system that can read observations already has sources for some of the same information. A plan lets the resident consult a more direct account of how it means to allocate its time. The difference in the ranking shows that these entries are helpful even when earlier behavior can supply some clues to the agenda.

Time-specific questions reveal what an explicit plan offers. If a resident alternates between studying at home and going to the college, either location could fit a general description of its days. An answer about a given afternoon benefits from a record that settles which location the resident meant to use then. The plan can help with another question asked independently, about what the resident expected to finish before leaving. Common source material gives the answers a basis for agreeing about the order of activities without requiring the interviewer to ask for both in the same prompt.

Plans can also help explain a response to an unexpected event. A friendly greeting gives some evidence about a relationship. A resident who says that it can only stop for a short conversation may also be expressing a commitment already in its agenda. Conversely, an open stretch of the day can make a longer visit appropriate. These are examples of how a plan can support questions outside the category named for it. The published ranking combines judgments from different kinds of question, so the incremental benefit can reflect contributions of that kind as well as straightforward recall of a schedule.

The repeated-meal example in the method illustrates a related issue at the level of execution. A request can assign lunch at a reasonable hour without any knowledge of a meal the same process assigned earlier. An agenda gives those decisions a common context. The interview contrast asks how access to such an agenda affects what a resident says after the run. It does not expose a town without scheduling to the same repeated opportunities to eat. The study can therefore show how plans help the resident account for its intentions while leaving the frequency of scheduling errors in an ablated town unmeasured.

The contrast also leaves the steps that produce a plan bundled together. A daily outline establishes broad commitments. Decomposing an activity supplies actions at a timescale the game can depict. Revising the agenda after an interruption gives those actions room to change. Each step can affect the contents of a saved plan or the conduct that follows it. The observed benefit pertains to access to the resulting records. The rankings supply no separate estimate for developing a finer schedule close to execution or for regenerating the remainder of an interrupted day.

A plan is evidence of an intention at the point it was recorded. When an interviewer asks where a resident expects to be, that intention can be good evidence for an answer. When a researcher asks whether the resident kept its appointment, the relevant evidence is its location when the time came. Smallville supplies examples of both kinds of evidence. The planning ablation bears on the first through judged replies. The study of attendance supplies examples of the second under the complete architecture, with no restricted-schedule comparison from which to derive a component effect on attendance.

#### Reflections preserve an interpretation that can be used again

The last addition makes reflections available alongside observations and plans. A reflection can state an inference that none of the underlying records expresses by itself. Several accounts of a resident working on a subject can support an impression about how much that subject matters to the resident. A later question can retrieve that impression and use it to explain a choice. The benefit is partly that an interpretation survives the request that produced it and can be found again when the question takes a different form.

The gift example shows why this can improve a seemingly ordinary reply. The system with observations can know who the recipient is and may have considerable material about him. Faced with a gift question, it still has to find experiences that reveal a preference and connect the preference to an object somebody could give. A stored statement of Wolfgang’s interest narrows that task for Maria. It gives her a reason she can express, which the evaluator can compare with the available evidence about Wolfgang. Many gifts might be suitable. The informative part of the answer is the relationship between the suggestion and the recipient.

Maria’s uncertainty with reflections unavailable is believable in a different way. Acquaintances often have little idea what present someone would enjoy. The researchers’ comparison makes that answer interesting because the same prior interactions are available as a basis for a more specific inference. The question creates a chance to use an implication of the experiences, and the available reflection helps the resident recognize it. The result supports synthesis as a contribution to the capacity the interview measures. It leaves intact the possibility that uncertainty can be the best answer when the history permits little inference.

The illustration involving Klaus’s choice of company brings out another point. Frequent contact makes an acquaintance easy to recall, but the reason for meeting somebody can depend on a comparatively rare experience. Brief encounters with a dorm neighbor give that person many opportunities to appear in the record. A recognition that another resident takes research seriously supplies a reason to spend time together even if she appears less often. A reflection can make that reason available in language whose relevance to the decision is easier to recover than any exact wording in the original encounter.

Several changes accompany the addition of a reflection. The system can retrieve a description that uses broader terms than the supporting observations. It can recover a conclusion within less prompt space than an enumeration of all the events behind it. It can also use reasoning performed earlier, when the reflection request may have made a different selection of evidence. These advantages can operate together. The ablation does not show whether compactness, query match, or prior synthesis contributes most. Nor does it require assuming that the generator could never draw a similar inference directly from a sufficiently informative set of observations.

Saving pointers gives the resulting inference a traceable origin. A reader following those pointers might see a description of Klaus looking for sources, an earlier interpretation of what he reads, or a schedule reserving part of the afternoon for his work. Each record supports a different kind of claim. A plan is particularly good evidence that Klaus intended to spend time on research. An observation can show what he did with that time. A reflection can relate either to an assessment of his priorities. The ability to inspect these relations would support an evaluation of the inferences themselves. The reported ablation evaluates the believability of the answers that use them.

Reflection can also make a tentative account seem settled. A conclusion that a person prefers research to other activities can be plausible as an interpretation of a recent period. A later change of interests could make it dated, and a question that retrieves only the conclusion could give it more authority than it deserves. The same compression that keeps a useful idea available can leave its qualifications out of view. The positive effect in the interview establishes that access to reflections helps across the reported judgments. It leaves open how dependably successive inferences represent the evidence as a life continues to change.

#### The ordering identifies conditional contributions

The software conditions form a sequence of nested comparisons. Adding observations is tested from the condition without access to the accumulated record. The planning comparison is made with observations available, and the reflection comparison is made with both observations and plans available. The improvement at each step supports the contribution of that addition under the conditions in which it was introduced. It cannot place all the components on the same footing and answer which would improve the system most if added to any possible starting point.

For example, an observations-and-reflections condition with plans withheld would let readers see whether reflection makes the same contribution when the answer cannot consult an agenda. The experiment does not include that condition. Another question concerns the way the types of memory help produce each other. A reflection can make sense of an intended activity, and a plan can be informed by a conclusion from a previous day. The fixed trajectory carries some of those consequences into the restricted conditions. Testing the interaction directly would require a setup in which access changed when those records were being produced.

Likewise, the reported quantitative comparison combines the kinds of interview questions. The design supports statements about the relative ordering under that collection of tasks. It gives no separate magnitude for the contribution of planning to reaction questions, for instance, or for the contribution of reflections to self-knowledge. The authors’ qualitative analysis supplies instances in which a mechanism makes a recognizable difference. Such cases explain how the general improvement can arise. They support more specific claims about the replies examined than about the frequency of that mechanism across all replies.

The crowdworker condition addresses the interpretation of the overall task. A person working from the replay and the memories can take the part of the resident and attempt the same interview, which gives the automated comparisons a reference beyond the ablated versions. The human condition changes the process of producing the whole answer. It is consequently separate from the sequence that estimates what happens when access to a specified record type changes. Its placement below the full system measures relative believability for the assigned roleplay and judgment procedure.

What the ablation establishes most directly is that a history can be useful to a generated portrayal in several forms. An encounter supplies a fact, a plan supplies a commitment, and a reflection supplies a reason or characterization that the encounter alone may leave implicit. Restricted answers still inherit a life made with all of these resources. Their weaker performance shows that some of the benefit comes from direct access at the moment of generation. Determining how much each resource changes the life the character goes on to live is a different experiment.

### Limitations

#### Limits the authors identify in the duration and cost

Two game days give the town time for a routine to recur, for news to reach somebody indirectly, and for preparations on one day to affect a gathering on the next. The authors identify this interval as short for testing a system designed around accumulating experience. A longer run would give residents chances to revisit a relationship after a period apart, encounter contradictory reports about old events, and find that plans made under previous circumstances are no longer relevant. These are different demands from retaining an intention over the interval the paper observes.

A growing history may also change what current experience looks like to retrieval. A record can remain stored while going unused for much of the run. An observation made lately can have the same subject as an older entry and describe a changed condition. If both go into the same prompt, their usefulness depends on whether the response recognizes which condition still applies. A high score can make an item available without settling that question. The longer the resident operates, the more opportunities there are for a piece of relevant text to describe a past state whose practical significance has changed.

The issue is particularly clear with conclusions about people. An early reflection might gather strong evidence that a neighbor is busy with a project. Several decisions can use that generalization, and fresh retrieval can keep it prominent. After the work ends, the old conclusion can still explain the neighbor’s earlier choices while giving poor grounds for predicting availability. The paper describes a procedure that adds new interpretations and lets the system retrieve earlier ones. It does not follow enough changes of this kind to show how readily a resident revises a durable impression.

Plans can face an analogous problem when their scope extends beyond a day. An agenda can allocate time to finishing a composition and leave the student free to pursue other activities when the day ends. A longer commitment requires tracking progress and recognizing whether the intention remains active after delays or a change of circumstance. The architecture makes a schedule available for question answering and allows it to be regenerated after an interruption. The study gives much less evidence about distinguishing commitments that have been fulfilled, obligations that have been dropped, and work deferred until a later date.

The authors also report substantial expense. For 25 residents across two game days, the study consumed thousands of dollars in token credits and took multiple days to complete. These costs concern a system making many distinct requests, from generating dialogue to assessing what matters, developing schedules, and choosing a place for an action. A user watching a simple exchange sees only a small portion of the processing that supports it. The study leaves open the practical cost of sustaining a world with more inhabitants or with more frequent interactions among them.

The implementation appendix describes sequential execution in which one real second corresponds to one game minute. This is a description of the rate in game time, while the authors’ account of the study reports the time and resources consumed by the research. The paper provides no performance comparison showing how those figures change under other workloads. It identifies parallel execution as a possibility and discusses ways to reduce the work required for dialogue or to revise only the parts of an agenda affected by an interruption. These are proposals for further development, with no measured improvement reported for them.

The authors call for tests using different underlying generators and architectural settings. The retrieval weights and the importance threshold for reflection are implementation choices. Modifying the threshold can change which experiences have accumulated by the time the system looks for patterns. Changing the ranking weights can affect which of those patterns later become available. Changes at either level could interact with the generator’s way of drawing inferences or expressing them in character. The observed behavior belongs to the tested combination of prompts, settings, and world, and the paper leaves the sensitivity of the architecture to those choices substantially open.

#### Retrieval and generation can fail in different ways

The authors find that some characters miss information plainly present in their record. The election example is easy to recognize with access to the earlier conversation. It would be harder to diagnose in ordinary play, because someone saying they have followed local politics only loosely might just be expressing a preference. A coherent sentence can therefore pass as routine characterization while failing as a report on what the character knows. An evaluation that can compare the reply with the prior experience has an advantage here over one based on the reply alone.

The more revealing failures occur when a resident uses some evidence about a subject and still comes up short. A text about what two people mean to discuss at an event gives a retrieval system good grounds for treating it as related to the event. An account of how one person learned the event would happen contributes a different fact. A question may require both. The party example suggests that judging each memory separately for relevance can produce a set whose members touch the subject without establishing everything the answer presupposes. The study illustrates this problem through a trace, rather than estimating how frequently such incomplete sets occur.

There is a further distinction between a poor selection and poor use of a good selection. A sentence may appear in a prompt without governing the output. Conversely, a guess may happen to be correct even though the prompt lacks the relevant experience. Comparing the reply with the agent’s full history shows that a fact is missing or unsupported. Inspecting the material selected for the request can narrow down how the problem arose. The paper gives cases where the researchers can tie an answer to a retrieved entry, but it does not report a systematic accounting of what proportion of errors arises at each stage.

The authors also observe embellishment. Recognizing a real candidacy can make an additional announcement sound like a plausible development. The appropriate question for a character is whether its experience gives it grounds for asserting that development. Likewise, a familiar name can bring information about a historical person into an answer about a Smallville neighbor. In both cases the detail attaches to something that belongs in the response. That makes it harder to detect from the wording than a wholly unrelated claim would be.

Different checks in the paper establish different things about such errors. Verifying that a resident heard about an election gives the researchers grounds for counting its affirmative report of awareness. A verification of that kind need not establish each further claim made in the same reply. Checking whether a resident knows another person can identify an unsupported assertion of recognition. It tells less about how accurately two established acquaintances describe each other. The authors characterize complete invention of experiences as uncommon in their interview observations. The checks they describe give evidence about particular claims and leave the rate of unsupported detail across ordinary dialogue unmeasured.

The ability to store generated interpretations makes the durability of an error a further concern for a reader of the architecture. A questionable reflection may be retrieved later in the absence of the entries cited to support it. The next reply can treat the reflection as part of the resident’s understanding, and another resident can then hear the resulting statement during play. The paper demonstrates a route by which reliable news can circulate and a route by which conclusions can return to memory. It does not measure a corresponding process of error accumulation across residents or over a much longer life.

#### Local conventions and conversational style remain uneven

The authors report that residents sometimes choose places the designers find surprising. Some begin by going to the café for lunch and start choosing the bar after learning that it exists. In the designers’ arrangement, the bar was chiefly intended for later get-togethers. A player might see the lunchtime visits as an unexpected local habit. The authors’ example is instructive because it depends on an informal expectation about a place, and the unusual behavior is open to interpretation. The physical possibility of the action and its fit with the prevailing social convention are separate questions.

The occupied dorm bathroom is a clearer case. The room has space for a single user, while its ordinary name can suggest a shared facility. Some residents follow that implication and enter when somebody is inside. Shops provide another example when residents sometimes walk in after the customary closing time, around 5 pm. The map can provide a destination and allow a route to it. The account used to decide whether to enter also needs to convey which restrictions hold at that moment. A resident can know a place in substantial detail and still draw the wrong inference about its appropriate use.

The authors suggest including the bathroom’s capacity in its description. This would give the character information specific to that room at the point where it considers occupancy. It would also test the interpretation that the problem came from what the description implied. The study reports no result for the proposed change. A different approach to the same issue could concern what the game permits an avatar to do. The reported implementation lets researchers observe a gap between the behavior the agent proposes and what a player would expect from the local setting.

The location examples expose a difficulty in turning structured state into a decision in words. The tree says which objects and rooms belong to a place. A description can convey that a room contains a certain object and that the object is occupied. From there the generator draws on the wording and its general expectations about what such places are for. If the design depends on a convention peculiar to Smallville, an ordinary place name can invite a wrong assumption. Increasing the detail in the map answers only part of the problem. The relevant condition has to make it into the description used for the particular decision.

The authors also observe a style of dialogue they attribute tentatively to instruction tuning, the preparation that encourages a generator to follow requests and produce preferred kinds of replies. Mei’s greetings and farewells to John can sound ceremonial for a conversation between spouses. The response can correctly identify who John is and choose a suitable topic. It can still use a level of formality that gives little sense of their everyday familiarity. A successful retrieval of the family relationship therefore does only part of the work of portraying it. The proposed explanation draws on earlier work about instruction following. [Training to Follow Instructions with Human Feedback](https://md.research.elamur.ai/free/en/papers/ouyang-2022-training-language-models-follow-instructions/)

The party preparations show a possible consequence of the same tendency for choices. Isabella gives sympathetic attention to several proposed activities that reflect other residents’ preferences. The authors mention suggestions involving a reading session and professional networking. She seldom turns suggestions down, and some of these interests later enter her description of what she enjoys. The architecture makes room for a person’s tastes to evolve through social contact. In this example the concern is that ready accommodation in conversation may repeatedly move the character in directions only loosely related to its prior disposition.

A study of character development would need to distinguish those possibilities with evidence from the intervening exchanges. Agreeing to an unfamiliar activity could be credible if a friend explained its appeal, or if it served the organizer’s own purpose in some recognizable way. A new self-description might then reflect a coherent change of interest. If it follows a succession of agreeable replies with little connection to choice or later activity, a reader has different grounds for judging it. The paper records the observed tendency and offers a possible source. It does not isolate the effect of instruction tuning or quantify how much the resulting behavior changes a resident’s personality.

#### The authors’ cautions about robustness and real-world uses

The paper treats robustness as an open issue. Its authors discuss the possibility that misleading input could affect what a resident does or give it an inaccurate account of its own past. This matters when an experience is retained and can influence subsequent decisions. The same architecture that makes a conversation count on a later occasion can preserve material whose content is unreliable. The evaluation does not estimate the frequency of this problem under deliberate attempts to induce it, or compare the effectiveness of protections against it.

A distinction between testimony and observation is already useful during ordinary play. When someone reports an event, the listener has direct grounds for saying it heard the report. Its grounds for asserting that the event happened depend on the report and any corroboration it has. A resident can still pass along the news, as people do when they tell others what they heard. The paper can verify this process for its seeded events because the researchers know the starting circumstances and can locate the relevant conversations. A general judgment of truth across all events in the game would require more than locating the exchange in which a statement was made.

The authors expect biases in the underlying generator to be expressed in its characters. They raise the possibility of stereotypes and of uneven portrayals where material about a population is scarce, particularly for marginalized groups. A portrayal that seems familiar to a judge can reproduce a conventional association while missing how the people concerned would describe their lives. The simulated town supplies no group-specific validation of such portrayals. In the authors’ account, improving retrieval or reflection can address some errors, while the broader representational problem also depends on the source of the behavior. [Bias, fairness & safety](https://md.research.elamur.ai/free/en/topics/bias-fairness-safety/)

Believability also has consequences for how users relate to characters. A resident can remember a returning visitor and ask about something the visitor said earlier. Such attention can invite a person to interpret the exchange as evidence of care. The authors discuss parasocial attachment, in which a user develops an emotional relationship with a figure that cannot reciprocate as a person would. They propose that characters disclose their artificial nature and be designed to avoid responses inappropriate to the relationship. The interview rankings assess the suitability of replies to the fictional context. They supply no evidence about the formation of attachment or the effectiveness of disclosure.

The consequences of a mistaken inference depend on what the application does next. In Smallville, a mistaken description of a character’s goals can produce an awkward conversation or a peculiar choice about where to go. The paper also imagines systems that anticipate what somebody wants and change their surroundings. In such a setting an inference about a routine can lead to an action affecting a real person who never supplied that instruction. The game study makes some forms of misunderstanding visible, while the effects of giving a system authority over a different environment depend on that application and its controls.

The authors discuss impersonation, misinformation, and tailored persuasion as possible misuses. Their proposed audit record would capture the inputs and generated outputs so that a platform could investigate events and verify what occurred. The function of such a record differs from that of the resident’s memory stream. A resident’s history is part of the mechanism producing new behavior. An audit record serves a person examining the behavior after the fact. The paper discusses possible detection and deterrence, without measuring either.

The authors also argue for keeping actual stakeholders involved in research and design. A team can populate an early prototype to see how a new feature might supply occasions for interaction. It can use the resulting activity to develop questions for a later study or explore a difficult situation in advance. If the question is what particular people need, believe, or are likely to do, findings about fictional participants do not supply their views. The distinction follows from the source of the evidence. The town reveals what occurred under a designed set of conditions with generated inhabitants. People's accounts and conduct are needed for conclusions about their own experience.

#### Further limits of the ranking task

A relative ranking tells the researcher which answer a judge prefers among the available alternatives. The highest-ranked reply could be excellent or just a little better suited to the resident than several weak replies. The ordering on its own does not show how large the perceived difference was, or whether the answer met a threshold of quality for a separate use. TrueSkill estimates a condition’s tendency to fare better in the rankings. Its ratings have meaning within that comparison rather than as percentages of behavior a user would find acceptable.

The study gives evaluators the means to see whether a reply fits a character’s recorded life. This is an advantage for identifying inventions and omissions. It also gives those evaluators a view a typical visitor would lack. A new visitor may know little about the resident’s earlier activities and judge the exchange by tone or general plausibility. A returning visitor may recall a small number of conversations especially well and know nothing about how the resident behaves elsewhere. The effect of memory access on an experience made up of such encounters could differ from its effect on the judgments gathered with a replay and the full record.

The crowdworker condition has a related boundary, explicitly acknowledged by the authors. Workers had the material needed to make informed attempts at playing the characters. Their replies establish a reference for the assignment as given. The design does not aim to find the strongest performance achievable through human roleplay. More extensive preparation, different instructions for interpreting the records, or unusual skill at maintaining a role could matter to that task. The result about the crowdworkers concerns responses produced under the study’s procedures.

A judgment of believability can combine several considerations. A reply about a known event can score well because it gets the fact right. A reply about a friendship can gain credibility through a fitting tone or a perceptive reason to seek the person’s company. A reaction to a surprise can seem suitable because it acknowledges both what is happening and what the resident was about to do. The evaluator puts the whole reply in an order, without separately scoring each possible reason for that placement. Qualitative examples help identify these differences in the material. The rankings cannot determine which consideration changed a given decision by a judge.

The participant pool also gives those judgments a context. The evaluators are based in the United States and speak English fluently. Their judgments about politeness, familiarity, or a reasonable way to spend the afternoon can depend on their expectations about ordinary conduct. Smallville’s design and its fictional biographies give those expectations a particular setting. Whether equivalent behavior would receive similar judgments in another linguistic or social context would require evaluation there. Nothing in the usefulness of the reported comparison settles how far its judgments generalize.

The way rankings are collected introduces a further statistical question for a careful reader. Positions within one ordering are related, since placing an answer ahead of another determines part of both conditions’ results. A participant also sees several questions about the same resident. The paper reports tests on the raw ranks and adjusts its pairwise comparisons for multiple testing. It does not describe a separate analysis explicitly accounting for the clustering of judgments by evaluator or resident. The reported significance should be read in light of the procedure the authors describe.

The same evaluation design makes some errors more visible than others. An interviewer asking about a recent acquaintance creates a direct occasion to recall that person. The study can see immediately whether the response uses a pertinent fact. In an open encounter, a resident can give a plausible greeting without mentioning any earlier experience, and the absence of a detail may be perfectly appropriate. A failure to retrieve the history becomes important when it impairs an action or an exchange where that history is needed. The interviews offer concentrated opportunities to observe such failures. Their occurrence there does not determine how often a player would encounter them during ordinary use.

#### Further limits of the evidence from the town

The end-to-end run demonstrates community behavior from one documented starting arrangement. Roles and initial acquaintances help determine who is likely to meet. The geographical layout gives some residents recurring contact at a workplace and others incidental contact on a walk. The party has a specified venue and time and an organizer who can meet potential guests at the café. Its outcome is evidence that the architecture can develop a seeded intention into a series of social actions in these circumstances. The paper does not estimate how reliable that sequence would be across different runs or starting conditions.

The finding that the party reached more residents than the candidacy has a similarly specific meaning. The news items differ in what someone can do with them. A party can supply a reason to invite a companion, ask for help, or make an appointment to talk. A candidacy is relevant to discussion of the election. Their originators also differ in whom they meet and in what those meetings are about. The comparison gives the reach of each item in the run. It cannot isolate whether the respective patterns arose chiefly from the subjects, contact opportunities, timing, or other features of the encounters.

The diffusion measure counts awareness the researchers can elicit and support. An affirmative answer with a source establishes that a resident learned the news and can report it at the endpoint. A resident who heard it earlier can still answer tentatively or fail to mention it. Such errors can matter when a researcher wants to distinguish how widely news circulated from how available it was for later use. The dialogue trace provides evidence about particular transmissions, and the endpoint interviews supply a systematic comparison. An account of everyone exposed at any time would call for a different use of the records.

The network of mutual recognition is a measure with a precise definition and limited social content. The same kind of edge can represent people who have just introduced themselves, longstanding colleagues, or members of a family. Each pair qualifies if both residents indicate awareness with a basis in their records. Denser connectivity shows that more pairs satisfy the rule in this town. It reveals little by itself about closeness, trust, disagreement, or how much the two residents understand about each other. The paper’s trace of a particular meeting gives more texture than the aggregate density can convey.

Furthermore, the biographies influence the starting network and the opportunities for it to change. A resident who knows of a neighbor can have a reason to approach that person when they first meet. A close friend who visits a café can introduce someone else to an event at short notice. Workplaces and living arrangements influence who is in a position to take part in such encounters. The measured change arises from the architecture operating in that authored world. A comparison across different starting networks would be needed to say how closely the result follows from the roles and spaces the designers chose.

Actual arrivals give the study a firmer behavioral outcome than favorable replies about attendance. Explanations for staying away are less directly observable. A resident’s interview account of a conflict can make sense given its occupation or schedule. Establishing that the conflict determined its earlier choice would require evidence about what it considered at the time. Expressed interest after the event can likewise reflect a genuine prior intention, a general willingness to attend events like it, or what seems apt to say to the questioner. The interview with invitees helps identify possible gaps in coordination without resolving the causes of every absence.

Community behavior under the complete system also leaves component attribution open. If a particular guest arrives because it retrieved an invitation when drafting its day, the recorded sequence can show how that arrival came about. It does not imply that another configuration would have failed to attend, since it might have learned or used the same information through a different sequence. Distinct community runs could address how often such outcomes occur under different arrangements. Their histories would inevitably diverge, which is part of what an end-to-end comparison would be designed to observe.

The paper treats the behavior of the inhabitants as an interactive portrayal. Observable actions, speech, and records provide a basis for saying whether that portrayal is coherent and whether interactions accumulate into recognizable social patterns. The experiment does not compare the town’s aggregate behavior with observations of a real community facing equivalent circumstances. A fictional example can show that a mechanism generates an intelligible course of events. A prediction about human communities requires evidence that the relevant features of those communities and their conduct have been captured.

### What came after

#### Experience can inform a later attempt

The citing papers give an agent’s prior experience several different jobs. In the Smallville architecture it can supply a reason to talk to a particular person, explain an existing commitment, or preserve a conclusion from several encounters. A task-oriented system can instead ask what a previous outcome should teach the agent about an attempt it will make again. In both settings the system needs something that can survive the original interaction and become pertinent when the next occasion arrives. The objective determines what deserves to be carried forward.

*Reflexion* takes up that problem through verbal reinforcement. Its title identifies language as the means by which an agent can use feedback. Read alongside Smallville, this gives a more specific purpose to forming an interpretation of a past event. A resident may conclude that it shares an interest with an acquaintance and retrieve that thought whenever it becomes relevant. An agent guided by verbal feedback has a reason to preserve what the outcome of an attempt implies for the next one. The connection is the use of a retained statement to guide later conduct, with improvement on a task as the focus of the citing work. [Reflexion](https://md.research.elamur.ai/free/en/papers/shinn-2023-reflexion-language-agents-verbal-reinforcement/)

This relationship also clarifies how to judge the contents of a retained statement. An accurate description of an attempt can document what happened and still leave a subsequent decision almost entirely open. An interpretation can identify the part of an outcome that should matter when the agent tries again. In Smallville a reflection similarly makes a pattern accessible even when none of the episodes says what the pattern means. A reader can relate the two approaches through the difference between preserving a record and preserving a usable implication of the record.

*MemGPT* approaches the availability of information from an operating-system perspective. Smallville provides one reason to make that subject central. A resident keeps a history that expands over time, but the request that produces a decision can hold only a selection. The architecture has responsibilities beyond storing the information, including determining what enters the working context and when it enters. The operating-system framing extends attention to how such resources are managed, with the boundary between retained information and immediately usable context as the pertinent connection to Smallville. [MemGPT](https://md.research.elamur.ai/free/en/papers/packer-2023-memgpt-towards-llms-operating-systems/)

*LongLLMLingua* addresses long inputs through prompt compression. In relation to Smallville it raises a question downstream of deciding which material belongs in a request. Once the candidate records have been chosen, how much text is needed to preserve what each contributes? A long dialogue can encode an invitation, its time, and the reason one person tells another about it. A shortened account can be adequate for one question and leave out the inference needed for another. Compression and memory selection thus concern different ways in which the construction of a prompt can affect the availability of useful information. [LongLLMLingua](https://md.research.elamur.ai/free/en/papers/jiang-2023-longllmlingua-accelerating-enhancing-llms-long/)

These citing works direct attention to decisions that occur before an answer or action. Feedback can be rendered into language that gives a future attempt a direction. A system can manage the movement of information into working context. A request can express selected material more compactly. The Smallville experiment shows why the boundaries between those decisions matter. The original observation may exist, and a contribution it could make can still disappear somewhere between the stored history and the eventual behavior.

#### Communication becomes part of a joint task

*ChatDev* uses communication among agents for software development. Smallville gives a social example of how one participant’s words become material that another participant uses in a later decision. A development task gives that dependence a concrete product. A contribution can be assessed through what it provides for subsequent work, such as information others need in order to act. The relation to the town is strongest where a message has consequences beyond the exchange in which it was produced. [ChatDev](https://md.research.elamur.ai/free/en/papers/qian-2023-chatdev-communicative-agents-software/)

*AutoGen* treats conversations among agents as a way to build applications. A town supplies occasions for dialogue through meetings, ongoing relationships, and the preferences of its inhabitants. An application can organize those occasions around the contributions the task needs. In either kind of system a message can be the next participant’s evidence, a request for work, or a reason to revise what was planned. The task-oriented framework makes the organization of these exchanges part of how the application is built. [AutoGen](https://md.research.elamur.ai/free/en/papers/wu-2023-autogen-enabling-next-gen-llm/)

*MetaGPT* brings metaprogramming to a framework for multi-agent collaboration. The point of comparison with the party is how separately produced actions can serve a common result. Preparing the venue has value because people will later come there. An invitation has value because someone else can use it in a plan. In a collaborative framework, the relation between one contribution and later work can itself be part of the task’s organization. The citing work puts that organization at the center of the framework. [MetaGPT](https://md.research.elamur.ai/free/en/papers/hong-2023-metagpt-meta-programming-multi/)

A proposal to encourage divergent thinking through multi-agent debate gives the exchange a different purpose. A town whose residents have distinct histories can produce different views of the same election or social event. That variety figures in the portrayal of a community. In debate, the design expressly seeks value from having multiple views bear on a question. The connection concerns the intellectual role of disagreement. Other participants can expose alternatives or considerations that would go unexpressed in an answer from a single participant. [Divergent Thinking through Multi-Agent Debate](https://md.research.elamur.ai/free/en/papers/liang-2023-encouraging-divergent-thinking-large-language/)

*ChatEval* applies debate among agents to evaluation. That places the conversation at a different point in relation to a judgment. In the Smallville interview study, the evaluators receive alternative replies and order them using the history they have been shown. In a debate-based evaluation, the participants’ exchange contributes to forming the assessment. The dialogue can put reasons and competing interpretations into words. Its value for the application depends on the resulting judgment. [ChatEval](https://md.research.elamur.ai/free/en/papers/chan-2023-chateval-better-llm-based/)

A survey of progress and challenges in multi-agent systems situates this range of arrangements within a common subject. Smallville helps make one distinction in that area concrete. An individual may produce a useful message, but a group outcome also depends on who receives the message and whether it arrives while its contents can still change a decision. A design for collaborative production, debate, or a fictional community gives those dependencies different forms. The wider field shares an interest in organizing them, even though what counts as success varies with the task. [Large Language Model based Multi-Agents](https://md.research.elamur.ai/free/en/papers/guo-2024-large-language-model-based/)

#### Evaluating agents requires specifying their opportunities

*AgentBench* takes the evaluation of agents as its subject. Smallville shows why defining the opportunity to act is part of that work. A surprise supplied in an interview gives the resident an occasion to describe what it would do. An interruption in the game lets it revise a plan and change its behavior at a particular place. Both tasks can concern a plausible reaction. They give a researcher different evidence. The connection to agent benchmarking is the need to say what opportunities a test provides and which result it can observe. [AgentBench](https://md.research.elamur.ai/free/en/papers/liu-2023-agentbench-evaluating-llms-agents/)

*Character-LLM* takes up role-playing through a trainable agent. A portrayal can depend on learning the enduring qualities of a character and on obtaining facts particular to a recent episode. Smallville gives these sources different places in its design. A biography identifies the character, while an encounter during play gives that particular resident a new experience to use. The trainable role-playing approach puts the acquisition of a portrayal in the foreground. Its connection to Smallville is the question of what makes a response belong to the character whose part the system is playing. [Character-LLM](https://md.research.elamur.ai/free/en/papers/shao-2023-character-llm-trainable-agent-role/)

*RoleLLM* addresses the elicitation, assessment, and improvement of role-playing abilities. The range of Smallville’s questions gives a concrete reason to consider elicitation alongside evaluation. An introduction invites a character to gather stable facts about itself. A future-time question creates an occasion to use a commitment. A question about selecting a gift calls for a judgment about somebody else. Each can show something about portrayal. The opportunity to demonstrate it depends on what the question asks and what experience the system can use in answering. [RoleLLM](https://md.research.elamur.ai/free/en/papers/wang-2023-rolellm-benchmarking-eliciting-enhancing-role/)

A close connection among these directions is that evidence of competence depends on the test’s circumstances. A plausible reply might follow completely from the part the agent was assigned. Another reply may demonstrate adaptation to an episode because it would have made less sense before the episode took place. An action can provide stronger evidence that a time and destination were carried through than any reply expressing an intention. Smallville uses several such opportunities within the same paper. The later evaluation and role-playing work make the design of those opportunities a subject in its own right.

#### What simulations can contribute to the study of behavior

The survey of agent-based modeling and simulation considers the broader use of language-driven agents in simulations. Smallville provides an example of a local action contributing to a collective outcome. A resident can learn something during a chance encounter, mention it later to a person with a different routine, and thereby make another transmission possible. A population-level result has a basis in specific events a researcher can follow. The survey’s scope connects this architectural question about individual behavior with the methodological question of how to interpret the behavior of the simulated population. [Agent-based Modeling and Simulation](https://md.research.elamur.ai/free/en/papers/gao-2023-large-language-models-empowered-agent/)

The work on computational social science asks what research on society can obtain from these capabilities. Smallville can show that a fictional population generates a recognizable diffusion process. With the recorded conversations, a researcher can trace how the process developed in that setting. Using such a simulation as evidence about society poses an additional question about the relationship between its assumptions and the people or processes being studied. The paper on computational social science takes the broader research opportunity as its subject. [Can Large Language Models Transform Computational Social Science?](https://md.research.elamur.ai/free/en/papers/ziems-2023-large-language-models-transform-computational/)

*AlpacaFarm* uses simulation as a framework for examining methods that learn from human feedback. Smallville uses a simulated setting to study how agents act and interact when they acquire their own histories. In the feedback setting, the simulation serves an investigation of learning methods. This change in purpose shifts what evidence matters. A simulated response can be assessed in terms of what it lets a researcher learn about a procedure. Its use depends on the behavior relevant to that procedure being represented sufficiently well for the intended comparison. [AlpacaFarm](https://md.research.elamur.ai/free/en/papers/dubois-2023-alpacafarm-simulation-framework-methods-that/)

The survey on hallucination addresses a failure that the records in Smallville make particularly easy to describe. A resident can produce an appropriate report about something it heard and add a claim the episode gives it no reason to make. With a continuing history, such a claim can potentially affect what the same resident says later or what another resident comes to believe. The survey treats hallucination as a broader subject. Smallville gives a case in which an unsupported statement can matter both to the accuracy of a reply and to the subsequent history an interactive system generates. [Siren’s Song in the AI Ocean](https://md.research.elamur.ai/free/en/papers/zhang-2023-siren-s-song-ai-ocean/)

The lasting question across these uses is what a simulated history gives a researcher or designer evidence for. In a role-playing task, it can establish why a line belongs to a particular character. In collaborative work, prior messages can show how one contribution made another possible. In simulation research, a record of interactions can explain how an observed pattern arose under explicit starting conditions. Smallville makes those histories inspectable. That lets readers distinguish evidence about an intelligible sequence inside a simulation from evidence about how reliably the same mechanism, portrayal, or social outcome would carry into another setting.

## Cite

Cite as Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang and Michael S. Bernstein. 2023. Generative Agents: Interactive Simulacra of Human Behavior. arXiv:2304.03442.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2304.03442](https://doi.org/10.48550/arxiv.2304.03442) · [arXiv 2304.03442](https://arxiv.org/abs/2304.03442)

```bibtex
@misc{park2023generative,
  title = {{Generative Agents: Interactive Simulacra of Human Behavior}},
  author = {Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang and Michael S. Bernstein},
  year = {2023},
  doi = {10.48550/arxiv.2304.03442},
  eprint = {2304.03442},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2304.03442}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
