cs.AIAug 18, 2026

D2^2ACCI: A Dual-Loop Diagnostic Protocol for Evidence-Preserving Agent Memory

Authors: Xule Liu, Yijun Liu, Chao Li, Shao Kun

Organizations: Xiaomi Inc.

Abstract

Memory is a key capability of LLM agents. Persistent memory extends this across sessions---enabling recall, revision, and personalization. Yet its multi-stage pipeline (ingestion, retrieval, filtering, generation) makes failures difficult to localize: end-to-end evaluation reveals that an error occurred, but not which stage caused it. Existing evaluations often report aggregate performance without paired statistical comparisons, slice-level non-regression checks, or stage-level diagnostic traces. We propose D2^2ACCI (Diagnostic-Driven Artifact-based Closed-loop Controlled Iteration), a dual-loop protocol whose outer diagnostic gate promotes, feature-flags, or rejects memory interventions based on paired evidence, protected-slice monitoring, and trace-level localizability. We further introduce DCR, a graded observability metric that measures whether failures remain localizable, and D2^2ACCI-Eval, a reusable artifact for gate replay. We instantiate the protocol in MemStack and evaluate on three public benchmarks, achieving 93.59% on LoCoMo, 90.93% on LongMemEval, and 57.20% on PersonaMem-V2. Five paired ablations show that supplement extraction, session-memory retrieval, and Forget Guard yield statistically significant gains (+1.9 to +3.7pp, all p ≤\le .003). In contrast, BM25/RRF is retained as a monitored feature flag---a distinction invisible to aggregate-only evaluation. A diagnostic audit shows enriched traces substantially improve root-cause agreement over result-only relabeling. Diagnostic artifacts reach 98--100% DCR@3 versus 0% for results-only logs. These results establish that robust memory-system iteration demands traceable, statistically grounded, and regression-aware evidence---exactly the gap D2^2ACCI fills.

Figures & tables

Explore similar work

CardsList
  1. EvalMem: An Operation-Level Diagnostic Framework for Long-Term Memory Systems

    Sep 3, 2026Zeyu Liu, Jian Zhong, Rongduo Han +12LLM MemoryLLM Agent Memory

  2. MemTrace: Probing What Final Accuracy Misses in Long-Term Memory

    Jun 15, 2026Xianxuan Long, Zhikai Chen, Shenglai Zeng +3Temporal Reasoning in Language ModelsLLM Agent Memory

  3. PACMI: Provenance-Aware Cascading Memory Invalidation for Long-Term LLM Agents

    Oct 5, 2026Yiqi Wang, Jiaqi Liu, Jiaqi Zhang +4Data ProvenanceMemory Agent Benchmarks