Search papers, labs, and topics across Lattice.
This paper introduces D$^2$ACCI, a dual-loop diagnostic protocol designed to enhance the reliability of memory interventions in LLM agents by enabling precise localization of errors across the memory pipeline. By implementing a graded observability metric (DCR) and a reusable evaluation artifact (D$^2$ACCI-Eval), the authors demonstrate significant improvements in memory performance on multiple benchmarks, with notable gains from specific memory interventions. The findings reveal that traditional aggregate evaluations can obscure critical insights, emphasizing the need for detailed diagnostic traces to ensure effective memory system iteration.
Robust memory interventions in LLMs can achieve up to 3.7 percentage points of improvement when guided by a dual-loop diagnostic protocol that localizes errors effectively.
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 D$^2$ACCI (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 D$^2$ACCI-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 D$^2$ACCI fills.