QUMem: Personalized Memory for Query-Conditioned User-State Inference in LLM Agents

2026-08-17Computation and Language

Computation and LanguageArtificial Intelligence
AI summary

The authors address problems with how current language models remember user information over time. They propose QUMem, a method that breaks down conversations into meaningful chunks and separates different types of memories like facts, preferences, and insights. This helps the model better understand changing user preferences by retrieving information more precisely based on the task. Their approach improved performance in tests on personalized memory systems. Overall, they showed that organizing memory this way helps AI better track and use user information for long-term personalization.

large language modelsexternal memorypersonalizationuser preferencesmemory segmentationquery-conditioned retrievaluser-state inferencePersonaMemKnowU-Bench
Authors
Heng Wang, Yifei Li, Lingling Zhang, Pengyu Li, Xinyu Che, Xinyu Zhang, Zesheng Yang
Abstract
Large language model (LLM) agents increasingly use external memory systems to support personalization by drawing on long and evolving interaction histories, in which user preferences may be distributed across time, change with context, and conflict with earlier evidence. However, existing systems face three limitations: fixed-turn, fixed-token, or session-based boundaries can mix unrelated dialogue or split an event from its causes, decisions, and outcomes; storing multiple pieces of user information from the same interaction as a single memory binds together items that serve different functions and should be independently retrievable; and treating the current task as a single top-$k$ retrieval query can return fragments that are individually relevant but fail to jointly capture preference evolution, temporal validity, and contextual applicability. We introduce \textsc{QUMem}, a structured memory framework for query-conditioned user-state inference. \textsc{QUMem} first segments interaction histories into variable-length episodes according to semantic continuity, then decomposes each episode into independently retrievable factual, preference, and transferable insight memories while preserving temporal positions and source evidence. At inference time, three sequential agents identify task-specific information needs, plan multi-query retrieval over the typed memory stores, and jointly infer a temporally and contextually valid user state for downstream response generation. \textsc{QUMem} achieves state-of-the-art performance on both PersonaMem and KnowU-Bench, demonstrating the effectiveness of query-conditioned user-state inference for long-term personalization.