Do LLMs Memorize Recommendation Datasets? A Preliminary Study on MovieLens-1M
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have become increasingly central to recommendation scenarios due to their remarkable natural language understanding and generation capabilities. Although significant research has explored the use of LLMs for various recommendation tasks, little effort has been dedicated to verifying whether they have memorized public recommendation dataset as part of their training data. This is undesirable because memorization reduces the generalizability of research findings, as benchmarking on memorized datasets does not guarantee generalization to unseen datasets. Furthermore, memorization can amplify biases, for example, some popular items may be recommended more frequently than others. In this work, we investigate whether LLMs have memorized public recommendation datasets. Specifically, we examine two model families (GPT and Llama) across multiple sizes, focusing on one of the most widely used dataset in recommender systems: MovieLens-1M. First, we define dataset memorization as the extent to which item attributes, user profiles, and user-item interactions can be retrieved by prompting the LLMs. Second, we analyze the impact of memorization on recommendation performance. Lastly, we examine whether memorization varies across model families and model sizes. Our results reveal that all models exhibit some degree of memorization of MovieLens-1M, and that recommendation performance is related to the extent of memorization. We have made all the code publicly available at: https://github.com/sisinflab/LLM-MemoryInspector
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 19 of its 36 references that are in the map. First posted on arXiv 15 May 2025.
Builds on
19 of 36 references.
References · 19
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2020LightGCN: Simplifying and Powering Graph Convolution Network for Recommendationcited by 1,139
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2023Reasoning with Language Model is Planning with World Modelcited by 861
- 2023TALLRec: An Effective and Efficient Tuning Framework to Align Large Language Model with Recommendationcited by 337
- 2023LLMRec: Large Language Models with Graph Augmentation for Recommendationcited by 172
- 2023Uncovering ChatGPT's Capabilities in Recommender Systemscited by 161
- 2019Embarrassingly Shallow Autoencoders for Sparse Datacited by 94
- 2023Bag of Tricks for Training Data Extraction from Language Modelscited by 70
- 2023Collaborative Large Language Model for Recommender Systemscited by 64
7 more
- 2021User-centered Evaluation of Popularity Bias in Recommender Systemscited by 38
- 2023Large Language Models for Intent-Driven Session Recommendationscited by 30
- 2023Evaluating ChatGPT as a Recommender System: A Rigorous Approachcited by 20
- 2024Large Language Models as Data Augmenters for Cold-Start Item Recommendationcited by 19
- 2023FLIP: Fine-grained Alignment between ID-based Models and Pretrained Language Models for CTR Predictioncited by 11
- 2024From Clicks to Carbon: The Environmental Toll of Recommender Systemscited by 11
- 2024Hyperband-based Bayesian Optimization for Black-box Prompt Selectioncited by 10
Built on by
Citing papers per year: 2025: 5; 2026: 7.
12 papers.
- 2025LLaMAs Have Feelings Too: Unveiling Sentiment and Emotion Representations in LLaMA Models Through Probingcited by 15
- 2025When Large Language Models Know the Table: A Framework for Assessing Data Contamination in Tabular Datasetscited by 3
- 2026τ-Rec: A Verifiable Benchmark for Agentic Recommender Systemscited by 3
- 2025Do We Really Need Specialization? Evaluating Generalist Text Embeddings for Zero-Shot Recommendation and Searchcited by 2
- 2026Benchmark Leakage Trap: Can We Trust LLM-based Recommendation?cited by 2
- 2025We're Still Doing It (All) Wrong: Recommender Systems, Fifteen Years Latercited by 1
- 2026Model See, Model Do? Exposure-Aware Evaluation of Bug-vs-Fix Preference in Code LLMscited by 1
- 2025Membership Inference Attacks on In-Context Examples in LLM-based Recommender Systemscited by 0
- 2026Exploring Diversity, Novelty, and Popularity Bias in ChatGPT's Recommendationscited by 0
- 2026Exploring Approaches for Detecting Memorization of Recommender System Data in Large Language Modelscited by 0
- 2026Fair Agents: Balancing Multistakeholder Alignment in Multi-Agent Personalization Systemscited by 0
- 2026Evaluating and Improving Evidence-Grounded Fact-Checking in LLMs via Multi-Round Evidence Ablationcited by 0
- 2026Evaluating and Improving Evidence-Grounded Fact-Checking in LLMs via Multi-Round Evidence Ablation8 Sep 2026
- 2026τ-Rec: A Verifiable Benchmark for Agentic Recommender Systems8 Jun 2026
- 2026Fair Agents: Balancing Multistakeholder Alignment in Multi-Agent Personalization Systems4 May 2026
- 2026Benchmark Leakage Trap: Can We Trust LLM-based Recommendation?14 Feb 2026
- 2026Model See, Model Do? Exposure-Aware Evaluation of Bug-vs-Fix Preference in Code LLMs15 Jan 2026
- 2026Exploring Approaches for Detecting Memorization of Recommender System Data in Large Language Models5 Jan 2026
- 2026Exploring Diversity, Novelty, and Popularity Bias in ChatGPT's Recommendations5 Jan 2026
- 2025When Large Language Models Know the Table: A Framework for Assessing Data Contamination in Tabular Datasets23 Oct 2025
- 2025We're Still Doing It (All) Wrong: Recommender Systems, Fifteen Years Later11 Sep 2025
- 2025Membership Inference Attacks on In-Context Examples in LLM-based Recommender Systems26 Aug 2025
- 2025Do We Really Need Specialization? Evaluating Generalist Text Embeddings for Zero-Shot Recommendation and Search7 Jul 2025
- 2025LLaMAs Have Feelings Too: Unveiling Sentiment and Emotion Representations in LLaMA Models Through Probing22 May 2025