TrawMem: Reframing Agent Memory as Task-Oriented Role-Adaptive Workspaces
Mingyu Zhang, Zixu Li, Zhiheng Fu, Zhiwei Chen, Jinhe Bi, Yupeng Hu
Abstract
Large language model (LLM) agents rely on memory systems to leverage long-term interactions, yet existing systems typically retrieve memories based on their relevance to the current query and use them as contextual evidence. However, relevance alone does not characterize how a memory contributes to task solving: the same memory may serve different roles across tasks, such as directly supporting the answer or linking to complementary memories with weaker semantic relevance but necessary information. We therefore reframe agent memory systems as Task-Oriented Role-Adaptive Workspaces, where memories are selected and organized by their task-oriented roles and relations. Based on this view, we propose TrawMem, which organizes interaction histories into local threads and constructs task-oriented workspaces by assigning roles and jointly selecting complementary memories. Experiments on LoCoMo and MemGallery with four open- and closed-source backbones show consistent improvements over representative memory systems, with macro-F1 gains of 2.23-3.14 points. On LoCoMo, TrawMem improves the LLM-Judge score over SimpleMem by 4.07 and 4.31 percentage points on Qwen3.5-9B and DeepSeek-V4-Flash, respectively, while requiring approximately 12.8% and 5.1% fewer context tokens, respectively.
Create a lesson
Metadata
- Comments
- 31 pages, 18 figures, 3 tables
Related papers
KEEPER: Learning Control-Sufficient Textual Memory for Long-Horizon LLM Agents
Shared title terminologycs.CLJinkyeong Choi, Chaebin Jeong, Junsung Jeon et al.
HEDGE: Gated Hypergraph Memory for Scalable Multi-Agent Debate
Shared title terminologycs.CLAmirhossein Abaskohi, Mahdi Mostajabdaveh, Zirui Zhou
ETAMem: Decoupling and Aligning Heterogeneous Memory for Long-Term Conversational Agents
Shared title terminologycs.CLXinying Qian, Ying Zhang, Yu Zhao et al.
Benchmarking Task Takeover Across Agent Handoffs
Shared title terminologycs.CLWenyuan Li, Guang Li, Dongyuan Li et al.
Making Reasoning Visible: Configuration-Aware Diagnostic Modeling for Adaptive Scaffolding in Structured Reasoning Tasks
Shared title terminologycs.CLTrystan Geoffre, Zheng Yuan, Thierry Geoffre
Adaptive Retrieval, Selective Answers: Evaluating Conformal Factuality in Agentic RAG
Shared title terminologycs.CLMuhammad Aimal Rehman, Chi-Kuang Yeh