[Paper Review] Reconstructing Training Data from Trained Neural Networks
The paper shows that, for some trained classifiers, substantial portions of the training data can be reconstructed from the network parameters using a reconstruction scheme grounded in the implicit bias of gradient-based training.
Understanding to what extent neural networks memorize training data is an intriguing question with practical and theoretical implications. In this paper we show that in some cases a significant fraction of the training data can in fact be reconstructed from the parameters of a trained neural network classifier. We propose a novel reconstruction scheme that stems from recent theoretical results about the implicit bias in training neural networks with gradient-based methods. To the best of our knowledge, our results are the first to show that reconstructing a large portion of the actual training samples from a trained neural network classifier is generally possible. This has negative implications on privacy, as it can be used as an attack for revealing sensitive training data. We demonstrate our method for binary MLP classifiers on a few standard computer vision datasets.
Motivation & Objective
- Investigate to what extent training samples are encoded in trained neural network parameters.
- Propose a practical reconstruction scheme grounded in implicit bias of gradient-based training.
- Demonstrate reconstruction of training data from binary MLP classifiers on standard vision datasets.
- Discuss privacy implications and limitations of the reconstruction approach.
Proposed method
- Leverage a theoretical result that gradient flow on homogeneous networks with logistic loss converges to a KKT point of a margin-maximization problem.
- Formulate data reconstruction as solving for input samples x_i and dual variables lambda_i that satisfy the KKT-style representation of the trained parameters.
- Define a reconstruction loss combining a stationarity term, dual feasibility, and optional priors to recover training-like inputs via nonconvex optimization.
- Use gradients of the network with respect to inputs to link the learned parameters to potential training samples.
- Apply an SGD-based optimization to minimize the reconstruction loss and extract candidate training samples.
Experimental results
Research questions
- RQ1Can a substantial portion of training samples be recovered from the trained network parameters of a classifier?
- RQ2What theoretical mechanism (implicit bias) explains which samples are recoverable and why?
- RQ3How effective is a practical reconstruction scheme on real datasets (MNIST/CIFAR-10) using binary classifiers?
- RQ4What are the privacy implications and limitations of such a reconstruction attack?
Key findings
- A significant portion of training data can be reconstructed from the parameters of a trained binary classifier.
- Reconstruction quality aligns with theory: better reconstructions occur for samples on the margin of the learned classifier.
- Reconstruction works on MNIST and CIFAR-10 when using binary classifiers with overparameterized networks.
- Small initializations and more training epochs tend to improve reconstruction quality.
- The approach yields reconstructions visually similar to real inputs, with some noise, and highlights potential privacy risks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.