Rendered Source Note

Generative Agents: Interactive Simulacra of Human Behavior

Generated HTML view. Markdown remains canonical.

Generative Agents: Interactive Simulacra of Human Behavior

Type: paper Tier: 2 (Foundational Paper) Author(s): Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, Michael S. Bernstein Date: 2023 (submitted 2023-04-07) URL: https://arxiv.org/abs/2304.03442 Accessed: 2026-06-01

Why This Source Matters

This is the primary source for memory retrieval scoring — the central learning target of Project 05. An LLM is stateless: every turn starts from zero. To make an agent that remembers, you need a store of past observations and a principled way to decide which memories to pull back into the limited context window for the current moment. Generative Agents answers that with a memory stream and a retrieval function that combines three signals — relevance, recency, and importance — into a single score. This is the architecture Project 05 implements directly: it grounds the scoring formula, the exponential recency decay, the LLM-rated importance, and the idea of reflection (synthesizing higher-level memories from raw ones).

Key Claims

The memory stream

Retrieval = relevance + recency + importance

The retrieval function scores every memory against the agent's current situation (the query) on three components, each normalized to [0, 1] via min-max scaling, then summed:

Final score: score = α_relevance · relevance + α_recency · recency + α_importance · importance. "In our implementation, all α's are set to 1." The top-ranked memories that fit in the context window are retrieved.

Retrieval refreshes recency

Reflection — higher-level memories

Relevant To

Notes