CALM: Conflict-Aware Lifecycle Memory Governance for Long-Horizon Language Agents
Organizations: Harbin Institute of Technology · Meituan
Abstract
A memory can be outdated for present-day reasoning yet indispensable for reconstructing the past. Relevance-based retrieval overlooks this tension: semantic relevance, evidence-grounded validity, and query-specific eligibility are distinct. We propose CALM, a conflict-aware lifecycle memory governance framework that decouples persistent memory preservation from query-time admission. CALM converts heterogeneous records into evidence-grounded memory cells, updates validity and lifecycle states using support, conflict, and dependency signals, and admits query-appropriate evidence through training-free or learned gating informed by temporal applicability. Across LongMemEval-S and LoCoMo with Qwen and GPT backbones, CALM outperforms state-of-the-art baselines, achieving the best overall accuracy. Compared with simple filtering and reranking, query-conditioned admission further improves evidence selection. Conflict-blocking and robustness analyses show CALM suppresses erroneous retrieved memories while retaining useful evidence. Historical-reconstruction experiments demonstrate that preserving superseded records supports accurate earlier-state reasoning without compromising current-state answers.
Figures & tables
| Method | Overall | S-Hop | M-Hop | Open | Temp. |
|---|---|---|---|---|---|
| Qwen3-30B-A3B-Instruct-2507 | |||||
| Mem0 | 59.09 | 65.16 | 54.26 | 45.83 | 51.40 |
| MemOS | 76.04 | 81.81 | 73.76 | 59.38 | 67.91 |
| EverMemOS | 87.99 | 92.75 | 86.17 | 70.83 | 82.24 |
| LightMem | 72.01 | 78.60 | 72.34 | 57.29 | 58.88 |
| CALM-ZS | 85.78 | 92.15 | 84.04 | 67.71 | 76.01 |
| Variant | EMB | UMR | CL |
|---|---|---|---|
| No-gating | 0.00 | 100.00 | 100.00 |
| CALM-ZS | 79.32 | 67.76 | 21.68 |
| CALM | 81.30 | 72.06 | 20.00 |
| Variant | Overall Acc. ( ) |
|---|---|
| Stage-wise ablations | |
| w/o Stage I | 69.80 |
| w/o Stage II | 75.60 |
| w/o Stage III | 74.00 |
| Simple filtering and reranking | |
| Temporal-Filter | 74.40 |
| Variant | Overall | K-Upd. | Temp. |
|---|---|---|---|
| w/o Conflict | 73.00 | 89.74 | 62.41 |
| w/o Temporal | 72.60 | 88.46 | 60.15 |
| w/o Validity | 72.40 | 87.18 | 63.16 |
| w/o Compatibility | 74.20 | 89.74 | 63.91 |
| w/o Risk | 75.20 | 89.74 | 64.66 |
| CALM | 79.60 | 91.03 | 68.42 |
| Method | Acc. | Tok. | R/G | Ans. | Total |
|---|---|---|---|---|---|
| EverMemOS | 66.40 | 2775 | 46.05/– | 14.39 | 61.65 |
| CALM-ZS | 76.60 | 3850 | 6.02 / 0.40 | 1.44 | 12.00 |
| CALM | 79.60 | 3971 | 6.02 / 1.03 | 1.49 | 12.84 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Evidence source | Weight |
| LongMemEval-S | Raw dialogue span | 0.74 |
| Rule-derived span | 0.82 | |
| Session anchor | 0.62 | |
| LoCoMo | Dialogue turn | 0.72 |
| Observation | 0.95 | |
| Event summary | 0.88 |
| Weighting Strategy | Accuracy (%) |
|---|---|
| No weighting ( ) | 78.4 |
| Uniform weighting ( ) | 78.9 |
| Source-specific weighting | 79.6 |
| Relation | Evidence considered | Operational scoring rule | Decision criterion |
|---|---|---|---|
| Support | Exact matches after lowercasing and whitespace normalization; accumulated evidence and source confidence. | Identical normalized records are merged, with evidence counts and confidence updated. No independent support-edge score is computed. | Exact normalized match; no . |
| Conflict | Matching entity–attribute slots or compatible personal claims; preference polarity, constraints, location changes, and task status. | (preference reversal), (temporal location change), (constraint change), (task-status change), (slot-value update), or (weak opposing signals with overlap ). | All detected conflicts are linked. Strong conflict: and non-weak type. |
| Dependency | Explicit source-memory IDs, shared structured slots, dialogue-turn provenance, predefined semantic cues, and token overlap. | (explicit reference); (same slot, non-derived); (derived, same turn, ); (derived, semantic cue ); or (derived, topic overlap ). | Link if a rule matches; no global . Verify at cascade risk ; mark stale for superseded sources with . |
| Dataset | Category | Questions |
|---|---|---|
| LongMemEval-S | SS-User | 70 |
| SS-Pref. | 30 | |
| SS-Asst. | 56 | |
| K-Upd. | 78 | |
| Multi | 133 | |
| Temp. | 133 |
| Stage | Hit | FullHit | AvgRecall |
| Initial Retrieval | 100.00 | 94.80 | 97.99 |
| Post-Gating | 100.00 | 94.60 | 97.84 |
| Final Packing | 100.00 | 93.00 | 97.18 |
| Additional Metric | Value | ||
| Packed-Hit Accuracy | 79.6 | ||
| Post-retrieval policy | Acc. (%) |
|---|---|
| Validity-Rerank | 77.20 |
| CALM-ZS | 76.60 |
| CALM | 79.60 |
| Hard Filter + Relevance | 76.00 |
| Hard Filter + Validity-Rerank | 78.00 |
| Hard Filter + Learned Rerank | 78.40 |
| Variant | Erroneous-Memory Injection Ratio | |||||
|---|---|---|---|---|---|---|
| 0% | 10% | 20% | 30% | 40% | 50% | |
| CALM | 79.8 | 78.8 | 77.6 | 76.2 | 74.6 | 72.8 |
| Relevance-Only | 75.4 | 74.6 | 72.2 | 69.6 | 66.8 | 56.6 |
| w/o Stage III | 74.0 | 71.2 | 68.0 | 64.6 | 61.0 | 57.2 |
| Method | 512 | 1024 | 2048 | Full |
|---|---|---|---|---|
| EverMemOS | 29.60 | 53.80 | 62.40 | 66.40 |
| CALM-ZS | 38.00 | 58.40 | 69.80 | 76.60 |
| CALM | 39.20 | 60.20 | 74.60 | 79.60 |
Persistent Memory for Language Models
Persistent memory for language models studies how models retain, update, and use information across interactions and beyond their context windows.
See all 272 papers