MemLens: A Value-Aware Memory Management System with Interactive Analytics for LLM-based Agents
Abstract
Recently, memory management has become a key infrastructure for LLM-based agents, as it directly affects long-horizon reasoning, personalized responses, and knowledge reuse. However, existing LLM memory systems typically adopt a coarse-grained (utility-agnostic) manner that treats heterogeneous user-LLM interaction records uniformly, leading to redundant and low-impact records persisting in the memory repository. To address this challenge, we present MemLens, a value-aware memory management system that takes memory records as first-class data objects. MemLens provides an end-to-end interactive analytics dashboard that exposes the complete memory lifecycle, including Shapley-style memory evaluation, value-aware storage, and memory-assisted response. Through a study-copilot application, the system enables users to inspect memory values, visualize hierarchical memory structures, and compare various memory management strategies in terms of response quality, retrieval latency, and token consumption. Therefore, our MemLens can serve as an efficient, interpretable, and personalized long-term memory management system for LLM-based agents.
Create a lesson
Metadata
- Categories
- cs.DB, cs.AI
Related papers
PolyMemDB: A Polyglot Database System for AI Memory Management
Shared title terminologycs.DBYu Wang, Jiaheng Lu
ABISS: Evaluating Text-to-SQL Systems Through Agent Interaction
Shared title terminologycs.DBGiovanni Sullutrone, Luca Sala, Sania Aftar et al.
TGMS: An Agent-Native Bi-Temporal Graph Management System
Shared title terminologycs.DBXiaofei Zhang
AgenticData: An Agentic Data Analytics System for Heterogeneous Data
Shared title terminologycs.DBJi Sun, Guoliang Li, Peiyao Zhou et al.
The Value Semantics Layer: Enabling Machine-Understandable Databases for Agentic AI
Shared title terminologycs.DBJalal Mahmud, Eser Kandogan
QuarkDB: A Hybrid Database System for Quantum Data Management
Shared title terminologycs.DBWenrui Zhang, Yu Wang, Xiao Zhang