Revealing and Protecting Labels in Distributed Training

Trung Dang, Om Thakkar, Swaroop Ramaswamy, Rajiv Mathews, Peter Chin +1 more
10/31/2021
cs.LGcs.CLcs.CR

Official code: googleinterns/learning-bag-of-words (0 stars, Python, last commit 2021-11-08).

Abstract

Distributed learning paradigms such as federated learning often involve transmission of model updates, or gradients, over a network, thereby avoiding transmission of private data. However, it is possible for sensitive information about the training data to be revealed from such gradients.

Show full abstract

Prior works have demonstrated that labels can be revealed analytically from the last layer of certain models (e.g., ResNet), or they can be reconstructed jointly with model inputs by using Gradients Matching [Zhu et al'19] with additional knowledge about the current state of the model. In this work, we propose a method to discover the set of labels of training samples from only the gradient of the last layer and the id to label mapping. Our method is applicable to a wide variety of model architectures across multiple domains. We demonstrate the effectiveness of our method for model training in two domains - image classification, and automatic speech recognition. Furthermore, we show that existing reconstruction techniques improve their efficacy when used in conjunction with our method. Conversely, we demonstrate that gradient quantization and sparsification can significantly reduce the success of the attack.

View on arXivView PDF

Code Implementations(1)

01PythonOct 24, 20215 years ago

Similar Papers

Cite this paper

@article{dang2021revealing,
  title  = {Revealing and Protecting Labels in Distributed Training},
  author = {Trung Dang and Om Thakkar and Swaroop Ramaswamy and Rajiv Mathews and Peter Chin and Françoise Beaufays},
  year   = {2021},
  eprint = {2111.00556},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.00556}
}

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

Discussion