Skip to main content
QUICK REVIEW

[Paper Review] Data from Model: Extracting Data from Non-robust and Robust Models

Philipp Benz, Chaoning Zhang|arXiv (Cornell University)|Jul 13, 2020
Adversarial Robustness in Machine LearningComputer Science17 references8 citations
TL;DR

This paper introduces Data from Model (DfM), a method to reverse deep learning by extracting data from trained models using gradient-based optimization with substitute datasets and virtual logits. It demonstrates that models trained on extracted data retain high accuracy—especially robust models—confirming shared feature mappings as the core link between data and model.

ABSTRACT

The essence of deep learning is to exploit data to train a deep neural network (DNN) model. This work explores the reverse process of generating data from a model, attempting to reveal the relationship between the data and the model. We repeat the process of Data to Model (DtM) and Data from Model (DfM) in sequence and explore the loss of feature mapping information by measuring the accuracy drop on the original validation dataset. We perform this experiment for both a non-robust and robust origin model. Our results show that the accuracy drop is limited even after multiple sequences of DtM and DfM, especially for robust models. The success of this cycling transformation can be attributed to the shared feature mapping existing in data and model. Using the same data, we observe that different DtM processes result in models having different features, especially for different network architecture families, even though they achieve comparable performance.

Motivation & Objective

  • To investigate the reverse process of deep learning: extracting data from trained models.
  • To examine whether feature mappings learned by models can be recovered and reused without access to original training data.
  • To compare the stability and compatibility of feature mappings across different model architectures and training regimes (non-robust vs. robust).
  • To evaluate whether the cycling process of Data-to-Model and Model-to-Data preserves model performance over multiple iterations.
  • To understand the extent to which different model runs learn distinct or shared feature representations from the same dataset.

Proposed method

  • Uses projected gradient descent (PGD) with $l_2$-loss to generate synthetic data from a model’s logits, using substitute images and virtual logits as targets.
  • Employs virtual logits sampled from a Gaussian distribution $\mathcal{N}(\mu, \sigma)$ to model the target logit behavior of the original DNN.
  • Applies the DfM-generated data to retrain models via standard backpropagation, minimizing the $l_2$-distance between output logits and stored ground-truth logits.
  • Performs iterative chaining of Data-to-Model (DtM) and DfM processes to assess information retention across multiple cycles.
  • Uses cross-training and cross-evaluation between models trained on extracted data to assess feature compatibility and transferability.
  • Evaluates performance on MNIST and CIFAR-10 using standard and adversarially trained models, comparing accuracy across architectures and training types.

Experimental results

Research questions

  • RQ1Can data be effectively extracted from a trained deep neural network without access to the original training data?
  • RQ2How well do models trained on extracted data perform compared to models trained on the original dataset?
  • RQ3Do different model architectures learn the same or different feature mappings from the same data?
  • RQ4How does model robustness (standard vs. adversarially trained) affect the quality and compatibility of extracted feature mappings?
  • RQ5To what extent is the feature mapping preserved through multiple cycles of Data-to-Model and Model-to-Data transformations?

Key findings

  • Models trained on data extracted via DfM achieve comparable accuracy to those trained on the original dataset, with minimal performance drop—especially for robust models.
  • For non-robust models, the accuracy drop after one DfM-DtM cycle is moderate (e.g., ~3–5% drop on CIFAR-10), while robust models show near-identical performance (e.g., 90.2% vs. 90.5% on ResNet50).
  • Cross-evaluation shows that models trained on extracted data from the same architecture but different runs achieve only ~40–60% accuracy on each other, indicating distinct learned feature mappings.
  • Models from the same architecture family (e.g., VGG or ResNet) show higher compatibility in feature mapping than models from different families, with ResNet models achieving ~60% accuracy when cross-evaluated on each other’s extracted data.
  • Robust models exhibit more consistent and transferable feature mappings than non-robust models, as evidenced by higher cross-architecture accuracy (e.g., 90.3–91.6% on ResNet50 when retrained on robust-extracted data).
  • The cycling process of DtM and DfM preserves model performance over multiple iterations, with limited accuracy degradation, confirming the stability of learned feature mappings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.