Paper archive

All AI memory papers

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

Page 11 of 14

Memory Architecture

Dual Memory Networks: A Versatile Adaptation Approach for Vision-Language Models

Yabin Zhang, Wenjie Zhu et al.

arXiv 2024 · 2024

Dual Memory Networks combines a Dynamic Memory Network, Static Memory Network, a shared ReadOut module, Projection Layers ω, and a Memory Interactive Strategy to build sample-adaptive classifiers on top of frozen CLIP encoders. On zero-shot ImageNet with ViT-B/16, Dual Memory Networks achieves 72.25% accuracy vs 66.73% for CLIP and 68.98% for TPT, a +5.52 and +3.27 point gain respectively.

Benchmark

DynaMem: Online Dynamic Spatio-Semantic Memory for Open World Mobile Manipulation

Peiqi Liu, Zhanqiu Guo et al.

· 2024

DynaMem maintains a Dynamic 3D Voxel Map, supports Embedded Vision Language Features and Multimodal Large Language Models querying, and exposes Exploration Primitives and an Obstacle map for navigation and manipulation. On real Stretch SE3 experiments, DynaMem achieves a 70% success rate on dynamic pick-and-drop tasks compared to 30% for the static OK-Robot baseline.

Benchmark

Efficient Episodic Memory Utilization of Cooperative Multi-Agent Reinforcement Learning

Hyungho Na, Yunkyeong Seo, Il-chul Moon

· 2024

EMU combines a semantic memory embedding via deterministic conditional autoencoder and an episodic incentive built from desirability in the episodic buffer to guide cooperative MARL. EMU improves learning speed and final win-rates on StarCraft II SMAC and Google Research Football compared to QPLEX, CDS, and EMC, especially on super hard maps.

RAG

Embodied-RAG: General Non-parametric Embodied Memory for Retrieval and Generation

Quanting Xie, So Yeon Min et al.

· 2024

Embodied-RAG builds a multimodal Topological Map and a hierarchical Semantic Forest and then runs Top-down Retrieval with LLM-based selection and hybrid re-ranking to drive Generation of waypoints and explanations. On the E-multimodal Embodied-Experiences dataset, Embodied-RAG reaches P(Q|A)=0.67 for implicit queries (Q only), compared to 0.13 for LightRAG, while building graph memory 9.76× faster than LightRAG.

Survey

Evaluating Very Long-Term Conversational Memory of LLM Agents

Adyasha Maharana, Dong-Ho Lee et al.

· 2024

LOCOMO builds very long-term multi-modal dialogues by combining Persona, Temporal Event Graph, Virtual Agent Architecture, Image Sharing and Image Reaction, and Human Verification and Editing. On the LOCOMO QA benchmark, GPT-3.5-turbo-16k with 16K context achieves 37.8 F1 overall, 50.9 F1 with RAG over dialogs, while humans reach 87.9 F1.

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.