🚀NEW LABGetting Started with Claude AgentsStart lab
Memory

Augmenting LLMs with Long-term Memory (LongMem)

First page
Augmenting LLMs with Long-term Memory (LongMem)
Paper summary

Enables LLMs to memorize long history via memory-augmented adaptation.

Ask this paper

Key points
01

Memory-augmented training: Dedicated adaptation training teaches the LLM to retrieve and use its memory of long past context.

02

ICL over long history: Enables in-context learning that spans far longer contexts than the model's raw attention window.

03

Decoupled retrieval: Separates the retrieval mechanism from the main model, allowing memory to grow without increasing model size.

04

Long-context direction: Part of 2023's multi-pronged attack on context-window limits, complementary to position interpolation and ring attention.

Every Monday
Get next week’s papers.
Subscribe on Substack