← All projects

Deep Learning Under Attack: Revealing Vulnerabilities through Shadow Reconstructions

Thesis

  • PyTorch
  • Python
  • Jupyter
  • Model inversion

My thesis developed a novel hybrid architecture for Model Inversion (MI) (reconstructing inputs to a target CNN via the model outputs) in a gray-box setting (where the target model’s architecture is known but its weights and training data are unknown). It is the first to combine two existing methods: input reconstruction via gradient-based optimization and inverse modeling. Since the target model’s weights and training data are unavailable, a Shadow Model (SM) was trained on a dataset with a similar distribution to approximate the target model’s behavior. Once the SM is trained, its gradient-reconstructed input is combined with its output vector to train an inverse model (a transposed convolutional neural network) using the same training data for the SM. At inference time, the SM approximates the inputs of the target model using the latter's outputs, and the inverse model receives both as input to create a synthetic reconstruction. This hybrid architecture outperformed the gradient-based optimization method on the test set by 54.73%.

Shadow reconstruction workflow
Reconstruction results