Skip to main content
QUICK REVIEW

[Paper Review] Model Weight Theft With Just Noise Inputs: The Curious Case of the Petulant Attacker

Nicholas Roberts, Vinay Uday Prabhu|arXiv (Cornell University)|Dec 19, 2019
Adversarial Robustness in Machine LearningComputer Science9 references8 citations
TL;DR

This paper demonstrates that a convolutional neural network's weights can be stolen using only i.i.d. Bernoulli noise inputs and access to the softmax layer output, achieving 96% test accuracy on MNIST and 82% on KMNIST. The key contribution is showing that model extractability correlates with dataset complexity, particularly spatial correlation, and introduces a new metric based on post-extraction performance ratio.

ABSTRACT

This paper explores the scenarios under which an attacker can claim that 'Noise and access to the softmax layer of the model is all you need' to steal the weights of a convolutional neural network whose architecture is already known. We were able to achieve 96% test accuracy using the stolen MNIST model and 82% accuracy using the stolen KMNIST model learned using only i.i.d. Bernoulli noise inputs. We posit that this theft-susceptibility of the weights is indicative of the complexity of the dataset and propose a new metric that captures the same. The goal of this dissemination is to not just showcase how far knowing the architecture can take you in terms of model stealing, but to also draw attention to this rather idiosyncratic weight learnability aspects of CNNs spurred by i.i.d. noise input. We also disseminate some initial results obtained with using the Ising probability distribution in lieu of the i.i.d. Bernoulli distribution.

Motivation & Objective

  • To investigate whether model weights can be stolen using only random noise inputs and softmax access, despite no access to real training data.
  • To explore the relationship between input noise distribution and model extractability, especially regarding spatial correlations.
  • To propose a new metric for dataset complexity based on the difficulty of model extraction using noise inputs.
  • To evaluate the impact of different noise distributions—especially the Ising model—on the success of weight theft.
  • To draw attention to the vulnerability of CNNs to weight theft even with non-informative inputs, highlighting architectural and data distribution dependencies.

Proposed method

  • Procedurally generate 600,000 binary random images using a Bernoulli distribution with parameter p=0.5 as input stimuli.
  • Query the victim model’s softmax layer with each random image to collect class probability distributions as labels.
  • Train a new model from scratch using the random inputs and corresponding softmax outputs as supervised labels.
  • Use the Ising model to generate spatially correlated noise inputs and compare performance to i.i.d. noise distributions.
  • Measure model extractability via post-extraction validation accuracy on original test sets, normalized by pre-extraction accuracy.
  • Vary the Ising model’s inverse temperature β to study its effect on extraction performance and generalization.

Experimental results

Research questions

  • RQ1Can a deep neural network’s weights be effectively stolen using only i.i.d. Bernoulli noise as inputs and softmax layer access?
  • RQ2How does the choice of input noise distribution—especially one with spatial correlations like the Ising model—affect model extraction success?
  • RQ3To what extent does the intrinsic complexity of a dataset, as measured by the ratio of post- to pre-extraction accuracy, reflect its learnability and structural properties?
  • RQ4Why does the Ising model outperform i.i.d. noise distributions in model extraction, and what does this reveal about the role of spatial correlation in model weight learning?
  • RQ5How does the temperature parameter β in the Ising model influence the generalization and accuracy of the stolen model?

Key findings

  • Using only i.i.d. Bernoulli noise inputs, the stolen MNIST model achieved 95.93% validation accuracy, representing 96.87% of the original model’s performance.
  • For KMNIST, the stolen model achieved 81.18% accuracy, which is 85.64% of the original model’s 94.79% accuracy.
  • The Ising model with β=0.3 produced the highest extraction accuracy at 98.02% on MNIST, significantly outperforming i.i.d. noise distributions.
  • The Ising model’s success is attributed to its ability to model spatial correlations, which are absent in i.i.d. noise distributions like Bernoulli, Gaussian, or Gumbel.
  • The performance ratio (post-extraction / pre-extraction accuracy) serves as a valid proxy for dataset complexity, with MNIST being most easily extractable and notMNIST least so (ratio of 0.1181).
  • An Occam’s hill effect was observed in loss and accuracy curves when varying β, with optimal performance at β=0.3 for MNIST, KMNIST, and Fashion MNIST, but at β=0.8 for notMNIST.

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.