Organizations: Guangdong Institute of Intelligence Science and Technology, Zhuhai, China · Institute of Science Tokyo · The Hong Kong Polytechnic University
Language-model-based agents operating over extended interaction horizons face persistent challenges in preserving temporally grounded information and maintaining behavioral consistency across sessions, a failure mode we term soul erosion. We present BMAM (Brain-inspired Multi-Agent Memory), a general-purpose memory architecture that models agent memory as a set of functionally specialized subsystems rather than a single unstructured store. Inspired by cognitive memory systems, BMAM decomposes memory into episodic, semantic, salience-aware, and control-oriented components that operate at complementary time scales, organised as a six-phase memory lifecycle. To support long-horizon reasoning, BMAM organises episodic memories along explicit timelines and retrieves evidence by fusing multiple complementary signals. Experiments on the LoCoMo benchmark show that BMAM achieves 78.45% accuracy, outperforming seven memory-augmented baselines. Pairwise ablations reveal super-additive synergy between brain-region components rather than redundant stacking, and a Soul Portability Test demonstrates 87.5% identity-integrity across full memory export, clear, and restore. A targeted refinement of the temporal-trigger heuristics raises LongMemEval multi-session accuracy from 45.2% to 56.4%, validating the architectural decomposition behind BMAM. Code is available at https://github.com/innovation64/BMAM.
Figures & tables
Figure 1: Soul erosion types and BMAM countermeasures. Each erosion mechanism requires a specialized defense: temporal erosion is addressed by StoryArc timeline indexing, semantic erosion by hippocampus-to-temporal-lobe consolidation, and identity erosion by amygdala salience tagging.
Figure 2: BMAM architecture overview. A central coordinator orchestrates multiple functionally specialized memory subsystems sharing a unified memory substrate with episodic timelines, a knowledge graph, and vector-based storage.
Dataset
Scale
Task Focus
Metric
LoCoMo
10 groups, 1986 QA
long-horizon dialogue
Accuracy
LongMemEval
500 questions
long-term memory
Accuracy
PersonaMem
20 users, 589 QA
persona recall (MCQ)
Accuracy
PrefEval
1000 questions
preference alignment
Pers. rate
Table 1: Datasets and evaluation metrics used in BMAM experiments.
Method
Single-hop
Multi-hop
Temporal
Open-domain
Overall
BMAM (ours)
82.00
70.42
62.31
79.55
78.45
MemOS-1031 †
64.54
57.29
71.34
79.90
73.90
Memobase
73.12
64.65
81.20
53.12
72.01
Mem0
73.33
58.75
52.54
45.83
64.57
MIRIX
68.32
54.26
68.54
46.88
64.33
Zep
65.23
52.12
54.82
33.33
59.22
Table 2: Head-to-head LoCoMo accuracy per category against seven memory-augmented baselines. BMAM leads the re-run MemOS baseline by 4.55 points overall, 8.67 on single-hop, and 5.77 on multi-hop. Memobase is stronger on temporal-only queries; this is addressed by the trigger refinement (Table 11 ). † Re-run with gpt-4o-mini for strict comparability; other baselines use reported numbers.
Dataset
Metric
Score
Correct/Total
LoCoMo
Accuracy
78.45%
1558/1986
LongMemEval
Accuracy
67.60%
338/500
PersonaMem
Accuracy
48.9%
288/589
PrefEval
Pers. rate
72.90%
729/1000
Table 3: BMAM results across four long-term memory benchmarks.
Metric
Value
Memories shaped (19 sessions)
603
Brain regions exported
5 / 5
Memory entries restored
1,206
Brain regions restored
4 / 5
Exact match (20 questions)
12 / 20 (60.0 %)
Semantic match ( ≥0.8 )
15 / 20 (75.0 %)
Table 4: Soul Portability Test results. The system can export, clear, and restore identity with 75 % semantic equivalence across an independent question set.
Figure 3: Brain-region ablation on LoCoMo. Hippocampus removal causes a 24.62% drop, validating episodic memory as the critical backbone. Positive deltas for Prefrontal and Temporal Lobe are unpacked in Table 5 (per-category breakdown).
Configuration
Overall
M-hop
Open-d.
Adv.
( n=37 )
( n=70 )
( n=47 )
Full BMAM
77.39
72.97
78.57
85.11
w/o Hippocampus
52.76
27.03
50.00
89.36
w/o Prefrontal
82.41
56.76
90.00
93.62
w/o Temporal Lobe
81.41
59.46
91.43
93.62
w/o Amygdala
75.38
59.46
82.86
87.23
Table 5: Per-category brain-region ablation on LoCoMo ( N=199 ). Compare ablated rows to Full BMAM to read the drop; multi-hop is the category where each higher-order region matters most.
Disabled pair
Overall (%)
Prefrontal + Temporal Lobe
78.89
Amygdala + Prefrontal
77.89
Hippocampus + Temporal Lobe
74.37
Hippocampus + Amygdala
73.37
Full BMAM (reference)
77.39
Table 6: Pairwise ablation on LoCoMo ( N=199 ). Removing both Prefrontal and Temporal Lobe (78.89) underperforms removing either alone (82.41 / 81.41), evidencing super-additive interaction between the two control-oriented regions. Hippocampus + Amygdala shows the strongest coupling.
Appendix figures & tables23 assets
Supplementary material from the paper’s appendix.
Appendix
Agent
Role in BMAM
Cap.
Hippocampus
episodic encoding, StoryArc
20k
TemporalLobe
semantic memory, KG
70k
Amygdala
salience tagging, HRM
1k
Prefrontal
executive control, query routing, WM buffer
10
BasalGanglia
procedural memory
500
TempReasoning
date/duration queries
–
Appendix
Table 7: Brain-region agents and capacities.
Module
Function
AdvancedMemorySystem
SQL + FAISS vector search
KeyValueMemoryStore
discriminative retrieval
StoryArcManager
timeline indexing
ConsolidationPipeline
episodic-to-semantic
ThalamusAgent
timescale coordination
AnteriorCingulate
ACT-style halting
Appendix
Table 8: Core infrastructure modules.
Ablation
Acc. (%)
Δ
Full BMAM
77.39
–
w/o Hippocampus
52.76
− 24.62
w/o Amygdala
75.38
− 0 2.01
w/o Basal Ganglia
76.88
− 0 0.50
w/o Prefrontal
82.41
+ 0 5.03
w/o Temporal Lobe
81.41
+ 0 4.02
Appendix
Table 9: Brain-region ablation on LoCoMo subset. Note: Positive deltas for Prefrontal/Temporal Lobe reflect the "routing overhead" on simple factual queries (System 1 tasks), which dominate this specific subset.
Region
Anti-Erosion
Contribution
Hippocampus
Temporal
Episodic + StoryArc
Temporal Lobe
Semantic
KG consolidation
Amygdala
Identity
Salience storage
Prefrontal
Context
Query routing + WM buffer
Basal Ganglia
Procedural
Pattern detection
Appendix
Table 10: Brain-region anti-erosion roles.
Category
n
Accuracy (%)
Single-hop
32
68.8
Multi-hop
37
56.8
Temporal
13
84.6
Open-domain
70
87.1
Adversarial
47
89.4
Overall
199
78.89
Appendix
Table 11: Post-refinement LoCoMo per-category accuracy ( N=199 , single group, LLM-judge). Temporal accuracy improves by 7.7 points over the pre-fix value; overall is consistent with the 10-group main result ( 78.45% ).
Table 13: LongMemEval full re-run after temporal-trigger refinement. Multi-session accuracy rises from 45.2% to 56.4% ; temporal reasoning loses 4.5 points under the more conservative trigger.
Table 20: PersonaMem precision comparison. † Re-run using official MemOS scripts.
Figure 4: Memory lifecycle: six-stage loop from perception to continual learning.
Figure 5: StoryArc timeline indexing with example temporal queries.
Figure 6: Hybrid retrieval with four signal sources and RRF fusion.
Figure 7: Brain-region to BMAM agent mapping.
Figure 8: External integration: input sources and output interfaces.
Figure 9: Forest plot of 95% confidence intervals for brain-region ablation. Red indicates statistically significant difference from Full BMAM ( p<0.001 ).
Figure 10: Multi-benchmark radar comparison. BMAM excels on LoCoMo and PrefEval.
Figure 11: LongMemEval per-category breakdown showing BMAM’s strengths in preference extraction and within-session recall.
Figure 12: LoCoMo performance heatmap across systems and question types.
Large Language Models (LLMs) are increasingly used as autonomous agents in complex, long-horizon applications, where effective memory is critical for sustained performance. Yet existing memory benchmarks are largely dialogue-centric, while real agent memory consists of continuous agent-environment interaction trajectories composed of states, actions, observations, and tool outputs. To address this gap, we introduce AMA-Bench (Agent Memory with Any length), a benchmark for evaluating long-horizon memory in realistic agentic settings. AMA-Bench combines real-world agent trajectories from representative applications with expert-curated QA, as well as synthetic trajectories that scale to arbitrary horizons with rule-based QA. Our study shows that existing memory systems underperform because they fail to capture causal and objective information and rely heavily on lossy similarity-based retrieval. We further propose AMA-Agent, a memory system based on causality-graph construction and tool-augmented retrieval. AMA-Agent achieves 57.22% accuracy on AMA-Bench, outperforming the strongest baseline by 11.16%. Resources are available at: https://ama-bench.github.io/.
Memory-augmented LLM agents maintain external memory banks to support long-horizon interaction, yet most existing systems treat construction, retrieval, and utilization as isolated subroutines. This creates two coupled challenges: strategic blindness on the forward path of the memory cycle, where construction and retrieval are driven by local heuristics rather than explicit strategic reasoning, and sparse, delayed supervision on the backward path, where downstream failures rarely translate into direct repairs of the memory bank. To address these challenges, we propose MemMA, a plug-and-play multi-agent framework that coordinates the memory cycle along both the forward and backward paths. On the forward path, a Meta-Thinker produces structured guidance that steers a Memory Manager during construction and directs a Query Reasoner during iterative retrieval. On the backward path, MemMA introduces in-situ self-evolving memory construction, which synthesizes probe QA pairs, verifies the current memory, and converts failures into repair actions before the memory is finalized. Extensive experiments on LoCoMo show that MemMA consistently outperforms existing baselines across multiple LLM backbones and improves three different storage backends in a plug-and-play manner. Our code is publicly available at https://github.com/ventr1c/memma.
Minhua Lin, Zhiwei Zhang, Hanqing Lu +5
The Pennsylvania State University · Amazon · Microsoft
Long-term memory lets LLM agents personalize, stay consistent, and reuse what worked before. Parametric memories need training, consolidation can lose details for good, and keeping every record leaves a growing store to search. We present MIRIX-2.0, a multi-agent memory system designed to be practical, accurate, and efficient at once. It is the most accurate of the compared systems on four of five QA benchmarks. It reaches 91.4% on LoCoMo and 72.6% on LongMemEval-S, where it leads the strongest baseline by 14.3 points, and with AutoDream disabled it gains 31.0 and 22.0 points over HyperMem on single-hop and multi-hop document QA. As procedural memory, it yields the highest mean success among the compared memory methods on ALFWorld and WebShop and reaches 49.2% on MetaClaw-Bench, against 44.0% for MetaClaw's skill library. Six typed memory agents keep complete records as the system of record, and a provenance hypergraph indexes episodic and semantic records with n-ary frames that cite their rows. Retrieval runs under explicit budgets, so the evidence a question inspects does not grow with the history. AutoDream merges duplicate anchors outside the write path without rewriting any record, and it distills task sessions into skills. With AutoDream disabled, MIRIX-2.0 answers faster than HyperMem on all five timed benchmarks. It needs no fine-tuning, runs with closed and open models, and its code is public.