Exploring Approaches for Detecting Memorization of Recommender System Data in Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Colacicco, Antonio, Guida, Vito, Di Palma, Dario, Narducci, Fedelucio, Di Noia, Tommaso
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908748241436672
author Colacicco, Antonio
Guida, Vito
Di Palma, Dario
Narducci, Fedelucio
Di Noia, Tommaso
author_facet Colacicco, Antonio
Guida, Vito
Di Palma, Dario
Narducci, Fedelucio
Di Noia, Tommaso
contents Large Language Models (LLMs) are increasingly applied in recommendation scenarios due to their strong natural language understanding and generation capabilities. However, they are trained on vast corpora whose contents are not publicly disclosed, raising concerns about data leakage. Recent work has shown that the MovieLens-1M dataset is memorized by both the LLaMA and OpenAI model families, but the extraction of such memorized data has so far relied exclusively on manual prompt engineering. In this paper, we pose three main questions: Is it possible to enhance manual prompting? Can LLM memorization be detected through methods beyond manual prompting? And can the detection of data leakage be automated? To address these questions, we evaluate three approaches: (i) jailbreak prompt engineering; (ii) unsupervised latent knowledge discovery, probing internal activations via Contrast-Consistent Search (CCS) and Cluster-Norm; and (iii) Automatic Prompt Engineering (APE), which frames prompt discovery as a meta-learning process that iteratively refines candidate instructions. Experiments on MovieLens-1M using LLaMA models show that jailbreak prompting does not improve the retrieval of memorized items and remains inconsistent; CCS reliably distinguishes genuine from fabricated movie titles but fails on numerical user and rating data; and APE retrieves item-level information with moderate success yet struggles to recover numerical interactions. These findings suggest that automatically optimizing prompts is the most promising strategy for extracting memorized samples.
format Preprint
id arxiv_https___arxiv_org_abs_2601_02002
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Exploring Approaches for Detecting Memorization of Recommender System Data in Large Language Models
Colacicco, Antonio
Guida, Vito
Di Palma, Dario
Narducci, Fedelucio
Di Noia, Tommaso
Information Retrieval
Artificial Intelligence
Computation and Language
Large Language Models (LLMs) are increasingly applied in recommendation scenarios due to their strong natural language understanding and generation capabilities. However, they are trained on vast corpora whose contents are not publicly disclosed, raising concerns about data leakage. Recent work has shown that the MovieLens-1M dataset is memorized by both the LLaMA and OpenAI model families, but the extraction of such memorized data has so far relied exclusively on manual prompt engineering. In this paper, we pose three main questions: Is it possible to enhance manual prompting? Can LLM memorization be detected through methods beyond manual prompting? And can the detection of data leakage be automated? To address these questions, we evaluate three approaches: (i) jailbreak prompt engineering; (ii) unsupervised latent knowledge discovery, probing internal activations via Contrast-Consistent Search (CCS) and Cluster-Norm; and (iii) Automatic Prompt Engineering (APE), which frames prompt discovery as a meta-learning process that iteratively refines candidate instructions. Experiments on MovieLens-1M using LLaMA models show that jailbreak prompting does not improve the retrieval of memorized items and remains inconsistent; CCS reliably distinguishes genuine from fabricated movie titles but fails on numerical user and rating data; and APE retrieves item-level information with moderate success yet struggles to recover numerical interactions. These findings suggest that automatically optimizing prompts is the most promising strategy for extracting memorized samples.
title Exploring Approaches for Detecting Memorization of Recommender System Data in Large Language Models
topic Information Retrieval
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2601.02002