Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
5afe835
memory: add longmemeval runner
Rememorio Jul 13, 2026
5f42a88
memory: update agent replace
Rememorio Jul 13, 2026
fa2b9a1
memory: add longmemeval result analysis
Rememorio Jul 13, 2026
7efac6c
memory: add lme question id filters
Rememorio Jul 13, 2026
f47fb67
memory: tune lme preference answering
Rememorio Jul 13, 2026
2e75d87
memory: add lme answer gap diagnostics
Rememorio Jul 13, 2026
353884a
memory: add lme result comparison
Rememorio Jul 13, 2026
79e09da
memory: tighten lme preference answers
Rememorio Jul 13, 2026
ab723b5
memory: disable thinking for lme answers
Rememorio Jul 13, 2026
5feb368
memory: add lme model variant option
Rememorio Jul 13, 2026
4fef8ba
memory: tighten lme scalar answers
Rememorio Jul 13, 2026
1f64e94
memory: harden lme answer runs
Rememorio Jul 13, 2026
dccda2f
memory: retry transient mem0 ingest failures
Rememorio Jul 13, 2026
bed5aec
memory: surface lme temporal metadata
Rememorio Jul 13, 2026
23cc24f
memory: tighten lme duration answers
Rememorio Jul 13, 2026
d2f10b7
memory: anchor mem0 lme observations
Rememorio Jul 13, 2026
e98b788
memory: normalize lme answer scoring
Rememorio Jul 13, 2026
20a9fd2
memory: harden lme embedding retries
Rememorio Jul 13, 2026
37a58dc
memory: expose lme model timeouts
Rememorio Jul 13, 2026
c2f67cd
memory: add lme semantic judge
Rememorio Jul 13, 2026
74202ce
memory: update lme agent baseline
Rememorio Jul 13, 2026
7a7f126
memory: clarify lme brand answers
Rememorio Jul 13, 2026
3ebe58c
memory: align lme replay with production
Rememorio Jul 14, 2026
b7367b9
memory: harden lme result evaluation
Rememorio Jul 14, 2026
e5bf9f4
memory: preserve lme build revision
Rememorio Jul 14, 2026
cd02cbb
memory: update lme agent candidate
Rememorio Jul 14, 2026
35b05df
memory: update lme state candidate
Rememorio Jul 14, 2026
25555ef
memory: update lme transition candidate
Rememorio Jul 14, 2026
c51adbe
memory: compare shared lme backends
Rememorio Jul 14, 2026
3da99eb
memory: remove lme prompt leakage
Rememorio Jul 14, 2026
e3c1587
memory: make lme judge resumable
Rememorio Jul 14, 2026
66ee7f7
memory: update lme extraction candidate
Rememorio Jul 14, 2026
f24c2e1
memory: update lme fallback candidate
Rememorio Jul 14, 2026
31f233a
memory: ignore lme judge drift
Rememorio Jul 14, 2026
fc04693
memory: fail lme on async memory errors
Rememorio Jul 14, 2026
eeadc64
memory: record mem0 runtime config
Rememorio Jul 14, 2026
919fc69
memory: report lme baseline results
Rememorio Jul 14, 2026
26c1ffa
memory: document lme config provenance
Rememorio Jul 14, 2026
21648e7
memory: integrate lme evaluation report
Rememorio Jul 15, 2026
b6758e7
memory: freeze lme comparison protocol
Rememorio Jul 15, 2026
fd5de22
memory: pin minimal lme candidate
Rememorio Jul 15, 2026
04efc52
memory: record exact mem0 implementation
Rememorio Jul 15, 2026
099b9ed
memory: trace lme extraction model calls
Rememorio Jul 15, 2026
a935fd9
memory: preserve raw mem0 replay messages
Rememorio Jul 15, 2026
6887d6c
Merge remote-tracking branch 'upstream/main' into memory_lme_benchmark
Rememorio Jul 15, 2026
2f0e4a0
toolsearch: pin portable agent revision
Rememorio Jul 15, 2026
ef6b304
memory: pin assistant extraction candidate
Rememorio Jul 15, 2026
366968e
memory: preserve exact mem0 replay content
Rememorio Jul 15, 2026
e4ea0dc
memory: support consensus lme judging
Rememorio Jul 15, 2026
d72aaa6
memory: validate lme judge vote records
Rememorio Jul 15, 2026
487e1a2
memory: record answer model traces
Rememorio Jul 15, 2026
9efdcb7
memory: require pinned evaluation builds
Rememorio Jul 15, 2026
0820fcb
memory: validate reanswer build provenance
Rememorio Jul 15, 2026
be1b4c9
memory: retry truncated LongMemEval answers
Rememorio Jul 15, 2026
641cb72
memory: allow complete answer retry
Rememorio Jul 15, 2026
a88ad82
memory: expose LongMemEval update policies
Rememorio Jul 15, 2026
2fde3fe
memory: update assistant extraction candidate
Rememorio Jul 15, 2026
96ff8e1
memory: update two-pass extraction candidate
Rememorio Jul 15, 2026
986a2e9
memory: trace scoped assistant extraction
Rememorio Jul 15, 2026
fdb0f71
memory: add retrieval-only LongMemEval replay
Rememorio Jul 15, 2026
6ac0d5f
memory: preserve refresh evidence provenance
Rememorio Jul 15, 2026
4e8ebd0
memory: add diagnostic retrieval reranking
Rememorio Jul 15, 2026
24d1010
memory: rerank saved results consistently
Rememorio Jul 15, 2026
2185ad7
memory: pin formal LongMemEval builds
Rememorio Jul 15, 2026
ede7790
memory: isolate formal dependency arms
Rememorio Jul 15, 2026
abfc2a1
memory: build comparable dependency profiles
Rememorio Jul 15, 2026
255ff41
memory: advance LongMemEval candidate
Rememorio Jul 15, 2026
36b8594
memory: preserve retrieval topics in LongMemEval
Rememorio Jul 15, 2026
8969444
memory: define LongMemEval topic semantics
Rememorio Jul 15, 2026
f900f93
memory: clarify LongMemEval category evidence
Rememorio Jul 15, 2026
1c2e6bf
memory: keep LongMemEval answer protocol frozen
Rememorio Jul 15, 2026
de866c6
memory: advance grounded topic candidate
Rememorio Jul 15, 2026
168fb4b
memory: advance phrase retrieval candidate
Rememorio Jul 15, 2026
4c46182
memory: advance phrase supplement candidate
Rememorio Jul 15, 2026
a1e44e6
memory: preserve distinct episodic candidates
Rememorio Jul 16, 2026
9a9246a
memory: evaluate topic-aware retrieval
Rememorio Jul 16, 2026
178b532
memory: evaluate grounded example relations
Rememorio Jul 16, 2026
d4c03f7
memory: evaluate example action context
Rememorio Jul 16, 2026
7c6c61e
memory: pin combined result extraction
Rememorio Jul 16, 2026
33799dc
memory: replace stale answer errors
Rememorio Jul 16, 2026
7960db0
memory: stabilize LoCoMo QA replay
Rememorio Jul 16, 2026
b125003
memory: pre-register LongMemEval selections
Rememorio Jul 16, 2026
753a1eb
memory: record selection build provenance
Rememorio Jul 16, 2026
0babfaf
memory: update candidate build
Rememorio Jul 16, 2026
beface3
memory: harden LongMemEval ingestion
Rememorio Jul 16, 2026
92160ef
memory: refine LongMemEval answer grounding
Rememorio Jul 16, 2026
87bddbb
memory: honor ranked LongMemEval evidence
Rememorio Jul 16, 2026
1b2c99a
memory: normalize LongMemEval answer punctuation
Rememorio Jul 16, 2026
b78b3ac
memory: resolve LongMemEval state timelines
Rememorio Jul 16, 2026
f3a5398
memory: constrain LongMemEval answer retries
Rememorio Jul 16, 2026
3d51df2
memory: share pgvector extraction protocol
Rememorio Jul 16, 2026
1825b5b
memory: stabilize LoCoMo QA protocol
Rememorio Jul 16, 2026
db2d897
memory: constrain LoCoMo binary answers
Rememorio Jul 16, 2026
a72afc6
memory: validate adaptive LoCoMo QA
Rememorio Jul 16, 2026
ee76608
memory: recover truncated LoCoMo answers
Rememorio Jul 16, 2026
e04adc2
memory: trace end-to-end LoCoMo usage
Rememorio Jul 17, 2026
0406dea
memory: report LongMemEval ingest progress
Rememorio Jul 17, 2026
807ab11
memory: refine LongMemEval failure stages
Rememorio Jul 17, 2026
ea84559
memory: compare candidate with Mem0 cases
Rememorio Jul 17, 2026
eb44506
memory: migrate legacy failure diagnoses
Rememorio Jul 17, 2026
c646107
memory: update candidate evaluation dependency
Rememorio Jul 17, 2026
3335eb4
memory: retain extractor metadata contract
Rememorio Jul 17, 2026
87ba58b
memory: redact blind evaluation progress
Rememorio Jul 17, 2026
dfc9fd2
memory: record LoCoMo role semantics
Rememorio Jul 17, 2026
bbd1495
memory: update candidate evaluation dependency
Rememorio Jul 17, 2026
288f156
memory: report complete memory snapshots
Rememorio Jul 17, 2026
0e8d455
memory: refresh persisted memory snapshots
Rememorio Jul 17, 2026
270db76
memory: share semantic judge verdicts
Rememorio Jul 17, 2026
391fa90
memory: track latest agent evaluation build
Rememorio Jul 17, 2026
60cb077
memory: avoid replaying ambiguous mem0 writes
Rememorio Jul 17, 2026
75be4dc
memory: track episodic reconciliation fix
Rememorio Jul 17, 2026
71d092c
memory: fail incomplete LongMemEval runs
Rememorio Jul 18, 2026
957a228
memory: name Mem0 request backoff consistently
Rememorio Jul 18, 2026
4192542
memory: preserve provenance across updates
Rememorio Jul 18, 2026
c63edc5
memory: preserve provenance after final flush
Rememorio Jul 18, 2026
b7a8fe4
memory: distinguish extraction from persistence misses
Rememorio Jul 18, 2026
3beaf43
memory: test conservative Mem0 failure staging
Rememorio Jul 18, 2026
f5405f5
memory: compare independently replayed baselines
Rememorio Jul 18, 2026
68754a8
memory: stabilize shared answer evaluation
Rememorio Jul 18, 2026
9c8f27e
memory: ground temporal and preference answers
Rememorio Jul 18, 2026
c8949b0
memory: isolate assistant result evidence
Rememorio Jul 18, 2026
7580476
memory: control model response variance
Rememorio Jul 19, 2026
d960b70
memory: make holdout sampling reproducible
Rememorio Jul 19, 2026
f88ee7c
memory: honor Mem0 request timeout
Rememorio Jul 19, 2026
d133d54
memory: label retrieval refresh implementations
Rememorio Jul 19, 2026
f384e3a
memory: record refreshed answer provenance
Rememorio Jul 19, 2026
7fadae0
memory: require explicit replacement profile
Rememorio Jul 19, 2026
850e709
memory: stabilize saved-result reranking
Rememorio Jul 19, 2026
3487558
Revert "memory: stabilize saved-result reranking"
Rememorio Jul 19, 2026
67f27a7
memory: align LongMemEval superset judging
Rememorio Jul 19, 2026
3dd5d7e
memory: surface LoCoMo evaluation failures
Rememorio Jul 19, 2026
6a81408
memory: record disabled LoCoMo reuse
Rememorio Jul 19, 2026
dd7bc28
memory: preserve LoCoMo opening turns
Rememorio Jul 19, 2026
139d664
memory: require complete LoCoMo answers
Rememorio Jul 19, 2026
54b8acb
memory: recover malformed LoCoMo answers
Rememorio Jul 19, 2026
952bcb3
memory: account for empty answer recovery
Rememorio Jul 19, 2026
2225cdd
memory: honor model variants in LoCoMo
Rememorio Jul 19, 2026
f8316b1
memory: bound LoCoMo answer recovery
Rememorio Jul 19, 2026
def5690
memory: accept complete recovery answer spans
Rememorio Jul 19, 2026
a262a39
memory: stabilize LoCoMo answer recovery
Rememorio Jul 20, 2026
79c70fd
memory: pin evaluated candidate build
Rememorio Jul 20, 2026
66450e6
memory: bind runs to preregistered selections
Rememorio Jul 20, 2026
f7c89d0
memory: load frozen holdout exclusions
Rememorio Jul 20, 2026
59d7aa6
memory: expose incomplete provider usage
Rememorio Jul 20, 2026
b7beeee
memory: keep extraction evidence pair-scoped
Rememorio Jul 20, 2026
892a47c
memory: support independent answer replicates
Rememorio Jul 20, 2026
99b764a
memory: aggregate independent answer replicates
Rememorio Jul 20, 2026
e4ccad3
memory: make formal runner cwd independent
Rememorio Jul 20, 2026
68af168
memory: support retrieval-only refresh
Rememorio Jul 20, 2026
1c79308
memory: update evaluated agent revision
Rememorio Jul 20, 2026
63c9bd5
memory: freeze LongMemEval evaluation protocol
Rememorio Jul 20, 2026
f7cf937
memory: update evaluated agent revision
Rememorio Jul 20, 2026
38f655e
memory: report protocol v2 baseline
Rememorio Jul 21, 2026
21c759c
memory: report compact recovery ablation
Rememorio Jul 21, 2026
6f3d232
memory: harden blind holdout workflow
Rememorio Jul 21, 2026
d5d6ee0
memory: clarify LoCoMo regression source
Rememorio Jul 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
532 changes: 529 additions & 3 deletions memory/README.md

Large diffs are not rendered by default.

64 changes: 57 additions & 7 deletions memory/data/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# LoCoMo Dataset
# Memory Benchmark Datasets

This directory contains the LoCoMo benchmark dataset for evaluating long-term
conversational memory.
This directory contains or references benchmark datasets for evaluating
long-term conversational memory.

## Download
## LoCoMo Dataset

LoCoMo data is stored in this directory.

### Download

Download the LoCoMo dataset from the official repository:

Expand All @@ -15,7 +19,7 @@ git clone https://github.com/snap-research/locomo.git
cp locomo/data/locomo10/*.json ./
```

## Dataset Format
### Dataset Format

The LoCoMo dataset contains long-term conversational data with the following
structure:
Expand Down Expand Up @@ -52,14 +56,60 @@ structure:
}
```

## QA Categories
### QA Categories

- `single-hop`: Single-hop questions answerable from one conversation segment.
- `multi-hop`: Multi-hop questions requiring multiple conversation segments.
- `temporal`: Temporal reasoning questions involving time relationships.
- `open-domain`: Open-domain questions requiring world knowledge.
- `adversarial`: Adversarial questions designed to test robustness.

## Reference
### Reference

[LoCoMo: Long-Context Conversational Memory Benchmark](https://arxiv.org/abs/2402.17753)

## LongMemEval Dataset

LongMemEval data is shared with the summary benchmark under
`summary/data/longmemeval-cleaned/` instead of being duplicated in this
directory.

### Download

Download LongMemEval from the official repository:

```bash
# Clone the LongMemEval repository.
git clone https://github.com/xiaowu0162/LongMemEval.git

# Place cleaned files under the shared benchmark data directory.
mkdir -p ../../summary/data/longmemeval-cleaned
cp LongMemEval/data/longmemeval_oracle.json ../../summary/data/longmemeval-cleaned/
```

### Dataset Format

The LongMemEval dataset contains per-question haystack conversations:

```json
{
"question_id": "gpt4_2655b836",
"question_type": "temporal-reasoning",
"question": "What was the first issue...",
"question_date": "2023/04/10 (Mon) 23:07",
"answer": "GPS system not functioning correctly",
"answer_session_ids": ["answer_4be1b6b4_2"],
"haystack_dates": ["2023/04/10 (Mon) 14:47"],
"haystack_session_ids": ["answer_4be1b6b4_3"],
"haystack_sessions": [
[
{"role": "user", "content": "..."},
{"role": "assistant", "content": "..."}
]
]
}
```

### Reference

[LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory](https://arxiv.org/abs/2410.10813)
3 changes: 2 additions & 1 deletion memory/results/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
*.json
*.log
*.pdf
lme-*/
tmp/
tools/
tools/
18 changes: 16 additions & 2 deletions memory/results/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,22 @@ This directory stores memory benchmark evaluation results.

| File | Description |
|------|-------------|
| [REPORT.md](REPORT.md) | Full evaluation report (English) |
| [REPORT.zh_CN.md](REPORT.zh_CN.md) | Full evaluation report (Chinese) |
| [REPORT.md](REPORT.md) | Unified LoCoMo and LongMemEval evaluation report (English) |
| [REPORT.zh_CN.md](REPORT.zh_CN.md) | Unified LoCoMo and LongMemEval evaluation report (Chinese) |

## LongMemEval Memory Evaluation Summary

The current production-style LongMemEval Oracle evaluation uses one fixed,
already-observed 16-question development regression spanning all six types.
Every arm replays all 183 selected user/assistant pairs, generates three
independent answers per question, and judges every answer three times.
Pgvector main scores 12/16 (36/48 answer replicates), self-hosted Mem0 OSS
scores 14/16 (41/48), and the final pgvector candidate scores 16/16 (48/48).
A compact-recovery ablation reduces candidate memory LLM tokens from 1,838,020
to 1,790,001 while retaining quality, but does not reduce final memory count or
wall-clock ingestion time. No unseen protocol-v2 holdout has been selected or
run. See the unified reports for replay design, usage, bad cases, provenance,
and limitations.

## LoCoMo Benchmark Evaluation Summary

Expand Down
Loading
Loading