CAVE-Mem: Boundary-Aware Experience Validation for Memory Search
Organizations: Kent State University
Abstract
Long-term memory agents increasingly rely on it- erative search and reusable experience to answer questions over large personal, factual, or narrative histories. However, current experience-memory systems largely optimize relevance: they re- trieve past search lessons that appear similar to the current state and inject them into the prompt. A relevant experience can still be harmful when the memory substrate, question intent, answer granularity, or evidence boundary changes. We propose CAVE- Mem, a training-free framework that represents experience as a typed intervention operator with applicability, boundary, and utility conditions. CAVE-Mem first obtains a base memory-search answer, then allows an operator to change it only if the oper- ator matches the current substrate, answer contract, evidence boundary, and cross-fitted utility; otherwise the system abstains. Experiments across long-term conversational memory, multi-hop question answering, and long-document narrative reasoning show consistent gains over relevance-only experience reuse.
Figures & tables
| Gate check | Valid intervention | Boundary veto | Role in CAVE-Mem |
|---|---|---|---|
| Substrate profile | Operator family is enabled for the current memory substrate, e.g., episodic dialogue, fact-pack QA, or narrative text. | Operator transfers a substrate-specific procedure outside its profiled domain. | Prevents cross-substrate transfer. |
| Answer contract | Candidate directly fills the requested slot, e.g., person, place, date, count, or object. | Candidate answers a nearby attribute or compresses a reason into an unsupported phrase. | Aligns answer shape with the question. |
| Temporal boundary | Candidate preserves the exact date or state transition anchored in retrieved evidence. | Candidate replaces a constrained date with a broader month/year or an unsupported current state. | Prevents temporal drift. |
| Count boundary | Candidate is backed by enumerated instances with stable wording. | Candidate uses vague forms such as “at least” when an exact count is required. | Converts evidence into exact counts. |
| Quote/reason boundary | Candidate preserves source-grounded reason, feeling, or quoted wording. | Candidate paraphrases away the answer-bearing phrase. | Protects short answer-bearing spans. |
| Utility ledger | Operator family has positive cross-fitted diagnostic effect under the current substrate. | Candidate source is high-variance under matched counterfactual replay. | Selects high-utility interventions. |
| Model | Method | Overall | Multi-hop | Temporal | Open | Single-hop | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| F1 | BLEU | F1 | BLEU | F1 | BLEU | F1 | BLEU | F1 | BLEU | ||
| GPT-4o-mini | RAG [ 5 ] | 39.92 | 34.52 | 33.75 | 24.33 | 31.52 | 26.86 | 25.21 | 20.42 | 46.60 | 42.16 |
| Mem0 [ 11 ] | 48.27 | 42.10 | 30.73 | 20.91 | 52.14 | 46.13 | 31.56 | 25.70 | 54.33 | 49.25 | |
| A-Mem [ 12 ] | 46.59 | 40.55 | 32.34 | 23.77 | 49.34 | 43.20 | 30.33 | 25.00 | 51.94 | 46.70 | |
| MemoryOS [ 13 ] | 45.26 | 39.28 | 29.17 | 20.00 | 52.67 | 46.62 | 30.46 | 24.71 | 49.35 | 44.40 | |
| LightMem | 45.80 | 39.90 | 29.01 | 20.48 | 47.50 | 41.92 | 26.71 | 21.53 | 52.67 | 47.43 | |
| Method | NQA 87K | HP 56K | HP 224K | HP 448K |
|---|---|---|---|---|
| RAG [ 5 ] | 32.54 | 46.86 | 31.52 | 25.98 |
| GAM [ 14 ] | 38.66 | 64.07 | 60.19 | 59.36 |
| R2Mem [ 15 ] | 37.24 | 62.74 | 61.27 | 61.70 |
| CAVE-Mem (ours) | 39.37 | 66.24 | 61.58 | 61.87 |
LLM Agent Memory
Large language model agent memory lets agents retain, organize, retrieve, and update information across interactions and long-running tasks.
See all 376 papers