NeuGuard: Lightweight Neuron-Guided Defense against Membership Inference Attacks

Nuo Xu, Binghui Wang, Ran Ran, Wujie Wen, Parv Venkitasubramaniam
6/11/2022
cs.CRcs.AIcs.LG

Official code: nux219/NeuGuard (3 stars, Jupyter Notebook, last commit 2022-10-06).

Abstract

Membership inference attacks (MIAs) against machine learning models can lead to serious privacy risks for the training dataset used in the model training. In this paper, we propose a novel and effective Neuron-Guided Defense method named NeuGuard against membership inference attacks (MIAs).

Show full abstract

We identify a key weakness in existing defense mechanisms against MIAs wherein they cannot simultaneously defend against two commonly used neural network based MIAs, indicating that these two attacks should be separately evaluated to assure the defense effectiveness. We propose NeuGuard, a new defense approach that jointly controls the output and inner neurons' activation with the object to guide the model output of training set and testing set to have close distributions. NeuGuard consists of class-wise variance minimization targeting restricting the final output neurons and layer-wise balanced output control aiming to constrain the inner neurons in each layer. We evaluate NeuGuard and compare it with state-of-the-art defenses against two neural network based MIAs, five strongest metric based MIAs including the newly proposed label-only MIA on three benchmark datasets. Results show that NeuGuard outperforms the state-of-the-art defenses by offering much improved utility-privacy trade-off, generality, and overhead.

View on arXivView PDF

Code Implementations(1)

nux219/NeuGuardOfficial100%

NeuGuard: Lightweight Neuron-Guided Defense against Membership Inference Attacks

32Jupyter Notebook, PythonApr 1, 20224 years ago

Similar Papers

Cite this paper

@article{xu2022neuguard,
  title  = {NeuGuard: Lightweight Neuron-Guided Defense against Membership Inference Attacks},
  author = {Nuo Xu and Binghui Wang and Ran Ran and Wujie Wen and Parv Venkitasubramaniam},
  year   = {2022},
  eprint = {2206.05565},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.05565}
}

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

Discussion