Simulating Human Memory with Language Models

Qihan Wang, Nicholas Tomlin, Michael Hu, Brian Dillon, Tal Linzen
5/25/2026
cs.CLcs.AI

No official code found. Best implementation: nickatomlin/simulating-memory (6 stars, MIT, last commit 2026-05-31).

Abstract

Language models are increasingly being deployed as user simulators, but their memory is far more reliable than that of real users. To measure this gap, we run a series of classic memory experiments from psychology on both humans and language models. Across tasks, we find that out-of-the-box language models exhibit better memory than humans, even when prompted to imitate human behavior. We then show that better prompting strategies and the use of a compactor can cause language models to forget content in a more human-like way. Using these methods, we show preliminary evidence that language models with human-like memory constraints can function as more effective user simulators in a downstream education task. Finally, we release human reference data and benchmarks to support future work on simulating human memory with language models.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Simulating Human Memory with Language Models"

62May 24, 20264 months agoMIT

Similar Papers

Cite this paper

@article{wang2026simulating,
  title  = {Simulating Human Memory with Language Models},
  author = {Qihan Wang and Nicholas Tomlin and Michael Hu and Brian Dillon and Tal Linzen},
  year   = {2026},
  eprint = {2605.25680},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.25680v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.25680.svg)](https://codeofpaper.com/paper/2605.25680)

Discussion