Search papers, labs, and topics across Lattice.
This paper introduces MemLens, a value-aware memory management system designed for LLM-based agents that enhances long-horizon reasoning and personalized responses by treating memory records as first-class data objects. By providing an interactive analytics dashboard, MemLens allows users to evaluate memory value, visualize memory structures, and compare management strategies based on response quality and efficiency. The key finding demonstrates that MemLens significantly reduces redundant memory records while improving the overall performance of LLMs in real-world applications.
MemLens reveals that a value-aware approach to memory management can drastically enhance the efficiency and personalization of LLM interactions, making memory records more impactful.
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.