Paper archive

All AI memory papers

Browse 453 explainers on agent memory, RAG, long-term context, personalization, benchmarks, and memory architectures.

Page 17 of 19

RAG

"Ghost of the past": identifying and resolving privacy leakage from LLM's memory through proactive user interaction

Shuning Zhang, Lyumanshan Ye et al.

· 2024

MemoAnalyzer analyzes past inputs and long-term memories using prompt-based privacy inference, confidence and sensitivity visualization, and source tracking with an editing proxy. In a 5-day study on work, life, and academic tasks, MemoAnalyzer reduced total inferred private information by 22.3% compared to GPT memory while keeping completion time comparable to GPT and Manual baselines.

Benchmark

HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Model

Mengkang Hu, Tianxing Chen et al.

· 2024

HiAgent manages working memory using Subgoal based Hierarchical Working Memory, Observation Summarization, and a Trajectory Retrieval module to chunk and selectively expand action observation histories. On five AgentBoard long horizon tasks, HiAgent reaches 42.00% overall success rate versus 21.00% for STANDARD, with 3.80 fewer average steps.

Benchmark

Human-inspired Episodic Memory for Infinite Context LLMs

Zafeirios Fountas, Martin A Benfeghoul et al.

· 2024

EM-LLM organises long token streams into episodic events via surprise-based segmentation, boundary refinement, and a two-stage memory retrieval with similarity and contiguity buffers. On LongBench with LLaMA-3.1-8B, EM-LLM reaches 51.58% average score versus 39.3% for full-context processing and 36.44% for RAG.

Benchmark

Improving Factuality with Explicit Working Memory

Mingda Chen, Yang Li et al.

· 2024

Ewe augments Llama-3.1 with an explicit working memory, real-time feedback, fact-checking outcomes, and relevant knowledge memories that are refreshed via FIFO KV-cache updates during decoding. On the Biography dataset, Ewe reaches 49.7 VeriScore F1 versus 37.1 for Llama-3.1 70B (+12.6), while keeping AlpacaEval win rate around 50% against the same baseline.

Benchmark

Larimar: Large Language Models with Episodic Memory Control

Payel Das, Subhajit Chaudhury et al.

· 2024

Larimar couples a BERT large encoder, a deterministic hierarchical memory module, a scope detector, and a GPT2-large or GPTJ-6B decoder via learned projection WM to perform memory-conditioned generation. On CounterFact and ZsRE, Larimar attains up to 100.0% edit success and 0.97 edit retention rate while being 4–10× faster than ROME and GRACE.

Benchmark

Long Context Compression with Activation Beacon

Peitian Zhang, Zheng Liu et al.

arXiv 2024 · 2024

Activation Beacon progressively compresses long contexts by interleaving beacon tokens, using a tailored compression workflow, compression-based auto-regression, and chunk-wise random compression ratio training to store information in activation space. On LongBench, Activation Beacon reaches 34.9 single-doc QA vs 34.8 for Full-FT Llama-2-7B while delivering 2x acceleration and 8x KV cache reduction on 128K-context NeedleBench-style tasks.

Benchmark

LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory

Di Wu, Hongwei Wang et al.

ICLR 2025 · 2024

LongMemEval evaluates long-term interactive memory by running chat assistants through indexing, retrieval, and reading over 50k sessions with fact-augmented keys and time-aware query expansion. On LONGMEMEVALS, long-context LLMs like GPT-4o, Llama 3.1, and Phi-3 suffer 30%–60% accuracy drops compared to oracle evidence-only reading, revealing severe limitations in current long-context designs.

Benchmark

Long Term Memory: The Foundation of AI Self-Evolution

Xun Jiang, Feng Li et al.

· 2024

Long Term Memory equips OMNE with a Data Framework for LTM, Development Framework for LTM, and multi-agent collaboration over personalized memories to support AI self-evolution. On the GAIA benchmark, OMNE reaches first place, showing that LTM-driven multi-agent personalization can solve complex real-world tasks better than prior agent systems.

Benchmark

MemLong: Memory-Augmented Retrieval for Long Text Modeling

Weijie Liu, Zecheng Tang et al.

· 2024

MemLong augments OpenLLaMA-3B with a Ret-Mem module, Memory Bank, Retriever, Retrieval Causal Attention, and Dynamic Memory Update to store and retrieve chunk-level K-V caches via dense embeddings. On PG19 at 16k tokens, MemLong with 32K Memory reaches perplexity 9.73 vs 10.37 for MemLong-3B* without memory, and achieves up to +10.2 percentage points over OpenLLaMA on retrieval-augmented in-context learning.

Benchmark

MemoNav: Working Memory Model for Visual Navigation

Hongxin Li, Zeyu Wang et al.

· 2024

MemoNav composes Short-term memory, Selective forgetting module, Long-term memory, Working memory generation, and Transformer decoders to focus navigation on goal-relevant topological map nodes. On Gibson 1-goal, MemoNav reaches 74.7% SR vs 70.0% for VGM, and on Gibson 4-goal multi-goal tasks MemoNav achieves 28.9% PR vs 21.5% for VGM.

Long-Term Memory

PerLTQA: A Personal Long-Term Memory Dataset for Memory Classification, Retrieval, and Synthesis in Question Answering

Yiming Du, Hongru Wang et al.

· 2024

PerLTQA builds a synthetic personal memory database and runs questions through Memory Classification, Memory Retrieval, and Memory Synthesis to test how LLMs use semantic and episodic memories. On the PerLTQA benchmark, BERT-base achieves 95.7 F1 for memory classification, while gpt-3.5-turbo reaches MAP 0.756 for memory synthesis with retrieval and classification.

RAG

Retrieval-Augmented Decision Transformer: External Memory for In-context RL

Thomas Schmied, Fabian Paischer et al.

· 2024

Retrieval-Augmented Decision Transformer (RA-DT) combines a vector index, embedding model g(·), maximum inner product search, experience reweighting, and cross-attention layers to retrieve and fuse relevant sub-trajectories into a Decision Transformer policy. On Dark-Room 10×10, RA-DT reaches near-optimal average reward over 40 in-context trials while using a 50-step context window, whereas baselines like Algorithm Distillation require entire episodes of up to 100 steps.

Memory Architecture

Self-evolving Agents with reflective and memory-augmented abilities

Xuechen Liang, Yangfan He et al.

· 2024

SAGE coordinates Iterative Feedback, Reflection, Short-Term Memory, Long-Term Memory, and MemorySyntax so the assistant, checker, and user co-evolve policies and memories over time. On AgentBench and long-context QA like HotpotQA, SAGE lifts GPT-3.5’s Database score from 25.9 to 37.6 and HotpotQA answer accuracy from 48.5% to 68.3%.

RAG

Toward Conversational Agents with Context and Time Sensitive Long-term Memory

Nick Alonso, Tomás Figliolia et al.

· 2024

Toward Conversational Agents with Context and Time Sensitive Long-term Memory integrates a Tabular Chat Database, Classifying Query Type, Chain-of-Tables for Meta-Data Retrieval, and Combining Meta-Data and Semantic Retrieval to handle time-sensitive and ambiguous conversational queries. On the LoCoMo-derived temporal benchmark, Toward Conversational Agents with Context and Time Sensitive Long-term Memory achieves 90.32 average recall vs 31.93 for the best Semantic w MetaD baseline.

Benchmark

TransformerFAM: Feedback attention is working memory

Dongseong Hwang, Weiran Wang et al.

· 2024

TransformerFAM augments Block Sliding Window Attention with Feedback Attention Memory, where Feedback Attention Memory (FAM) tokens attend to and compress block activations while queries jointly attend to BSWA memory segments and past FAM. On PassKey retrieval, TransformerFAM maintains 100% accuracy up to 260k filler tokens, while TransformerBSWA with 12 memory segments collapses after 20k tokens.

Memory Architecture

Understanding Factual Recall in Transformers via Associative Memories

Eshaan Nichani, Jason D. Lee, Alberto Bietti

· 2024

Understanding Factual Recall in Transformers via Associative Memories analyzes linear associative memories, MLP associative memories, and a one-layer transformer with multi-head self-attention plus an MLP on a synthetic factual recall task. Understanding Factual Recall in Transformers via Associative Memories proves that storing N random associations requires Θ(N log M) bits and that a single-layer transformer achieves 100% accuracy whenever either self-attention or MLP parameters scale linearly with the number of facts.

Long-Term Memory

Understanding the Impact of Long-Term Memory on Self-Disclosure with Large Language Model-Driven Chatbots for Public Health Intervention

Eunkyung Jo, Yuin Jeong et al.

· 2024

CareCall combines a memory management layer, LLM summarizer, and memory-augmented input over HyperCLOVA to store and reuse summaries of users’ Health, Meals, Sleep, Visited Places, and Pets across weekly calls. In deployment to 147 socially isolated adults, CareCall with long-term memory yielded higher Health-detail and Clinical-detail disclosure counts per call than CareCall without memory, and longer average call durations (87.89s vs 75.48s).

Long-Term Memory

Augmenting Language Models with Long-Term Memory

Weizhi Wang, Li Dong et al.

· 2023

LONGMEM augments a frozen GPT-2*-style backbone with a Residual SideNet, Cached Memory Bank, Memory Retrieval and Fusion, and Cross-Network Residual Connections to read and use long-term key–value memories. On ChapterBreak AO3, LONGMEM reaches 40.5% suffix identification accuracy with infinite in-memory context, compared to 28.3% for Memorizing Transformer under the same 1k in-context window.

Benchmark

Empowering Working Memory for Large Language Model Agents

Jing Guo, Nan Li et al.

· 2023

Empowering Working Memory for Large Language Model Agents introduces a Working Memory Hub, Episodic Buffer, Interaction History Window, Central Processor, and External Environment Interface to give LLM agents persistent, structured working and episodic memory. Empowering Working Memory for Large Language Model Agents is a conceptual blueprint rather than a benchmarked system, so no quantitative MAIN_RESULT against specific baselines is reported.

Benchmark

Graph-level Anomaly Detection via Hierarchical Memory Networks

Chaoxi Niu, Guansong Pang, Ling Chen

arXiv 2023 · 2023

HimNet combines a GNN Encoder, Node Memory Module, Graph Memory Module, and Graph Decoder to reconstruct graphs via stored normal patterns and score anomalies by reconstruction and approximation errors. On the DD biochemical dataset, HimNet achieves 80.6% AUC compared to 70.6% for PK-iF, a +10.0 point gain over this two-step baseline.