Skip to main content
QUICK REVIEW

[Paper Review] Membership Inference Attacks Against Recommender Systems

Minxing Zhang, Zhaochun Ren|arXiv (Cornell University)|Sep 16, 2021
Privacy-Preserving Technologies in DataComputer Science48 references8 citations
TL;DR

This paper presents the first membership inference attack framework against recommender systems, targeting user-level membership rather than data-sample level. It proposes a novel method using user interaction patterns and a shadow recommender to generate attack training data, achieving high AUC (up to 0.873) on real-world datasets, and introduces Popularity Randomization as an effective defense mechanism.

ABSTRACT

Recently, recommender systems have achieved promising performances and become one of the most widely used web applications. However, recommender systems are often trained on highly sensitive user data, thus potential data leakage from recommender systems may lead to severe privacy problems. In this paper, we make the first attempt on quantifying the privacy leakage of recommender systems through the lens of membership inference. In contrast with traditional membership inference against machine learning classifiers, our attack faces two main differences. First, our attack is on the user-level but not on the data sample-level. Second, the adversary can only observe the ordered recommended items from a recommender system instead of prediction results in the form of posterior probabilities. To address the above challenges, we propose a novel method by representing users from relevant items. Moreover, a shadow recommender is established to derive the labeled training data for training the attack model. Extensive experimental results show that our attack framework achieves a strong performance. In addition, we design a defense mechanism to effectively mitigate the membership inference threat of recommender systems.

Motivation & Objective

  • To quantify privacy leakage in recommender systems through user-level membership inference attacks.
  • To address the challenge of limited adversary access—only observing ranked recommendation lists without posterior probabilities.
  • To develop a method that infers whether a user’s data was used in training the target recommender system.
  • To design a defense mechanism that effectively mitigates membership inference threats in recommender systems.
  • To evaluate the impact of dataset density, recommendation algorithm complexity, and feature distribution similarity on attack performance.

Proposed method

  • Represent users via interaction patterns with items to construct user-level feature vectors from observed recommendation lists.
  • Train a shadow recommender system using the same algorithm and data distribution as the target to generate labeled training data for the attack model.
  • Use the shadow system’s outputs to simulate membership status (in or out of training set) for crafting a membership inference model.
  • Design the attack model to leverage ordering information in recommendation lists, capturing preference patterns critical for inference.
  • Introduce Popularity Randomization as a defense: perturbing item popularity scores during training to obscure membership signals.
  • Train the attack model using feature vectors derived from shadow system outputs, enabling generalization to unseen target systems.

Experimental results

Research questions

  • RQ1Can membership inference attacks be effectively mounted on recommender systems when only ranked recommendation lists are exposed?
  • RQ2How does user-level membership inference differ from traditional sample-level attacks in terms of feasibility and impact?
  • RQ3What role does the distribution similarity between shadow and target recommender systems play in attack success?
  • RQ4How do dataset density and recommendation algorithm complexity influence the effectiveness of membership inference attacks?
  • RQ5Can Popularity Randomization effectively mitigate membership inference attacks without degrading recommendation quality?

Key findings

  • The proposed attack achieves an average AUC of 0.873 on the ml-1m dataset, demonstrating strong performance under realistic black-box conditions.
  • Attack performance is highest on denser user-item matrices, such as ml-1m, due to richer interaction signals for feature learning.
  • Simpler recommendation algorithms like Item-based Collaborative Filtering are more vulnerable to membership inference, with high attack success even under defense.
  • The attack performance strongly depends on the similarity between the feature distribution of the shadow and target recommender systems.
  • Popularity Randomization defense significantly reduces attack success, showing strong mitigation potential across multiple datasets and algorithms.
  • The attack generalizes well across different recommendation algorithms and datasets, indicating broad applicability and robustness of the proposed framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.