S3Mem: Structured Spatiotemporal Scene-Event Memory for Long-Horizon Interactive Question Answering
Organizations: University of Science and Technology of China · Shanghai Jiao Tong University · Shanghai AI Laboratory · City University of Hong Kong ·
Abstract
Long-horizon memory question answering often requires sparse evidence from heterogeneous histories, including events, object states, visual observations, temporal relations, and causal steps. Existing memory interfaces expand reader context, retrieve semantically related chunks, or expose graph neighborhoods, but they are not explicitly designed to select compact evidence for a fixed reader. We propose Structured Spatiotemporal Scene--Event Memory (S3Mem), a query-time memory interface that writes textual, visual, and agent-use histories into structured scene--event units and routes compact evidence packs to the reader. Its router scores candidate units, query anchors, and anchor--support links, enabling both single-hop selection and short multi-hop evidence chains without reader fine-tuning or test-time training. Across LoCoMo, EMemBench Visual Games, and AMA-Bench, S3Mem provides a strong score--token trade-off, with the clearest gains on localized event, state, temporal, causal, or provenance evidence. On LoCoMo, S3Mem reaches F1 and BLEU with (1{,}073) evidence tokens per question, about fewer than the LoCoMo reference. On EMemBench Visual Games, it obtains the best F1 and second-best accuracy with only tokens.On AMA-Bench, it is not the highest-scoring method, but remains competitive while using the fewest reader-visible evidence tokens.
Figures & tables
| MultiHop ( ) | Temporal ( ) | OpenDomain ( ) | SingleHop ( ) | Adversarial ( ) | Overall ( ) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | F1 | BLEU | F1 | BLEU | F1 | BLEU | F1 | BLEU | F1 | BLEU | F1 | BLEU | Tokens |
| LoCoMo ( Maharana et al., 2024 ) | 0.28 | 0.18 | 0.09 | 0.06 | 0.16 | 0.15 | 0.62 | 0.54 | 0.53 | 0.51 | 0.44 | 0.39 | 16,910 |
| ReadAgent ( Lee et al., 2024 ) | 0.15 | 0.10 | 0.04 | 0.03 | 0.09 | 0.08 | 0.12 | 0.10 | 0.07 | 0.06 | 0.10 | 0.08 | 805 |
| MemoryBank ( Zhong et al., 2024 ) | 0.06 | 0.05 | 0.02 | 0.02 | 0.06 | 0.05 | 0.08 | 0.07 | 0.04 | 0.04 | 0.06 | 0.05 | 569 |
| MemGPT ( Packer et al., 2023 ) | 0.30 | 0.23 | 0.17 | 0.13 | 0.12 | 0.12 | 0.60 | 0.53 | 0.35 | 0.34 | 0.41 | 0.36 | 16,987 |
| A-Mem ( Xu et al., 2025 ) | 0.33 | 0.24 | 0.39 | 0.31 | 0.17 | 0.16 | 0.48 | 0.43 | 0.36 | 0.36 | 0.41 | 0.35 | 1,216 |
| Method | Recall | Causal Inf. | State Updating | State Abstraction | Average | tok/q |
|---|---|---|---|---|---|---|
| AriGraph Anokhin et al. (2024) | 0.47 | 0.58 | 0.36 | 0.29 | 0.43 | 2,207 |
| HippoRAG2 Gutiérrez et al. (2025) | 0.46 | 0.51 | 0.39 | 0.24 | 0.41 | 3,633 |
| A-Mem Xu et al. (2025) | 0.42 | 0.54 | 0.38 | 0.19 | 0.40 | 2,579 |
| GraphRAG Edge et al. (2024) | 0.39 | 0.47 | 0.36 | 0.17 | 0.36 | 1,274 |
| mem0 Chhikara et al. (2025) | 0.32 | 0.56 | 0.32 | 0.19 | 0.35 | 20,932 |
| Mem | 0.36 | 0.58 | 0.36 | 0.21 | 0.39 | 735 |
| Method | Acc | F1 | tok/q |
|---|---|---|---|
| A-Mem Xu et al. (2025) | 0.42 | 0.32 | 6,145 |
| mem0 Chhikara et al. (2025) | 0.33 | 0.09 | 2,752 |
| HippoRAG2 Gutiérrez et al. (2025) | 0.34 | 0.36 | 2,938 |
| AriGraph Anokhin et al. (2024) | 0.34 | 0.34 | 1,293 |
| GraphRAG Edge et al. (2024) | 0.12 | 0.12 | 779 |
| Mem | 0.36 | 0.39 | 189 |
| Variant | Representation | Acc | tok/q |
|---|---|---|---|
| Mem | Full unit | 0.3495 | 454 |
| Plain chunk | Text chunk | 0.2517 | 392 |
| Event-only | Event field | 0.1163 | 167 |
| Object-only | Object field | 0.0953 | 332 |
| Reader model | GraphRAG | LightMem | HippoRAG | Mem |
|---|---|---|---|---|
| DeepSeek-v4-pro DeepSeek-AI (2026) | 35.1 | 31.0 | 47.6 | 49.6 |
| Gemini3Flash Google DeepMind (2025) | 34.3 | 33.0 | 38.1 | 40.1 |
| GLM5.1 GLM-5-Team et al. (2026) | 42.5 | 48.8 | 53.0 | 49.6 |
| Appendix Section | Content Description |
|---|---|
| App. A | Implementation details for structured scene–event units, candidate proposal, router scoring, and evidence packing. |
| App. B | Router implementation, feature construction, weak-label generation, candidate labeling, and a training-instance example. |
| App. C | Weak-label construction, router training targets, and training–inference separation. |
| App. D | Train/test separation, no-gold inference boundary, target adaptation policy, and leakage-control rules. |
| App. E | Benchmark conversion, scoring protocols, token accounting, and baseline provenance. |
| App. F | Supplemental results and diagnostic analyses that clarify, but do not replace, the main benchmark tables. |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Rank | Step | Action | Cost | ||
|---|---|---|---|---|---|
| 1 | 3 | mix picture | 1 | 1 | 33 |
| 2 | 4 | mix picture | 1 | 1 | 33 |
| 3 | 1 | look at orange | 0 | 0 | 29 |
| 4 | 5 | mix door to kitchen | 0 | 0 | 37 |
| 6 | 39 | focus on hallway | 0 | 0 | 109 |
| Source | Raw history type | Router labels |
|---|---|---|
| Crafter | visual/game trajectories | support / anchor / edge |
| Jericho | text-game trajectories | support / anchor / edge |
| ScienceWorld | science task trajectories | support / anchor / edge |
| ALFWorld | embodied instruction traces | support / anchor / edge |
Long-Term Conversational Memory
Long-term conversational memory helps AI assistants retain, update, and use information from past conversations across sessions.
See all 267 papers