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.