MemoryForge: Synthesize Lifelong Memory for Human-Like LLM Agents

Bohan Tang, Steven Y. Guo


Abstract
Equipping Large Language Models (LLMs) with human-like personas is crucial for agentic applications, such as role-play and user simulation. Traditional prompt-based methods rely on descriptive conditioning by injecting static textual profiles, which often makes agents show generic behaviors due to a lack of realistic life memory. To fill this gap, we introduce memory-based conditioning, a paradigm inspired by the cognitive psychology, which replaces abstract profiles with an autobiographical memory base, enabling frozen LLMs to dynamically retrieve situation-relevant memory to guide their behaviors. We formalize its enabling task as customized lifelong memory synthesis and propose MemoryForge, a novel framework to synthesize such lifelong memory from brief target personas. MemoryForge has three key components: a context generator for socio-historical grounding, a life organizer for developmental coherence toward the target identity, and a multi-resolution simulator that balances broad temporal summaries with high-fidelity episodic experiences. Experiments on PersonaGym for role-play and SimulatorArena for user-simulation, show that the synthesized memory base by MemoryForge enables frozen LLMs to exhibit more human-like behaviors than strong descriptive conditioning baselines across multiple metrics and LLM backbones. Code is available here.
Anthology ID:
2026.emnlp-main.565
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
12974–13000
Language:
URL:
https://aclanthology.org/2026.emnlp-main.565/
DOI:
Bibkey:
Cite (ACL):
Bohan Tang and Steven Y. Guo. 2026. MemoryForge: Synthesize Lifelong Memory for Human-Like LLM Agents. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 12974–13000, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
MemoryForge: Synthesize Lifelong Memory for Human-Like LLM Agents (Tang & Guo, EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.565.pdf