Membership Inference Attacks on LLM-based Recommender Systems

Large language models (LLMs) based recommender systems (RecSys) can adapt flexibly across different domains. It uses in-context learning (ICL), i.e., prompts, including sensitive historical user-specific item interactions, to customize the recommendation functions. However, no study has examined whether such private information may be exposed by novel privacy attacks. We design several membership inference attacks (MIAs): Similarity, Memorization, Inquiry, and Poisoning attacks, aiming to reveal whether system prompts include victims’ historical interactions. We have carefully evaluated them on the latest open-source LLMs and three well-known RecSys datasets. The results confirm that the MIA threat to LLM RecSys is realistic, and that existing promptbased defense methods may be insufficient to protect against these attacks.

Authors

Publication Details

Journal
Maryland Shared Open Access Repository (USMAI Consortium)
Published
2026-01-22
DOI
https://doi.org/10.13016/m2398j-xiak
Primary Topic
Recommender Systems and Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Membership Inference Attacks on LLM-based Recommender Systems

Jiajie He, Keke Chen, Min-Chun Chen, Yuechun Gu
Maryland Shared Open Access Repository (USMAI Consortium)
Recommender Systems and Techniques
article

Membership Inference Attacks on LLM-based Recommender Systems

Jiajie He, Keke Chen, Min-Chun Chen, Yuechun Gu
article en

Abstract

Large language models (LLMs) based recommender systems (RecSys) can adapt flexibly across different domains. It uses in-context learning (ICL), i.e., prompts, including sensitive historical user-specific item interactions, to customize the recommendation functions. However, no study has examined whether such private information may be exposed by novel privacy attacks. We design several membership inference attacks (MIAs): Similarity, Memorization, Inquiry, and Poisoning attacks, aiming to reveal whether system prompts include victims’ historical interactions. We have carefully evaluated them on the latest open-source LLMs and three well-known RecSys datasets. The results confirm that the MIA threat to LLM RecSys is realistic, and that existing promptbased defense methods may be insufficient to protect against these attacks.

Maryland Shared Open Access Repository (USMAI Consortium)
Peace, Justice and strong institutions
Openalex Percentile: Top 69%
Recommender Systems and Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.