Twists and Turns: A Graph-Based Benchmark and Framework for Long-Term Memory in Exploration Tasks
Chongyuan Dai, Yaling Shen, Zirui Song, Junfeng Liao, Jinpeng Hu, Xiuying Chen
Abstract
Long-term problem-solving processes, such as scientific research and software development, proceed along an evolving trial-and-error trajectory toward a central goal. We term these exploration tasks, which require models to remember not only facts but also how solutions are tested against intermediate outcomes and early attempts are continually revised or revived. However, existing long-term memory research focuses on factual recall and updates, overlooking the interconnected nature of exploration. We observe that exploration processes naturally form graphs, with branching approaches linked by revisions and reconsiderations. Motivated by this, we propose LExMem, a graph-guided benchmark designed to evaluate Memory in Long-term Exploration tasks. We model exploration processes as graphs and introduce an evolutionary mechanism to increase their structural complexity, yielding 224 dialogues and 2,018 question-answer instances derived from graph structures. Building on the same insight, we propose LExGraph, a graph-based memory framework that incrementally organizes dialogues into interconnected memory nodes and retrieves evidence through hybrid retrieval and neighbor expansion. Extensive experiments demonstrate that LExMem poses a significant challenge to existing retrieval- and memory-based systems, whereas LExGraph achieves superior performance and generalizes effectively to external benchmarks. Codes and datasets are available at https://github.com/mbzuai-nlp/LExMem.
Create a lesson
Metadata
- Comments
- 30 pages, 5 figures
Related papers
MedGraph: Maintaining Patient State with Graph Memory for Long-Term Medical Dialogue
Shared title terminologycs.CLDonghua Zhang, Zizheng Wang, Ze Dong et al.
Where Did the Evidence Go? Diagnosing Proof-Set Loss in Long-Term Conversational Memory
Shared title terminologycs.CLBogdan Roshchupkin, Maria Khodorchenko
ContextFact: Remembering Facts in Context for Long-Term Conversational Agents
Shared title terminologycs.CLJiayu Huang, Yichao Cai, Xinyu Li et al.
GM League Arena: An Interactive Long-Horizon Task Benchmark Based on Professional Sports League Management
Shared title terminologycs.CLJunkai Zhou, Ziming Pan, Zhaoyi Zhang
MERIT: Experience-Guided Memory for Long-Horizon Persona-Specific Persuasive Dialogue
Shared title terminologycs.CLRohan Kirti, Akash Ghosh, Pratik Amrit et al.
AutoOntologyBench: A Task-Grounded Benchmark for Agentic Knowledge Engineering
Shared title terminologycs.CLMinye Shao, Chenghao Xiao, Xingyue Zhao et al.