atlas

Research map / Large language models / AI and society

MemoryBank: Enhancing Large Language Models with Long-Term Memory

AAAI 2024 · Large language models › AI and society · approach: Critiques of LLM claims and judging · 201 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes MemoryBank, a long-term memory mechanism for LLMs with Ebbinghaus-inspired memory updating, instantiated as the SiliconFriend AI companion built on ChatGPT, ChatGLM and BELLE.

Problem

LLMs lack long-term memory, which hinders sustained interaction scenarios such as personal companionship, psychological counseling, and secretarial assistance.

Approach

A unified memory storage (conversations, hierarchical event summaries, user portraits) with dense retrieval over FAISS and a memory-strength update rule modeled on the Ebbinghaus forgetting curve, so memories decay with time and are reinforced when recalled; the memory is injected into the prompt of any LLM backbone.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ChatGPT rather than the other SiliconFriend variantsSiliconFriend · English simulated dialogsresponse correctness: 0.479, 0.438 -> 0.716Helped
Use ChatGPT rather than the other SiliconFriend variantsSiliconFriend · Chinese simulated dialogsresponse correctness: 0.603 -> 0.655Helped
Use ChatGPT rather than the other SiliconFriend variantsSiliconFriend · Chinese simulated dialogsmemory retrieval accuracy: 0.856 -> 0.711Hurt
Use BELLE rather than ChatGLMSiliconFriend · Chinese simulated dialogsresponse correctness: 0.418 -> 0.603Helped
Use ChatGLM rather than ChatGPTSiliconFriend · Chinese simulated dialogsmemory retrieval accuracy: 0.711 -> 0.84Helped

Surprising findings

Limitations

Experimental setup

Datasets: 38k psychological dialogues from online psychological QA websites simulated 10-day multi-user dialogue memory storage generated by ChatGPT (15 virtual users, 450 topics)

Benchmarks: 194 manually written memory probing questions (97 English, 97 Chinese) over simulated dialogs

Metrics: memory retrieval accuracy response correctness contextual coherence model ranking score

Baselines: ChatGLM ChatGPT BELLE

Builds on: Dense Passage Retrieval LoRA Ebbinghaus forgetting curve

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy