Deconstructing Data Reconstruction: Multiclass, Weight Decay and General Losses

Gon Buzaglo, Niv Haim, Gilad Yehudai, Gal Vardi, Yakir Oz +2 more
7/4/2023
cs.LG

Official code: gonbuzaglo/decoreco (11 stars, last commit 2023-10-22).

Abstract

Memorization of training data is an active research area, yet our understanding of the inner workings of neural networks is still in its infancy. Recently, Haim et al. (2022) proposed a scheme to reconstruct training samples from multilayer perceptron binary classifiers, effectively demonstrating that a large portion of training samples are encoded in the parameters of such networks. In this work, we extend their findings in several directions, including reconstruction from multiclass and convolutional neural networks. We derive a more general reconstruction scheme which is applicable to a wider range of loss functions such as regression losses. Moreover, we study the various factors that contribute to networks' susceptibility to such reconstruction schemes. Intriguingly, we observe that using weight decay during training increases reconstructability both in terms of quantity and quality. Additionally, we examine the influence of the number of neurons relative to the number of training samples on the reconstructability. Code: https://github.com/gonbuzaglo/decoreco

View on arXivView PDF

Code Implementations(1)

111Python, Jupyter NotebookSep 9, 20233 years ago

Similar Papers

Cite this paper

@article{buzaglo2023deconstructing,
  title  = {Deconstructing Data Reconstruction: Multiclass, Weight Decay and General Losses},
  author = {Gon Buzaglo and Niv Haim and Gilad Yehudai and Gal Vardi and Yakir Oz and Yaniv Nikankin and Michal Irani},
  year   = {2023},
  eprint = {2307.01827},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.01827v2},
  journal = {NEURIPS 2023 2023}
}

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

Discussion