Skip to main content
QUICK REVIEW

[Paper Review] User-Level Membership Inference Attack against Metric Embedding Learning

Guoyao Li, Shahbaz Rezaei|arXiv (Cornell University)|Mar 4, 2022
Autopsy Techniques and OutcomesMedicine10 citations
TL;DR

This paper proposes a user-level membership inference attack against metric embedding models, leveraging cluster compactness in the latent space to determine if any images from a target user were used in training—without requiring access to exact training samples. The method achieves state-of-the-art accuracy (up to 91.73% on Market-1501) by using average distance to cluster center and average pairwise distance as features, outperforming existing attacks even under realistic constraints.

ABSTRACT

Membership inference (MI) determines if a sample was part of a victim model training set. Recent development of MI attacks focus on record-level membership inference which limits their application in many real-world scenarios. For example, in the person re-identification task, the attacker (or investigator) is interested in determining if a user's images have been used during training or not. However, the exact training images might not be accessible to the attacker. In this paper, we develop a user-level MI attack where the goal is to find if any sample from the target user has been used during training even when no exact training sample is available to the attacker. We focus on metric embedding learning due to its dominance in person re-identification, where user-level MI attack is more sensible. We conduct an extensive evaluation on several datasets and show that our approach achieves high accuracy on user-level MI task.

Motivation & Objective

  • To address the practical limitation of record-level membership inference attacks, which require access to exact training samples—unrealistic in real-world applications like person re-identification.
  • To develop a user-level membership inference attack that determines whether any images from a target user were used in training, even when no exact training samples are available.
  • To overcome the challenge of applying confidence-based membership inference attacks to metric embedding learning, which lacks confidence scores in outputs.
  • To design a method that exploits structural properties of the latent space, specifically cluster compactness, to enable effective membership inference in metric embedding models.

Proposed method

  • The attack uses two key features: the average distance of a user’s non-training images to the cluster center (C_u), and the average pairwise distance among those images (P_u), both computed in the latent space.
  • It assumes that images from a user whose data was used in training form more compact clusters in the embedding space, which is empirically validated across datasets.
  • The attack constructs a binary classifier using these compactness features to predict whether any image from the target user was part of the training set.
  • The method is robust to unknown data augmentations during training, as it does not rely on model confidence or specific augmentation patterns.
  • It outperforms existing record-level attacks (e.g., EncoderMI) when adapted to user-level settings, especially when the attacker lacks knowledge of training augmentations.
  • The approach is evaluated on Market-1501 and PRID-201 and shows high accuracy even when only non-training images of the target user are available.

Experimental results

Research questions

  • RQ1Can a membership inference attack be effectively applied at the user level in metric embedding models, where exact training samples are unavailable?
  • RQ2How can membership inference be achieved in metric embedding learning, which lacks confidence scores used in traditional classification-based attacks?
  • RQ3Does the compactness of user-specific clusters in the latent space correlate with membership in the training set, and can this be exploited for inference?
  • RQ4How does the performance of the proposed user-level attack compare to adapted record-level attacks (e.g., EncoderMI) under varying levels of attacker knowledge?
  • RQ5What is the impact of partial access to training images on the accuracy of user-level membership inference?

Key findings

  • The proposed user-level membership inference attack achieves 66.87% accuracy on Market-1501 and 74.27% on PRID-201 when only non-training images of the target user are available.
  • When the attacker has access to 75% of the training images, the attack accuracy increases to 90.00% on Market-1501 and 78.40% on PRID-201.
  • With full access to training images (100%), the attack achieves 91.73% accuracy on Market-1501 and 78.07% on PRID-201, with perfect precision (100.0%) for Market-1501.
  • The ablation study shows that using both compactness features (C_u and P_u) yields the highest accuracy (66.87% on Market-1501), though using a single feature still performs well.
  • The attack outperforms EncoderMI even when EncoderMI has full knowledge of training augmentations, demonstrating the superiority of the cluster compactness approach.
  • The method remains effective under realistic conditions where attacker knowledge of data augmentations is limited, unlike confidence-based attacks that fail in metric embedding settings.

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.