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

Paper summary
Enables LLMs to memorize long history via memory-augmented adaptation.
Ask this paper
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.