MemoryCD: Benchmarking Long-Context User Memory of LLM Agents for Lifelong Cross-Domain Personalization
Organizations: Roblox · University of Illinois Chicago · University of Cambridge
Abstract
Recent advancements in Large Language Models (LLMs) have expanded context windows to million-token scales, yet benchmarks for evaluating memory remain limited to short-session synthetic dialogues. We introduce MemoryCD, the first large-scale, user-centric, cross-domain memory benchmark derived from lifelong real-world behaviors in the Amazon Review dataset. Unlike existing memory datasets that rely on scripted personas to generate synthetic user data, MemoryCD tracks authentic user interactions across years and multiple domains. We construct a multi-faceted long-context memory evaluation pipeline of 14 state-of-the-art LLM base models with 6 memory method baselines on 4 distinct personalization tasks over 12 diverse domains to evaluate an agent's ability to simulate real user behaviors in both single and cross-domain settings. Our analysis reveals that existing memory methods are far from user satisfaction in various domains, offering the first testbed for cross-domain life-long personalization evaluation.
Figures & tables
| Data | Memory | Context | # of | Long | User | Cross- | Real |
| Source | Benchmarks | Length | Sessions | Timespan | Level | Domain | Feedback |
| Synthetic | LoCoMo ( Maharana et al., 2024 ) | 9K | 35 | ✗ | ✓ ✗ | ✗ | ✗ |
| PrefEval ( Zhao et al., 2025 ) | 100K | – | ✗ | ✓ ✗ | ✓ ✗ | ✗ | |
| LongMemEval ( Wu et al., 2025a ) | 1.5M | 500 | ✓ ✗ | ✓ ✗ | ✗ | ✗ | |
| PersonaMem ( Jiang et al., 2025 ) | 1M | 60 | ✓ | ✓ ✗ | ✓ ✗ | ✗ | |
| MemBench ( Tan et al., 2025a ) | 100K | 0.5K-8K | ✓ ✗ | ✓ ✗ | ✗ | ✗ |
| Aspect | ★ Rating Prediction | Item Ranking | Review Summarization | Review Generation |
| Category | User decision-making (quantitative preference modeling) | User decision-making (relative preference modeling) | User text generation (attitude & sentiment reflection) | User text generation (preference & linguistic expression style) |
| Goal | Predict user’s rating (1–5) for a target item. | Rank candidate items by expected user interest. | Generate a concise title reflecting user tone and sentiment. | Generate full review text expressing user preferences and style. |
| Input | User memory ; item metadata | User memory ; candidate set | User memory ; item metadata ; user review context | User memory ; item metadata |
| Output | Rating | Ranking | Short title | Full review |
| Metrics | MAE, RMSE | NDCG@ | ROUGE-L, BLEU-1 | ROUGE-L, BLEU-1 |
| Dataset | Model | Rating | Ranking | Summarization | Generation | ||||
| MAE | RMSE | N@1 | N@3 | ROUGE | BLEU | ROUGE | BLEU | ||
| Books | GPT-5-Nano | 0.543 | 0.872 | 0.135 | 0.164 | 0.122 | 0.055 | 0.110 | 0.145 |
| GPT-5-Mini | 0.464 | 0.816 | 0.161 | 0.190 | 0.138 | 0.063 | 0.130 | 0.174 | |
| GPT-5 | 0.330 | 0.624 | 0.146 | 0.177 | 0.137 | 0.064 | 0.132 | 0.195 | |
| Claude-4 Opus | 0.611 | 0.954 | 0.142 | 0.183 | 0.126 | 0.070 | 0.104 | 0.143 | |
| Claude-4 Sonnet | 0.670 | 1.000 | 0.109 | 0.163 | 0.145 | 0.089 | 0.110 | 0.151 | |
| Method | Model | Rating | Ranking | Summarization | Generation | ||||
| MAE | RMSE | N@1 | N@3 | ROUGE | BLEU | ROUGE | BLEU | ||
| Long-Context | GPT-5 | 0.330 | 0.624 | 0.146 | 0.177 | 0.137 | 0.064 | 0.132 | 0.195 |
| Claude-4 Sonnet | 0.670 | 1.000 | 0.109 | 0.163 | 0.145 | 0.089 | 0.110 | 0.151 | |
| Gemini-2.5 Pro | 0.401 | 0.762 | 0.206 | 0.229 | 0.208 | 0.128 | 0.162 | 0.207 | |
| Mem0 | GPT-5 | 0.419 | 0.698 | 0.184 | 0.217 | 0.173 | 0.097 | 0.143 | 0.195 |
| Claude-4 Sonnet | 0.491 | 0.772 | 0.172 | 0.207 | 0.202 | 0.126 | 0.141 | 0.182 | |
| Method | Model | Rating | Ranking | Summarization | Generation | ||||
| MAE | RMSE | N@1 | N@3 | ROUGE | BLEU | ROUGE | BLEU | ||
| Long-Context | GPT-5 | 0.354 | 0.675 | 0.179 | 0.299 | 0.174 | 0.070 | 0.104 | 0.111 |
| Claude-4 Sonnet | 0.570 | 0.839 | 0.108 | 0.212 | 0.192 | 0.108 | 0.125 | 0.145 | |
| Gemini-2.5 Pro | 0.391 | 0.723 | 0.140 | 0.255 | 0.204 | 0.119 | 0.152 | 0.180 | |
| Mem0 | GPT-5 | 0.367 | 0.661 | 0.146 | 0.284 | 0.189 | 0.094 | 0.112 | 0.122 |
| Claude-4 Sonnet | 0.596 | 0.823 | 0.140 | 0.255 | 0.197 | 0.116 | 0.127 | 0.146 | |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Context Length | Max # Sessions | Avg # Sessions | Min # Sessions | Filtering Thresholds | # of Users | # of Samples |
| Beauty | 11,137 | 165 | 81 | 54 | 50 | 57 | 171 |
| Arts | 49,101 | 801 | 338 | 204 | 200 | 50 | 150 |
| Automotive | 27,104 | 512 | 258 | 203 | 200 | 64 | 192 |
| Personal Care | 202,096 | 2,973 | 839 | 504 | 500 | 128 | 384 |
| Books | 272,372 | 3,888 | 1,552 | 1,002 | 1,000 | 89 | 267 |
| Electronics | 184,084 | 2,602 | 781 | 502 | 500 | 94 | 282 |
| Task | Model | GPT-5 | Claude | Gemini | Avg. | Final Rank | Our Rank |
| Review Summarization | GPT-5 | 5.9 | 5.3 | 5.1 | 5.43 | 3 | 3 |
| Claude 4 Sonnet | 5.4 | 5.8 | 5.6 | 5.60 | 2 | 2 | |
| Gemini-2.5 Pro | 5.7 | 5.6 | 6.1 | 5.80 | 1 | 1 | |
| Review Generation | GPT-5 | 4.6 | 4.0 | 3.8 | 4.13 | 2 | 2 |
| Claude 4 Sonnet | 4.0 | 4.3 | 4.0 | 4.10 | 3 | 3 | |
| Gemini-2.5 Pro | 4.5 | 4.3 | 4.8 | 4.53 | 1 | 1 |
| Dataset | Model | Rating | Ranking | Summarization | Generation | ||||
| MAE | RMSE | N@1 | N@3 | ROUGE-L | BLEU-1 | ROUGE-L | BLEU-1 | ||
| Beauty | GPT-5 | 0.544 | 0.946 | 0.175 | 0.290 | 0.203 | 0.085 | 0.231 | 0.118 |
| Claude-4 Sonnet | 0.544 | 0.889 | 0.246 | 0.323 | 0.195 | 0.117 | 0.231 | 0.118 | |
| Gemini-2.5 Pro | 0.719 | 1.221 | 0.228 | 0.349 | 0.230 | 0.129 | 0.284 | 0.159 | |
| Arts Crafts | GPT-5 | 0.167 | 0.440 | 0.367 | 0.531 | 0.209 | 0.092 | 0.246 | 0.131 |
| Claude-4 Sonnet | 0.347 | 0.739 | 0.267 | 0.430 | 0.250 | 0.170 | 0.230 | 0.134 | |
| Method | Model | Rating | Ranking | Summarization | Generation | ||||
| MAE | RMSE | N@1 | N@3 | ROUGE-L | BLEU-1 | ROUGE-L | BLEU-1 | ||
| Long-Context | GPT-5 | 0.289 | 0.602 | 0.443 | 0.604 | 0.182 | 0.082 | 0.123 | 0.145 |
| Claude-4 Sonnet | 0.374 | 0.749 | 0.354 | 0.511 | 0.228 | 0.139 | 0.144 | 0.176 | |
| Gemini-2.5 Pro | 0.337 | 0.719 | 0.378 | 0.561 | 0.222 | 0.141 | 0.161 | 0.200 | |
| Mem0 | GPT-5 | 0.354 | 0.735 | 0.646 | 0.744 | 0.209 | 0.115 | 0.133 | 0.153 |
| Claude-4 Sonnet | 0.411 | 0.741 | 0.565 | 0.661 | 0.238 | 0.145 | 0.144 | 0.174 | |
| Method | Model | Rating | Ranking | Summarization | Generation | ||||
| MAE | RMSE | N@1 | N@3 | ROUGE-L | BLEU-1 | ROUGE-L | BLEU-1 | ||
| Long-Context | GPT-5 | 0.261 | 0.551 | 0.446 | 0.610 | 0.185 | 0.077 | 0.134 | 0.140 |
| Claude-4 Sonnet | 0.330 | 0.630 | 0.276 | 0.400 | 0.189 | 0.117 | 0.145 | 0.158 | |
| Gemini-2.5 Pro | 0.303 | 0.679 | 0.315 | 0.444 | 0.222 | 0.133 | 0.178 | 0.207 | |
| Mem0 | GPT-5 | 0.261 | 0.561 | 0.606 | 0.707 | 0.221 | 0.122 | 0.151 | 0.163 |
| Claude-4 Sonnet | 0.339 | 0.623 | 0.521 | 0.613 | 0.227 | 0.152 | 0.152 | 0.167 | |
| Method | Model | Rating | Ranking | Summarization | Generation | ||||
| MAE | RMSE | N@1 | N@3 | ROUGE-L | BLEU-1 | ROUGE-L | BLEU-1 | ||
| Long-Context | GPT-5 | 0.279 | 0.597 | 0.315 | 0.435 | 0.161 | 0.053 | 0.131 | 0.139 |
| Claude-4 Sonnet | 0.432 | 0.767 | 0.203 | 0.304 | 0.196 | 0.118 | 0.138 | 0.148 | |
| Gemini-2.5 Pro | 0.323 | 0.665 | 0.266 | 0.417 | 0.200 | 0.110 | 0.183 | 0.204 | |
| Mem0 | GPT-5 | 0.331 | 0.635 | 0.578 | 0.685 | 0.175 | 0.082 | 0.150 | 0.164 |
| Claude-4 Sonnet | 0.361 | 0.672 | 0.583 | 0.683 | 0.197 | 0.111 | 0.151 | 0.163 | |