Skip to main content
Search

# ContextFolder

1 related articles

Subscribe to updates
  1. arXiv

    Long-term agent memory can be folded: half the records, 99.0% of Mem0's average performance kept

    Long-running AI agents store interaction history as external memory records, and more records slow retrieval while longer retrieved context makes generation costlier. MemFolder splits compression into two steps: RecordFolder merges related records into fewer retrieval units using entity, semantic and temporal relations, and ContextFolder then rewrites each group as a compact encoding under a token budget, with a blind check on whether key facts survive. On Mem0 with half the records, RecordFolder retains 99.0% of average performance across three text benchmarks, above MemForest's 97.1%; adding ContextFolder cuts tokens per record by a further 40.3% and 37.9% on LoCoMo and LongMemEval.

You’re all caught up