CLMIA: Membership Inference Attacks via Unsupervised Contrastive Learning

Depeng Chen, Xiao Liu, Jie Cui, Hong Zhong
11/17/2024
cs.LGcs.AIcs.CR

No confident code implementation found for this paper.

Abstract

Since machine learning model is often trained on a limited data set, the model is trained multiple times on the same data sample, which causes the model to memorize most of the training set data. Membership Inference Attacks (MIAs) exploit this feature to determine whether a data sample is used for training a machine learning model. However, in realistic scenarios, it is difficult for the adversary to obtain enough qualified samples that mark accurate identity information, especially since most samples are non-members in real world applications. To address this limitation, in this paper, we propose a new attack method called CLMIA, which uses unsupervised contrastive learning to train an attack model without using extra membership status information. Meanwhile, in CLMIA, we require only a small amount of data with known membership status to fine-tune the attack model. Experimental results demonstrate that CLMIA performs better than existing attack methods for different datasets and model structures, especially with data with less marked identity information. In addition, we experimentally find that the attack performs differently for different proportions of labeled identity information for member and non-member data. More analysis proves that our attack method performs better with less labeled identity information, which applies to more realistic scenarios.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2024clmia,
  title  = {CLMIA: Membership Inference Attacks via Unsupervised Contrastive Learning},
  author = {Depeng Chen and Xiao Liu and Jie Cui and Hong Zhong},
  year   = {2024},
  eprint = {2411.11144},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.11144v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.11144.svg)](https://codeofpaper.com/paper/2411.11144)

Discussion