MemDoctor: Stage-wise Error Attribution and Repair for MLLM Agent Memory
Ruiyang Jiang, Xinyang Liao, Weikai Huang, Yuqi Niu, Junjie Zhou, Yubin Zheng
Abstract
Multimodal large language models (MLLMs) now assist users across sessions of images and text, carried by an external memory of what was said and shown. When such an assistant answers wrongly, the failure usually began earlier, in how a record was written, updated or retrieved, and the answer alone does not say where. We formalize multimodal memory as four stages, Write, Update, Retrieve and Answer, and define nine error types across them. A stage-resolved analysis on Mem-Gallery traces most failures to a source stage, and most of those lie before the answer. Injecting known errors against fact-preserving control edits, we then follow each tainted record downstream. Early errors survive to the answer as apparent evidence, and hurt most when no other record holds the fact. A diagnosis that trusts the quoted evidence therefore blames the stage where the error surfaces, not the one where it began. We propose MemDoctor, in which the MLLM that built the memory diagnoses its own failures. It traces each needed fact backward through the four stages, accepts a diagnosis only when the cited evidence is found in memory, and repairs that stage before answering again. On a 4B backbone, MemDoctor improves accuracy on both Mem-Gallery and MemLens, outperforming all evaluated 8B baselines, and the same loop also improves MuRAG and A-Mem.
Create a lesson
Related papers
MemFolder: Structure-Guided Memory Folding for Efficient Agent Memory Management
Shared title terminology · Xuyang Liu, Chenwen Lu, Junxi Wang et al.
SheetAlign: Grounded Interaction and Stage-Isolated Learning for Spreadsheet Agents
Shared title terminology · Yuxiang Wang, Junhao Gan, Jianzhong Qi
Forget Freely, Grep Later: Lossless, Index-Free Memory for Long-Horizon LLM Agents
Shared title terminology · Ziyan Yang, Taiwei Shi, Jieyu Zhao
LMMR: Learned Multigranular Memory Retrieval for Small Language Model Agents
Shared title terminology · Pengfeng Song, Yunkai Zhuang, Liye Shi
Jetriever: Shifting Agent Memory Retrieval from Similarity to Utility
Shared title terminology · Ruizhe Li, Licheng Zhang, Mingxuan Du et al.
StaleBench: Isolating Stale Retrieval in Agent Memory, and Pricing the Fix
Shared title terminology · S M Mahbub Murshed