Membership Inference Attacks on In-Context Learning Recommendation
Large language model (LLM) based recommender systems (RecSys) can adapt flexibly across different domains. They use 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 two membership inference attacks (MIAs): CItemMem and RecInertia, aiming to identify whether system prompts contain the victim’s information. 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 can be more sophisticated than prompt extraction. They utilize the unique prompt structures in ICL RecSys and cannot be easily mitigated with existing defense methods on prompt extraction. The code is available at https://github.com/Richardwarriors/ICLRecSys-MIA
- Link
- https://www.semanticscholar.org/paper/6e22ebe5a1514e0a87c2d981380f6ea8c5bf4da5
- Found by
- Semantic Scholar
- Authors
- Jia-Jie He, Min-Chun Chen, Xin-Tong Chen, Xin-Yang Fang, Yue-Chun Gu, Ke-Ke Chen
- Categories
- evaluation, dataset
- Published
- 2026-09-27
- Last seen by the radar
- 2026-09-29
- Citations
- 1
- Influential citations
- 0
- Radar score
- 38.01 / 100 (how it is scored)
- Why it scored so
- Matched: dataset, evaluat; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1145/3773078.3831733