Confidence Is All You Need for MI Attacks

Abhishek Sinha, Himanshi Tibrewal, Mansi Gupta, Nikhar Waghela, Shivank Garg
11/26/2023
cs.LGcs.AIcs.CR

Official code: vlgiitr/confidence-is-all-you-need (9 stars, last commit 2024-06-19).

Abstract

In this evolving era of machine learning security, membership inference attacks have emerged as a potent threat to the confidentiality of sensitive data. In this attack, adversaries aim to determine whether a particular point was used during the training of a target model. This paper proposes a new method to gauge a data point's membership in a model's training set. Instead of correlating loss with membership, as is traditionally done, we have leveraged the fact that training examples generally exhibit higher confidence values when classified into their actual class. During training, the model is essentially being 'fit' to the training data and might face particular difficulties in generalization to unseen data. This asymmetry leads to the model achieving higher confidence on the training data as it exploits the specific patterns and noise present in the training data. Our proposed approach leverages the confidence values generated by the machine learning model. These confidence values provide a probabilistic measure of the model's certainty in its predictions and can further be used to infer the membership of a given data point. Additionally, we also introduce another variant of our method that allows us to carry out this attack without knowing the ground truth(true class) of a given data point, thus offering an edge over existing label-dependent attack methods.

View on arXivView PDF

Code Implementations(1)

93Shell, PythonJan 3, 20242 years ago

Similar Papers

Cite this paper

@article{sinha2023confidence,
  title  = {Confidence Is All You Need for MI Attacks},
  author = {Abhishek Sinha and Himanshi Tibrewal and Mansi Gupta and Nikhar Waghela and Shivank Garg},
  year   = {2023},
  eprint = {2311.15373},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.15373v2}
}

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/2311.15373.svg)](https://codeofpaper.com/paper/2311.15373)

Discussion